/* ==========================================================================
   The Daily Edit — Lifestyle Concierge
   ========================================================================== */

:root {
  --ivory: #FAF6F0;
  --paper: #F5EEE5;
  --cream: #EFE5D8;
  --blush: #F1E1D8;
  --blush-2: #E9CDBF;
  --gold: #A97F45;          /* accessible gold for text on light grounds */
  --gold-bright: #C9A465;   /* decorative gold, and text on dark grounds */
  --gold-pale: #EBD7A7;
  --gold-deep: #85622F;
  --ink: #2B2522;
  --ink-2: #554A43;
  --muted: #8C8078;
  --line: rgba(43, 37, 34, .13);
  --line-gold: rgba(169, 127, 69, .28);
  --espresso: #1D1916;
  --espresso-2: #2A231E;
  --foil: linear-gradient(100deg, #A27E4A 0%, #CDB07C 20%, #EAD9B0 36%, #C3A06A 52%, #A98450 68%, #D9C293 86%, #A98450 100%);

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --display: 'Cinzel', 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Allura', 'Brush Script MT', cursive;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1520px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; }
a { color: inherit; }
::selection { background: var(--gold-pale); color: var(--ink); }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.sr-only, .sprite {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 10px 18px;
  background: var(--ink); color: var(--ivory);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .4s var(--ease);
}
.skip:focus { transform: none; }

.h2 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  line-height: .98;
  letter-spacing: -.015em;
}
.h2 em, .manifesto__text em, .cardscene__lines em { font-style: italic; color: var(--gold); }

.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln > span { display: inline-block; }

.rule { display: inline-block; height: 1px; width: clamp(34px, 5.5vw, 88px); background: currentColor; opacity: .7; }

/* Static foil: an endless background-position shimmer repaints the text every frame */
.foil-text {
  background: var(--foil);
  background-size: 160% 100%;
  background-position: 30% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 34px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn span { position: relative; z-index: 1; display: inline-block; }
.btn::before {
  content: '';
  position: absolute; left: -10%; right: -10%; top: 100%; height: 220%;
  border-radius: 50%;
  z-index: 0;
  transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateY(-72%); }

.btn--line { border-color: currentColor; color: inherit; padding: 13px 26px; }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--ivory); border-color: var(--ink); }

.btn--solid { background: var(--ink); color: var(--ivory); }
.btn--solid::before { background: var(--gold); }

.btn--gold { background: var(--foil); background-size: 200% 100%; color: var(--espresso); }
.btn--gold::before { background: var(--ivory); }

/* ---------- Grain + cursor ---------- */
/* Screen-sized, static grain on its own layer: composited once, never repainted */
.grain {
  position: fixed; inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  will-change: transform;
}

/* Section colour shifts tween this solid layer instead of repainting the whole page */
.tint { position: fixed; inset: 0; z-index: -1; background: var(--ivory); pointer-events: none; }

.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }

.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); transition: opacity .3s; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(169, 127, 69, .55);
  display: grid; place-items: center;
  transition: width .55s var(--ease), height .55s var(--ease), margin .55s var(--ease), background-color .45s, border-color .45s;
}
.cursor__label {
  font: 500 .58rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory); opacity: 0; transition: opacity .3s;
}
.cursor.is-hover .cursor__ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(201, 164, 101, .12); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--gold); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot, .cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 110;
  display: grid; place-items: center;
  background: var(--ivory);
}
html:not(.js) .loader, .no-motion .loader { display: none; }
.loader__inner { display: flex; flex-direction: column; align-items: center; }
.loader__mono { width: 190px; height: 120px; overflow: visible; }
.loader__mono path {
  fill: transparent;
  stroke: var(--gold-bright);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.loader__word {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
}
.loader__bar { margin-top: 26px; width: 180px; height: 1px; background: rgba(169, 127, 69, .2); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.loader__count { margin: 14px 0 0; font-size: .66rem; letter-spacing: .36em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; gap: 28px;
  padding: 24px var(--gutter);
  color: var(--ink);
  transition: transform .8s var(--ease), padding .6s var(--ease), color .5s;
}
.nav::before {
  content: '';
  position: absolute; inset: 0;
  /* Near-solid instead of backdrop blur, which re-blurs everything under the bar on every scroll frame */
  background: rgba(250, 246, 240, .95);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .6s, background-color .5s, border-color .5s;
}
.nav.is-scrolled { padding-block: 14px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-105%); }
.nav.is-dark { color: #F1E8DC; }
.nav.is-dark::before { background: rgba(29, 25, 22, .94); border-color: rgba(235, 215, 167, .1); }
.menu-open .nav { color: #F1E8DC; transform: none; }
.menu-open .nav::before { opacity: 0; }

.nav__brand { position: relative; display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.nav__mono { width: 58px; height: 37px; }
.nav__word { font-family: var(--display); font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }

.nav__links { position: relative; display: flex; gap: clamp(22px, 2.8vw, 46px); }
.nav__links a, .footer__nav a {
  position: relative;
  font-size: .7rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; padding: 6px 0;
}
.nav__links a::after, .footer__nav a::after, .contact__details a::after, .footer__contact a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .7s var(--ease);
}
.nav__links a:hover::after, .footer__nav a:hover::after, .contact__details a:hover::after, .footer__contact a:hover::after {
  transform: scaleX(1); transform-origin: left;
}
.nav__cta { position: relative; }

.nav__toggle {
  position: relative; display: none; align-items: center; gap: 12px;
  padding: 8px 0; background: none; border: 0; color: inherit;
  font: 400 .7rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
}
.nav__toggle-lines { position: relative; width: 26px; height: 8px; }
.nav__toggle-lines i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.nav__toggle-lines i:first-child { top: 0; }
.nav__toggle-lines i:last-child { top: 7px; }
.menu-open .nav__toggle-lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .nav__toggle-lines i:last-child { top: 4px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 79;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 40px;
  background: var(--espresso); color: #F1E8DC;
  clip-path: circle(0% at calc(100% - 48px) 44px);
  visibility: hidden;
  transition: clip-path 1s var(--ease-io), visibility 0s linear 1s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 48px) 44px); visibility: visible; transition: clip-path 1s var(--ease-io), visibility 0s; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 6px 0;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 10vw, 4.6rem); line-height: 1.1;
  text-decoration: none;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.menu__links small { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--gold-bright); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .31s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .37s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .43s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .49s; }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: #BDB0A2; }
.menu__foot a { color: var(--gold-bright); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 620px;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__marble {
  position: absolute; inset: -8% 0;
  background: url('../img/marble.webp') center / cover no-repeat, var(--ivory);
  will-change: transform;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(120, 90, 60, .12) 100%);
}
.hero__glow { position: absolute; border-radius: 50%; will-change: transform; }
.hero__glow--a {
  width: 58vmax; height: 58vmax; left: -18vmax; top: -22vmax;
  background: radial-gradient(circle, rgba(236, 204, 190, .75) 0%, rgba(236, 204, 190, 0) 68%);
  animation: drift-a 19s ease-in-out infinite alternate;
}
.hero__glow--b {
  width: 52vmax; height: 52vmax; right: -16vmax; bottom: -24vmax;
  background: radial-gradient(circle, rgba(232, 214, 172, .7) 0%, rgba(232, 214, 172, 0) 68%);
  animation: drift-b 23s ease-in-out infinite alternate;
}
.hero__glow--c {
  width: 64vmax; height: 52vmax; left: 50%; top: 46%; margin: -26vmax 0 0 -32vmax;
  background: radial-gradient(closest-side, rgba(252, 249, 244, .92) 0%, rgba(252, 249, 244, .6) 45%, rgba(252, 249, 244, 0) 100%);
}
/* Looping decorations stop once their section is off screen */
.is-offscreen *, .is-offscreen *::after { animation-play-state: paused !important; }
@keyframes drift-a { to { transform: translate(9vw, 7vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-8vw, -9vh) scale(1.08); } }

