/* ==========================================================================
   The Intentional Edit — styles
   Built from Figma "Web MVP" (Frame 1 — Polished 472:22857, Mobile — 390 472:23015)
   Breakpoints: mobile < 768 · tablet 768–1199 · desktop ≥ 1200
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colour (Intentional Edit / Color) */
  --cream: #fbf9f4;
  --sand: #f4f0e8;
  --brown: #6b3f27;
  --brown-dark: #623e2a;
  --ink: #2e1d14;
  --blue: #4b6275;
  --white: #ffffff;
  --error: #a3402c;

  /* Opacity applied on top of the base colours */
  --brown-85: rgba(107, 63, 39, 0.85);
  --brown-20: rgba(107, 63, 39, 0.2);
  --brown-dark-30: rgba(98, 62, 42, 0.3);
  --ink-80: rgba(46, 29, 20, 0.8);
  --ink-60: rgba(46, 29, 20, 0.6);
  --cream-88: rgba(251, 249, 244, 0.88);
  --cream-85: rgba(251, 249, 244, 0.85);
  --cream-75: rgba(251, 249, 244, 0.75);
  --cream-40: rgba(251, 249, 244, 0.4);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "La Belle Aurore", "Brush Script MT", cursive;

  /* Layout */
  --content: 1200px;
  --gutter: 64px;   /* min side margin for the 1200 column */
  --edge: 64px;     /* hero, nav and footer margins */

  --ease: cubic-bezier(0.23, 1, 0.32, 1);        /* strong ease-out */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);  /* iOS-like sheet */
}

@media (max-width: 1199px) {
  :root { --gutter: 48px; --edge: 48px; }
}
@media (max-width: 767px) {
  :root { --gutter: 24px; --edge: 24px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 20px; background: var(--ink); color: var(--cream);
  font-size: 14px; border-radius: 100px;
}
.skip-link:focus { top: 16px; }

/* ---------- Type styles ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.nav__link {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}
.body-lg { font-size: 18px; line-height: 30px; }
.body { font-size: 16px; line-height: 26px; }
.script-lg { font-family: var(--script); font-size: 44px; line-height: 1; color: var(--blue); }
.script-sm { font-family: var(--script); font-size: 36px; line-height: 1.2; color: var(--blue); }

@media (max-width: 767px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.2em; }
  .h2 { font-size: 40px; }
  .h3 { font-size: 26px; }
  .body-lg { font-size: 16px; line-height: 26px; }
  .body { font-size: 15px; line-height: 24px; }
  .script-lg, .script-sm { font-size: 26px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 18px 32px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.25s var(--ease), transform 0.16s var(--ease);
}
.btn--sm { min-height: 44px; padding: 14px 26px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Primary = brown on light surfaces */
.btn--primary { background: var(--brown-dark); color: var(--cream); }
/* Light = cream on dark surfaces */
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
/* Hover states only where a real hover exists (touch screens would keep them "stuck" after a tap) */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:not(:disabled):hover { background: var(--ink); }
  /* Kit says cream → white, which is invisible on the photo/brown; invert instead */
  .btn--light:not(:disabled):hover { background: transparent; color: var(--cream); }
  .btn--outline:not(:disabled):hover { background: var(--brown-dark); border-color: var(--brown-dark); color: var(--cream); }
  .btn--outline-light:not(:disabled):hover { background: var(--cream); color: var(--ink); }
  .nav__link:hover::after { transform: scaleX(1); }
  .footer__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .inquiry__close:hover span { text-decoration: underline; text-underline-offset: 4px; }
  .option:hover .option__radio { border-color: var(--brown); box-shadow: 0 0 0 4px rgba(107, 63, 39, 0.08); }
  .link-back:hover { text-decoration: underline; text-underline-offset: 4px; }
}
/* Press feedback for every button */
.btn:not(:disabled):active { transform: scale(0.97); }
/* Outline = secondary on light */
.btn--outline { border-color: var(--brown); color: var(--brown); }
/* Outline light = secondary on dark */
.btn--outline-light { border-color: var(--cream); color: var(--cream); }

