/* 4U Bedroom and Kitchens: site styles. Built 23 September 2026. */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jost-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 95%; }
@font-face { font-family: "Source Sans Fallback"; src: local("Arial"); size-adjust: 92%; }

:root {
  --black: #0e0e0d;
  --ink: #141414;
  --ink-2: #2a2824;
  --muted: #5c5850;
  --cream: #f6f1e8;
  --cream-2: #efe7d8;
  --white: #ffffff;
  --gold: #b9966d;
  --gold-light: #ecd6b1;
  --gold-deep: #8a5a08;
  --gold-shadow: #7a5b3b;
  --line: rgba(20, 20, 20, 0.12);
  --line-dark: rgba(236, 214, 177, 0.18);
  --wa: #25d366;
  --head: "Jost", "Jost Fallback", Arial, sans-serif;
  --body: "Source Sans 3", "Source Sans Fallback", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--gold-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.dark { background: var(--black); color: var(--cream); }
.white { background: var(--white); }
.eyebrow { font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--gold-deep); }
.dark .eyebrow { color: var(--gold); }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.dark .lede { color: var(--cream); }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.stack > * + * { margin-top: 16px; }
.section-head { display: grid; gap: 14px; max-width: 64ch; margin-bottom: clamp(28px, 4vw, 48px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: var(--radius); font-family: var(--head); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: rgba(20,20,20,0.06); }
.dark .btn--ghost { color: var(--cream); border-color: var(--cream); }
.dark .btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.header { background: var(--black); color: var(--cream); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-dark); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { height: 40px; width: auto; }
.brand__text { font-family: var(--head); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem; line-height: 1.15; }
.brand__text small { display: block; font-size: 0.62rem; letter-spacing: 0.22em; color: var(--gold); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--head); font-weight: 500; font-size: 0.95rem; text-decoration: none; padding: 10px 12px; border-radius: var(--radius); color: var(--cream); }
.nav a:hover { color: var(--gold-light); background: rgba(255,255,255,0.05); }
.nav a.btn--gold, .nav a.btn--gold:hover { color: var(--ink); }
.header .btn { min-height: 44px; padding: 8px 16px; }
.nav-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 2px solid var(--gold); border-radius: var(--radius); color: var(--gold-light); cursor: pointer; padding: 0; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }
.nav-toggle[aria-expanded="true"] .ic-menu { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header__cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--line-dark); gap: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}
@media (min-width: 901px) { .nav .nav__cta { display: none; } }

/* Hero */
.hero { background: var(--cream); overflow: hidden; }
.hero__grid { display: grid; gap: 32px; align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 600; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero__note { font-size: 0.95rem; color: var(--muted); }
.hero__media { position: relative; }
@media (min-width: 901px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); } }

/* Photo frame: real photo or stand-in panel */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); aspect-ratio: 4 / 3; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder { background: linear-gradient(135deg, #1a1916 0%, #0e0e0d 100%); display: grid; place-items: center; }
.photo--placeholder::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(185,150,109,0.07) 22px 23px); }
.photo--placeholder img { width: 34%; height: auto; object-fit: contain; opacity: 0.55; position: relative; }
.photo__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; font-family: var(--head); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--cream); background: linear-gradient(to top, rgba(14,14,13,0.85), rgba(14,14,13,0)); }

/* Proof strip */
.proof { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.proof__grid { display: grid; gap: 20px 32px; padding-block: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .proof__grid { grid-template-columns: repeat(4, 1fr); } }
.proof__item { display: grid; gap: 6px; padding-left: 14px; border-left: 2px solid var(--gold); }
.proof__big { font-family: var(--head); font-weight: 600; font-size: 1.25rem; color: var(--gold-light); line-height: 1.15; }
.proof__small { font-size: 0.95rem; color: var(--cream); opacity: 0.85; }

/* Services */
.services { display: grid; gap: 0 clamp(24px, 4vw, 56px); }
@media (min-width: 720px) { .services { grid-template-columns: 1fr 1fr; } }
.service { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.service__ic { width: 44px; height: 44px; border-radius: var(--radius); background: var(--ink); display: grid; place-items: center; }
.service__ic svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.15rem; margin-bottom: 6px; }
.service p { color: var(--ink-2); }

/* Work */
.work-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .work-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } .work-grid .photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }
.stories { display: grid; gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 800px) { .stories { grid-template-columns: 1fr 1fr; } }
.story { background: var(--cream); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; border-top: 3px solid var(--gold); }
.story .eyebrow { color: var(--gold-deep); }
.story p { color: var(--ink-2); }

