/* ==========================================================================
   SA Marketing — samarketingdigital.online
   ========================================================================== */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --cream: #F4EFE7;
  --paper: #FAF7F1;
  --sand: #E9E1D4;
  --taupe: #B8A88F;
  --accent: #7A6143;
  --ink: #141210;
  --ink-hover: #3A3028;
  --text: #2B2622;
  --muted: #625A50;
  --line: rgba(20, 18, 16, 0.13);
  --line-strong: rgba(20, 18, 16, 0.26);

  --on-dark: #F4EFE7;
  --on-dark-muted: #A89F93;
  --line-dark: rgba(244, 239, 231, 0.16);

  /* Type */
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;
  --header-h: 76px;
  --section: clamp(5.5rem, 11vw, 10rem);
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
}

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Fine paper grain for a printed, tactile feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }

::selection { background: var(--ink); color: var(--cream); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.875rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

/* Type ------------------------------------------------------------------ */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 32;
  color: var(--ink);
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__num { color: var(--accent); letter-spacing: 0.08em; }
.eyebrow__rule {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow--light { color: var(--on-dark-muted); justify-content: center; }
.eyebrow--light .eyebrow__dot { background: var(--taupe); }

/* Buttons & links ------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-hover: var(--ink-hover);
  --btn-border: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 3.5rem;
  padding: 0 1.9rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-hover);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .btn__icon { transform: translateX(4px); }
}
.btn:active { transform: translateY(1px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-hover: var(--ink);
  --btn-border: var(--line-strong);
}
@media (hover: hover) {
  .btn--ghost:hover { color: var(--cream); border-color: var(--ink); }
}

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-hover: var(--sand);
  --btn-border: var(--cream);
}

.btn--sm { min-height: 2.75rem; padding: 0 1.35rem; font-size: 0.7rem; }
.btn--lg { min-height: 4rem; padding: 0 2.4rem; }
.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.text-link svg { width: 1rem; height: 1rem; transition: transform 0.5s var(--ease); }
@media (hover: hover) {
  .text-link:hover { background-size: 0 1px; background-position: 100% 100%; }
  .text-link:hover svg { transform: translateX(4px); }
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.6s var(--ease),
    background-color 0.4s ease,
    border-color 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(244, 239, 231, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  width: 44px;
  height: 31px;
  fill: currentColor;
}
.brand__name {
  padding-left: 0.9rem;
  border-left: 1px solid var(--line-strong);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); }
.nav__links { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav__links a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle__icon {
  position: relative;
  width: 24px;
  height: 10px;
}
.menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top: 4.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top: 4.5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 380px) {
  .brand__name { letter-spacing: 0.26em; padding-left: 0.75rem; }
  .brand { gap: 0.75rem; }
}

/* Mobile menu ----------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.9rem);
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu__links span {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  transform: translateY(-0.9em);
}
.mobile-menu__links li,
.mobile-menu__footer {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.mobile-menu.is-open li,
.mobile-menu.is-open .mobile-menu__footer { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-menu__footer { transition-delay: 0.34s; }

.mobile-menu__footer { display: grid; gap: 1.25rem; justify-items: center; }
.mobile-menu__email {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

html.menu-open, html.menu-open body { overflow: hidden; }

/* Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(2.5rem, 7vh, 5rem)) 0 clamp(1.75rem, 4vh, 2.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -35vmax;
  right: -25vmax;
  width: 80vmax;
  height: 80vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 194, 164, 0.5), rgba(214, 194, 164, 0));
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__eyebrow { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

.hero__title {
  margin: 0 0 clamp(2.25rem, 5vw, 3.75rem);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.55rem, 8.2vw, 8.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 32;
  color: var(--ink);
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding: 0 0.12em 0.14em 0;
  margin-bottom: -0.14em;
}
.hero__title .line > span {
  display: inline-block;
  animation: rise 1.3s var(--ease) both;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.27s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.39s; }

@keyframes rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

.load { animation: fade-up 1.2s var(--ease) both; }
.load--1 { animation-delay: 0.05s; }
.load--2 { animation-delay: 0.7s; }
.load--3 { animation-delay: 0.95s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2.5rem 4rem;
}
.hero__lede {
  max-width: 35rem;
  margin: 0;
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 8vh, 5.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.hero__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.scroll-cue span {
  position: relative;
  width: 1px;
  height: 2.25rem;
  overflow: hidden;
  background: var(--line-strong);
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

@media (max-width: 900px) {
  .hero__row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero__services { display: none; }
  .hero__meta { justify-content: flex-end; border-top: 0; margin-top: 2.5rem; padding-top: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Marquee --------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  border-block: 1px solid var(--line);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-right: clamp(1.75rem, 3vw, 3rem);
}
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}
.marquee i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--taupe);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Section heads --------------------------------------------------------- */

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.section-head > .eyebrow { grid-column: 1 / span 4; margin: 0.9rem 0 0; align-self: start; }
.section-head__main { grid-column: 5 / span 8; }

@media (max-width: 800px) {
  .section-head > .eyebrow,
  .section-head__main { grid-column: 1 / -1; }
  .section-head > .eyebrow { margin-top: 0; }
}

/* Services -------------------------------------------------------------- */

.services__list { border-top: 1px solid var(--line-strong); }

.service {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem 2rem;
  align-items: baseline;
  padding: clamp(2rem, 3.4vw, 3rem) 0;
  border-bottom: 1px solid var(--line-strong);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  z-index: -1;
  background: var(--sand);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease);
}
.service__num {
  grid-column: 1 / span 4;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.service__title {
  grid-column: 5 / span 4;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: transform 0.7s var(--ease);
}
.service__body { grid-column: 9 / span 4; }
.service__body p { margin: 0 0 1.25rem; color: var(--muted); max-width: 26rem; }

@media (hover: hover) {
  .service:hover::before { transform: scaleY(1); }
  .service:hover .service__title { transform: translateX(0.6rem); }
}

@media (max-width: 900px) {
  .service__num { grid-column: 1 / span 2; }
  .service__title { grid-column: 3 / -1; }
  .service__body { grid-column: 3 / -1; }
}
@media (max-width: 560px) {
  .service { gap: 0.75rem; }
  .service__num,
  .service__title,
  .service__body { grid-column: 1 / -1; }
}

/* About ----------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 2rem;
  align-items: center;
}
.about__visual {
  grid-column: 1 / span 5;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--sand);
  color: var(--ink);
}
.about__visual::before {
  content: "";
  position: absolute;
  inset: clamp(0.9rem, 1.6vw, 1.4rem);
  border: 1px solid var(--line-strong);
  pointer-events: none;
}
.about__mark {
  width: 44%;
  height: auto;
  aspect-ratio: 109.8 / 77.9;
  fill: currentColor;
}
.about__caption {
  position: absolute;
  left: clamp(1.9rem, 3vw, 2.6rem);
  right: clamp(1.9rem, 3vw, 2.6rem);
  bottom: clamp(1.7rem, 2.8vw, 2.4rem);
  text-align: center;
  white-space: nowrap;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__content { grid-column: 7 / span 6; }
.about__statement {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.about__text { max-width: 33rem; margin-bottom: 2.5rem; color: var(--muted); }

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pillars li {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 900px) {
  .about__visual,
  .about__content { grid-column: 1 / -1; }
  .about__visual { aspect-ratio: 5 / 4; }
  .about__mark { width: 34%; }
}
@media (max-width: 560px) {
  .about__visual { aspect-ratio: 1; }
  .about__mark { width: 42%; }
}

/* Why ------------------------------------------------------------------- */

.why { background: var(--sand); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3.5rem 2rem;
  align-items: start;
}
.why__intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
}
.why__lede { max-width: 26rem; margin: 1.75rem 0 2.25rem; color: var(--muted); }
.why__list { grid-column: 7 / span 6; border-top: 1px solid var(--line-strong); }
.why__item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1.75rem, 2.6vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line-strong);
}
.why__num {
  padding-top: 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.why__title {
  margin-bottom: 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.why__text { max-width: 30rem; margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .why__intro,
  .why__list { grid-column: 1 / -1; }
  .why__intro { position: static; }
}
@media (max-width: 560px) {
  .why__item { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .why__btn { width: 100%; }
}

/* Process --------------------------------------------------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}
.steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
}
.step { position: relative; padding-top: 2.75rem; }
.step__dot {
  position: absolute;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
}
.step__dot::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--ink);
}
.step__label {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.step__title {
  margin-bottom: 0.9rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 32;
  color: var(--ink);
}
.step__text { max-width: 22rem; margin: 0; color: var(--muted); }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 2rem; }
  .steps::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; transform-origin: top; }
  .step { padding: 0 0 2.75rem; }
  .step:last-child { padding-bottom: 0; }
  .step__dot { top: 0.1rem; left: calc(-2rem); }
}

/* CTA ------------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6.5rem, 14vw, 12rem);
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -70%;
  width: 130%;
  aspect-ratio: 2;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 160, 124, 0.24), rgba(184, 160, 124, 0));
  pointer-events: none;
}
.cta__inner { position: relative; }
.cta__title {
  margin: 0 auto 1.75rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7.4vw, 7.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 32;
  color: var(--on-dark);
  text-wrap: balance;
}
.cta__text {
  max-width: 36rem;
  margin: 0 auto 2.75rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  color: var(--on-dark-muted);
}
.cta :focus-visible { outline-color: var(--on-dark); }

/* Contact --------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4rem 2rem;
  align-items: start;
}
.contact__info { grid-column: 1 / span 5; }
.contact__lede { max-width: 28rem; margin: 1.75rem 0 2.75rem; color: var(--muted); }
.contact__label {
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__detail { margin-bottom: 2.5rem; }
.contact__email {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
@media (hover: hover) {
  .contact__email:hover { background-size: 0 1px; background-position: 100% 100%; }
}
.contact__book { padding-top: 2.25rem; border-top: 1px solid var(--line); }

.form {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1.75rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.55rem 0 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field select {
  padding-right: 1.75rem;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23141210' stroke-width='1.3'/%3E%3C/svg%3E") right 0.1rem center / 12px 8px no-repeat;
}
.field select:invalid,
.field select option[value=""] { color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 1px 0 0 var(--ink);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-bottom-color: #9B3B2E;
  box-shadow: 0 1px 0 0 #9B3B2E;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.form__note { margin: 0; font-size: 0.8125rem; color: var(--muted); }

.form__status {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--ink);
  background: var(--cream);
  font-size: 0.95rem;
  color: var(--ink);
}
.form__status[hidden] { display: none; }
.form__status.is-error { border-left-color: #9B3B2E; }
.form__status a { color: inherit; }

@media (max-width: 900px) {
  .contact__info,
  .form { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; gap: 1.9rem; }
  .form__footer .btn { width: 100%; }
  .contact__book .btn { width: 100%; }
}

/* Footer ---------------------------------------------------------------- */

.footer {
  padding: clamp(4.5rem, 9vw, 7rem) 0 max(2rem, env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--on-dark);
}
.footer :focus-visible { outline-color: var(--on-dark); }
.footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3.5rem 2rem;
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand { grid-column: 1 / span 5; }
.footer__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  color: var(--on-dark);
  text-decoration: none;
}
.footer__mark { width: 96px; height: 68px; fill: currentColor; }
.footer__name {
  padding-left: 0.4em;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.footer__tagline {
  max-width: 20ch;
  margin: 2.5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.18;
  color: var(--on-dark);
}
.footer__cols {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 2.5rem 2rem;
}
.footer__heading {
  margin-bottom: 1.25rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.footer__col li { margin-bottom: 0.6rem; font-size: 0.95rem; color: var(--on-dark); }
.footer__col a { text-decoration: none; transition: color 0.3s ease; }
.footer__col a:hover { color: var(--taupe); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}
.footer__bottom p { margin: 0; }
.footer__top-link { text-decoration: none; }
.footer__top-link:hover { color: var(--on-dark); }

@media (max-width: 1100px) {
  .footer__brand,
  .footer__cols { grid-column: 1 / -1; }
  .footer__cols { justify-content: start; gap: 2.5rem 5rem; }
}
@media (max-width: 640px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .footer__col:first-child { grid-column: 1 / -1; }
}

/* Mobile sticky CTA ----------------------------------------------------- */

.mobile-cta {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 30;
  display: none;
  min-height: 3.25rem;
  box-shadow: 0 12px 32px -8px rgba(20, 18, 16, 0.45);
  transform: translate(-50%, calc(100% + 2rem));
  visibility: hidden;
  transition: transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.mobile-cta.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
  transition: transform 0.6s var(--ease);
}
@media (max-width: 960px) {
  .mobile-cta { display: inline-flex; }
}

/* Scroll reveal --------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Panel is uncovered by a cream layer drawing upward. (A clip-path on the
   element itself would stop IntersectionObserver from ever seeing it.) */
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"]::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--cream);
  transform-origin: top;
  transition: transform 1.5s var(--ease-in-out);
}
.js [data-reveal="mask"].is-in::after { transform: scaleY(0); }
.js [data-reveal="mask"] .about__mark {
  transform: scale(1.08);
  transition: transform 2s var(--ease);
}
.js [data-reveal="mask"].is-in .about__mark { transform: none; }

.js [data-reveal="line"] { opacity: 1; transform: none; }
.js [data-reveal="line"]::before { transform: scaleX(0); transition: transform 1.6s var(--ease-in-out); }
.js [data-reveal="line"].is-in::before { transform: scaleX(1); }
@media (max-width: 800px) {
  .js [data-reveal="line"]::before { transform: scaleY(0); }
  .js [data-reveal="line"].is-in::before { transform: scaleY(1); }
}

/* Reduced motion -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal="mask"]::after { display: none; }
}

/* Simple pages (thank you, 404) ----------------------------------------- */

.simple-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
.simple-page__header { padding-top: 2rem; }
.simple-page__logo { width: 132px; height: auto; }
.simple-page__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 4rem;
}
.simple-page__title { font-size: clamp(2.4rem, 6.6vw, 5.4rem); margin-bottom: 1.5rem; }
.simple-page__text { max-width: 30rem; margin-bottom: 2.5rem; color: var(--muted); }
.simple-page__footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.simple-page__footer a { color: var(--ink); text-decoration: none; }