/* ==========================================================================
   01 Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: clamp(640px, 100svh, 900px);
  padding: 32px var(--edge) 72px;
  overflow: hidden;
  color: var(--cream);
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; /* works for the <img> and the <video> option */
}
.hero__video { pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 13, 8, 0.45) 0%, rgba(20, 13, 8, 0) 28%, rgba(20, 13, 8, 0) 50%, rgba(20, 13, 8, 0.6) 100%);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
}
.nav__group { flex: 1 0 0; display: flex; align-items: center; gap: 44px; }
.nav__group--right { justify-content: flex-end; }
.nav .nav__link { color: var(--cream); position: relative; padding-block: 8px; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__logo { flex: none; width: 188px; }
.nav__logo img { width: 100%; height: auto; }
.nav__menu-btn { display: none; }

/* Hero content */
.hero__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 110px;
  line-height: 0.92;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.hero__line { display: block; }
.hero__line--italic { font-style: italic; padding-left: 120px; margin-top: -11px; }
.hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; width: 420px; flex: none; }
.hero__copy { display: flex; flex-direction: column; gap: 16px; }
.hero__text { color: var(--cream-88); }

/* ==========================================================================
   Shared section column
   ========================================================================== */
.services, .about, .faq {
  padding-inline: max(var(--gutter), (100% - var(--content)) / 2);
}

/* ==========================================================================
   02 Services
   ========================================================================== */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--cream);
}
.section-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }

.services__cards {
  /* Fit the whole section (header, cards, button) in one screen: cards are 360px wide
     on screens 930px+ tall and shrink with viewport height below that (≈480px of the
     section is fixed: paddings, header, gaps, card text, button). */
  --card-w: clamp(280px, calc((100svh - 480px) * 0.8), 360px);
  display: grid;
  grid-template-columns: repeat(3, min(var(--card-w), (100% - 120px) / 3));
  justify-content: center;
  gap: 60px;
  width: 100%;
}
.card { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.card__media {
  position: relative;
  aspect-ratio: 360 / 450;
}
.card__stamp {
  position: absolute;
  /* stamp art incl. its shadow bleeds outside the card box */
  inset: -2.13% -4% -4.27% -4%;
  pointer-events: none;
}
.card__stamp img { width: 100%; height: 100%; }
.card__photo {
  position: absolute;
  inset: 10.22% 12.78%; /* 46px inside a 360×450 stamp */
  width: 74.44%;
  height: 79.56%;
  overflow: hidden;
}
.card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card__media { transition: transform 0.5s var(--ease); }
.card__text { display: flex; flex-direction: column; gap: 8px; }
.card__desc { max-width: 320px; color: var(--brown-85); }
/* The title button stretches over the whole card, so clicking anywhere opens the inquiry */
.card { position: relative; cursor: pointer; }
.card__btn { font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.card__btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__btn:focus-visible { outline: none; }
.card:has(.card__btn:focus-visible) { outline: 2px solid var(--brown); outline-offset: 10px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.services__dots { display: none; }

/* ==========================================================================
   04 Meet Tyler
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 520fr) minmax(0, 560fr);
  align-items: center;
  column-gap: 120px;
  padding-top: 56px;
  padding-bottom: 128px;
  background: var(--cream);
}
.about__media { position: relative; }
.about__photo { position: relative; aspect-ratio: 520 / 640; overflow: hidden; }
.about__photo img {
  position: absolute;
  left: 0; top: -15%;
  width: 100%; height: 130%; /* spare height above and below for the scroll parallax */
  max-width: none;
  object-fit: cover; /* object-position (photo focus) is set from the CMS */
}

/* Stamp · What's in my bag (Stamp / Small — stone + photo), rotated 7° */
.stamp {
  position: absolute;
  aspect-ratio: 200.792 / 250.399;
  transform: translate(-50%, -50%) rotate(7deg);
}
.stamp--about { width: 38.61%; left: 93.04%; top: 88.96%; }
.stamp__paper { position: absolute; inset: -6.4% -12% -12.8% -12%; }
.stamp__paper img { width: 100%; height: 100%; }
.stamp__photo {
  position: absolute;
  left: 14.12%; top: 12.26%;
  width: 71.77%; height: 75.47%;
  object-fit: cover;
}

.about__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 560px; }
.about__title { max-width: 520px; }
.about__text { max-width: 530px; color: var(--brown-85); }

/* ==========================================================================
   08 Start planning (CTA)
   ========================================================================== */
.cta {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 160px var(--edge);
  overflow: hidden;
  background: var(--brown-dark);
  color: var(--cream);
  text-align: center;
}
.cta__script {
  position: absolute;
  left: 50%; top: 50%;
  width: 2447.7px; height: 523.334px;
  max-width: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}
.cta__eyebrow { color: var(--cream-75); }
.cta__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-block: 26px; /* the Figma text box is ~100px tall */
}
.cta__text { max-width: 454px; color: var(--cream-85); }