/* Expectations */
.expect { display: grid; gap: 18px; }
@media (min-width: 720px) { .expect { grid-template-columns: 1fr 1fr; gap: 24px 40px; } }
.expect li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.expect__n { font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: var(--gold); line-height: 1; padding-top: 2px; }
.expect h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--cream); }
.expect p { color: var(--cream); opacity: 0.85; }

/* Process */
.steps { display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--gold); display: grid; gap: 8px; }
.step__n { font-family: var(--head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; color: var(--gold-deep); text-transform: uppercase; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-2); }

/* Two-up notes (guarantee, building work) */
.notes { display: grid; gap: 20px; }
@media (min-width: 800px) { .notes { grid-template-columns: 1fr 1fr; gap: 28px; } }
.note { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; border-left: 3px solid var(--gold); }
.note p { color: var(--ink-2); }

/* Areas */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { font-family: var(--head); font-weight: 500; font-size: 0.92rem; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; }

/* Reviews */
.review { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; max-width: 760px; border-top: 3px solid var(--gold); }
.review blockquote { margin: 0; font-family: var(--head); font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.35; }
.review cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.review__stars { display: flex; gap: 4px; }
.review__stars svg { width: 20px; height: 20px; fill: var(--gold); }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; color: var(--ink-2); }
.review__meta a { display: inline-block; padding: 10px 0; font-weight: 600; }

