/* ==========================================================================
   POYA BEAUTY CENTER — STYLE
   1. Tokens   2. Base   3. Components   4. Sections   5. Motion   6. Responsive
   Breakpoints: 1200 (lg) · 1000 (md) · 700 (sm)
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* color */
  --espresso: #171412;
  --espresso-2: #1f1b18;
  --espresso-3: #110f0d;
  --ivory: #f7f3ef;
  --champagne: #d5c1a4;
  --beige: #e9dfd5;
  --taupe: #a99a8d;
  --ink-soft: #5b524b;
  --line: rgba(23, 20, 18, .14);
  --line-light: rgba(247, 243, 239, .16);

  /* type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 16px;
  --fs-lead: clamp(18px, 1.5vw, 21px);
  --fs-h3: clamp(26px, 2.2vw, 32px);
  --fs-display: clamp(44px, 5.6vw, 92px);
  --fs-display-xl: clamp(52px, 7.4vw, 128px);
  --fs-hero: clamp(58px, 9vw, 158px);
  --track-wide: .22em;

  /* space */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 13vw, 200px);
  --maxw: 1440px;

  /* shape */
  --radius-0: 0;
  --radius-arch: 999px 999px 0 0;

  /* motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .35s;
  --dur: .9s;
  --dur-slow: 1.4s;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
em { font-style: italic; }
::selection { background: var(--champagne); color: var(--espresso); }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--beige { background: var(--beige); }
.section--ivory { background: var(--ivory); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--espresso); color: var(--ivory); padding: 10px 16px; font-size: var(--fs-sm); transition: top .2s; }
.skip:focus { top: 16px; }

/* 3. COMPONENTS ------------------------------------------------------------ */

/* typography helpers */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.display em { font-weight: 300; color: var(--taupe); }
.section--dark .display em { color: var(--champagne); }
.display--xl { font-size: var(--fs-display-xl); line-height: .98; }

.eyebrow, .label {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}
.label { display: inline-flex; align-items: baseline; gap: 14px; color: var(--ink-soft); margin-bottom: 28px; }
.label span {
  font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: 0;
  color: var(--taupe); text-transform: none;
}
.label::after { content: ""; align-self: center; width: 40px; height: 1px; background: currentColor; opacity: .4; }
.label--light { color: rgba(247, 243, 239, .62); }
.label--light span { color: var(--champagne); }
.label--center { justify-content: center; }

/* buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 36px;
  border-radius: var(--radius-0);
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn--light { background: var(--ivory); color: var(--espresso); }
.btn--light::before { background: var(--champagne); }
.btn--dark { background: var(--espresso); color: var(--ivory); }
.btn--dark::before { background: var(--ink-soft); }
.btn--outline { border: 1px solid currentColor; }
.btn--outline::before { background: currentColor; }
.btn--outline:hover { color: var(--espresso); }
.btn--outline-light { color: var(--ivory); border-color: rgba(247, 243, 239, .4); }
.btn--outline-light::before { background: var(--ivory); }
.btn--lg { height: 64px; padding: 0 48px; }
.btn--block { width: 100%; }

.link-line {
  position: relative; display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 6px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link-line:hover::after { animation: line-swipe .9s var(--ease); }
.link-line--light { color: var(--ivory); }
@keyframes line-swipe {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* media frames */
.media { position: relative; }
.media__inner { position: relative; overflow: hidden; height: 100%; background: var(--beige); }
.section--dark .media__inner { background: var(--espresso-2); }
.media__inner img { width: 100%; height: 100%; object-fit: cover; }
.media__inner img[data-speed] { transform: scale(1.16); will-change: transform; }

.badge-sample {
  display: inline-block; margin-left: 10px; padding: 2px 8px;
  font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .14em; font-style: normal;
  color: #8a2d1c; border: 1px dashed #8a2d1c; vertical-align: middle;
}

/* section heads */
.sec-head { max-width: 860px; margin-bottom: clamp(56px, 7vw, 100px); }
.sec-head__text { margin-top: 28px; max-width: 30em; color: var(--ink-soft); font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; }
.sec-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-head--split .sec-head__text { margin: 0 0 12px; max-width: 22em; }

/* 4. SECTIONS -------------------------------------------------------------- */