/* ==========================================================================
   08 FAQ
   ========================================================================== */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 700px);
  justify-content: space-between;
  align-items: start;
  gap: 60px;
  padding-top: 128px;
  padding-bottom: 128px;
  background: var(--cream);
}
.faq__left { display: flex; flex-direction: column; gap: 48px; }
.faq__intro { display: flex; flex-direction: column; gap: 20px; }
.faq__intro .body { color: var(--brown-85); }
.faq__note {
  align-self: flex-start;
  margin: 24px 0 0 4px;
  transform: rotate(-5deg);
  transform-origin: left center;
  white-space: nowrap;
}

.faq__list { border-bottom: 1px solid var(--brown-20); }
.faq-item { border-top: 1px solid var(--brown-20); }
.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
}
.faq-item__q {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--brown);
}
/* + / – drawn in CSS so it can animate */
.faq-item__icon { position: relative; flex: none; width: 16px; height: 40px; color: var(--blue); }
.faq-item__icon::before,
.faq-item__icon::after {
  content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon::after { transform: rotate(0deg); }
.faq-item__q { transition: transform 0.45s var(--ease), color 0.3s ease; }
.faq-item__icon { transition: transform 0.45s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .faq-item__btn:hover .faq-item__q { transform: translateX(6px); color: var(--ink); }
  .faq-item__btn:hover .faq-item__icon { transform: rotate(90deg); }
}

.faq-item__panel {
  --pull: -14px; /* header → answer gap is 12px; the button already has 26px bottom padding */
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden; /* closed answers aren't read by screen readers */
  transition: grid-template-rows 0.4s var(--ease), margin-top 0.4s var(--ease), visibility 0s linear 0.4s;
}
.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr; margin-top: var(--pull);
  visibility: visible;
  transition: grid-template-rows 0.4s var(--ease), margin-top 0.4s var(--ease), visibility 0s;
}
.faq-item__inner { overflow: hidden; }
.faq-item__a {
  max-width: 600px;
  padding-bottom: 26px;
  font-size: 16px;
  line-height: 26px;
  color: var(--brown-85);
}

/* ==========================================================================
   10 Instagram strip
   ========================================================================== */
.ig { background: var(--sand); }
.ig__list {
  display: grid;
  grid-template-columns: repeat(var(--ig-count, 7), minmax(0, 1fr));
  gap: 7px;
}
.ig__tile { display: block; overflow: hidden; aspect-ratio: 200 / 250; }
.ig__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .ig__tile:hover img { transform: scale(1.03); }
}

/* ==========================================================================
   11 Footer
   ========================================================================== */
.footer {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 64px var(--edge) 28px;
  background: var(--sand);
  color: var(--ink);
}
.footer__top,
.footer__bottom { width: 100%; max-width: 1680px; margin-inline: auto; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 360px; }
.footer__links .nav__link { position: relative; color: var(--ink); }
.footer__logo { width: 78px; flex: none; }
.footer__logo img { width: 100%; height: auto; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; width: 360px; text-align: right; }
.footer__contact .h4 { color: var(--brown); }
.footer__contact a { color: var(--ink); }
.footer__bottom::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--brown-dark-30);
  transform-origin: center;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  position: relative;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-80);
}

/* ==========================================================================
   Mobile menu (< 768)
   ========================================================================== */
.menu {
  position: fixed; inset: 0; z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 16px 24px 40px;
  overflow-y: auto;
  background: var(--brown-dark);
  color: var(--cream);
  animation: fade-in 0.3s var(--ease);
}
.menu__bar { display: flex; align-items: center; justify-content: space-between; }
.menu__logo { width: 162px; height: auto; }
.menu__close { display: flex; align-items: center; justify-content: flex-end; width: 44px; height: 44px; }
.menu__content { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.menu__links { width: 100%; }
.menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-40);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-align: left;
}
.menu__link img { flex: none; }
.menu__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 24px; }
.menu__contact .eyebrow { margin-bottom: 4px; }

/* ==========================================================================
   Inquiry pop-up
   ========================================================================== */
