:root {
  --cream: #f7f3ee;
  --paper: #fffdf9;
  --ink: #34352f;
  --muted: #74766e;
  --sage: #aeb9a4;
  --sage-dark: #71816d;
  --blush: #ebc9c5;
  --lavender: #dcd7e9;
  --peach: #edb89f;
  --line: rgba(52, 53, 47, 0.14);
  --shadow: 0 30px 80px rgba(86, 78, 68, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-110%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.48;
  pointer-events: none;
}

.ambient-one {
  width: 34vw;
  height: 34vw;
  min-width: 320px;
  min-height: 320px;
  left: -16vw;
  bottom: -17vw;
  background: var(--lavender);
}

.ambient-two {
  width: 28vw;
  height: 28vw;
  min-width: 260px;
  min-height: 260px;
  right: -10vw;
  top: -12vw;
  background: var(--blush);
}

.page {
  width: min(100% - 52px, 1400px);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header {
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.brand-seal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.quiet-link:hover, .quiet-link:focus-visible { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 9rem);
  padding: clamp(4rem, 8vh, 7rem) 0;
}

.hero-copy { max-width: 700px; }

.status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.6rem;
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-dark);
  box-shadow: 0 0 0 6px rgba(113, 129, 109, 0.1);
  animation: breathe 3s ease-in-out infinite;
}

h1 {
  margin: 0;
  min-height: 1.82em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 7.5vw, 7.8rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--sage-dark);
  font-weight: 400;
}

.js .type-segment { visibility: hidden; }

.type-cursor {
  display: inline-block;
  width: 0.035em;
  height: 0.72em;
  margin-left: 0.07em;
  background: var(--sage-dark);
  vertical-align: 0.02em;
  animation: cursor-blink 0.48s step-end infinite;
}

.type-cursor.is-finished { display: none; }

.intro {
  max-width: 550px;
  margin: clamp(2rem, 4.5vh, 3.2rem) 0 2.2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
}

.email-card {
  width: min(100%, 500px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.15rem 0.8rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 14px 35px rgba(86, 78, 68, 0.06);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.email-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e4eadf;
  color: var(--sage-dark);
}

.email-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.email-copy small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.email-copy strong {
  font-size: clamp(0.9rem, 1.3vw, 1.03rem);
  font-weight: 600;
}

.email-arrow {
  color: var(--sage-dark);
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.email-card:hover,
.email-card:focus-visible {
  transform: translateY(-3px);
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(86, 78, 68, 0.1);
}

.email-card:hover .email-arrow,
.email-card:focus-visible .email-arrow { transform: translateX(4px); }

.visual {
  position: relative;
  width: min(100%, 525px);
  justify-self: end;
  transform-origin: 50% 72%;
  will-change: transform;
  animation: module-float 6.5s ease-in-out infinite alternate;
}

.soft-card {
  aspect-ratio: 0.9;
  border-radius: 44% 44% 24px 24px;
}

.card-back {
  position: absolute;
  inset: 4% -5% -4% 5%;
  background: var(--lavender);
  transform: rotate(5deg);
  opacity: 0.65;
}

.card-main {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(52, 53, 47, 0.1);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.card-main::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(52,53,47,0.18) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
}

.monogram {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 43%;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(9rem, 19vw, 15rem);
  font-style: italic;
  line-height: 0.7;
  letter-spacing: -0.14em;
  transform: translate(-54%, -50%);
}

.visual-note {
  position: absolute;
  z-index: 5;
  right: 8%;
  bottom: 8%;
  margin: 0;
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  line-height: 1.05;
  text-align: right;
}

.petal {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 70% 30% 70% 30%;
}

.petal-one {
  width: 46%;
  aspect-ratio: 1;
  right: -9%;
  top: 12%;
  background: var(--blush);
  transform: rotate(24deg);
  animation: drift 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.petal-two {
  width: 33%;
  aspect-ratio: 0.78;
  left: -3%;
  bottom: 12%;
  background: var(--sage);
  transform: rotate(-28deg);
  animation: drift-two 4.4s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.petal-three {
  width: 22%;
  aspect-ratio: 1;
  left: 15%;
  top: 11%;
  background: var(--peach);
  opacity: 0.78;
  transform: rotate(48deg);
  animation: drift-three 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.fine-line {
  position: absolute;
  z-index: 3;
  display: block;
  border: 1px solid rgba(52, 53, 47, 0.35);
  border-radius: 50%;
}

.line-one {
  width: 73%;
  height: 24%;
  left: 13%;
  top: 39%;
  transform: rotate(-14deg);
}

.line-two {
  width: 27%;
  aspect-ratio: 1;
  right: 12%;
  top: 17%;
}

.tiny-star {
  position: absolute;
  z-index: 6;
  color: var(--sage-dark);
}

.star-one { left: 15%; top: 25%; font-size: 1.45rem; }
.star-two { right: 15%; bottom: 29%; font-size: 0.85rem; }

.footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer p { margin: 0; }

@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(113,129,109,0.1); }
  50% { transform: scale(0.78); box-shadow: 0 0 0 10px rgba(113,129,109,0.04); }
}

@keyframes cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes drift {
  from { transform: rotate(24deg) translate3d(0, 0, 0); }
  to { transform: rotate(14deg) translate3d(-11%, 8%, 0); }
}

@keyframes drift-two {
  from { transform: rotate(-28deg) translate3d(0, 0, 0); }
  to { transform: rotate(-17deg) translate3d(12%, -8%, 0); }
}

@keyframes drift-three {
  from { transform: rotate(48deg) translate3d(0, 0, 0); }
  to { transform: rotate(61deg) translate3d(10%, 7%, 0); }
}

@keyframes module-float {
  from { transform: translate3d(0, 5px, 0) rotate(-0.45deg); }
  to { transform: translate3d(0, -13px, 0) rotate(0.55deg); }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 4.5rem; }
  .hero-copy { max-width: 800px; }
  .visual { justify-self: center; width: min(82vw, 580px); }
  .monogram { font-size: clamp(10rem, 34vw, 17rem); }
}

@media (max-width: 600px) {
  .page { width: min(100% - 28px, 1400px); }
  .header { min-height: 82px; }
  .brand-seal { width: 40px; height: 40px; }
  .quiet-link { font-size: 0.78rem; }
  .hero { padding: 3.6rem 0; gap: 3.8rem; }
  h1 { font-size: clamp(3.5rem, 16.4vw, 5rem); }
  .intro { font-size: 0.98rem; line-height: 1.65; }
  .email-card { gap: 0.75rem; padding-right: 0.9rem; }
  .email-icon { width: 46px; height: 46px; }
  .visual { width: 100%; }
  .soft-card { border-radius: 43% 43% 20px 20px; }
  .footer { min-height: 68px; font-size: 0.62rem; letter-spacing: 0.08em; }
  .footer p:last-child { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