/* header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  color: var(--ivory);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.header__in { display: flex; align-items: center; gap: 48px; height: 96px; transition: height .5s var(--ease); }
.header__logo { position: relative; display: block; width: 190px; flex: none; }
.header__logo img { width: 100%; transition: opacity .5s var(--ease); }
.header__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; gap: 40px; margin-left: auto; }
.nav a { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; opacity: .86; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { height: 46px; padding: 0 24px; }

.header.is-solid {
  background: rgba(247, 243, 239, .92);
  color: var(--espresso);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .header.is-solid { background: rgba(247, 243, 239, .8); backdrop-filter: blur(12px) saturate(1.1); }
}
.header.is-solid .header__in { height: 76px; }
.header.is-solid .logo-light { opacity: 0; }
.header.is-solid .logo-dark { opacity: 1; }
.header.is-solid .header__cta:hover { color: var(--ivory); }
.header.is-hidden { transform: translateY(-100%); }
.menu-open .header { transform: none; background: transparent; color: var(--ivory); border-bottom-color: transparent; backdrop-filter: none; }
.menu-open .header .logo-light { opacity: 1; }
.menu-open .header .logo-dark { opacity: 0; }

.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* mobile nav */
.mnav {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--espresso); color: var(--ivory);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; }
.mnav__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 11vw, 64px); line-height: 1.15;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.mnav__links small { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--champagne); }
.menu-open .mnav__links a { opacity: 1; transform: none; }
.menu-open .mnav__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .mnav__links a:nth-child(2) { transition-delay: .32s; }
.menu-open .mnav__links a:nth-child(3) { transition-delay: .39s; }
.menu-open .mnav__links a:nth-child(4) { transition-delay: .46s; }
.mnav__foot { display: grid; gap: 14px; font-size: var(--fs-sm); color: rgba(247, 243, 239, .6); opacity: 0; transition: opacity .6s .5s; }
.menu-open .mnav__foot { opacity: 1; }
.mnav__tel { font-family: var(--serif); font-size: 26px; color: var(--ivory); margin-top: 8px; }
.menu-open { overflow: hidden; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--espresso); color: var(--ivory);
  padding-top: 120px; padding-bottom: 120px;
}
.hero::after { /* soft vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 70% 40%, rgba(213, 193, 164, .08), transparent 70%);
}
.hero__media { position: absolute; top: 0; bottom: 0; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); width: min(34vw, 540px); display: flex; align-items: center; }
.hero__frame {
  position: relative; width: 100%; height: min(76vh, 760px);
  border-radius: var(--radius-arch); overflow: hidden;
  margin-top: 40px;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.hero__ring {
  position: absolute; left: 50%; top: 50%; width: 132%; aspect-ratio: 1;
  transform: translate(-50%, -54%);
  fill: none; stroke: var(--champagne); stroke-width: 1; opacity: .5;
  overflow: visible; pointer-events: none;
}
.hero__ring circle { stroke-dasharray: 1860; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; transform-origin: center; }

.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { display: flex; gap: 28px; color: rgba(247, 243, 239, .62); margin-bottom: 36px; }
.hero__eyebrow span + span::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 28px; opacity: .6; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: var(--fs-hero); line-height: .92; letter-spacing: -.025em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--indent { padding-left: 1.4em; }
.hero__title em { color: var(--champagne); }
.hero__aside { margin-top: 48px; margin-left: 1.4em; font-size: var(--fs-hero); /* em anchor */ }
.hero__aside > * { font-size: var(--fs-base); }
.hero__lead { max-width: 20em; font-size: var(--fs-lead) !important; font-weight: 300; color: rgba(247, 243, 239, .78); line-height: 1.55; }
.hero__actions { display: flex; align-items: center; gap: 36px; margin-top: 36px; }

.hero__bottom { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; display: flex; align-items: flex-end; gap: 56px; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(247, 243, 239, .6); }
.scroll-cue__line { position: relative; width: 1px; height: 56px; background: rgba(247, 243, 239, .18); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--champagne); animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__services { display: flex; gap: 28px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 243, 239, .5); padding-bottom: 2px; }
.hero__services li + li::before { content: "·"; margin-right: 28px; color: var(--champagne); }