/* Contact */
.contact__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; } }
.contact__list { display: grid; gap: 14px; margin-top: 24px; }
.contact__list a { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-dark); min-height: 48px; }
.contact__list a:hover { color: var(--gold-light); }
.contact__list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__list svg.fill { fill: var(--gold); stroke: none; }
.form { display: grid; gap: 14px; background: #171614; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--line-dark); }
.form label { display: grid; gap: 6px; font-family: var(--head); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; }
.form input, .form textarea { font: inherit; font-family: var(--body); font-size: 1rem; color: var(--cream); background: #0e0e0d; border: 1px solid rgba(236,214,177,0.3); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form textarea { min-height: 120px; resize: vertical; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__hint { font-size: 0.9rem; color: var(--cream); opacity: 0.75; }
.form__status { min-height: 1.5em; font-weight: 600; }
.form__status[data-state="ok"] { color: var(--gold-light); }
.form__status[data-state="err"] { color: #ffb4a8; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--black); color: var(--cream); border-top: 1px solid var(--line-dark); padding-block: 40px 28px; font-size: 0.95rem; }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; } }
.footer__lockup { width: min(100%, 260px); }
.footer h2 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 12px; }
.footer ul { display: grid; gap: 0; }
.footer a { text-decoration: none; color: var(--cream); display: inline-block; padding: 9px 0; }
.footer__bottom a { padding: 12px 0; }
.footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer p { opacity: 0.85; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 0.88rem; opacity: 0.85; }

/* Mobile sticky action bar */
.actionbar { display: none; }
@media (max-width: 900px) {
  .actionbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(14,14,13,0.96); border-top: 1px solid var(--line-dark); }
  .actionbar .btn { min-height: 48px; padding: 8px 12px; font-size: 0.95rem; }
  .actionbar { transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .actionbar.is-hidden { opacity: 0; transform: translateY(100%); pointer-events: none; }
  body { padding-bottom: 76px; }
}

/* 404 and privacy */
.page { padding-block: clamp(48px, 8vw, 96px); }
.page .prose { max-width: 68ch; display: grid; gap: 16px; }
.page .prose h2 { font-size: 1.35rem; margin-top: 12px; }
.page .prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }

.mt-14 { margin-top: 14px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; }

/* Photo hero */
.hero--photo { position: relative; background: var(--black); color: var(--cream); min-height: min(88vh, 820px); display: grid; align-items: end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,13,0.94) 0%, rgba(14,14,13,0.72) 38%, rgba(14,14,13,0.25) 70%, rgba(14,14,13,0.15) 100%); }
@media (min-width: 901px) { .hero__bg::after { background: linear-gradient(to right, rgba(14,14,13,0.92) 0%, rgba(14,14,13,0.78) 38%, rgba(14,14,13,0.28) 68%, rgba(14,14,13,0.1) 100%); } }
.hero__content { position: relative; display: grid; gap: 18px; padding-block: clamp(64px, 12vw, 120px) clamp(40px, 7vw, 88px); max-width: 640px; margin-left: max(var(--gutter), calc((100% - var(--max)) / 2)); }
.hero--photo .eyebrow { color: var(--gold); }
.hero--photo h1 { color: var(--cream); font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.hero--photo h1 em { color: var(--gold-light); }
.hero--photo .lede { color: var(--cream); }
.hero--photo .hero__note { color: var(--gold-light); opacity: 0.9; }
.hero--photo .btn--ghost { color: var(--cream); border-color: var(--cream); }
.hero--photo .btn--ghost:hover { background: rgba(255,255,255,0.1); }

/* Service cards */
.scards { display: grid; gap: 20px; }
@media (min-width: 600px) { .scards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .scards { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.scard__link { display: grid; gap: 10px; text-decoration: none; color: inherit; height: 100%; }
.scard__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); position: relative; }
.scard__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.scard__link:hover .scard__img img { transform: scale(1.04); }
.scard__link:hover .scard__img::after { transform: scaleX(1); }
.scard h3 { font-size: 1.15rem; margin-top: 4px; }
.scard p { color: var(--ink-2); font-size: 1rem; }

/* Closed and open pairs */
.pairs { display: grid; gap: 28px; }
@media (min-width: 800px) { .pairs { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pair__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair__imgs .photo { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.pair h3 { font-size: 1.05rem; margin-top: 12px; color: var(--cream); font-weight: 500; letter-spacing: 0.02em; }
.dark .photo__cap { color: var(--cream); }

/* Mosaic gallery */
.mosaic { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-rows: 200px; } }
@media (min-width: 600px) and (max-width: 899px) { .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; } }
.mosaic .photo { aspect-ratio: auto; height: 100%; }
.mosaic .tile--tall { grid-row: span 2; }
@media (max-width: 599px) { .mosaic { grid-auto-rows: 160px; } }

/* Stories with images */
.story--img { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; border-top: 0; }
.story__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__body { padding: clamp(20px, 3vw, 28px); display: grid; gap: 10px; border-top: 3px solid var(--gold); }

/* Full-bleed band */
.band { position: relative; color: var(--cream); background: var(--black); overflow: hidden; min-height: 460px; display: grid; align-items: center; }
.band__bg { position: absolute; inset: 0; }
.band__img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(14,14,13,0.9) 0%, rgba(14,14,13,0.7) 45%, rgba(14,14,13,0.3) 100%); }
.band__content { position: relative; display: grid; gap: 18px; max-width: 620px; padding-block: clamp(56px, 8vw, 96px); margin-left: max(var(--gutter), calc((100% - var(--max)) / 2)); }
.band .eyebrow { color: var(--gold); }
.band h2 { color: var(--cream); }

/* Fixes after first visual pass */
figure { margin: 0; }
.scard__link { grid-template-rows: auto auto 1fr; }
.btn svg:not(.fill) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__img { object-position: 60% 58%; }
.step { grid-template-rows: auto auto 1fr; }
.band__img { object-position: center 55%; }
@media (max-width: 900px) { .hero__bg::after { background: linear-gradient(to top, rgba(14,14,13,0.96) 0%, rgba(14,14,13,0.88) 50%, rgba(14,14,13,0.55) 78%, rgba(14,14,13,0.3) 100%); } }
@media (max-width: 599px) { .scard__img { aspect-ratio: 16 / 10; } }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, 1%); } }
@media (prefers-reduced-motion: no-preference) { .hero__img { animation: drift 26s ease-in-out infinite alternate; will-change: transform; } }

