/* ===== Tokens ===== */
:root {
  --ink: #0c0c0d;          /* obsidian */
  --ink-2: #141416;        /* graphite */
  --line: rgba(239, 233, 222, 0.12);
  --ivory: #efe9de;
  --gold: #c9a96e;         /* champagne gold */
  --gold-soft: rgba(201, 169, 110, 0.45);
  --muted: rgba(239, 233, 222, 0.62);
  --dark-text: #17171a;
  --muted-dark: #5d5b57;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(1.5rem, 5vw, 5rem);
  --side: max(var(--pad), calc((100vw - 1500px) / 2));

  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; line-height: 1.02; }
p { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.kicker { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.section-title { font-size: clamp(2.8rem, 6vw, 5.6rem); letter-spacing: -.015em; }
.lede { color: var(--muted); max-width: 46ch; margin-top: 1.4rem; }

/* Wordmark */
.wordmark { font-family: var(--sans); font-weight: 500; letter-spacing: .32em; font-size: .95rem; text-decoration: none; color: var(--ivory); white-space: nowrap; }
.wordmark span { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block; padding: 1.05rem 2.2rem; border: 1px solid transparent;
  font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-gold:hover { background: var(--ivory); }
.btn-line { border-color: rgba(239,233,222,.4); color: var(--ivory); }
.btn-line:hover { border-color: var(--ivory); background: rgba(239,233,222,.06); }
.btn-full { width: 100%; }
.btn-big { padding: 1.3rem 3rem; font-size: .85rem; }

/* ===== Intro ===== */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 1.6rem;
  transition: transform 1.1s var(--ease);
}
.intro-mark {
  font-weight: 500; letter-spacing: .5em; font-size: clamp(1.1rem, 2.6vw, 1.8rem); padding-left: .5em;
  opacity: 0; animation: fadeIn 1s var(--ease) .2s forwards;
}
.intro-mark span { color: var(--gold); }
.intro-line { width: 220px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: drawLine 1.2s var(--ease) .5s forwards; }
.intro.is-done { transform: translateY(-100%); }
.intro.is-skipped { display: none; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes drawLine { to { transform: scaleX(1); } }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 3rem;
  padding: calc(1.6rem + env(safe-area-inset-top, 0px)) var(--side) 1.6rem;
  transition: background-color .6s var(--ease), padding .6s var(--ease);
}
.site-header.is-solid { background: rgba(12,12,13,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: calc(1rem + env(safe-area-inset-top, 0px)) 1rem; }
.main-nav { display: flex; gap: 2.4rem; margin-left: auto; }
.main-nav a { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--gold); border: 1px solid var(--gold-soft); padding: .7rem 1.2rem; transition: background-color .4s var(--ease), color .4s var(--ease); }
.header-cta:hover { background: var(--gold); color: var(--ink); }
.menu-btn { display: none; }
.menu-overlay { position: fixed; inset: 0; z-index: 55; background: var(--ink); display: flex; align-items: center; padding: var(--pad); }
.menu-overlay[hidden] { display: none; }
.menu-overlay nav { display: grid; gap: .5rem; }
.menu-overlay a { font-family: var(--serif); font-size: 2.8rem; text-decoration: none; line-height: 1.2; }
.menu-overlay a:last-child { color: var(--gold); font-style: italic; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 0 var(--side) clamp(4rem, 12vh, 8rem); }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: .35; transform: scale(1.08); transition: transform 4s var(--ease); }
body.is-ready .hero-video { transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(12,12,13,.55) 50%, rgba(12,12,13,.75) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 8.4rem); line-height: .95; letter-spacing: -.02em; }
.hero h1 em { color: var(--gold); }
.hero-sub { margin-top: 2rem; max-width: 48ch; color: var(--muted); font-size: 1.1rem; }
.hero-actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-content > * { opacity: 0; transform: translateY(24px); }
body.is-ready .hero-content > * { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
body.is-ready .hero-content > :nth-child(2) { transition-delay: .12s; }
body.is-ready .hero-content > :nth-child(3) { transition-delay: .24s; }
body.is-ready .hero-content > :nth-child(4) { transition-delay: .36s; }
.scroll-cue { position: absolute; right: var(--side); bottom: 3rem; width: 1px; height: 72px; background: rgba(239,233,222,.2); overflow: hidden; z-index: 2; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ===== Statement ===== */
.statement { background: var(--ivory); color: var(--dark-text); padding: clamp(7rem, 20vh, 14rem) var(--side); }
.statement-text { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.2; max-width: 26ch; margin-inline: auto; text-align: center; }
.statement-text .w { opacity: .14; transition: opacity .4s linear; }
.statement-text .w.is-lit { opacity: 1; }

/* ===== Work: stacked full-screen cases ===== */
.work { position: relative; background: var(--ink); }
.work-intro { padding: clamp(6rem, 16vh, 10rem) var(--side) 2rem; }
.case {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  background: var(--ink); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: 6rem var(--side) 3rem; overflow: hidden;
}
.case:nth-of-type(even) { grid-template-columns: 1.35fr 1fr; background: var(--ink-2); }
.case:nth-of-type(even) .case-frame { grid-column: 1; grid-row: 1; }
.case:nth-of-type(even) .case-text { grid-column: 2; grid-row: 1; }
.case-num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); margin-bottom: 1.4rem; }
.case-num span { font-family: var(--sans); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-left: 1rem; }
.case h3 { font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.015em; }
.case-text > p:not(.case-num) { margin-top: 1.4rem; color: var(--muted); max-width: 44ch; }
.case-tags { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.case-tags li { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); padding: .45rem .8rem; color: var(--ivory); }
.case-link { display: inline-block; margin-top: 2.2rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--gold); }
.case-link::after { content: " \2197"; color: var(--gold); }
.case-link:hover { color: var(--gold); }
.case-frame {
  position: relative; aspect-ratio: 16 / 10; background: var(--ink-2);
  outline: 1px solid var(--gold-soft); outline-offset: 14px; overflow: hidden; will-change: transform;
}
.case-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-frame.is-missing::before {
  content: attr(data-name); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); color: rgba(239,233,222,.35); text-align: center; padding: 2rem;
}