/* intro */
.intro { overflow: hidden; }
.intro__grid { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.intro__label { grid-column: 1 / 6; grid-row: 1; align-self: start; }
.intro__title { grid-column: 1 / 8; grid-row: 2; font-size: clamp(42px, 5.2vw, 86px); position: relative; z-index: 2; }
.intro__main { grid-column: 8 / 13; grid-row: 1 / 5; aspect-ratio: 4 / 5.2; align-self: start; }
.intro__text { grid-column: 1 / 5; grid-row: 3; margin-top: clamp(48px, 6vw, 96px); max-width: 30em; }
.intro__lead { font-family: var(--serif); font-size: clamp(24px, 2.1vw, 32px); font-weight: 400; line-height: 1.3; margin-bottom: 22px; }
.intro__text p:not(.intro__lead) { color: var(--ink-soft); font-weight: 300; margin-bottom: 32px; }
.intro__detail { grid-column: 5 / 8; grid-row: 3 / 5; align-self: end; aspect-ratio: 1; margin-left: 28px; margin-bottom: -60px; z-index: 2; }
.intro__mark { position: absolute; left: -90px; bottom: -160px; width: 380px; opacity: .05; pointer-events: none; }

/* services */
.services { background: var(--ivory); border-top: 1px solid var(--line); }
.svc-list { border-top: 1px solid var(--espresso); counter-reset: svc; }
.svc {
  position: relative;
  display: grid; grid-template-columns: 110px 1fr auto; align-items: center; column-gap: 32px;
  padding: clamp(32px, 3.4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
}
.svc::before { /* hover fill line */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--espresso); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
.svc:hover::before { transform: scaleX(1); }
.svc__no { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--taupe); align-self: start; padding-top: .9em; }
.svc__name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 4.6vw, 76px); line-height: 1; letter-spacing: -.015em;
  transition: transform .8s var(--ease), color .5s;
}
.svc__desc { margin-top: 16px; max-width: 34em; color: var(--ink-soft); font-weight: 300; line-height: 1.6; }
.svc__meta { display: flex; gap: 28px; margin-top: 18px; font-size: var(--fs-sm); }
.svc__meta[hidden] { display: none; }
.svc__meta dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.svc__meta dd { font-family: var(--serif); font-size: 20px; }
.svc__thumb { display: none; }
.svc__cta {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.svc__cta i {
  position: relative; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%;
  transition: background .5s var(--ease), border-color .5s;
}
.svc__cta i::before, .svc__cta i::after { content: ""; position: absolute; top: 50%; left: 50%; }
.svc__cta i::before { width: 16px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.svc__cta i::after { width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translate(-10%, -50%) rotate(45deg); }
.svc:hover .svc__name { transform: translateX(24px); }
.svc:hover .svc__cta i, .svc__cta:focus-visible i { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }

.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 5; pointer-events: none;
  width: 300px; height: 380px; margin: -190px 0 0 -150px;
  opacity: 0; transition: opacity .4s var(--ease);
}
.svc-preview__inner {
  width: 100%; height: 100%; background-size: cover; background-position: center;
  clip-path: inset(50% 0 50% 0); transition: clip-path .7s var(--ease), background-image .2s;
}
.svc-preview.is-on { opacity: 1; }
.svc-preview.is-on .svc-preview__inner { clip-path: inset(0 0 0 0); }

/* experience */
.exp { overflow: hidden; padding-bottom: 0; }
.exp__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.exp__img { grid-column: 1 / 7; aspect-ratio: 4 / 5; }
.exp__text { grid-column: 8 / 13; }
.exp__lead { margin-top: 32px; font-size: var(--fs-lead); font-weight: 300; color: rgba(247, 243, 239, .74); line-height: 1.6; max-width: 26em; }
.exp__steps { margin-top: 56px; border-top: 1px solid var(--line-light); }
.exp__steps li { display: grid; grid-template-columns: 56px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.exp__steps span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--champagne); }
.exp__steps h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.exp__steps p { margin-top: 6px; font-size: 14.5px; font-weight: 300; color: rgba(247, 243, 239, .62); }
.exp__marquee { margin-top: var(--section); padding-bottom: 40px; overflow: hidden; white-space: nowrap; }
.exp__marquee-track {
  display: inline-block; will-change: transform;
  font-family: var(--serif); font-weight: 300; font-size: clamp(90px, 15vw, 260px); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(213, 193, 164, .45);
}
.exp__marquee-track i { font-style: normal; -webkit-text-stroke: 0; color: var(--champagne); opacity: .5; margin: 0 .25em; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 0; }
.gal__item { position: relative; display: block; cursor: zoom-in; align-self: start; }
.gal__item .media__inner img { transition: transform 1.4s var(--ease), filter .8s; }
.gal__item:hover .media__inner img { transform: scale(1.05); }
.gal__cap { display: block; margin-top: 14px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.gal__item--1 { grid-column: 1 / 6; grid-row: 1; }
.gal__item--1 .media__inner { aspect-ratio: 4 / 5; }
.gal__item--2 { grid-column: 7 / 10; grid-row: 1; margin-top: 180px; }
.gal__item--2 .media__inner { aspect-ratio: 3 / 4; }
.gal__item--4 { grid-column: 11 / 13; grid-row: 1; margin-top: 40px; }
.gal__item--4 .media__inner { aspect-ratio: 3 / 4; }
.gal__item--3 { grid-column: 2 / 8; grid-row: 2; margin-top: 100px; }
.gal__item--3 .media__inner { aspect-ratio: 3 / 2; }
.gal__item--6 { grid-column: 9 / 12; grid-row: 2; margin-top: -40px; }
.gal__item--6 .media__inner { aspect-ratio: 3 / 4; }
.gal__item--5 { grid-column: 5 / 11; grid-row: 3; margin-top: 100px; }
.gal__item--5 .media__inner { aspect-ratio: 16 / 10; }

/* values */
.values__list { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
.values__list li { position: relative; padding-top: 36px; }
.values__list li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--espresso); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .1s; }
.values__list li.in::before { transform: scaleX(1); }
.js .values__list li:not(.in)::before { transform: scaleX(0); }
html:not(.js) .values__list li::before { transform: scaleX(1); }
.values__no { display: block; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--taupe); margin-bottom: 44px; }
.values__list h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; margin-bottom: 14px; }
.values__list p { color: var(--ink-soft); font-weight: 300; font-size: 15px; max-width: 20em; }

