/* =====================================================================
   ROSE BLOOMERY — Sculptural Florals
   Editorial one-page site. Hand-authored CSS (no framework) for full
   control over pacing, typography and motion.
   ===================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand palette (exact) */
  --emerald:      #214414;
  --rose:         #C784A7;
  --deep-rose:    #A85680;
  --pearl:        #EACCE5;
  --white:        #FFFBF8;
  --midnight:     #000000;

  /* Derived, harmonized tones */
  --emerald-deep: #16300d;
  --emerald-soft: #3a5a2c;
  --ivory:        #FBF6F1;   /* warm secondary background */
  --blush:        #F7F0EF;   /* soft dusty blush background */
  --stone:        #F1EBE3;   /* warm greige neutral */
  --sage:         #EFF1EA;   /* muted eucalyptus background */
  --ink:          #20231f;   /* warm near-black for body text */
  --muted:        #6b6a64;   /* secondary text */
  --line:         #e7ded4;   /* hairline rules */
  --line-emerald: rgba(33, 68, 20, 0.16);

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-serif:   "Playfair Display", Georgia, serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing rhythm */
  --section-y: clamp(5.5rem, 12vw, 11rem);
  --gutter:    clamp(1.25rem, 5vw, 5rem);
  --maxw:      1320px;
  --maxw-text: 60ch;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 1.1s;

  /* Z-scale */
  --z-nav: 50;
  --z-overlay: 40;
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* ----------  Typography  ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--emerald);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rose);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 9vw, 8.5rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--emerald);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose);
}

.h-section {
  font-size: clamp(2.1rem, 5.2vw, 4.25rem);
  letter-spacing: -0.015em;
}
.h-section em { font-style: italic; color: var(--rose); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--emerald-soft);
  letter-spacing: 0.005em;
}

.body-text { color: var(--ink); max-width: var(--maxw-text); }
.body-text + .body-text { margin-top: 1.2rem; }
.muted { color: var(--muted); }