.inquiry {
  position: fixed; inset: 0; z-index: 60;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--brown-dark);
  color: var(--cream);
  animation: fade-in 0.35s var(--ease);
}
.inquiry.is-closing { animation: fade-out 0.25s var(--ease) forwards; }

.inquiry__top {
  position: absolute;
  top: 44px; right: 64px;
  z-index: 2;
}
.inquiry__top-label { display: none; }
.inquiry__close {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  font-size: 12px; line-height: 1.2; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream);
}

.inquiry__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 104px;
  width: 100%;
  max-width: 1440px;
  margin: auto;
  padding: 104px 120px;
}
.inquiry__intro { display: flex; flex-direction: column; gap: 28px; width: 440px; flex: none; }
.inquiry[data-step="sent"] [data-label-default],
.inquiry:not([data-step="sent"]) [data-label-sent] { display: none !important; }
.inquiry__heading {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.015em;
}
.inquiry__heading em { font-style: italic; }
.inquiry__steps { display: flex; flex-direction: column; padding-top: 12px; }
.inquiry__steps li {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--cream-40);
  font-size: 16px; line-height: 26px;
}
.inquiry__steps li:last-child { border-bottom: 1px solid var(--cream-40); }
.inquiry__num { font-size: 12px; line-height: 1.2; letter-spacing: 0.2em; }

.inquiry__card {
  width: 656px;
  min-height: 742px;
  flex: none;
  display: flex;
  padding: 56px;
  border-radius: 2px;
  background: var(--cream);
  color: var(--ink);
}
.inquiry[data-step="sent"] .inquiry__card { min-height: 0; width: 652px; padding: 72px 56px; }
.inquiry__step { display: flex; flex-direction: column; gap: 40px; width: 100%; animation: step-in 0.3s var(--ease) both; }
.inquiry__step[data-step-panel="2"] { gap: 36px; }
.inquiry__question {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--brown);
}
.inquiry__question:focus { outline: none; }

.progress { display: flex; flex-direction: column; gap: 14px; }
.progress__label { color: var(--ink); }
.progress__bar { display: flex; gap: 8px; }
.progress__bar span { position: relative; flex: 1; height: 2px; background: rgba(46, 29, 20, 0.2); overflow: hidden; }
.progress__bar span.is-done::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left center; }