/* testimonials */
.testi { background: var(--ivory); text-align: center; }
.testi__in { display: flex; flex-direction: column; align-items: center; }
.testi__mark { font-family: var(--serif); font-size: clamp(160px, 18vw, 260px); line-height: .6; height: .45em; color: var(--champagne); margin-top: 20px; }
.testi__slider { position: relative; width: 100%; max-width: 980px; min-height: 260px; display: grid; }
.testi__item { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.testi__item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testi__item blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.3vw, 50px); line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.testi__item figcaption { margin-top: 36px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.testi__item figcaption span { color: var(--taupe); }
.testi__nav { display: flex; gap: 14px; margin-top: 44px; }
.testi__nav button { width: 36px; height: 20px; position: relative; }
.testi__nav button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--espresso); opacity: .2; transition: opacity .4s; }
.testi__nav button.is-active::before { opacity: 1; }
.testi__empty { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.3vw, 48px); line-height: 1.25; max-width: 20em; text-wrap: balance; }
.testi__google { margin-top: 48px; }

/* instagram */
.insta { border-top: 1px solid var(--line); }
.insta__handle a { transition: color .4s; }
.insta__handle a:hover { color: var(--taupe); }
.insta__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.insta__item .media__inner { aspect-ratio: 1; }
.insta__item:nth-child(even) { margin-top: 64px; }
.insta__item .media__inner::after { content: ""; position: absolute; inset: 0; background: var(--espresso); opacity: 0; transition: opacity .6s var(--ease); }
.insta__item:hover .media__inner::after { opacity: .25; }
.insta__item .media__inner img { transition: transform 1.4s var(--ease); }
.insta__item:hover .media__inner img { transform: scale(1.06); }