/* ----------  Layout helpers  ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(4rem, 8vw, 7rem); }

.bg-ivory { background: var(--ivory); }
.bg-blush { background: var(--blush); }
.bg-sage  { background: var(--sage); }
.bg-emerald { background: var(--emerald); color: var(--white); }
.bg-emerald h1, .bg-emerald h2, .bg-emerald h3 { color: var(--white); }

.rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: 0;
}

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05em 2.1em;
  border-radius: 999px;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .4s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--emerald);
  color: var(--white);
}
.btn--primary:hover { background: var(--emerald-deep); }

.btn--ghost {
  background: transparent;
  color: var(--emerald);
  border: 1px solid var(--line-emerald);
}
.btn--ghost:hover { background: var(--emerald); color: var(--white); border-color: var(--emerald); }

.btn--light {
  background: var(--white);
  color: var(--emerald);
}
.btn--light:hover { background: var(--pearl); }

.btn--outline-light {
  border: 1px solid rgba(255,251,248,0.4);
  color: var(--white);
}
.btn--outline-light:hover { background: var(--white); color: var(--emerald); }

/* Text link with animated underline */
.link-underline {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--emerald);
  padding-bottom: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  padding-block: 1.4rem;
  background: var(--white);
  transition: background .5s var(--ease), padding .5s var(--ease),
              box-shadow .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled {
  background: rgba(255, 251, 248, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-block: 0.85rem;
  border-bottom-color: var(--line);
}
/* while the mobile menu is open, drop the blur — a backdrop-filtered nav becomes
   a containing block and would trap the full-screen menu inside the nav bar */
.nav.is-menu-open {
  background: var(--white);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* nav stays in the centered content column — logo + links never sprawl to the
   screen edges, and the hero eyebrow is free to sit wherever it reads best. */
.nav__brand { display: flex; align-items: center; gap: 0.7rem; position: relative; z-index: 45; }
.nav__mark {
  height: 72px; width: auto;
  transform: translateY(-4px);
  transition: height .5s var(--ease);
}
.nav.is-scrolled .nav__mark { height: 60px; }
.nav__wordmark {
  display: flex; flex-direction: column;
  line-height: 1;
  transform: translateY(11px);
}
.nav.is-scrolled .nav__wordmark { transform: translateY(5px); }
.nav__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--emerald);
  white-space: nowrap;
}
.nav__tag {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 4px;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.nav__link {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: inline-flex; }

/* mobile toggle */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  position: relative;
  z-index: 45;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--emerald);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(78% 60% at 8% 16%, rgba(216,184,201,0.16) 0%, rgba(216,184,201,0) 60%),
    linear-gradient(160deg, var(--white) 0%, var(--ivory) 72%, #F4ECE7 100%);
}
/* feature image sits below the solid nav bar; shifted down so flower tops aren't cut */
.hero__bg {
  position: absolute;
  inset: 118px 0 0 0;
  z-index: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
/* a soft vertical band of light lifts the words only — leaves the model crisp */
.hero__fade {
  position: absolute;
  inset: 118px 0 0 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* the photo is now clean & bright on its own — only a faint band of light
       sits behind the words for legibility, kept clear of the model entirely */
    linear-gradient(90deg,
      rgba(248,247,243,0) 16%,
      rgba(248,247,243,0.04) 22%,
      rgba(248,247,243,0.22) 31%,
      rgba(248,247,243,0.22) 41%,
      rgba(248,247,243,0) 55%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;          /* full-bleed: copy tracks the viewport, not a centered box */
  padding-top: 6rem;
}
/* copy nestled in the empty band between the model (left) and blooms (right) */
.hero__copy {
  margin-left: 0;
  max-width: clamp(360px, 54vw, 800px);
  transform: translateY(52px);
}
.hero__eyebrow {
  margin-bottom: 1.8rem;
  position: relative;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  letter-spacing: 0.15em;
  color: var(--deep-rose);
  white-space: nowrap;
}
.hero__title {
  margin-bottom: 1.8rem;
  margin-left: clamp(3rem, 9.5vw, 11rem);
  font-size: clamp(2rem, 4.4vw, 4.3rem);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.012em;
}
.hero__title .line-mask > span { white-space: nowrap; }
/* asymmetric editorial offset on the second line */
.hero__title .line-mask:nth-child(2) { margin-left: clamp(0.75rem, 2.2vw, 2rem); }
.hero__title em { font-style: normal; letter-spacing: 0.012em; }
.hero__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2.05rem);
  line-height: 1.25;
  color: var(--emerald-soft);
  text-align: left;
  /* tuned to start at the middle of the "M" in IMPACT and track it across
     widths (measured: ~347px @1440, ~402px @1920) instead of drifting onto the blooms */
  margin-left: clamp(18rem, 11.4rem + 11.5vw, 30rem);
  margin-bottom: 3.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-left: clamp(4rem, 11vw, 11rem); margin-top: clamp(3rem, 5.5vw, 5rem); }

/* Hero feature image (placeholder-ready) */
.hero__feature {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: 2px;
  overflow: hidden;
}
.hero__feature::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,251,248,0.5);
}

/* atmospheric color washes */
.orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
  will-change: transform;
}
.orb--1 {
  width: clamp(200px, 26vw, 380px); aspect-ratio: 1; top: 1%; left: -9%;
  background: radial-gradient(circle, rgba(216,184,201,0.38), rgba(216,184,201,0) 70%);
  animation: drift 22s var(--ease) infinite;
}
.orb--2 {
  width: clamp(150px, 20vw, 300px); aspect-ratio: 1; bottom: -4%; right: -7%;
  background: radial-gradient(circle, rgba(160,122,140,0.18), rgba(160,122,140,0) 70%);
  animation: drift 27s var(--ease) infinite reverse;
}
.orb--3 {
  width: clamp(110px, 14vw, 200px); aspect-ratio: 1; top: 54%; right: 42%;
  background: radial-gradient(circle, rgba(214,196,182,0.24), rgba(214,196,182,0) 70%);
  animation: drift 31s var(--ease) infinite;
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(0, -22px, 0) scale(1.06); }
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 2.2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(var(--rose), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(48px); opacity: 0; }
}

/* =====================================================================
   IMAGE PLACEHOLDERS — soft, editorial, swap-ready
   To use a real photo: set
     style="background-image:url('assets/img/yourphoto.jpg')"
   on the .frame element and add class .frame--photo
   ===================================================================== */
