/* ============================================================
   Lago Studio — base
   ============================================================ */
:root {
  /* Lago Studio — refined "lake at dusk" palette
     Warm off-white + deep ink-blue + sophisticated lake blue accent */
  --bg: #f5f3ee;
  --bg-alt: #ece9e0;
  --ink: #0c1e36;
  --ink-2: #4a5870;
  --ink-3: #8794a5;
  --line: #e0ddd2;
  --blue: #2c5283;
  --blue-soft: #6b8db8;
  /* legacy aliases — keep so existing class names like .btn--gold still work */
  --gold: #2c5283;
  --gold-soft: #6b8db8;
  --maxw: 1200px;
  --pad-x: clamp(20px, 5vw, 80px);
  --section-y: clamp(80px, 12vw, 160px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.container--narrow { max-width: 820px; }

.eyebrow,
.section__label,
.work__eyebrow,
.hero__card-eyebrow,
.work__label,
.footer__head {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #000; }
.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.btn--gold:hover { background: #a78232; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 18px 28px; font-size: 15px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 23px;
  letter-spacing: 0.005em;
  color: var(--ink);
  line-height: 1;
}
/* The ripple mark — two horizontal lines, top shorter.
   Reads as water/ripples without being literal. Works in nav and footer. */
.nav__dot {
  display: inline-block;
  width: 20px;
  height: 14px;
  position: relative;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
}
.nav__dot::before,
.nav__dot::after {
  content: '';
  position: absolute;
  left: 50%;
  height: 1.5px;
  background: var(--blue);
  border-radius: 1px;
  transform: translateX(-50%);
}
.nav__dot::before { top: 4px; width: 55%; }
.nav__dot::after  { top: 9px; width: 100%; }
.footer .nav__dot::before,
.footer .nav__dot::after { background: var(--blue-soft); }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
}
.nav__links a:hover { color: var(--ink); }

.nav__right { display: flex; align-items: center; gap: 16px; }
.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--bg);
}
.lang__btn {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.lang__btn--active { background: var(--ink); color: var(--bg); }

@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 10vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.hero .container { padding: 0; }
.hero .eyebrow { margin-bottom: 28px; }
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 460px;
  margin: 0 0 36px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 540px; }
.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0,0,0,.02),
    0 30px 80px -30px rgba(50, 40, 25, 0.25),
    0 8px 24px -10px rgba(50, 40, 25, 0.12);
  position: relative;
  transform: translateY(0);
  animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.hero__card-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-3);
}
.hero__card-dot--r { background: #e8625b; }
.hero__card-dot--y { background: #e6c14a; }
.hero__card-dot--g { background: #6dbc6a; }
.hero__card-url {
  margin-left: 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  font-family: 'Inter', monospace;
}
.hero__card-body { padding: 32px 36px 36px; }
.hero__card-eyebrow { margin: 0 0 12px; }
.hero__card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 36px;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.hero__card-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero__card-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 20px;
}
.hero__card-line {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 8px;
  font-weight: 300;
}
.hero__card-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
}
.hero__card-badge {
  position: absolute;
  bottom: 18px;
  right: -12px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.3);
}
.hero__card-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6dbc6a;
  box-shadow: 0 0 0 4px rgba(109, 188, 106, 0.25);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { justify-self: start; max-width: 480px; margin-top: 8px; }
}

/* ============================================================
   Sections shared
   ============================================================ */
.section__header { margin-bottom: 56px; max-width: 720px; }
.section__label { margin: 0 0 14px; }
.section__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}
.section__lead {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 540px;
}

/* ============================================================
   Manifesto
   ============================================================ */
.manifesto {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.manifesto__text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  margin: 18px 0 0;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.manifesto__text em { font-style: italic; color: var(--gold); }

/* ============================================================
   Services
   ============================================================ */
.services {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.service {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--gold);
}
.service__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.service__desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 640px;
}
@media (max-width: 600px) {
  .service { grid-template-columns: 60px 1fr; gap: 16px; }
  .service__title { font-size: 22px; }
}

/* ============================================================
   Process
   ============================================================ */