/* final */
.final { overflow: hidden; text-align: center; }
.final__mark { position: absolute; left: 50%; top: 50%; width: min(70vw, 760px); transform: translate(-50%, -50%); opacity: .028; pointer-events: none; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__in .display { max-width: 11em; }
.final__lead { margin-top: 36px; font-size: var(--fs-lead); font-weight: 300; color: rgba(247, 243, 239, .72); }
.final__actions { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* footer */
.footer { background: var(--espresso-3); color: rgba(247, 243, 239, .66); padding-top: clamp(72px, 9vw, 130px); font-size: 15px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.footer__logo { width: min(320px, 60vw); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; padding: 64px 0; }
.footer__col h3 { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); margin-bottom: 18px; }
.footer__col p { margin-bottom: 8px; line-height: 1.6; }
.footer__col p a, .footer__col li a { transition: color .3s; }
.footer__col p a:hover, .footer__col li a:hover { color: var(--ivory); }
.footer__col .link-line { margin-top: 14px; }
.footer__col ul { display: grid; gap: 8px; }
.footer__muted { color: rgba(247, 243, 239, .42); font-size: 13.5px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 32px; border-top: 1px solid var(--line-light); font-size: 12px; letter-spacing: .08em; color: rgba(247, 243, 239, .4); }

/* mobile bar */
.mbar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(17, 15, 13, .96); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .5s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { text-align: center; }
.lightbox__fig img { max-width: min(86vw, 1100px); max-height: 80vh; object-fit: contain; transform: scale(.96); transition: transform .7s var(--ease); }
.lightbox.is-open .lightbox__fig img { transform: none; }
.lightbox figcaption { margin-top: 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.lightbox__close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; }
.lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: var(--ivory); }
.lightbox__close::before { transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__arrow { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 1px solid var(--line-light); border-radius: 50%; transition: border-color .3s; }
.lightbox__arrow:hover { border-color: var(--champagne); }
.lightbox__arrow::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-top: 1px solid var(--ivory); border-right: 1px solid var(--ivory); }
.lightbox__arrow--prev { left: 24px; }
.lightbox__arrow--prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.lightbox__arrow--next { right: 24px; }
.lightbox__arrow--next::after { transform: translate(-70%, -50%) rotate(45deg); }

/* 5. MOTION ---------------------------------------------------------------- */

/* hero entrance (plays once .is-ready is set) */
.js .hero__title .line > span { transform: translateY(110%); }
.js .hero__eyebrow, .js .hero__aside, .js .hero__bottom { opacity: 0; transform: translateY(20px); }
.js .hero__frame { clip-path: inset(100% 0 0 0); }
.js .hero__frame img { transform: scale(1.25); }
.js .hero__ring circle { stroke-dashoffset: 1860; }

.is-ready .hero__title .line > span { transform: none; transition: transform 1.4s var(--ease); }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .hero__eyebrow { opacity: 1; transform: none; transition: opacity 1s var(--ease) .1s, transform 1s var(--ease) .1s; }
.is-ready .hero__aside { opacity: 1; transform: none; transition: opacity 1s var(--ease) .55s, transform 1s var(--ease) .55s; }
.is-ready .hero__bottom { opacity: 1; transform: none; transition: opacity 1s var(--ease) .8s, transform 1s var(--ease) .8s; }
.is-ready .hero__frame { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease-in-out) .15s; }
.is-ready .hero__frame img { transform: scale(1.04); transition: transform 3s var(--ease) .15s; }
.is-ready .hero__ring circle { stroke-dashoffset: 0; transition: stroke-dashoffset 3.2s var(--ease-in-out) .6s; }

/* generic reveal */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .media[data-reveal] { transform: none; }
.js [data-reveal] .media__inner, .js .media[data-reveal] .media__inner { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-in-out); }
.js [data-reveal].in .media__inner, .js .media[data-reveal].in .media__inner { clip-path: inset(0 0 0 0); }
.js [data-reveal] .media__inner img:not([data-speed]) { transform: scale(1.18); transition: transform 2.2s var(--ease); }
.js [data-reveal].in .media__inner img:not([data-speed]) { transform: scale(1); }
.js .gal__item.in:hover .media__inner img { transform: scale(1.05); transition-duration: 1.4s; }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split].in .w > span { transform: none; }