.hero__content { position: relative; will-change: transform, opacity; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gutter); }
.hero__mono { width: clamp(150px, 15vw, 236px); height: auto; aspect-ratio: 819 / 518; margin-bottom: clamp(4px, 1vw, 14px); overflow: visible; }
.hero__title {
  margin: 0;
  display: flex; align-items: baseline; justify-content: center; gap: .34em;
  font-family: var(--display); font-weight: 400; line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.hero__the { font-size: clamp(1.05rem, 2.5vw, 2.6rem); letter-spacing: .16em; }
.hero__name { font-size: clamp(2.5rem, 9.2vw, 9.6rem); letter-spacing: .055em; }
.char { display: inline-block; }
.hero__sub {
  margin: clamp(16px, 2.2vw, 30px) 0 0;
  display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px);
  color: var(--gold);
  font-weight: 400; font-size: clamp(.68rem, 1.05vw, 1rem); letter-spacing: .52em; text-transform: uppercase;
}
.hero__sub-text { margin-right: -.52em; }
.hero__tag {
  margin: clamp(14px, 1.8vw, 24px) 0 0;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 2.1vw, 1.9rem);
  color: var(--ink-2);
}

.hero__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(22px, 4vh, 40px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2);
}
.hero__meta-item:last-child { text-align: right; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.hero__scroll i { position: relative; width: 1px; height: 54px; background: rgba(43, 37, 34, .18); overflow: hidden; }
.hero__scroll i::after {
  content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--gold);
  animation: scroll-line 2.2s var(--ease-io) infinite;
}
@keyframes scroll-line { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

.badge { overflow: visible; }
.badge text { font-family: var(--sans); font-size: 12.5px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; fill: var(--gold-deep); }
.hero__badge {
  position: absolute; right: var(--gutter); bottom: clamp(90px, 14vh, 140px);
  width: clamp(104px, 9vw, 136px);
  animation: spin 28s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Manifesto ---------- */
.manifesto { max-width: var(--max); margin: 0 auto; padding: clamp(130px, 18vw, 260px) var(--gutter) clamp(110px, 14vw, 200px); }
.manifesto__text {
  margin: 34px 0 0;
  max-width: 1240px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -.012em;
}
.w { display: inline-block; }
.js .manifesto__text .w { opacity: .13; }

/* ---------- Card scene ---------- */
.cardscene { position: relative; }
.cardscene__pin {
  max-width: var(--max); margin: 0 auto;
  height: 100vh; height: 100svh;
  padding: 90px var(--gutter) 40px;
  display: grid; grid-template-columns: 1fr 1.08fr; align-items: center;
  gap: clamp(30px, 6vw, 120px);
}
.cardscene__lines {
  list-style: none; margin: 30px 0 0; padding: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3.9vw, 3.9rem); line-height: 1.08; letter-spacing: -.01em;
}
.cardscene__lines li { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .cardscene__lines li { opacity: .16; transform: translateX(-10px); }
.js .cardscene__lines li.is-active { opacity: 1; transform: none; }
.cardscene__body { margin: 34px 0 0; max-width: 42ch; color: var(--ink-2); }

.card3d { position: relative; width: min(600px, 100%); justify-self: center; perspective: 1700px; container-type: inline-size; }
.card3d__tilt { transform-style: preserve-3d; will-change: transform; }
.card3d__inner { position: relative; aspect-ratio: 3.5 / 2; transform-style: preserve-3d; will-change: transform; }
.card3d__face {
  position: absolute; inset: 0;
  border-radius: 1.2cqw;
  overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 40px 70px -30px rgba(70, 45, 28, .45), 0 14px 28px -14px rgba(70, 45, 28, .28);
}
.card3d__front {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(120% 120% at 20% 0%, #FFFDF9 0%, rgba(255, 253, 249, 0) 60%),
    linear-gradient(160deg, #FBF7F1, #F2EADF);
}
.card3d__mono { width: 23cqw; aspect-ratio: 819 / 518; height: auto; overflow: visible; }
.card3d__word { margin: 1.2cqw 0 0; font-family: var(--display); font-size: 6.6cqw; letter-spacing: .05em; line-height: 1; color: var(--ink); }
.card3d__word small { font-size: .38em; letter-spacing: .16em; margin-right: .3em; vertical-align: .18em; }
.card3d__sub { margin: 2.2cqw 0 0; display: flex; align-items: center; gap: 2cqw; color: var(--gold); font-size: 1.8cqw; font-weight: 400; letter-spacing: .5em; text-transform: uppercase; }
.card3d__sub .rule { width: 7cqw; }
.card3d__tag { margin: 1.8cqw 0 0; font-family: var(--serif); font-style: italic; font-size: 3cqw; color: var(--ink-2); }

.card3d__back {
  transform: rotateY(180deg);
  padding: 7cqw 7.5cqw;
  background:
    radial-gradient(120% 140% at 0% 0%, #F6E6DE 0%, rgba(246, 230, 222, 0) 55%),
    linear-gradient(150deg, #EFD9CE, #E6C6B8);
}
.card3d__services, .card3d__contact { list-style: none; margin: 0; padding: 0; }
.card3d__services li { font-size: 2.05cqw; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; line-height: 2.1; }
.card3d__services i { font-style: normal; padding: 0 .5em; }
.card3d__rule { display: block; width: 52%; height: 1px; margin: 3.6cqw 0; background: linear-gradient(90deg, rgba(150, 110, 60, .7), rgba(150, 110, 60, 0)); }
.card3d__contact li { font-size: 2.2cqw; font-weight: 400; letter-spacing: .08em; line-height: 2.2; }
.card3d__script {
  position: absolute; right: 8cqw; top: 36%;
  margin: 0; transform: rotate(-8deg);
  font-family: var(--script); font-size: 6.4cqw; line-height: .95; text-align: center;
}
.card3d__wave { position: absolute; right: 0; bottom: 0; width: 46%; height: 30%; }
.card3d__sheen {
  position: absolute; inset: -20%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-70%);
  will-change: transform;
  pointer-events: none;
}
.card3d__shadow {
  position: absolute; left: 12%; right: 12%; bottom: -16%; height: 14%;
  background: radial-gradient(ellipse at center, rgba(70, 45, 28, .26), rgba(70, 45, 28, 0) 70%);
  z-index: -1;
}

/* ---------- Services (horizontal) ---------- */
.services {
  position: relative;
  background:
    linear-gradient(180deg, rgba(244, 236, 227, 1), rgba(244, 236, 227, .82)),
    url('../img/marble.webp') center / cover;
}
.services__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.services__track { flex: 0 0 auto; width: max-content; display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); padding: 40px var(--gutter) 0; will-change: transform; }
.services__intro { flex: 0 0 auto; width: clamp(300px, 36vw, 580px); padding-right: 4vw; }
.services__lede { margin: 28px 0 0; max-width: 34ch; color: var(--ink-2); }
.services__hint { margin: 44px 0 0; display: flex; align-items: center; gap: 16px; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); }
.services__hint i { position: relative; width: 70px; height: 1px; background: var(--line-gold); overflow: hidden; }
.services__hint i::after { content: ''; position: absolute; inset: 0; background: var(--gold); animation: hint 2.4s var(--ease-io) infinite; }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.svc {
  position: relative; flex: 0 0 auto;
  width: clamp(272px, 23.5vw, 380px);
  height: min(64vh, 580px);
  min-height: 420px;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.3vw, 36px);
  background: #FCF9F5;
  border: 1px solid var(--line-gold);
  transition: transform .9s var(--ease), background-color .7s var(--ease), box-shadow .9s var(--ease);
}
.svc::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(169, 127, 69, .16); pointer-events: none; transition: inset .7s var(--ease), border-color .7s; }
.svc--blush { background: #F4E5DC; }
.svc:hover { transform: translateY(-12px); box-shadow: 0 40px 60px -40px rgba(70, 45, 28, .35); }
.svc:hover::before { inset: 14px; border-color: rgba(169, 127, 69, .4); }
.svc__top { display: flex; justify-content: space-between; align-items: baseline; }
.svc__num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.6rem, 3.4vw, 3.5rem); line-height: 1; color: var(--gold); }
.svc__kind { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.svc__icon {
  width: clamp(56px, 4.6vw, 74px); height: auto; aspect-ratio: 1;
  margin: auto 0 clamp(22px, 2.4vw, 34px);
  fill: none; stroke: var(--gold-deep); stroke-width: 1.05; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .9s var(--ease);
}
.svc:hover .svc__icon { transform: translateY(-6px) rotate(-4deg); }
.svc__title { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.1vw, 2.15rem); line-height: 1.08; }
.svc__text { margin: 0; font-size: .94rem; line-height: 1.65; color: var(--ink-2); }