/* Hero slider */
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slider .slide.is-active { opacity: 1; }
.slider .slide.is-active .hero__img { animation: drift 26s ease-in-out infinite alternate; }
.slider .slide:not(.is-active) .hero__img { animation: none; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; gap: 8px; z-index: 2; justify-content: flex-end; }
.slider__dots button { width: 44px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; position: relative; }
.slider__dots button::before { content: ""; position: absolute; left: 8px; right: 8px; top: 20px; height: 3px; border-radius: 2px; background: rgba(236,214,177,0.4); transition: background .3s; }
.slider__dots button[aria-selected="true"]::before { background: var(--gold); }
.slider__dots button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }
@media (max-width: 900px) { .slider__dots { justify-content: center; bottom: 12px; } }

/* Lightbox triggers */
button.lb { display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; font: inherit; color: inherit; text-align: inherit; }
button.lb img { display: block; }
.photo button.lb, .scard__img button.lb, .story__img button.lb { position: absolute; inset: 0; }
.photo, .scard__img, .story__img { position: relative; }
.photo::after, .scard__img::after, .story__img::after { pointer-events: none; }
.scard__img::before { content: ""; position: absolute; inset: 0; background: rgba(14,14,13,0); transition: background .3s var(--ease); z-index: 1; pointer-events: none; }
.scard:hover .scard__img::before { background: rgba(14,14,13,0.08); }
.scard:hover .scard__img img { transform: scale(1.04); }
.scard:hover .scard__img::after { transform: scaleX(1); }
.mosaic .photo img, .pair .photo img, .story__img img { transition: transform .6s var(--ease); }
.mosaic .photo:hover img, .pair .photo:hover img, .story__img:hover img { transform: scale(1.05); }
.photo .photo__cap { pointer-events: none; z-index: 2; }
.lb:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.lb::after { content: ""; position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(14,14,13,0.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ecd6b1' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat; opacity: 0; transition: opacity .25s; }
.photo:hover .lb::after, .scard__img:hover .lb::after, .story__img:hover .lb::after, .lb:focus-visible::after { opacity: 1; }
@media (hover: none) { .lb::after { opacity: 0.85; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,14,13,0.96); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; padding: 16px; opacity: 0; transition: opacity .25s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { grid-column: 2; grid-row: 1; margin: 0; display: grid; justify-items: center; align-content: center; gap: 12px; height: 100%; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__cap { color: var(--cream); font-family: var(--head); font-weight: 500; letter-spacing: 0.03em; text-align: center; }
.lightbox__count { grid-column: 2; grid-row: 2; text-align: center; color: var(--gold-light); font-size: 0.85rem; margin: 0; padding-top: 6px; }
.lightbox__close, .lightbox__nav { background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); color: var(--cream); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; padding: 0; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.14); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__prev { grid-column: 1; justify-self: start; }
.lightbox__next { grid-column: 3; justify-self: end; }
@media (max-width: 700px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; padding: 12px; }
  .lightbox__fig { grid-column: 1; }
  .lightbox__img { max-height: calc(100vh - 170px); }
  .lightbox__count { grid-column: 1; grid-row: 3; }
  .lightbox__prev, .lightbox__next { grid-row: 2; grid-column: 1; justify-self: center; position: relative; margin-top: 8px; }
  .lightbox__prev { justify-self: start; margin-left: 12px; }
  .lightbox__next { justify-self: end; margin-right: 12px; }
}
body.lb-open { overflow: hidden; }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .scards .reveal:nth-child(2), .js .steps .reveal:nth-child(2), .js .pairs .reveal:nth-child(2), .js .proof__grid .reveal:nth-child(2) { transition-delay: .08s; }
  .js .scards .reveal:nth-child(3), .js .steps .reveal:nth-child(3), .js .pairs .reveal:nth-child(3), .js .proof__grid .reveal:nth-child(3) { transition-delay: .16s; }
  .js .scards .reveal:nth-child(4), .js .steps .reveal:nth-child(4), .js .proof__grid .reveal:nth-child(4) { transition-delay: .24s; }
  .js .scards .reveal:nth-child(n+5) { transition-delay: .1s; }
}

.slide-pos-0 { object-position: 60% 58%; } .slide-pos-1 { object-position: center 55%; } .slide-pos-2 { object-position: center 50%; } .slide-pos-3 { object-position: center 60%; } .slide-pos-4 { object-position: center 50%; }