/* ===== Services + FAQ accordions ===== */
.services, .faq { position: relative; z-index: 2; background: var(--ink); padding: clamp(6rem, 16vh, 10rem) var(--side); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; border-top: 1px solid var(--line); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 1.6rem 0; display: flex; align-items: baseline; gap: 1.4rem;
  font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.2;
  transition: color .4s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; margin-left: auto; font-family: var(--sans); font-size: 1.3rem; color: var(--gold); transition: transform .5s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--gold); }
.accordion summary:focus { outline: none; }
.accordion summary:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.acc-num { font-family: var(--serif); font-size: 1rem; color: var(--gold); }
.accordion details > p { color: var(--muted); max-width: 56ch; padding: 0 0 1.8rem; }
.services .accordion details > p { padding-left: 2.6rem; }
.accordion details.is-closing > p { opacity: 0; transition: opacity .3s ease; }
.accordion details[open]:not(.is-closing) > p { animation: accIn .5s ease both; }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ===== Process ===== */
.process { position: relative; z-index: 2; background: var(--ink-2); padding: clamp(6rem, 16vh, 10rem) var(--side); }
.process-layout { display: grid; grid-template-columns: 1fr minmax(0, 1.05fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.steps { list-style: none; padding: 0; margin: clamp(2.5rem, 6vh, 4rem) 0 0; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; }
.steps li { counter-increment: s; border-top: 1px solid var(--gold-soft); padding-top: 1.4rem; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--serif); color: var(--gold); margin-bottom: .8rem; }
.steps h3 { font-size: 1.9rem; margin-bottom: .6rem; }
.steps p { color: var(--muted); font-size: 1rem; }
.process-frame { aspect-ratio: 16 / 10; background: var(--ink); outline: 1px solid var(--gold-soft); outline-offset: 14px; overflow: hidden; }
.process-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ===== Testimonials ===== */
.reviews { position: relative; z-index: 2; background: var(--ivory); color: var(--dark-text); padding: clamp(7rem, 18vh, 12rem) var(--side); text-align: center; }
.reviews .kicker { color: #9a7b45; }
.quote-stage { display: grid; max-width: 1000px; margin: 0 auto; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.18; }
.quote figcaption { margin-top: 2rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.quote-dots { margin-top: 3rem; display: flex; justify-content: center; gap: .9rem; }
.quote-dots button { width: 34px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.quote-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(23,23,26,.25); transition: background-color .5s var(--ease); }
.quote-dots button[aria-selected="true"]::before { background: var(--dark-text); }

/* ===== Pricing ===== */
.pricing { position: relative; z-index: 2; background: var(--ink); padding: clamp(6rem, 16vh, 10rem) var(--side); display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.price-card { border: 1px solid var(--gold-soft); padding: clamp(2rem, 4vw, 3.2rem); background: var(--ink-2); }
.price-label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.price { font-family: var(--serif); font-size: clamp(4.5rem, 9vw, 7rem); line-height: 1; color: var(--gold); margin: .6rem 0 1.6rem; }
.price-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; }
.price-list li { display: flex; gap: .9rem; align-items: baseline; }
.price-list li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg) translateY(-2px); flex: none; }
.price-extras { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-bottom: 2rem; display: grid; gap: .8rem; color: var(--muted); font-size: .95rem; }
.price-extras strong { color: var(--ivory); font-weight: 400; }
.price-note { margin-top: 1.2rem; color: var(--muted); font-size: .88rem; text-align: center; }

/* ===== Blog ===== */
.blog { position: relative; z-index: 2; background: var(--ink-2); padding: clamp(6rem, 14vh, 9rem) var(--side); }
.blog-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.post { display: grid; gap: 1rem; padding: 2.2rem; border: 1px solid var(--line); text-decoration: none; transition: border-color .5s var(--ease), background-color .5s var(--ease); }
.post:hover { border-color: var(--gold-soft); background: rgba(201,169,110,.04); }
.post-tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.post-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; }
.post-more { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-more::after { content: "  \2192"; color: var(--gold); }
.text-link { display: inline-block; margin-top: 2.4rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--gold); }

