:root {
  --bg: #f3f0ea;
  --paper: #faf8f4;
  --ink: #26332f;
  --muted: #6c7974;
  --accent: #668477;
  --accent-deep: #47665a;
  --line: rgba(38, 51, 47, 0.13);
  --soft: #dfe7e2;
  --shadow: 0 24px 70px rgba(52, 68, 61, 0.12);
  --radius: 28px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: var(--bg);
  overscroll-behavior: none;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(146, 174, 161, 0.2), transparent 28rem),
    var(--bg);
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a, button {
  touch-action: manipulation;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100dvh;
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  transition: min-height 240ms ease, background 240ms ease, box-shadow 240ms ease, border-radius 240ms ease, padding 240ms ease;
}

.site-header.scrolled {
  min-height: 64px;
  margin-top: 8px;
  padding: 0 16px;
  background: rgba(250, 248, 244, 0.88);
  border: 1px solid rgba(38, 51, 47, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(55, 68, 62, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 38px;
}

.brand-mark span {
  position: absolute;
  width: 16px;
  height: 26px;
  border: 1.5px solid var(--accent-deep);
  border-radius: 100% 0 100% 0;
  transform-origin: bottom center;
}

.brand-mark span:nth-child(1) { left: 8px; top: 1px; transform: rotate(-35deg); }
.brand-mark span:nth-child(2) { left: 10px; top: 2px; transform: rotate(5deg); }
.brand-mark span:nth-child(3) { left: 11px; top: 3px; transform: rotate(43deg); }

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--ink);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page {
  display: none;
  min-height: calc(100dvh - 150px);
  animation: pageIn 420ms cubic-bezier(.2,.7,.2,1);
}

.page.active {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: clamp(30px, 7vw, 96px);
  min-height: calc(100dvh - 155px);
  padding: 40px 3vw 80px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(50px, 7.2vw, 98px);
  line-height: .98;
}

.intro,
.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.intro {
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--accent-deep);
  box-shadow: 0 10px 28px rgba(71, 102, 90, .19);
}

.text-link,
.back-link {
  font-weight: 700;
  text-decoration: none;
}

.text-link {
  font-size: 14px;
}

.back-link {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 13px;
}

.calm-card {
  position: relative;
  z-index: 2;
  align-self: center;
  min-height: 440px;
  padding: 36px;
  border: 1px solid rgba(38, 51, 47, .08);
  border-radius: var(--radius);
  background: rgba(250, 248, 244, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transform: rotate(2deg);
}

.calm-card p {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.35;
}

.line-art {
  position: absolute;
  inset: 42px 20px 115px;
}

.stem {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1.5px;
  height: 92%;
  background: var(--accent);
  transform: rotate(8deg);
  transform-origin: bottom;
}

.leaf {
  position: absolute;
  width: 74px;
  height: 126px;
  border: 1.5px solid var(--accent);
  border-radius: 100% 0 100% 0;
}

.leaf-a { left: 48%; top: 8%; transform: rotate(24deg); }
.leaf-b { left: 27%; top: 38%; transform: rotate(-30deg) scale(.8); }
.leaf-c { left: 50%; top: 57%; transform: rotate(40deg) scale(.67); }

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(102, 132, 119, .18);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  right: -160px;
  top: 4%;
  width: 620px;
  height: 620px;
  animation: floatOrbit 14s ease-in-out infinite alternate;
}

.orbit-two {
  right: 80px;
  top: 20%;
  width: 360px;
  height: 360px;
  animation: floatOrbit 10s ease-in-out infinite alternate-reverse;
}

.home-lower {
  max-width: 780px;
  margin: 30px auto 120px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.home-lower h2,
.content-wrap h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
}

.home-lower p:not(.section-kicker),
.content-wrap p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.content-page {
  padding: 75px 0 100px;
}

.content-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 52px;
  margin: 60px 0;
}

.content-grid h2 {
  margin-top: 0;
  font-size: 32px;
}

.note-panel {
  padding: 28px;
  border-radius: 24px;
  background: var(--soft);
}

.note-panel p {
  margin: 0;
}

.contact-wrap {
  max-width: 760px;
}

.email-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 48px 0 30px;
  padding: 22px;
  border: 1px solid rgba(38,51,47,.08);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 16px 45px rgba(52,68,61,.08);
  text-decoration: none;
}

.email-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: white;
  background: var(--accent-deep);
  font-family: Georgia, serif;
  font-size: 21px;
}

.email-card small,
.email-card strong {
  display: block;
}

.email-card small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.email-card strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.email-arrow {
  color: var(--accent-deep);
  font-size: 24px;
}

.privacy-note {
  max-width: 620px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealIn 700ms 120ms cubic-bezier(.2,.7,.2,1) forwards;
}

.delay-1 {
  animation-delay: 260ms;
}

@keyframes revealIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatOrbit {
  from { transform: translate3d(-12px, -8px, 0) scale(.98); }
  to { transform: translate3d(10px, 12px, 0) scale(1.03); }
}

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

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 28px);
    min-height: 70px;
  }

  .site-header.scrolled {
    width: calc(100% - 20px);
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 32;
  }

  .site-nav {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 24px;
    background: rgba(243, 240, 234, .97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 400;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  main {
    width: calc(100% - 28px);
  }

  .hero {
    display: block;
    min-height: calc(100dvh - 100px);
    padding: max(22px, 4vh) 0 56px;
  }

  .hero h1 {
    font-size: clamp(45px, 13.1vw, 66px);
    line-height: .99;
  }

  .intro {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-top: 28px;
  }

  .button {
    min-height: 48px;
  }

  .calm-card {
    min-height: 260px;
    margin-top: 54px;
    padding: 26px;
    transform: rotate(1deg);
  }

  .calm-card p {
    font-size: 18px;
  }

  .line-art {
    inset: 26px 20px 86px;
  }

  .leaf {
    width: 52px;
    height: 90px;
  }

  .orbit-one {
    right: -340px;
    top: 23%;
  }

  .orbit-two {
    right: -150px;
    top: 37%;
  }

  .home-lower {
    margin: 0 auto 60px;
    padding: 55px 5px;
  }

  .home-lower h2,
  .content-wrap h1 {
    font-size: 43px;
  }

  .content-page {
    padding: 36px 5px 70px;
  }

  .back-link {
    margin-bottom: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 42px 0;
  }

  .content-grid h2 {
    font-size: 29px;
  }

  .email-card {
    grid-template-columns: auto 1fr;
    margin-top: 34px;
  }

  .email-arrow {
    display: none;
  }

  footer {
    flex-direction: column;
    width: calc(100% - 28px);
  }
}

@media (max-width: 380px) {
  .brand-copy strong { font-size: 17px; }
  .hero h1 { font-size: 42px; }
  .site-nav a { font-size: 35px; }
}