.process {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
}
.step__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.step__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 10px;
}
.step__desc { margin: 0; color: var(--ink-2); font-size: 15px; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   Work preview
   ============================================================ */
.work {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.work__preview { margin-top: 40px; }
.work__browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(50, 40, 25, 0.18);
  max-width: 920px;
  margin: 0 auto;
}
.work__browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.work__browser-content {
  padding: clamp(40px, 6vw, 72px);
  background: #fff;
}
.work__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  margin: 8px 0 18px;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.work__title em { font-style: italic; color: var(--gold); font-weight: 400; }
.work__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 36px;
  max-width: 540px;
}
.work__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.work__label { margin: 0 0 8px; }
.work__detail { margin: 0 0 4px; color: var(--ink-2); font-size: 14px; }
.work__cta {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
}
@media (max-width: 720px) { .work__split { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   Why local
   ============================================================ */
.why {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.why__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  margin: 14px 0 24px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.why__title em { font-style: italic; color: var(--gold); font-weight: 400; }
.why__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--ink);
  color: var(--bg);
}
.cta .container--narrow { padding-top: 0; padding-bottom: 0; }
.cta__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.cta__text {
  color: rgba(250, 247, 242, 0.7);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta .btn--gold { background: var(--gold); }
.cta .btn--gold:hover { background: var(--gold-soft); color: var(--ink); }
.cta__small {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(250, 247, 242, 0.55);
}
.cta__link { color: var(--gold-soft); border-bottom: 1px solid rgba(214, 183, 114, 0.4); padding-bottom: 1px; }
.cta__link:hover { color: #fff; border-color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.7);
  padding: 60px 0 24px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__small { font-size: 13px; margin: 0; color: rgba(250, 247, 242, 0.45); }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a { color: rgba(250, 247, 242, 0.7); font-size: 14px; }
.footer__cols a:hover { color: var(--bg); }
.footer__head { color: rgba(250, 247, 242, 0.45); margin-bottom: 6px; }
.footer__bottom { padding-top: 22px; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.page-hero__title em { font-style: italic; color: var(--blue); font-weight: 400; }
.page-hero__sub {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
  max-width: 620px;
  margin: 0;
}

/* ============================================================
   Service detail (services page)
   ============================================================ */
.service-detail { padding: var(--section-y) 0; }
.sd {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.sd:first-child { border-top: 0; padding-top: 0; }
.sd__num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  color: var(--blue);
  margin: 0;
}
.sd__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 38px);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.sd__lede {
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 640px;
}
.sd__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sd__list li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
}
.sd__list li:first-child { border-top: 0; }
.sd__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 1px;
  background: var(--blue);
}
@media (max-width: 720px) {
  .sd { grid-template-columns: 60px 1fr; gap: 20px; padding: 40px 0; }
  .sd__num { font-size: 28px; }
}

/* ============================================================
   Contact page
   ============================================================ */
.contact { padding: var(--section-y) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}
.contact__card {
  display: block;
  padding: 40px 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease;
}
.contact__card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 20px 40px -20px rgba(12, 30, 54, 0.15);
}
.contact__label { margin: 0 0 14px; }
.contact__value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.contact__hint {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}
.contact__details {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact__line { margin: 4px 0; font-size: 16px; color: var(--ink); }
.contact__line--muted { color: var(--ink-2); }
@media (max-width: 720px) { .contact__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Case study (Kanan) — premium portfolio tile
   ============================================================ */
.case {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(50, 40, 25, 0.18);
  max-width: 980px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease;
  will-change: transform;
}
.case:hover {
  transform: translateY(-6px);
  box-shadow: 0 50px 120px -30px rgba(50, 40, 25, 0.28);
}
.case__visual {
  background: #0a0a0a;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.case__visual::before {
  /* subtle film grain to match Kanan's aesthetic */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.04), transparent 60%);
  z-index: 1;
}
.case__visual-text {
  align-self: center;
  padding: clamp(36px, 5vw, 64px);
  color: #f5f3ee;
  position: relative;
  z-index: 2;
}
.case__visual-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  color: rgba(245, 243, 238, 0.55);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.case__visual-flag {
  display: inline-block;
  width: 16px; height: 16px;
  background: #d52b1e;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}
.case__visual-title {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 200;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: clamp(8px, 1.2vw, 14px);
  line-height: 1;
  margin: 0 0 26px;
  color: #f5f3ee;
}
.case__visual-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 22px);
  color: rgba(245, 243, 238, 0.75);
  margin: 0;
  max-width: 280px;
}
.case__can-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case__can {
  height: 110%;
  max-height: 540px;
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
  transform: translateY(2%);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.case:hover .case__can {
  transform: translateY(-1%) scale(1.03);
}
.case__meta {
  display: grid;
  grid-template-columns: 1fr 1fr 2.5fr auto;
  gap: 28px;
  padding: 28px clamp(28px, 4vw, 44px);
  background: #fff;
  align-items: center;
}
.case__meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 6px;
}
.case__meta-value {
  font-size: 14px;
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}
.case__meta-col--cta { text-align: right; }
.case__meta-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  white-space: nowrap;
  transition: color .25s ease, letter-spacing .3s ease;
}
.case:hover .case__meta-link {
  color: var(--ink);
  letter-spacing: 0.02em;
}
@media (max-width: 820px) {
  .case__visual { grid-template-columns: 1fr; min-height: auto; }
  .case__visual-text { padding-bottom: 12px; text-align: center; }
  .case__visual-eyebrow { justify-content: center; display: inline-flex; }
  .case__visual-tagline { margin: 0 auto; }
  .case__can-wrap { padding: 12px 0 24px; }
  .case__can { height: auto; max-height: 360px; }
  .case__meta { grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px; }
  .case__meta-col--cta { grid-column: 1 / -1; text-align: left; padding-top: 8px; border-top: 1px solid var(--line); }
}