/* ===== Contact ===== */
.contact { position: relative; z-index: 2; background: var(--ink); padding: clamp(8rem, 22vh, 14rem) var(--side); text-align: center; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(3.2rem, 8vw, 7.5rem); line-height: .95; letter-spacing: -.02em; }
.contact h2 em { color: var(--gold); }
.contact .lede { margin: 2rem auto 2.8rem; }

/* ===== Footer ===== */
.site-footer { position: relative; z-index: 2; background: var(--ink); border-top: 1px solid var(--line); padding: 3rem var(--side) calc(3rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--ivory); }
.footer-small { margin-left: auto; font-size: .85rem; color: var(--muted); }

/* ===== WhatsApp button ===== */
.wa-float {
  position: fixed; z-index: 50; right: 1.2rem; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-2); border: 1px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 26px; height: 26px; fill: var(--ivory); }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .site-header { justify-content: space-between; }
  .menu-btn { display: grid; gap: 8px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; position: relative; z-index: 70; }
  .menu-btn span { display: block; width: 26px; height: 1px; background: var(--ivory); transition: transform .5s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .case, .case:nth-of-type(even) { position: relative; height: auto; grid-template-columns: 1fr; padding: 4rem var(--pad); }
  .case:nth-of-type(even) .case-frame, .case:nth-of-type(even) .case-text { grid-column: auto; grid-row: auto; }
  .case-frame { order: -1; outline-offset: 8px; }
  .services, .faq, .pricing, .process-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .scroll-cue { display: none; }
  .hero-actions .btn { width: 100%; }
  .steps, .blog-grid { grid-template-columns: 1fr; }
  .footer-small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .hero-content > * { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; }
}