.frame {
  position: relative;
  overflow: hidden;
  background-color: var(--blush);
  background-size: cover;
  background-position: center;
}
.frame--photo .frame__ph { opacity: 0; }
.frame__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  transition: opacity .6s var(--ease);
}
.frame__ph-mark { width: 26%; max-width: 96px; opacity: 0.4; color: var(--emerald); }
.frame__concept {
  position: absolute;
  right: 1.1rem; top: 1rem;
  z-index: 2;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(255, 251, 248, 0.82);
  padding: 0.4em 0.85em;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.frame__cap {
  position: absolute;
  left: 1.1rem; bottom: 1rem;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(255,251,248,0.7);
  padding: 0.35em 0.75em;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
/* gradient moods — dusty, editorial, restrained */
.ph-rose   { background: radial-gradient(135% 135% at 32% 18%, #F5ECEE 0%, #E3CDD6 50%, #C9A8B7 100%); }
.ph-pearl  { background: radial-gradient(135% 135% at 70% 22%, #FBF6F4 0%, #EFE1E5 55%, #DCC8D0 100%); }
.ph-stone  { background: radial-gradient(135% 135% at 35% 25%, #F6F0E9 0%, #E4D6C8 55%, #C9B7A4 100%); }
.ph-sage   { background: radial-gradient(135% 135% at 40% 28%, #EDF0E8 0%, #D3DAC9 58%, #A7B499 100%); }
.ph-emerald{ background: radial-gradient(135% 135% at 60% 22%, #43603a 0%, #2c4a23 52%, #214414 100%); }
.ph-emerald .frame__ph-mark { color: var(--white); opacity: 0.4; }
.ph-ivory  { background: linear-gradient(160deg, #FBF6F1 0%, #ECE0D4 100%); }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about__portrait { position: sticky; top: 116px; }
.about__photo { aspect-ratio: 4/5; border-radius: 2px; }
.about__credit {
  margin-top: 0.7rem;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
  text-align: right;
}
.about__copy .eyebrow { margin-bottom: 1.5rem; }
.about__copy .h-section { margin-bottom: 1.8rem; }
.about__copy .body-text + .body-text { margin-top: 1.1rem; }
.about__copy strong { font-weight: 600; color: var(--emerald); }
.about__copy em { font-style: italic; color: var(--emerald-soft); }
.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--emerald);
  line-height: 1;
}
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* keyword marquee */
.marquee {
  border-block: 1px solid var(--line-emerald);
  padding-block: 1.4rem;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee__item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--emerald);
}
.marquee__item span { color: var(--rose); margin-left: 3rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.gallery__head .h-section { max-width: 16ch; }
/* horizontal scroller — drag / swipe / arrows */
.gallery__viewport { position: relative; }
.gallery__scroll {
  display: flex;
  gap: clamp(0.9rem, 1.8vw, 1.6rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: 2px;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.1rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--line-emerald) transparent;
}
.gallery__scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery__scroll.is-dragging .gallery__item { pointer-events: none; }
.gallery__scroll::-webkit-scrollbar { height: 6px; }
.gallery__scroll::-webkit-scrollbar-track { background: transparent; }
.gallery__scroll::-webkit-scrollbar-thumb { background: var(--line-emerald); border-radius: 999px; }

.gallery__item {
  position: relative;
  flex: 0 0 auto;
  height: clamp(380px, 60vh, 580px);
  scroll-snap-align: start;
}
.gallery__item .frame { width: 100%; height: 100%; border-radius: 2px; }
.gallery__item .frame__inner {
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease);
  will-change: transform;
}
.gallery__item:hover .frame__inner { transform: scale(1.05); }

/* card proportions (height is fixed, width follows the ratio) */
.g-land { aspect-ratio: 16 / 9; }
.g-wide { aspect-ratio: 5 / 4; }
.g-sq   { aspect-ratio: 1 / 1; }
.g-up   { aspect-ratio: 4 / 5; }
.g-port { aspect-ratio: 2 / 3; }

/* scroll nav arrows */
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--line-emerald);
  border-radius: 999px;
  background: rgba(255, 251, 248, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--emerald);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  transition: opacity .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.gallery__nav:hover { background: var(--emerald); color: var(--white); }
.gallery__nav--prev { left: -10px; }
.gallery__nav--next { right: -10px; }
.gallery__nav[disabled] { opacity: 0; pointer-events: none; }

/* editorial testimonial woven into the gallery */
.testimonial {
  grid-column: span 12;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 6vw, 8rem);
}
.testimonial--inset { grid-column: 3 / span 8; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.28;
  color: var(--emerald);
  letter-spacing: -0.01em;
}
.testimonial cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose);
}

/* auto-rotating quote — stacked so the container never jumps */
.quote-rotator { display: grid; }
.quote-rotator .quote {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;
}
.quote-rotator .quote.is-active { opacity: 1; pointer-events: auto; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services__head { max-width: 52ch; margin-bottom: clamp(3rem, 6vw, 5rem); }
.services__head .h-section { margin-block: 1.4rem; }
.services__head .lead em { color: var(--rose); font-style: italic; }

.services__list {
  border-top: 1px solid var(--line-emerald);
}
.service {
  display: grid;
  grid-template-columns: 0.5fr 2fr 2.6fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line-emerald);
  transition: padding-left .5s var(--ease), background .5s var(--ease);
}
.service:hover { padding-left: clamp(0.5rem, 2vw, 1.6rem); background: var(--blush); }
.service__idx {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--rose);
}
.service__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--emerald);
  line-height: 1.1;
}
.service__desc { font-size: 0.95rem; color: var(--muted); max-width: 44ch; }
.service__icon {
  width: 38px; height: 38px;
  color: var(--emerald);
  opacity: 0.3;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.service:hover .service__icon { opacity: 1; transform: rotate(45deg); }

/* tiers */
.tiers { margin-top: clamp(4rem, 8vw, 7rem); }
.tiers__intro { max-width: 50ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.tiers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid var(--line-emerald);
  border-radius: 3px;
  background: var(--white);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease);
  overflow: hidden;
}
.tier::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--pearl), var(--rose));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(33,68,20,0.4); }
.tier:hover::before { transform: scaleX(1); }
.tier__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--rose);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.tier__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--emerald);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}
.tier__desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.6rem; }
.tier__meta {
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.tier__meta-label {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier__price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--emerald);
  line-height: 1;
}
.tier__price--quote { font-size: 1.2rem; font-weight: 400; font-style: italic; }
.tiers__intro h3 em { color: var(--rose); font-style: italic; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq__head { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line-emerald); }
.faq__item { border-bottom: 1px solid var(--line-emerald); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding-block: clamp(1.3rem, 2.5vw, 1.8rem);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--emerald);
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--rose); }
.faq__icon {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .55s var(--ease);
}
.faq__a-inner {
  padding-bottom: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--muted);
  max-width: 56ch;
}