/* 6. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .nav { gap: 28px; }
  .header__in { gap: 32px; }
  .hero__media { width: 36vw; }
  .values__list { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
}

@media (max-width: 1000px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__in, .header.is-solid .header__in { height: 72px; }
  .header__logo { width: 156px; }

  /* hero: full-bleed image */
  .hero { justify-content: flex-end; padding-top: 140px; padding-bottom: 150px; }
  .hero__media { inset: 0; width: auto; right: 0; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 20, 18, .55) 0%, rgba(23, 20, 18, .15) 30%, rgba(23, 20, 18, .65) 62%, rgba(23, 20, 18, .96) 100%); }
  .hero__frame { height: 100%; margin: 0; border-radius: 0; }
  .hero__ring { display: none; }
  .hero__title { font-size: clamp(54px, 13vw, 96px); }
  .hero__title .line--indent { padding-left: .9em; }
  .hero__aside { margin-left: 0; margin-top: 32px; font-size: inherit; }
  .hero__bottom { bottom: 28px; justify-content: space-between; }
  .hero__services { display: none; }
  .scroll-cue { flex-direction: row; }
  .scroll-cue__line { width: 40px; height: 1px; }
  .scroll-cue__line::after { width: 100%; height: 1px; animation-name: cue-x; }
  @keyframes cue-x { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

  .intro__grid { grid-template-columns: repeat(6, 1fr); }
  .intro__label { grid-column: 1 / -1; }
  .intro__title { grid-column: 1 / -1; grid-row: 2; }
  .intro__main { grid-column: 2 / 7; grid-row: 3; margin-top: 56px; }
  .intro__detail { grid-column: 1 / 4; grid-row: 4; margin: -120px 0 0; align-self: start; }
  .intro__text { grid-column: 1 / -1; grid-row: 5; }

  .svc { grid-template-columns: 56px 1fr; row-gap: 24px; }
  .svc__cta { grid-column: 2; justify-self: start; }
  .svc-preview { display: none; }

  .exp__grid { grid-template-columns: 1fr; row-gap: 64px; }
  .exp__img, .exp__text { grid-column: 1; }
  .exp__img { max-width: 560px; width: 88%; }

  .gal { grid-template-columns: repeat(6, 1fr); column-gap: 14px; }
  .gal__item--1 { grid-column: 1 / 5; grid-row: 1; margin: 0; }
  .gal__item--2 { grid-column: 4 / 7; grid-row: 2; margin-top: -60px; }
  .gal__item--4 { grid-column: 1 / 3; grid-row: 2; margin-top: 60px; }
  .gal__item--3 { grid-column: 1 / 7; grid-row: 3; margin-top: 48px; }
  .gal__item--6 { grid-column: 1 / 4; grid-row: 4; margin-top: 48px; }
  .gal__item--5 { grid-column: 3 / 7; grid-row: 5; margin-top: -40px; }
  .gal__item--5 .media__inner { aspect-ratio: 4 / 3; }

  .sec-head--split { flex-direction: column; align-items: flex-start; gap: 24px; }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .insta__item:nth-child(n+4) { display: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* sticky mobile CTA */
  .mbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
    gap: 8px; transform: translateY(calc(100% + 30px)); transition: transform .7s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .menu-open .mbar { transform: translateY(calc(100% + 30px)); }
  .mbar__main {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px;
    background: var(--espresso); color: var(--ivory);
    font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
  }
  .mbar__main svg { width: 18px; height: 18px; fill: var(--champagne); }
  .mbar__call { width: 56px; height: 56px; display: grid; place-items: center; background: var(--champagne); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
  .mbar__call svg { width: 20px; height: 20px; fill: var(--espresso); }
  .footer { padding-bottom: 80px; }
}

@media (max-width: 700px) {
  :root { --fs-base: 15px; }
  .hero__eyebrow { flex-direction: column; gap: 6px; margin-bottom: 24px; }
  .hero__eyebrow span + span::before { display: none; }
  .hero__actions { gap: 24px; }
  .hero__actions .btn { padding: 0 26px; }
  .intro__mark { display: none; }

  .svc { grid-template-columns: 1fr; padding: 40px 0; }
  .svc__no { padding: 0; }
  .svc__thumb { display: block; grid-row: 2; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 4px; }
  .svc__main { grid-row: 3; }
  .svc__cta { grid-column: 1; grid-row: 4; }
  .svc:hover .svc__name { transform: none; }

  .values__list { grid-template-columns: 1fr; row-gap: 44px; }
  .values__no { margin-bottom: 20px; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 6px; }

  .lightbox__arrow { top: auto; bottom: 24px; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span,
  .js .hero__title .line > span, .js .hero__eyebrow, .js .hero__aside, .js .hero__bottom { opacity: 1; transform: none; }
  .js [data-reveal] .media__inner, .js .hero__frame { clip-path: none; }
  .js [data-reveal] .media__inner img, .js .hero__frame img, .media__inner img[data-speed] { transform: none; }
  .js .hero__ring circle { stroke-dashoffset: 0; }
  .js .values__list li::before { transform: scaleX(1); }
  .svc-preview { display: none; }
}