/* =========================================================
   Inner pages: About, Blog, articles
   ========================================================= */
.page-hero { padding: calc(10rem + env(safe-area-inset-top, 0px)) var(--side) clamp(4rem, 10vh, 6rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3.2rem, 8vw, 7.6rem); line-height: .95; letter-spacing: -.02em; max-width: 16ch; }
.page-hero h1 em { color: var(--gold); }
.page-hero-copy { margin-top: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; max-width: 960px; }
.page-hero-copy p { color: var(--muted); }
.page-hero > * { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.page-hero.is-in > * { opacity: 1; transform: none; }
.page-hero.is-in > :nth-child(2) { transition-delay: .12s; }
.page-hero.is-in > :nth-child(3) { transition-delay: .24s; }

.split { padding: clamp(6rem, 16vh, 10rem) var(--side); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; border-bottom: 1px solid var(--line); }
.split-alt { background: var(--ink-2); }
.split-head .section-title em { color: var(--gold); }
.split-copy { display: grid; gap: 1.3rem; padding-top: 2.6rem; }
.split-copy p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.split-copy p:first-child { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.3; color: var(--ivory); }

.reveal-block { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal-block.is-in { opacity: 1; transform: none; }

/* Blog list */
.post-list { padding: clamp(4rem, 10vh, 6rem) var(--side); }
.post-row {
  display: grid; grid-template-columns: 6rem 1fr; gap: 2rem; padding: clamp(2.4rem, 5vh, 3.5rem) 0;
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.post-row:first-child { border-top: 1px solid var(--line); }
.post-num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.post-row-body { display: grid; gap: 1rem; max-width: 820px; }
.post-row .post-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; transition: color .5s var(--ease); }
.post-row:hover .post-title { color: var(--gold); }
.post-excerpt { color: var(--muted); max-width: 60ch; }

/* Article */
.post-hero h1 { max-width: 20ch; font-size: clamp(2.8rem, 6.4vw, 6rem); }
.back-link { display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--gold); margin-bottom: 2.4rem; }
.back-link:hover { color: var(--ivory); }
.prose { max-width: 720px; margin: 0 auto; padding: clamp(4rem, 10vh, 6rem) var(--pad) clamp(5rem, 12vh, 7rem); }
.prose p { color: var(--muted); font-size: 1.12rem; margin-bottom: 1.5rem; }
.prose .prose-lead { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.32; color: var(--ivory); margin-bottom: 2.4rem; }
.prose h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 3.2rem 0 1rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .page-hero-copy, .split { grid-template-columns: 1fr; }
  .split-copy { padding-top: 0; }
  .post-row { grid-template-columns: 1fr; gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero > *, .reveal-block { opacity: 1; transform: none; }
}

/* =========================================================
   Case study pages
   ========================================================= */
.case-hero h1 { max-width: 18ch; }
.case-summary { margin-top: 2rem; max-width: 44ch; font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.3; color: var(--muted); }
.case-shot { padding: clamp(4rem, 10vh, 6rem) var(--side) 0; }
.case-shot-frame { aspect-ratio: 16 / 10; overflow: hidden; outline: 1px solid var(--gold-soft); outline-offset: 16px; background: var(--ink-2); }
.case-shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-facts-wrap { padding: clamp(4rem, 9vh, 5rem) var(--side); border-bottom: 1px solid var(--line); }
.case-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem 2rem; border-top: 1px solid var(--gold-soft); padding-top: 1.6rem; }
.case-facts dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.case-facts dd { margin: .4rem 0 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; }
.case-facts a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.case-facts a::after { content: " \2197"; color: var(--gold); }

.built { padding: clamp(6rem, 16vh, 10rem) var(--side); background: var(--ink-2); border-bottom: 1px solid var(--line); }
.built-head .section-title em { color: var(--gold); }
.features { list-style: none; padding: 0; margin: clamp(3rem, 7vh, 4.5rem) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 2.4rem; }
.feature { border-top: 1px solid var(--gold-soft); padding-top: 1.4rem; }
.feature-num { font-family: var(--serif); color: var(--gold); }
.feature h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); margin: .8rem 0 .7rem; }
.feature p { color: var(--muted); font-size: 1rem; }