/* =====================================================================
   CTA BANNER
   ===================================================================== */
.cta-band {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-band__inner { position: relative; z-index: 2; max-width: 40ch; margin-inline: auto; }
.cta-band .display { color: var(--white); margin-bottom: 2.4rem; }
.cta-band .display em { color: var(--pearl); }
.cta-band__glow {
  position: absolute;
  width: min(60vw, 720px); aspect-ratio: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(234,204,229,0.16), rgba(234,204,229,0) 62%);
  pointer-events: none;
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__intro .h-section { margin-block: 1.4rem 1.8rem; }
.contact__details { margin-top: 3rem; display: grid; gap: 1.6rem; }
.contact__detail { }
.contact__detail .label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.4rem;
}
.contact__detail a, .contact__detail p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--emerald);
}
.contact__detail a { transition: color .3s var(--ease); }
.contact__detail a:hover { color: var(--rose); }
.contact__detail a[href^="tel:"] {
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: 0.015em;
}
.contact__socials { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.contact__socials a { position: relative; }
.contact__socials a:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -0.85rem;
  color: var(--line-emerald);
}

/* form */
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { position: relative; display: flex; flex-direction: column; }
.field label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-emerald);
  padding: 0.7rem 0.1rem;
  border-radius: 0;
  transition: border-color .4s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--rose);
}
.field textarea { resize: vertical; min-height: 90px; }
.form__submit { margin-top: 0.5rem; justify-self: start; }
.form__note { font-size: 0.8rem; color: var(--muted); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ivory); border-top: 1px solid var(--line); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
.footer__logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem; }
.footer__mark { height: 72px; width: auto; transform: translateY(-4px); }
.footer__wordmark { display: flex; flex-direction: column; line-height: 1; transform: translateY(11px); }
.footer__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--emerald);
}
.footer__tag {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 4px;
}
.footer__brand p { color: var(--muted); max-width: 32ch; font-size: 0.92rem; }
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a { color: var(--emerald); font-size: 0.95rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--rose); }