.svc--cta {
  justify-content: center; align-items: flex-start;
  background: radial-gradient(120% 100% at 100% 0%, #3A2F27 0%, var(--espresso) 60%);
  color: #F1E8DC; border-color: transparent;
}
.svc--cta::before { border-color: rgba(201, 164, 101, .25); }
.svc--cta .svc__text { color: #CDBFAF; margin-bottom: 34px; }
.svc--cta .svc__title { font-size: clamp(2rem, 2.6vw, 2.6rem); font-style: italic; font-weight: 300; }
.svc__star { width: 34px; height: 34px; margin-bottom: 30px; fill: var(--gold-bright); animation: spin 14s linear infinite; }
.svc--cta .btn--solid { background: var(--ivory); color: var(--ink); }
.svc--cta .btn--solid:hover { color: var(--ivory); }

.services__progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(22px, 5vh, 48px);
  display: flex; align-items: center; gap: 24px;
  font-size: .68rem; letter-spacing: .24em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.services__count b { font-weight: 400; color: var(--ink); }
.services__bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.services__bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(70px, 10vw, 150px) 0; overflow: hidden; }
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__set { display: flex; align-items: center; flex-shrink: 0; }
.marquee span {
  padding: 0 .32em;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 8.4vw, 8.6rem); line-height: 1.12;
  white-space: nowrap;
}
.marquee span.o { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.marquee i { font-style: normal; color: var(--gold); font-size: clamp(1.2rem, 2.3vw, 2.2rem); }

/* ---------- Holiday ---------- */
.holiday { position: relative; padding: 0; }
.holiday__panel {
  position: relative; overflow: hidden;
  min-height: 100vh;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(201, 164, 101, .16) 0%, rgba(201, 164, 101, 0) 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(233, 205, 191, .1) 0%, rgba(233, 205, 191, 0) 60%),
    linear-gradient(180deg, #221D19 0%, var(--espresso) 50%, #161311 100%);
  color: #EFE6DA;
}
.holiday__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.holiday__inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  min-height: 100vh;
  padding: clamp(130px, 15vw, 210px) var(--gutter) clamp(100px, 12vw, 170px);
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: end;
  gap: clamp(40px, 7vw, 120px);
}
.holiday__title {
  margin: 26px 0 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(4.2rem, 11.5vw, 12rem); line-height: .88; letter-spacing: -.025em;
}
.holiday__title em { font-style: italic; font-weight: 400; padding-right: .12em; }
.holiday__lead { margin: 0 0 40px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.42; color: #E2D6C7; }
.holiday__list { list-style: none; margin: 0 0 46px; padding: 0; border-top: 1px solid rgba(235, 215, 167, .16); }
.holiday__list li {
  display: flex; align-items: baseline; gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(235, 215, 167, .16);
  letter-spacing: .02em;
}
.holiday__list span { min-width: 2.4em; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-bright); }
.holiday__badge { position: absolute; right: var(--gutter); bottom: clamp(32px, 4.5vw, 70px); width: clamp(110px, 9.5vw, 148px); animation: spin 32s linear infinite; }
.holiday__badge text { fill: var(--gold-bright); }
.badge__star { fill: var(--gold-bright); }