.case-quote { padding: clamp(6rem, 16vh, 10rem) var(--side); background: var(--ivory); color: var(--dark-text); text-align: center; }
.case-quote blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.2; }
.case-quote-by { margin-top: 2rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }

.case-next-wrap { padding: clamp(4rem, 10vh, 6rem) var(--side); }
.case-next { display: grid; gap: .8rem; padding: 2.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.case-next-label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.case-next-title { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 1; transition: color .5s var(--ease), padding-left .6s var(--ease); }
.case-next-title::after { content: "  \2192"; color: var(--gold); }
.case-next:hover .case-next-title { color: var(--gold); padding-left: 1rem; }

/* Homepage: two links side by side on each case */
.case-text .case-link { margin-right: 2rem; }
.case-link-main::after { content: "  \2192"; }

@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .case-shot-frame { outline-offset: 8px; } }

/* =========================================================
   Enquiry form + modal
   ========================================================= */
.contact-split { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(3rem, 7vw, 7rem); align-items: start; text-align: left; }
.contact-split h2 { font-size: clamp(3rem, 6.4vw, 6rem); }
.contact-split .lede { margin: 2rem 0 2.6rem; }
.contact-routes { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.contact-email { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; border-bottom: 1px solid var(--gold-soft); }
.contact-email:hover { color: var(--gold); }
.contact-alt { margin-top: 1.6rem; color: var(--muted); }
.contact-alt a { color: var(--ivory); text-decoration-color: var(--gold); text-underline-offset: 4px; }

.enquiry { display: grid; gap: 1.8rem; border: 1px solid var(--gold-soft); background: var(--ink-2); padding: clamp(1.8rem, 4vw, 3rem); }
.ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.ef { position: relative; }
.ef input, .ef textarea, .ef select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ivory); background: transparent;
  border: 0; border-bottom: 1px solid rgba(239,233,222,.25); border-radius: 0;
  padding: 1.4rem 0 .6rem; resize: vertical; transition: border-color .4s var(--ease);
}
.ef select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-top: 1rem; color-scheme: dark; }
.ef select option { background: var(--ink-2); color: var(--ivory); }
.ef-select::after { content: ""; position: absolute; right: 4px; bottom: 1.1rem; width: 8px; height: 8px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); pointer-events: none; }
.ef input:focus, .ef textarea:focus, .ef select:focus { outline: none; border-color: var(--gold); }
.ef label { position: absolute; left: 0; top: 1.4rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), font-size .4s var(--ease), color .4s var(--ease); }
.ef input:focus + label, .ef input:not(:placeholder-shown) + label,
.ef textarea:focus + label, .ef textarea:not(:placeholder-shown) + label { transform: translateY(-1.3rem); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ef .invalid { border-color: #c97b6a; }
.ef-note { text-align: center; color: var(--muted); font-size: .88rem; }
.hp { position: absolute; left: -9999px; }
.btn:disabled { opacity: .6; cursor: default; }

.modal { position: fixed; inset: 0; z-index: 300; background: rgba(12,12,13,.82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 1.5rem; }
.modal[hidden] { display: none; }
.modal-box { width: min(100%, 440px); background: var(--ivory); color: var(--dark-text); padding: 2.6rem; text-align: center; border-top: 1px solid var(--gold); }
.modal-box h3 { font-size: 2.2rem; margin-bottom: .8rem; }
.modal-box p { color: var(--muted-dark); margin-bottom: 2rem; }
.modal-box .btn-gold { background: var(--ink); color: var(--ivory); }
.modal-box .btn-gold:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 960px) { .contact-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ef-row { grid-template-columns: 1fr; } }

/* =========================================================
   Hero: live showcase (laptop + phone)
   ========================================================= */
.hero-showcase {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: center; padding: calc(7rem + env(safe-area-inset-top, 0px)) var(--side) 5rem;
  background:
    radial-gradient(60% 55% at 72% 50%, rgba(201,169,110,.10), transparent 70%),
    var(--ink);
}
.hero-showcase .hero-content { max-width: 640px; }
.hero-showcase h1 { font-size: clamp(3rem, 5.6vw, 6.2rem); line-height: .98; }

.devices { position: relative; padding: 0 0 3.5rem 0; perspective: 1600px; }
.devices > .laptop, .devices > .phone, .now-showing { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
body.is-ready .devices > .laptop { opacity: 1; transform: none; transition-delay: .25s; }
body.is-ready .devices > .phone { opacity: 1; transform: none; transition-delay: .55s; }
body.is-ready .now-showing { opacity: 1; transform: none; transition-delay: .8s; }

/* Laptop */
.laptop { position: relative; width: 100%; max-width: 860px; margin-left: auto; transform-style: preserve-3d; }
.laptop-screen {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: #050506; border: 12px solid #1c1c1f; border-bottom-width: 14px;
  border-radius: 14px 14px 4px 4px;
  box-shadow: 0 0 0 1px rgba(239,233,222,.08), 0 40px 80px rgba(0,0,0,.55);
}
.laptop-base {
  position: relative; height: 16px; margin: 0 -6%;
  background: linear-gradient(180deg, #2a2a2e, #141416);
  border-radius: 0 0 14px 14px; box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #0e0e10; border-radius: 0 0 6px 6px; }

/* Phone */
.phone {
  position: absolute; right: -4%; bottom: 0; width: 31%; min-width: 150px; max-width: 300px; z-index: 2;
  animation: phoneFloat 7s ease-in-out infinite;
}
.phone-screen {
  position: relative; aspect-ratio: 600 / 1130; overflow: hidden; background: #050506;
  border: 5px solid #1c1c1f; border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(239,233,222,.1), 0 30px 60px rgba(0,0,0,.6);
}
/* Samsung-style: a slim black status strip with a small punch-hole camera, so nothing on the site is covered */
.phone-screen::before {
  content: ""; position: absolute; top: 5px; left: 50%; width: 9px; height: 9px; transform: translateX(-50%);
  background: #0b0b0d; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #26262a; z-index: 3;
}
.phone-screen .slide { top: 19px; height: calc(100% - 19px); }
@keyframes phoneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Slides */
.devices .slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 6s linear;
}
.devices .slide.is-active { opacity: 1; transform: scale(1); }

/* Caption */
.now-showing { position: absolute; left: 0; bottom: 0; margin: 0; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.now-showing span { color: var(--gold); margin-right: .6rem; }
.now-showing a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--gold-soft); transition: opacity .5s var(--ease); }
.now-showing a.is-swapping { opacity: 0; }
.hero-showcase .scroll-cue { bottom: 2rem; }

@media (max-width: 960px) {
  .hero-showcase { grid-template-columns: 1fr; padding-top: calc(6.5rem + env(safe-area-inset-top, 0px)); gap: 3.5rem; }
  .devices { padding-right: 8%; }
  .phone { right: 0; width: 34%; }
  .now-showing { right: 38%; line-height: 1.8; }
  .laptop-screen { border-width: 7px; border-bottom-width: 9px; border-radius: 10px 10px 3px 3px; }
  .laptop-base { height: 10px; }
  .phone-screen { border-width: 4px; border-radius: 16px; }
  .phone-screen::before { top: 4px; width: 7px; height: 7px; }
  .phone-screen .slide { top: 15px; height: calc(100% - 15px); }
}
@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
  .devices > .laptop, .devices > .phone, .now-showing { opacity: 1; transform: none; }
}

/* Longer, multi-paragraph testimonials on case study pages */
.case-quote-text { max-width: 34ch; margin: 0 auto; display: grid; gap: 1.2rem; }
.case-quote-text p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.25; }
.case-quote-text p:first-child::before { content: "\201C"; }
.case-quote-text p:last-child::after { content: "\201D"; }