.socials { display: flex; gap: 0.9rem; margin-top: 1.6rem; }
.social {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-emerald);
  border-radius: 999px;
  color: var(--emerald);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.social:hover { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.social svg { width: 18px; height: 18px; }

.footer__location {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--emerald);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--rose); }

/* =====================================================================
   LEGAL PAGES (privacy, terms)
   ===================================================================== */
.legal { padding-block: clamp(8rem, 14vw, 11rem) var(--section-y); background: var(--white); }
.legal__inner { max-width: 740px; margin-inline: auto; }
.legal__eyebrow { margin-bottom: 1.2rem; }
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--emerald);
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.legal .effective {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.6rem;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--emerald);
  margin-top: 2.6rem;
  margin-bottom: 0.7rem;
}
.legal p { color: var(--ink); line-height: 1.75; margin-bottom: 1rem; max-width: none; }
.legal ul { margin: 0.4rem 0 1.4rem; padding-left: 1.25rem; }
.legal li { color: var(--ink); line-height: 1.7; margin-bottom: 0.45rem; }
.legal a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; transition: color .3s var(--ease); }
.legal a:hover { color: var(--rose); }
.legal__note { color: var(--muted); font-size: 0.92rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* hero headline line reveal */
.line-mask { overflow: hidden; display: block; padding: 0.16em 0.16em; margin: -0.16em -0.16em; }
.line-mask > span {
  display: block;
  transform: translateY(120%);
  transition: transform 1.1s var(--ease);
}
.is-loaded .line-mask > span { transform: none; }
.is-loaded .line-mask:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .line-mask:nth-child(3) > span { transition-delay: .24s; }

.fade-up-load {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s;
}
.is-loaded .fade-up-load { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  /* collapse the nav to a hamburger before the wide wordmark can crowd the links */
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.is-mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: var(--white);
    z-index: var(--z-overlay);
  }
  .nav__links.is-mobile-open .nav__link { font-size: 1.6rem; font-family: var(--font-display); text-transform: none; letter-spacing: 0; }
  .nav__links.is-mobile-open .nav__cta { margin-top: 1rem; }

  .hero { display: block; min-height: auto; }
  .hero__fade { display: none; }
  .hero__bg {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    height: clamp(300px, 46vh, 460px);
    margin-top: clamp(120px, 16vh, 132px);
    border-radius: 0;
    box-shadow: none;
    background-position: 70% center;
  }
  .hero__inner { padding: 2.4rem 20px 1rem; }
  .hero__copy { max-width: 100%; margin-left: 0; transform: none; }
  .hero__title, .hero__text, .hero__actions { margin-left: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { position: static; max-width: 360px; }
  .about__photo { aspect-ratio: 4/5; }
  .contact__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .tiers__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --section-y: clamp(4rem, 14vw, 6rem); }

  .hero__scroll { display: none; }
  .service { grid-template-columns: auto 1fr; row-gap: 0.4rem; }
  .service__idx { grid-row: 1; }
  .service__desc { grid-column: 1 / -1; }
  .service__icon { display: none; }
  .gallery__item { width: 80vw; height: clamp(340px, 64vh, 480px); aspect-ratio: auto; scroll-snap-align: center; }
  .gallery__nav { display: none; }
  .testimonial, .testimonial--inset { padding-inline: 0; }
  .tiers__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .about__stats { gap: 1.5rem 2.5rem; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .fade-up-load, .line-mask > span { opacity: 1 !important; transform: none !important; }
  .orb { animation: none !important; }
}