/* ---------- Clients ---------- */
.clients { max-width: var(--max); margin: 0 auto; padding: clamp(120px, 15vw, 220px) var(--gutter) clamp(90px, 11vw, 160px); }
.clients__head { margin-bottom: clamp(44px, 6vw, 90px); }
.clients__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.client {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: clamp(50px, 7vw, 110px) 1fr auto; align-items: center; gap: 24px;
  padding: clamp(24px, 3.2vw, 42px) clamp(0px, 1vw, 16px);
  border-bottom: 1px solid var(--line);
}
.client::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 246, 240, .85);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .8s var(--ease);
}
.client:hover::before { transform: scaleY(1); }
.client__n { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold); }
.client__t {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4.3vw, 4rem); line-height: 1.04; letter-spacing: -.01em;
  transition: transform .9s var(--ease), color .6s;
}
.client:hover .client__t { transform: translateX(clamp(10px, 2vw, 30px)); color: var(--gold-deep); }
.client__d { max-width: 28ch; text-align: right; font-size: .95rem; color: var(--ink-2); transition: transform .9s var(--ease); }
.client:hover .client__d { transform: translateX(-10px); }

/* ---------- Process ---------- */
.process { max-width: var(--max); margin: 0 auto; padding: clamp(110px, 13vw, 200px) var(--gutter); }
.process__steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 70px);
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: 64px;
}
.process__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.step { position: relative; }
.step::before {
  content: ''; position: absolute; left: 0; top: -70px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--gold);
}
.step__n {
  display: block; margin-bottom: 20px;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(3.8rem, 6.4vw, 6.4rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
}
.step__t { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.3vw, 2.3rem); line-height: 1.1; }
.step__d { margin: 0; max-width: 30ch; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(110px, 13vw, 200px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1.08fr; align-items: start;
  gap: clamp(50px, 7vw, 130px);
}
.contact__script { margin: 26px 0 -4px; font-family: var(--script); font-size: clamp(2.8rem, 4.4vw, 4.2rem); line-height: 1; color: var(--gold); }
.contact__script span { font-family: var(--sans); font-size: .5em; vertical-align: .3em; }
.contact__lede { margin: 30px 0 44px; max-width: 44ch; color: var(--ink-2); }
.contact__details { margin: 0; display: grid; gap: 18px; padding-top: 30px; border-top: 1px solid var(--line); }
.contact__details div { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 16px; }
.contact__details dt { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); }
.contact__details dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; }
.contact__details a { position: relative; text-decoration: none; }