/* Step 1 options */
.options { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.option { position: relative; display: flex; align-items: flex-start; gap: 16px; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 6px 0 0; pointer-events: none; }
.option__radio {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 6px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.option input:checked + .option__radio {
  border: 0;
  background: url("../assets/svg/radio-selected.svg") center / 18px 18px no-repeat;
}
.option input:focus-visible + .option__radio { outline: 2px solid var(--brown); outline-offset: 3px; }
.option__text { display: flex; flex-direction: column; gap: 2px; }
.option__title { font-size: 18px; line-height: 30px; }
.option__desc { font-size: 16px; line-height: 26px; }
.m-only { display: none; }

.inquiry__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; }
.inquiry__actions .body { color: var(--ink); }
.link-back { padding: 10px 12px 10px 0; font-size: 16px; line-height: 26px; }

/* Step 2 fields — underline field with floating label */
.fields {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 28px;
  align-content: start;
}
.field { position: relative; height: 64px; border-bottom: 1px solid var(--ink-60); transition: border-color 0.2s var(--ease); }
.field--textarea { grid-column: 1 / -1; height: 112px; }
.field input,
.field textarea {
  position: absolute; left: 0; right: 0; bottom: 8px;
  width: 100%;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 30px;
  color: var(--ink);
  outline: none;
  caret-color: var(--ink);
}
.field textarea { top: 34px; height: auto; resize: none; }
.field label {
  position: absolute; left: 0; top: 17px;
  font-size: 18px;
  line-height: 30px;
  color: var(--ink);
  pointer-events: none;
  transform-origin: left top;
  transition: top 0.2s var(--ease), font-size 0.2s var(--ease), letter-spacing 0.2s var(--ease), line-height 0.2s var(--ease);
}
.field--textarea label { top: 12px; }
.field.is-active label,
.field:focus-within label {
  top: 10px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.field--textarea.is-active label { top: 10px; }
.field:focus-within { border-bottom-color: var(--ink); }
.field.has-error { border-bottom-color: var(--error); }
.field.has-error label { color: var(--error); }
.field__error {
  position: absolute; left: 0; top: calc(100% + 6px);
  font-size: 13px; line-height: 18px;
  color: var(--error);
}
@keyframes autofill-start { from { opacity: 1; } to { opacity: 1; } }
.field input:-webkit-autofill { animation: autofill-start 1ms; -webkit-box-shadow: 0 0 0 100px var(--cream) inset; -webkit-text-fill-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inquiry__form-error { font-size: 14px; line-height: 20px; color: var(--error); }

/* Sent */
.inquiry__sent { gap: 28px; }
.inquiry__seal { position: relative; width: 88px; height: 88px; }
.inquiry__seal img { position: absolute; inset: -6.96% -13.05% -19.14% -13.05%; width: auto; height: auto; max-width: none; }
.inquiry__sent-copy { display: flex; flex-direction: column; gap: 16px; }
.inquiry__sent .inquiry__actions { margin-top: 0; padding-top: 8px; justify-content: flex-start; }

/* ---------- Motion ---------- */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-down { from { transform: none; } to { transform: translateY(100%); } }



/* ==========================================================================
   Motion
   Hero entrance (CSS, runs while the page loads) · scroll reveals (JS adds
   .is-visible once) · hover polish · pop-up polish.
   Reveal hidden states only apply when JS is running (html.js).
   ========================================================================== */
@keyframes hero-settle { from { transform: scale(1.06); } }
@keyframes line-rise { from { transform: translateY(120%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes stamp-settle { from { transform: rotate(-2deg) scale(0.97); } }
@keyframes card-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes bar-fill { from { transform: scaleX(0); } }
@keyframes seal-press {
  0%   { opacity: 0; transform: scale(1.18); }
  55%  { opacity: 1; transform: scale(0.96); }
  100% { transform: scale(1); }
}

/* --- Hero entrance --- */
.hero__img { animation: hero-settle 2.2s var(--ease) both; }
.nav { animation: fade 0.8s var(--ease) 0.15s both; }
/* each headline line rises from behind its own mask (clip-path leaves layout alone;
   generous top/side room for italics, a little below for descenders) */
.hero__line { clip-path: inset(-0.4em -0.5em -0.15em -0.5em); }
.hero__line-inner { display: block; animation: line-rise 1.1s var(--ease) 0.25s both; }
.hero__line--italic .hero__line-inner { animation-delay: 0.37s; }
.hero__copy > *, .hero__side > .btn { animation: fade-up 0.9s var(--ease) both; }
.hero__copy > :nth-child(1) { animation-delay: 0.6s; }
.hero__copy > :nth-child(2) { animation-delay: 0.68s; }
.hero__side > .btn { animation-delay: 0.76s; }

/* --- Scroll reveals (fill-mode backwards hands transform back to hover styles afterwards) --- */
.js [data-reveal]:not(.is-visible) { opacity: 0; }
.js [data-reveal].is-visible { animation: fade-up 0.9s var(--ease) var(--d, 0s) backwards; }
.js .card.is-visible .card__media { animation: stamp-settle 1.1s var(--ease) var(--d, 0s) backwards; }
/* Handwritten notes write themselves left to right, like ink. clip-path follows the
   element's own rotation, so the wipe runs along the tilted baseline. */
@keyframes write-on {
  from { clip-path: inset(-30% 100% -50% -5%); }
  to   { clip-path: inset(-30% -5% -50% -5%); }
}
.js .about__sign.is-visible { animation: write-on 0.8s linear calc(var(--d, 0s) + 0.2s) backwards; }
.js .faq__note.is-visible { animation: write-on 1.6s linear calc(var(--d, 0s) + 0.3s) backwards; }

/* --- Hover polish (pointer devices only) --- */
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media { transform: translateY(-6px); }
  .card:hover .card__photo img { transform: scale(1.04); }
}

/* --- Pop-up polish --- */
@media (min-width: 768px) {
  .inquiry:not(.is-closing) .inquiry__card { animation: card-in 0.5s var(--ease) 0.08s both; }
  .inquiry:not(.is-closing) .inquiry__intro { animation: fade-up 0.6s var(--ease) 0.12s both; }
}
.inquiry__step[data-step-panel="2"] .progress__bar span:nth-child(2)::after { animation: bar-fill 0.7s var(--ease) 0.15s both; }
.inquiry__sent .inquiry__seal { animation: seal-press 0.7s var(--ease) 0.1s both; }
.inquiry__sent .inquiry__sent-copy { animation: fade-up 0.6s var(--ease) 0.25s both; }
.inquiry__sent .inquiry__actions { animation: fade-up 0.6s var(--ease) 0.35s both; }

/* --- Scroll-up nav bar --- */
.sticky-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(251, 249, 244, 0.92);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--brown-20);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.sticky-nav.is-shown { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
.sticky-nav__inner { display: flex; align-items: center; width: 100%; max-width: 1680px; margin-inline: auto; padding: 12px var(--edge); }
.sticky-nav .nav__link { position: relative; padding-block: 8px; color: var(--ink); }
/* the cream logo / menu SVGs drawn in brown via mask, so the asset files stay untouched */
.sticky-nav__logo {
  flex: none; width: 128px; height: 37.5px; /* 188 × 55 logo at 68% */
  background: var(--brown);
  -webkit-mask: url("../assets/svg/logo-script.svg") center / contain no-repeat;
  mask: url("../assets/svg/logo-script.svg") center / contain no-repeat;
}
.sticky-nav__menu { display: none; align-items: center; justify-content: flex-end; width: 44px; height: 44px; }
.sticky-nav__menu span {
  width: 28px; height: 28px; background: var(--brown);
  -webkit-mask: url("../assets/svg/icon-menu.svg") center / contain no-repeat;
  mask: url("../assets/svg/icon-menu.svg") center / contain no-repeat;
}
@media (max-width: 767px) {
  .sticky-nav__inner { justify-content: space-between; padding: 8px 24px; }
  .sticky-nav__logo { width: 120px; height: 35px; }
  .sticky-nav__menu { display: flex; }
}

/* --- Brown banner: headline rises from a mask (watermark drift is set in JS) --- */
.cta__title { clip-path: inset(-0.4em -0.5em -0.15em -0.5em); }
.cta__title-inner { display: inline-block; }
.js .cta__title.is-visible { animation: none; }
.js .cta__title.is-visible .cta__title-inner { animation: line-rise 1.1s var(--ease) var(--d, 0s) backwards; }

/* --- "Inquire" cursor over service cards (desktop pointers; JS adds html.has-cursor-pill) --- */
.cursor-pill {
  position: fixed; left: 0; top: 0; z-index: 45;
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  pointer-events: none;
  display: none;
}
.has-cursor-pill .cursor-pill { display: block; }
.cursor-pill span {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding-left: 0.2em; /* balances the trailing letter-spacing */
  border-radius: 50%;
  background: var(--brown-dark);
  color: var(--cream);
  font-family: var(--sans); font-weight: 500; font-size: 11px; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.4s var(--ease);
}
.cursor-pill.is-active span { opacity: 1; transform: scale(1); }
.has-cursor-pill .card, .has-cursor-pill .card * { cursor: none; }

/* --- Instagram strip + footer: quiet arrival. A slow fade with a barely-there rise,
       everything together (no curtain, no stagger, no tilt). --- */
@keyframes soft-rise { from { opacity: 0; transform: translateY(8px); } }
.js .ig__list.is-visible { animation: fade 1.4s ease backwards; }
.js .ig__list.is-visible img { animation: settle-zoom 2s var(--ease) backwards; }
@keyframes settle-zoom { from { transform: scale(1.02); } }
.js .footer__links.is-visible,
.js .footer__logo.is-visible,
.js .footer__contact.is-visible { animation: soft-rise 1.2s var(--ease) backwards; }
.js .footer__bottom.is-visible { animation: fade 1.2s ease 0.2s backwards; }

/* --- Reduced motion: keep the fades, drop the movement --- */
@media (prefers-reduced-motion: reduce) {
  .hero__img, .hero__line-inner, .card__media, .inquiry__seal { animation: none !important; }
  .js .about__sign.is-visible, .js .faq__note.is-visible { animation: fade 0.9s ease both !important; }
  .faq-item__q, .faq-item__icon { transition-property: color !important; }
  .hero__copy > *, .hero__side > .btn, .js [data-reveal].is-visible,
  .inquiry__card, .inquiry__intro, .inquiry__step,
  .inquiry__sent-copy, .inquiry__sent .inquiry__actions { animation-name: fade !important; }
  .inquiry, .inquiry.is-closing { animation-name: fade !important; }
  .inquiry.is-closing { animation-direction: reverse !important; }
  .progress__bar span::after { animation: none !important; }
  .card__media, .card__photo img, .ig__tile img, .btn { transition-property: opacity, background-color, color, border-color !important; }
  .faq-item__panel, .faq-item__icon::before, .faq-item__icon::after { transition-duration: 0.01ms !important; }
  .sticky-nav { transform: none; opacity: 0; transition: opacity 0.2s ease, visibility 0s linear 0.2s !important; }
  .sticky-nav.is-shown { opacity: 1; transition: opacity 0.2s ease, visibility 0s !important; }
  .js .cta__title.is-visible { animation: fade 0.9s ease both !important; }
  .js .cta__title.is-visible .cta__title-inner { animation: none !important; }
  .js .ig__list.is-visible img { animation: none !important; }
}

/* ==========================================================================
   Desktop, narrower than the 1440 design (1200–1439)
   ========================================================================== */
@media (max-width: 1439px) and (min-width: 1200px) {
  .about { column-gap: clamp(64px, 8.3vw, 120px); }
  .hero__title { font-size: clamp(96px, 7.64vw, 110px); }
  .inquiry__main { padding-inline: 64px; gap: 64px; }
  .inquiry__intro { flex: 0 1 440px; min-width: 0; } /* shrink so the 656px card always fits */
}

/* ==========================================================================
   Tablet (768–1199) — not designed; follows the dev notes:
   desktop layout with 48 margins, Services cards in 2 columns, FAQ stacks.
   ========================================================================== */
@media (max-width: 1199px) {
  /* Hero: stack headline over the side copy */
  .hero { height: clamp(640px, 100svh, 900px); padding-top: 28px; padding-bottom: 56px; }
  .hero__content { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero__title { font-size: clamp(72px, 10vw, 110px); }
  .hero__line--italic { padding-left: 0.9em; margin-top: -0.1em; }
  .hero__side { width: min(420px, 100%); }

  .services { padding-top: 104px; padding-bottom: 96px; gap: 56px; }
  .services__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 40px; }
  .services__cards .card { width: calc((100% - 40px) / 2); max-width: 360px; }

  .about { column-gap: 56px; padding-top: 40px; padding-bottom: 104px; }

  .cta { padding-block: 136px; }

  .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 104px; padding-bottom: 104px; }
  .faq__left { gap: 20px; }
  .faq__intro { max-width: 520px; }
  .faq__list { max-width: 700px; width: 100%; }

  .ig__list {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .ig__list::-webkit-scrollbar { display: none; }
  .ig__list li { flex: none; width: 180px; scroll-snap-align: start; }

  .footer__links, .footer__contact { width: auto; flex: 1; }

  /* Pop-up: stack intro above the card */
  .inquiry__main { flex-direction: column; align-items: stretch; gap: 48px; max-width: 752px; padding: 112px 48px 64px; }
  .inquiry__intro { width: 100%; }
  .inquiry__card, .inquiry[data-step="sent"] .inquiry__card { width: 100%; min-height: 0; }
  .inquiry__top { top: 32px; right: 48px; }
}

@media (max-width: 1023px) and (min-width: 768px) {
  /* Meet Tyler stacks below 1024 so the photo keeps its size */
  .about { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .about__media { width: min(520px, 85%); }
}

/* ==========================================================================
   Mobile (< 768) — Figma "Mobile — 390"
   ========================================================================== */
@media (max-width: 767px) {
  /* Hero */
  .hero { height: clamp(600px, 100svh, 780px); padding: 16px 24px 56px; }
  .hero__img { top: -15%; height: 115%; object-position: 50% 100%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(23, 18, 15, 0) 0%, rgba(23, 18, 15, 0) 42%, rgba(23, 18, 15, 0.38) 72%, rgba(23, 18, 15, 0.62) 100%),
      linear-gradient(180deg, rgba(20, 13, 8, 0.45) 0%, rgba(20, 13, 8, 0) 28%, rgba(20, 13, 8, 0) 50%, rgba(20, 13, 8, 0.6) 100%);
  }
  .nav { justify-content: space-between; }
  .nav__group { display: none; }
  .nav__logo { width: 162px; }
  .nav__menu-btn { display: flex; align-items: center; justify-content: flex-end; width: 44px; height: 44px; }
  .hero__content { gap: 24px; }
  .hero__title { font-size: 72px; letter-spacing: -0.02em; }
  .hero__line--italic { padding-left: 0; margin-top: -8px; }
  .hero__side { gap: 28px; width: 100%; }
  .hero__text { display: none; }

  /* Services — horizontal scroll-snap carousel */
  .services { gap: 32px; padding: 72px 0; }
  .services__cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    padding: 0 24px 16px;
    margin-bottom: -16px; /* room for the stamp shadow */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .services__cards::-webkit-scrollbar { display: none; }
  .services__cards .card { flex: none; width: 272px; max-width: none; gap: 20px; scroll-snap-align: start; }
  .card__photo { inset: 10.29% 12.87%; width: 74.26%; height: 79.41%; } /* 35px inside 272×340 */
  .card__text { gap: 8px; }
  .card__desc { max-width: none; }
  .services__dots { display: flex; gap: 8px; }
  .services__dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brown);
    opacity: 0.25;
    transition: opacity 0.3s var(--ease);
  }
  .services__dots span.is-active { opacity: 1; }

  /* Meet Tyler */
  .about { grid-template-columns: minmax(0, 1fr); row-gap: 56px; padding: 56px 24px; }
  .about__photo { aspect-ratio: 342 / 420; }
  .stamp--about { width: 39.92%; left: 80.66%; top: 86.47%; }
  .about__intro { gap: 24px; }

  /* CTA */
  .cta { gap: 24px; padding: 130px 24px; }
  .cta__script { width: 1028.035px; height: 219.8px; }
  .cta__title { font-weight: 300; font-size: 52px; line-height: 1; letter-spacing: -0.02em; margin-block: 4px; }
  .cta__text { max-width: 318px; }

  /* FAQ */
  .faq { gap: 40px; padding: 72px 24px; }
  .faq__left { gap: 20px; }
  .faq__note { margin-top: 12px; }
  .faq-item__btn { padding: 20px 0; }
  .faq-item__q { font-size: 20px; line-height: 1.25; }
  .faq-item__panel { --pull: -8px; }
  .faq-item__a { font-size: 15px; line-height: 24px; padding-bottom: 20px; }

  /* Instagram */
  .ig__list { gap: 5px; }
  .ig__list li { width: 140px; }

  /* Footer */
  .footer { gap: 40px; padding: 56px 24px 28px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__logo { order: -1; }
  .footer__links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 20px; width: 100%; }
  .footer__links li > * { display: flex; align-items: center; min-height: 44px; }
  .footer__contact { align-items: center; text-align: center; width: 100%; }
  .footer__contact a { font-size: 16px; line-height: 26px; }
  .footer__bottom { flex-direction: column; align-items: center; gap: 0; text-align: center; }

  /* Pop-up → bottom sheet */
  .inquiry { animation: sheet-up 0.5s var(--ease-drawer); background: var(--brown-dark); }
  .inquiry.is-closing { animation: sheet-down 0.3s var(--ease) forwards; }
  .inquiry__top {
    position: static;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px 0;
  }
  .inquiry__top-label { display: block; color: var(--cream); }
  .inquiry__main { flex: 1; flex-direction: column; align-items: stretch; gap: 0; max-width: none; margin: 0; padding: 0; }
  .inquiry__intro { width: 100%; gap: 0; padding: 22px 24px 28px; }
  .inquiry__eyebrow, .inquiry__steps, .inquiry__br { display: none; }
  .inquiry__heading { font-size: 40px; letter-spacing: -0.01em; }
  .inquiry__card,
  .inquiry[data-step="sent"] .inquiry__card {
    flex: 1;
    width: 100%;
    min-height: 0;
    padding: 28px 24px 34px;
    border-radius: 20px 20px 0 0;
  }
  .inquiry__step { gap: 24px; }
  .inquiry__step[data-step-panel="2"] { gap: 24px; }
  .inquiry__question { font-size: 30px; letter-spacing: -0.005em; }
  .options { gap: 18px; }
  .option__title { font-size: 16px; line-height: 26px; }
  .option__desc { font-size: 15px; line-height: 24px; }
  .d-only { display: none; }
  .m-only { display: inline; }
  .fields { column-gap: 16px; row-gap: 18px; }
  .field input, .field textarea, .field label { font-size: 16px; }
  .field.is-active label, .field:focus-within label { font-size: 10px; }
  .inquiry__sent .inquiry__actions { margin-top: auto; }
  .inquiry__sent .inquiry__actions .btn { width: 100%; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 64px; }
  .menu__link { font-size: 36px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
}