/* ============================================================
   Subtle hover polish — services + steps
   ============================================================ */
.service {
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.service:hover {
  transform: translateX(4px);
}
.service:hover .service__num {
  color: var(--blue);
}
.service__num {
  transition: color .25s ease;
}
.step {
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.step:hover {
  transform: translateY(-3px);
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.faq {
  padding: var(--section-y) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.faq__list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq__item[open] { padding-bottom: 28px; }
.faq__q {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  line-height: 1.35;
  transition: color .2s ease;
}
.faq__q:hover { color: var(--blue); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-2);
  transition: transform .25s ease, color .2s ease;
}
.faq__item[open] .faq__q::after {
  content: "−";
  color: var(--blue);
}
.faq__a {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 720px;
  animation: faqFadeIn .35s ease;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Work section — client/concept tags + permission caption
   ============================================================ */
.work__browser-bar { position: relative; }
.work__tag {
  margin-left: auto;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.work__tag--live {
  background: var(--ink);
  color: #fff;
}
.work__tag--concept {
  background: transparent;
  color: var(--ink-3);
  border: 1px solid var(--line);
}
.work__permission {
  margin: 14px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
  font-style: italic;
}
.work__preview + .work__preview { margin-top: 56px; }

/* Work card — 4-column stats grid (Costa Motor style) */
.work__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 32px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.work__stat { text-align: left; }
.work__stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--ink);
}
.work__stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .work__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============================================================
   PREVIEW MOTION LAYER
   ============================================================ */

/* Hero — word-by-word reveal */
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero__title .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s ease;
  will-change: transform, opacity;
}
.hero__title.is-revealed .word > span { transform: translateY(0); opacity: 1; }
.hero__title .word:nth-child(1) > span { transition-delay: 0.05s; }
.hero__title .word:nth-child(2) > span { transition-delay: 0.12s; }
.hero__title .word:nth-child(3) > span { transition-delay: 0.19s; }
.hero__title .word:nth-child(4) > span { transition-delay: 0.26s; }
.hero__title .word:nth-child(5) > span { transition-delay: 0.55s; }
.hero__title .word:nth-child(6) > span { transition-delay: 0.62s; }
.hero__title .word:nth-child(7) > span { transition-delay: 0.69s; }
.hero__title .word:nth-child(8) > span { transition-delay: 0.76s; }

/* Hero sub + CTAs delay-fade */
.hero__sub, .hero__ctas {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.is-revealed .hero__sub { opacity: 1; transform: none; transition-delay: 0.95s; }
.hero.is-revealed .hero__ctas { opacity: 1; transform: none; transition-delay: 1.05s; }

/* Hero card — gentle float + live dot pulse */
.hero__card { animation: floatY 7s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__card-badge-dot { animation: pulseDot 2.1s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(106, 173, 137, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(106, 173, 137, 0); }
}

/* Capability marquee */
.ticker {
  background: var(--ink);
  color: #f5f1e7;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 22px 0;
}
.ticker__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tickerScroll 42s linear infinite;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-style: italic;
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.ticker__item { display: inline-flex; align-items: center; gap: 56px; }
.ticker__item::after {
  content: '✦';
  font-style: normal;
  color: var(--gold-soft);
  font-size: 0.7em;
  margin-left: 56px;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Magnetic buttons — subtle scale + shadow on hover */
.btn--gold, .btn--dark, .btn--ghost, .work__cta {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn--gold:hover, .btn--dark:hover, .work__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(12, 30, 54, 0.35);
}
.btn--ghost:hover { transform: translateY(-1px); }

/* Work card 3D tilt — applied via JS, CSS sets baseline */
.work__browser {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
  transform-style: preserve-3d;
  perspective: 1200px;
  will-change: transform;
}
.work__browser:hover {
  box-shadow: 0 32px 80px -28px rgba(12, 30, 54, 0.32), 0 8px 20px -8px rgba(12, 30, 54, 0.18);
}

/* Stats counter — large number scale-in on view */
.work__stat-num {
  display: inline-block;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}
.work__preview.is-stats-visible .work__stat-num { transform: none; opacity: 1; }
.work__preview.is-stats-visible .work__stat:nth-child(1) .work__stat-num { transition-delay: 0.05s; }
.work__preview.is-stats-visible .work__stat:nth-child(2) .work__stat-num { transition-delay: 0.15s; }
.work__preview.is-stats-visible .work__stat:nth-child(3) .work__stat-num { transition-delay: 0.25s; }
.work__preview.is-stats-visible .work__stat:nth-child(4) .work__stat-num { transition-delay: 0.35s; }

/* Section labels — draw the dash on enter */
.section__label, .eyebrow {
  position: relative;
}

/* Service list — staggered slide-in */
.services.is-visible .service { animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.services.is-visible .service:nth-child(1) { animation-delay: 0.05s; }
.services.is-visible .service:nth-child(2) { animation-delay: 0.13s; }
.services.is-visible .service:nth-child(3) { animation-delay: 0.21s; }
.services.is-visible .service:nth-child(4) { animation-delay: 0.29s; }
.services.is-visible .service:nth-child(5) { animation-delay: 0.37s; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.service { opacity: 0; }
.services.is-visible .service { opacity: 1; }

/* Service number — accent on hover */
.service { transition: background 0.4s ease; cursor: default; padding: 16px; border-radius: 12px; margin-left: -16px; }
.service:hover { background: rgba(255, 255, 255, 0.5); }
.service__num { transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block; }
.service:hover .service__num { color: var(--gold); transform: translateX(4px); }

/* Process steps — number circles + connecting line */
.steps { position: relative; }
.step { transition: transform 0.4s ease; }
.step:hover { transform: translateY(-4px); }

/* FAQ smooth expand */
.faq__item { transition: background 0.3s ease; border-radius: 10px; padding: 4px 12px; margin: 0 -12px; }
.faq__item[open] { background: rgba(255, 255, 255, 0.4); }
.faq__q { cursor: pointer; user-select: none; transition: color 0.25s ease; }
.faq__item:hover .faq__q { color: var(--gold); }
.faq__a { animation: faqOpen 0.35s ease both; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Big CTA — gradient sweep on hover */
.btn--gold.btn--lg {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.btn--gold.btn--lg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-soft) 100%);
  background-size: 200% 100%;
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.btn--gold.btn--lg:hover::before { transform: translateX(0); }

/* Reduced motion guard */
@media (prefers-reduced-motion: reduce) {
  .hero__title .word > span,
  .hero__sub, .hero__ctas,
  .hero__card, .hero__card-badge-dot,
  .ticker__track,
  .work__stat-num,
  .service,
  .btn--gold, .btn--dark, .btn--ghost, .work__cta, .work__browser,
  .btn--gold.btn--lg::before,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   COSTA MOTOR — Dark cinematic card variant
   ============================================================ */
.work__browser--dark {
  background: #0e0e0c;
  border-color: #1a1a18;
  color: #f0ece1;
  overflow: hidden;
}
.work__browser-bar--dark {
  background: #18181a;
  border-bottom: 1px solid #232320;
}
.work__url--dark { color: #8b8a82; }

/* Hero image area — dark forest gradient + Defender silhouette */
.work__hero--costa {
  position: relative;
  height: 320px;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(201, 168, 119, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #0a0e08 0%, #16201a 45%, #0a0a08 100%);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
/* Forest hint — repeating vertical strokes that suggest trees */
.work__hero--costa::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.025) 1px, transparent 2px),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.015) 1px, transparent 2px);
  background-size: 73px 100%, 41px 100%;
  background-position: 0 0, 23px 0;
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}
.work__hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.work__hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(24px, 4vw, 40px) clamp(28px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.work__hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #f0ece1;
  margin: 0;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.work__hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d97e3b;
  display: inline-block;
}
.work__hero-handle {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #c9a877;
  margin: 0;
  text-transform: uppercase;
}
.work__hero-defender {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(220px, 38%, 360px);
  height: auto;
  z-index: 1;
  opacity: 0.92;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
  animation: defenderDrive 9s ease-in-out infinite;
}
@keyframes defenderDrive {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

/* Dark content area */
.work__browser-content--dark {
  background: #0e0e0c;
  padding: clamp(40px, 6vw, 72px);
  color: #f0ece1;
}
.work__title--dark {
  color: #f0ece1;
  font-family: 'Cormorant Garamond', serif;
}
.work__title--dark em {
  color: #c9a877;
  font-style: italic;
}
.work__lede--dark {
  color: #b4b0a4;
  font-size: 17px;
  line-height: 1.6;
}

/* Dark stats — gold numerals, cream labels */
.work__stats--dark {
  border-top-color: #2a2a25;
}
.work__stat-num--dark {
  color: #c9a877;
  font-family: 'Cormorant Garamond', serif;
}
.work__stat-label--dark {
  color: #8b8a82;
}

/* Dark CTA — gold border outline, hover fills */
.work__cta--dark {
  background: transparent;
  color: #c9a877;
  border: 1px solid #c9a877;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  margin-top: 32px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.work__cta--dark:hover {
  background: #c9a877;
  color: #0e0e0c;
  transform: translateY(-2px);
}

/* Tag colors on dark bar */
.work__browser-bar--dark .work__tag--live {
  background: #c9a877;
  color: #0e0e0c;
}

/* Reduced motion guard for new elements */
@media (prefers-reduced-motion: reduce) {
  .work__hero-defender { animation: none !important; }
}

/* Mobile — collapse stats to 2 cols already handled; tighten hero height */
@media (max-width: 720px) {
  .work__hero--costa { height: 220px; }
  .work__hero-defender { width: 55%; bottom: 28px; }
}

/* Real Costa Motor video + logo */
.work__hero--costa { height: clamp(360px, 50vw, 520px); }
.work__hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.work__hero--costa .work__hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.work__hero--costa::before { display: none; } /* kill the fake tree-line texture */
.work__hero--costa .work__hero-content { z-index: 2; }
.work__hero-logo {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(64px, 8vw, 88px);
  height: auto;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.8));
  border-radius: 50%;
}
@media (max-width: 720px) {
  .work__hero--costa { height: 280px; }
  .work__hero-logo { width: 56px; bottom: 20px; }
}