.form {
  position: relative;
  padding: clamp(28px, 4vw, 60px);
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--line-gold);
  box-shadow: 0 50px 80px -60px rgba(70, 45, 28, .35);
}
.form::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(169, 127, 69, .14); pointer-events: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.field { position: relative; display: block; margin-bottom: 30px; }
.field input, .field textarea {
  width: 100%;
  padding: 24px 0 10px;
  border: 0; border-bottom: 1px solid rgba(43, 37, 34, .22); border-radius: 0;
  background: transparent; color: var(--ink);
  font: 300 1.05rem/1.5 var(--sans);
  outline: none;
  resize: vertical;
}
.field textarea { min-height: 120px; }
.field__label {
  position: absolute; left: 0; top: 24px;
  color: var(--muted); font-size: 1rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .6s var(--ease), color .4s;
}
.field__label small { font-size: .8em; opacity: .8; }
.field input:focus + .field__label, .field input:not(:placeholder-shown) + .field__label,
.field textarea:focus + .field__label, .field textarea:not(:placeholder-shown) + .field__label {
  transform: translateY(-22px) scale(.74); color: var(--gold-deep);
}
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.field--area .field__line { bottom: 6px; }
.field input:focus ~ .field__line, .field textarea:focus ~ .field__line { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #B4553F; }
.field.is-invalid .field__label { color: #B4553F; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { margin: 6px 0 30px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { margin-bottom: 16px; padding: 0; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--line-gold); border-radius: 999px;
  font-size: .86rem; letter-spacing: .02em;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s;
  user-select: none;
}
.chips label:hover span { border-color: var(--gold); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chips input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__status { margin: 0; font-size: .9rem; color: var(--ink-2); }
.form__status.is-error { color: #B4553F; }
.form__done {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px;
  background: linear-gradient(160deg, #FCF8F3, #F4E6DD);
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.form.is-done .form__done { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.form__done-mono { width: 130px; aspect-ratio: 819 / 518; height: auto; overflow: visible; }
.form__done-script { margin: 14px 0 0; font-family: var(--script); font-size: 3.6rem; line-height: 1; color: var(--gold); }
.form__done-text { margin: 12px 0 0; max-width: 32ch; font-family: var(--serif); font-size: 1.35rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer {
  position: relative; overflow: hidden;
  padding: clamp(80px, 10vw, 140px) var(--gutter) 28px;
  background: linear-gradient(180deg, #221D19, var(--espresso));
  color: #E6DCCF;
}
.footer__top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start;
}
.footer__tag { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; }
.footer__tag em { color: var(--gold-bright); }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__nav a::after, .footer__contact a::after { background: var(--gold-bright); }
.footer__contact { display: flex; flex-direction: column; gap: 8px; font-family: var(--serif); font-size: 1.3rem; }
.footer__contact a { position: relative; align-self: flex-start; text-decoration: none; color: var(--gold-bright); }
.footer__contact span { font-family: var(--sans); font-size: .9rem; color: #A99C8E; }
.footer__word {
  margin: clamp(60px, 9vw, 120px) 0 clamp(18px, 3vw, 36px);
  text-align: center; white-space: nowrap; line-height: .9;
  font-family: var(--display); font-size: 10.6vw; letter-spacing: .02em;
}
.footer__word span { display: inline-block; }
.footer__word span { background: var(--foil); background-size: 160% 100%; background-position: 30% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom {
  max-width: var(--max); margin: 0 auto; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(235, 215, 167, .14);
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: #A99C8E;
}
.footer__top-link { text-decoration: none; transition: color .4s; }
.footer__top-link:hover { color: var(--gold-bright); }

/* ---------- Initial reveal states (JS only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js .h2 .ln > span, .js .holiday__title .ln > span { transform: translateY(105%); }

/* No JS animation available, or reduced motion: everything in its final state */
.no-motion [data-reveal], .no-motion .ln > span, .no-motion .manifesto__text .w,
.no-motion .cardscene__lines li { opacity: 1 !important; transform: none !important; }
.no-motion .cardscene__pin { height: auto; padding-block: clamp(90px, 12vw, 160px); }
.no-motion .services__pin { height: auto; overflow-x: auto; padding: clamp(90px, 12vw, 160px) 0; }
.no-motion .services__progress { display: none; }
.no-motion .hero__glow, .no-motion .hero__badge, .no-motion .holiday__badge { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .holiday__inner { grid-template-columns: 1fr; align-items: start; }
  .holiday__body { max-width: 640px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__word { display: none; }

  .hero__badge { display: none; }
  .hero__meta { grid-template-columns: 1fr; justify-items: center; }
  .hero__meta-item { display: none; }

  .cardscene__pin { grid-template-columns: 1fr; align-content: center; gap: 44px; padding-top: 100px; }
  .cardscene__lines { font-size: clamp(1.7rem, 7vw, 2.6rem); margin-top: 22px; }
  .cardscene__body { display: none; }
  .card3d { width: min(480px, 92%); }

  .services__intro { width: min(64vw, 520px); }
  .svc { width: min(44vw, 380px); height: min(62vh, 520px); }

  .clients .client { grid-template-columns: 40px 1fr; row-gap: 6px; }
  .client__d { grid-column: 2; text-align: left; }

  .process__steps { grid-template-columns: 1fr; gap: 50px; padding-top: 0; padding-left: 36px; }
  .process__line { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process__line i { transform: scaleY(0); transform-origin: top; }
  .step::before { left: -36px; top: 14px; }

  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .contact__details div { grid-template-columns: 1fr; gap: 2px; }
  .holiday__badge { width: 92px; bottom: 28px; }
  .services__intro { width: 84vw; }
  .svc { width: 78vw; min-height: 380px; }
}

@media (max-height: 640px) and (min-width: 901px) {
  .cardscene__body { display: none; }
  .svc { min-height: 360px; }
}

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