/* ============================================================
   VND GLOBAL STYLESHEET
   Very Nice Design · verynice.design
   ============================================================
   01. Custom Properties (Design Tokens)
   02. Reset & Base
   03. Accessibility (Skip link, Focus)
   04. Scrollbar
   05. Typography
   06. Navigation
   07. Buttons
   08. Eyebrow Component
   09. Footer (incl. Kaj animation + thought bubble)
   10. Availability Pill
   11. Custom Cursor
   12. Reveal Animation
   13. Hero Animation
   14. Responsive — Tablet (max-width: 1023px)
   15. Responsive — Mobile (max-width: 767px)
   16. Reduced Motion
   ============================================================ */


/* ------------------------------------------------------------
   00. Font Display Override (Adobe Fonts / Typekit)
   ------------------------------------------------------------ */
@font-face {
  font-family: 'cofo-raffine';
  font-display: swap;
}
@font-face {
  font-family: 'Syne';
  font-display: swap;
}


/* ------------------------------------------------------------
   01. Custom Properties (Design Tokens)
   ------------------------------------------------------------ */
:root {
  --ink:    #1B1B1B;
  --ink-80: #494949;
  --ink-60: #767676;
  --ink-40: #A4A4A4;
  --ink-20: #D1D1D1;
  --ink-10: #EBEBEB;
  --cream:  #F7F5F3;
  --lime:   #EEF4A9;
  --chartreuse: #EEF4A9;
  --shadow-soft: 0 10px 24px rgba(27, 27, 27, 0.10);
  --shadow-hover: 0 6px 14px rgba(27, 27, 27, 0.08);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-x: max(48px, calc((100vw - 1280px) / 2));
  --serif: 'cofo-raffine', Georgia, serif;
  --nav-height: 88px;
}


/* ------------------------------------------------------------
   02. Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
em { font-style: normal; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

html,
a, button, [role="button"], input[type="submit"], summary,
img, svg, label, select, textarea, input {
  cursor: none;
}


/* ------------------------------------------------------------
   03. Accessibility (Skip link, Focus)
   ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--ink);
  color: var(--lime);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}


/* ------------------------------------------------------------
   04. Scrollbar
   ------------------------------------------------------------ */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--ink-40); }


/* ------------------------------------------------------------
   05. Typography
   ------------------------------------------------------------ */
.t-display {
  font-family: 'cofo-raffine', serif;
  font-weight: 500;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-headline {
  font-family: 'cofo-raffine', serif;
  font-weight: 500;
  font-size: 96px;
  line-height: 86.4px;
  letter-spacing: 0;
}
.t-h2 {
  font-family: 'cofo-raffine', serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  letter-spacing: 0;
}
h2 {
  font-family: 'cofo-raffine', serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 64px;
  letter-spacing: 0;
}
.t-h3 {
  font-family: 'cofo-raffine', serif;
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.15;
}
.t-lead {
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  max-width: 640px;
}
.section-body {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
}
.t-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ------------------------------------------------------------
   06. Navigation
   ------------------------------------------------------------ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(64px, calc((100vw - 1280px) / 2));
  transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              backdrop-filter 0.5s ease;
}
#nav.scrolled {
  background: rgba(27, 27, 27, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(247,245,243,0.06);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-60);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
#nav.scrolled .nav-links a { color: rgba(247,245,243,0.5); }
#nav.scrolled .nav-links a:hover { color: var(--cream); }
#nav.scrolled .nav-links a.active { color: var(--cream); }
.nav-logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  width: 165px;
  min-width: 165px;
  margin-right: 28px;
  padding-top: 32px;
  text-decoration: none;
}
.nav-logo-lockup { display: block; width: 165px; min-width: 165px; height: auto; }
.nav-logo-icon { display: none; width: 88px; min-width: 88px; height: auto; }
#nav.scrolled .nav-logo-lockup { display: none; }
#nav.scrolled .nav-logo-icon { display: block; }


/* ------------------------------------------------------------
   07. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: none;
  border: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97) !important; }
.btn-sm  { padding: 10px 20px; font-size: 12px; }
.btn-md  { padding: 13px 24px; }
.btn-lg  { padding: 16px 32px; font-size: 14px; }

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}
.btn-ink:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(27,27,27,0.3);
}
.btn-ink:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
#nav.scrolled .btn-ink {
  background: var(--cream);
  color: var(--ink);
}
#nav.scrolled .btn-ink:hover {
  box-shadow: 0 10px 32px rgba(247,245,243,0.2);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}
.btn-lime:hover {
  background: #e0eb7a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(238,244,169,0.35);
}
.btn-lime:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn-ghost-ink {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(27,27,27,0.25);
}
.btn-ghost-ink:hover {
  border-color: var(--ink);
  background: rgba(27,27,27,0.04);
  transform: translateY(-2px);
}
.btn-ghost-ink:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Btn Morph (nav CTA) */
.btn-morph {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  height: 52px;
  border-radius: 100px;
  border: 0.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: none;
  overflow: visible;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}
.btn-morph:hover {
  transform: rotate(-2deg) translateY(-2px);
  box-shadow: 5px 6px 0 0 var(--ink);
}
.btn-morph:active {
  transform: rotate(-4deg) scale(0.97);
}
.btn-morph:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.btn-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--lime);
  border: 0.5px solid var(--ink);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.52s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-dot-1 { width: 13px; height: 13px; top: 50%;    left: 0;    transform: translate(0, -50%); }
.btn-dot-2 { width: 10px; height: 10px; top: 0;      left: 18%;  transform: translate(0, 0); }
.btn-dot-3 { width: 14px; height: 14px; top: 0;      left: 50%;  transform: translate(-50%, 0); }
.btn-dot-4 { width: 10px; height: 10px; top: 0;      right: 18%; transform: translate(0, 0); }
.btn-dot-5 { width: 13px; height: 13px; top: 50%;    right: 0;   transform: translate(0, -50%); }
.btn-dot-6 { width: 18px; height: 18px; bottom: 0;   right: 12%; transform: translate(0, 0); }
.btn-dot-7 { width: 10px; height: 10px; bottom: 0;   left: 28%;  transform: translate(0, 0); }
.btn-dot-8 { width: 11px; height: 11px; bottom: 0;   left: 8%;   transform: translate(0, 0); }
.btn-morph:hover .btn-dot   { opacity: 1; }
.btn-morph:hover .btn-dot-1 { transform: translate(-18px, -50%); }
.btn-morph:hover .btn-dot-2 { transform: translate(-8px, -16px); }
.btn-morph:hover .btn-dot-3 { transform: translate(-50%, -17px); }
.btn-morph:hover .btn-dot-4 { transform: translate(8px, -14px); }
.btn-morph:hover .btn-dot-5 { transform: translate(18px, -50%); }
.btn-morph:hover .btn-dot-6 { transform: translate(10px, 18px); }
.btn-morph:hover .btn-dot-7 { transform: translate(-6px, 16px); }
.btn-morph:hover .btn-dot-8 { transform: translate(-12px, 14px); }
.btn-morph-sm {
  height: 40px;
  padding: 0 22px;
  font-size: 12px;
}
.btn-morph.btn-morph-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.btn-morph.btn-morph-ink:hover {
  box-shadow: 5px 6px 0 0 #C5CA7A;
}
#nav.scrolled .btn-morph.btn-morph-ink {
  background: var(--cream);
  border-color: var(--ink);
  color: var(--ink);
}
#nav.scrolled .btn-morph.btn-morph-ink:hover {
  box-shadow: 5px 6px 0 0 #C5CA7A;
}
#nav.scrolled .btn-morph:not(.btn-morph-ink) {
  border-color: var(--cream);
  color: var(--cream);
}
#nav.scrolled .btn-morph:not(.btn-morph-ink):hover {
  box-shadow: 5px 6px 0 0 var(--cream);
}


/* ------------------------------------------------------------
   08. Eyebrow Component
   ------------------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow + .t-h2,
.eyebrow + h2 {
  margin-top: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   09. Footer (incl. Kaj animation + thought bubble)
   ------------------------------------------------------------ */
footer {
  background: #0F0F0F;
  padding: 72px max(64px, calc((100vw - 1280px) / 2)) 44px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247,245,243,0.07);
  margin-bottom: 36px;
  position: relative;
}
.footer-logo { max-width: 100px; height: auto; margin-bottom: 18px; }
.footer-tagline {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-60);
  max-width: 220px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(247,245,243,0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--cream); }
.footer-kaj-wrap {
  position: absolute;
  right: 0;
  bottom: -16px;
  cursor: none;
}
.footer-kaj-wrap img,
.footer-kaj-wrap .kaj-animated {
  height: 140px;
  display: block;
}
.footer-kaj-wrap .kaj-animated .kaj-svg {
  height: 100%;
  width: auto;
  display: block;
}

/* Kaj tail wag */
@keyframes kaj-tail-wag {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  75% { transform: rotate(-5deg); }
}
#kaj-tail-wag {
  transform-origin: 555px 525px;
  animation: kaj-tail-wag 0.6s ease-in-out infinite paused;
}
#kaj-tail-wag.wagging {
  animation-play-state: running;
}

/* Kaj thought bubble */
.kaj-thought {
  position: absolute;
  bottom: 100%;
  right: 20px;
  margin-bottom: 12px;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.kaj-thought::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 10px;
  height: 10px;
  background: var(--cream);
  border-radius: 50%;
}
.kaj-thought::before {
  content: '';
  position: absolute;
  bottom: -14px;
  right: 28px;
  width: 6px;
  height: 6px;
  background: var(--cream);
  border-radius: 50%;
}
.footer-kaj-wrap:hover .kaj-thought {
  opacity: 1;
  transform: translateY(0);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 12px;
  color: rgba(247,245,243,0.25);
  letter-spacing: 0.02em;
}
.footer-copy a { color: var(--lime); text-decoration: none; opacity: 0.7; }
.footer-copy a:hover { opacity: 1; }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247,245,243,0.25);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--cream); }


/* ------------------------------------------------------------
   10. Availability Pill
   ------------------------------------------------------------ */
.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.avail-dot-green { background: #2d8a4e; }
.avail-divider {
  width: 1px;
  height: 14px;
  background: rgba(247,245,243,0.12);
}


/* ------------------------------------------------------------
   11. Custom Cursor
   ------------------------------------------------------------ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
  transition: width 200ms var(--ease-smooth), height 200ms var(--ease-smooth);
}
.cursor-dot.is-dark {
  background: var(--chartreuse);
}
.cursor-dot.is-hover {
  width: 16px;
  height: 16px;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1.25px solid var(--ink);
  background: transparent;
  opacity: 0.9;
  transition:
    width 220ms var(--ease-smooth),
    height 220ms var(--ease-smooth),
    opacity 220ms var(--ease-smooth);
}
.cursor-ring.is-dark {
  border-color: var(--chartreuse);
}

/* Override Tailwind preflight cursor: pointer on buttons/links */
a, button, [role="button"] {
  cursor: none !important;
}


/* ------------------------------------------------------------
   12. Reveal Animation
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }


/* ------------------------------------------------------------
   13. Hero Animation
   ------------------------------------------------------------ */
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
.ha-1 { animation-delay: 0.15s; }
.ha-2 { animation-delay: 0.3s; }
.ha-3 { animation-delay: 0.45s; }
.ha-4 { animation-delay: 0.6s; }
.ha-5 { animation-delay: 0.75s; }


/* ------------------------------------------------------------
   09b. Mobile Menu (Hamburger + Overlay)
   ------------------------------------------------------------ */
.nav-hamburger {
  display: none;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 9px 4px;
  flex-direction: column;
  justify-content: space-between;
  cursor: none;
  z-index: 201;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Scrolled state: hamburger lines turn cream */
#nav.scrolled .nav-hamburger span {
  background: var(--cream);
}

/* Data-dark nav (case studies) - hamburger lines are cream */
#nav[data-dark] .nav-hamburger span {
  background: var(--cream);
}

/* Exception: when menu is open, lines should still be ink (on lime bg) */
#nav[data-dark] .nav-hamburger.active span {
  background: var(--ink);
}

/* X state when menu is open */
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* When menu is open, hamburger lines should be ink (on lime bg) */
.nav-hamburger.active span {
  background: var(--ink);
}

/* When menu is open: transparent nav bg, ink-colored elements */
body.menu-open #nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

body.menu-open #nav .nav-hamburger span {
  background: var(--ink);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--lime);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 160px 16px;
  gap: 32px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-links a {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink-60);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
  color: var(--ink);
}

.mobile-menu-cta {
  width: 100%;
  max-width: 358px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-transform: uppercase;
  letter-spacing: 0;
}


/* ------------------------------------------------------------
   09c. CTA Section (shared across pages)
   ------------------------------------------------------------ */
.cta-bg {
  background: url('../brand_assets/Background_3.jpg') center/cover no-repeat;
  background-color: var(--cream);
  color: var(--ink);
  text-align: center;
  padding: 128px var(--page-x);
}

.cta-bg-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-bg .eyebrow {
  justify-content: center;
  color: var(--ink-60);
  margin-bottom: 8px;
}

.cta-headline {
  font-family: 'cofo-raffine', serif;
  font-size: 120px;
  font-weight: 500;
  line-height: 108px;
  letter-spacing: 0;
  color: var(--ink);
  max-width: 1100px;
  margin-bottom: 16px;
}

.cta-headline em {
  font-style: normal;
}

.cta-sub {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-60);
  max-width: 500px;
  margin-bottom: 24px;
}

.cta-bg .btn-morph {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--ink);
}

.cta-bg .btn-dot {
  background: var(--lime);
}

.cta-actions-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ------------------------------------------------------------
   14. Responsive — Tablet (max-width: 1023px)
   ------------------------------------------------------------ */
@media (max-width: 1023px) {
  /* Nav */
  #nav {
    padding: 0 24px;
  }
  .nav-links { display: none; }

  /* Hide "Let's Talk" nav button on tablet/mobile */
  #nav > .btn-morph {
    display: none;
  }

  /* Cursor: hide on touch devices */
  .cursor-dot,
  .cursor-ring { display: none; }
  body,
  a, button, [role="button"], input[type="submit"], summary,
  img, svg, label, select, textarea, input {
    cursor: auto;
  }

  /* Typography */
  h2 {
    font-size: 40px;
    line-height: 48px;
  }

  /* Footer */
  footer {
    padding: 56px 24px 36px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  /* CTA */
  .cta-bg {
    padding: 80px 24px;
  }
  .cta-headline {
    font-size: clamp(48px, 8vw, 120px);
    line-height: 1.0;
  }
}


/* ------------------------------------------------------------
   15. Responsive — Mobile (max-width: 767px)
   ------------------------------------------------------------ */
@media (max-width: 767px) {

  /* ── Nav — start state ─────────────────────── */
  #nav {
    height: 76px;
    padding: 16px 24px 8px;
    justify-content: center;
  }

  .nav-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    width: auto;
    min-width: auto;
    margin-right: 0;
    align-self: center;
  }

  /* Show lockup (scaled down), hide icon on start */
  .nav-logo-lockup {
    display: block;
    width: 150px;
    min-width: 150px;
    height: auto;
  }
  .nav-logo-icon {
    display: none;
  }

  /* Nav scrolled: switch to iconmark only */
  #nav.scrolled {
    padding: 0 24px;
    align-items: center;
  }
  #nav.scrolled .nav-logo-lockup {
    display: none;
  }
  #nav.scrolled .nav-logo {
    align-items: center;
    align-self: center;
    padding-top: 0;
    height: auto;
  }
  #nav.scrolled .nav-logo-icon {
    display: block;
    width: 78px;
    min-width: 78px;
  }

  /* Menu open: ink elements on lime */
  body.menu-open #nav .nav-hamburger span {
    background: var(--ink);
  }

  /* Menu open while scrolled: keep iconmark visible, make it ink */
  body.menu-open #nav.scrolled .nav-logo-icon {
    filter: brightness(0);
  }

  /* ── Typography ────────────────────────────── */
  h2 {
    font-size: 32px;
    line-height: 40px;
  }

  /* ── Eyebrow ───────────────────────────────── */
  .eyebrow {
    font-size: 10px;
    line-height: 16px;
    gap: 8px;
  }
  .eyebrow::before {
    width: 16px;
  }
  .eyebrow + h2 {
    margin-top: 8px;
  }

  /* ── Footer — centered stacked layout ──────── */
  footer {
    padding: 96px 24px 32px;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
  }

  /* Logo + tagline: center */
  .footer-top > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    max-width: 78px;
    margin-bottom: 16px;
  }

  .footer-tagline {
    text-align: center;
    max-width: 100%;
    font-size: 14px;
    line-height: 22px;
  }

  /* Column headers — match Figma: Syne SemiBold 16px/24px */
  .footer-col h5 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    margin-bottom: 24px;
  }

  /* Column links — match Figma: Syne Medium 18px/26px */
  .footer-col ul {
    align-items: center;
  }

  .footer-col a {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
  }

  /* Work column links: 24px gap */
  .footer-col:first-of-type ul {
    gap: 24px;
  }

  /* Studio + Connect columns: 16px gap */
  .footer-col:nth-of-type(2) ul,
  .footer-col:nth-of-type(3) ul {
    gap: 16px;
  }

  /* Kaj: show, right-aligned above copyright */
  .footer-kaj-wrap {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    text-align: right;
    width: 100%;
  }

  .footer-kaj-wrap .kaj-animated {
    display: inline-block;
    margin-left: auto;
  }

  .footer-kaj-wrap img,
  .footer-kaj-wrap .kaj-animated {
    height: 138px;
  }

  .kaj-thought {
    display: block;
  }

  /* Footer bottom: stacked, centered */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(247,245,243,0.07);
  }

  .footer-copy {
    text-align: center;
  }

  .footer-social {
    gap: 32px;
  }

  .footer-social a {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
  }

  /* CTA */
  .cta-bg {
    padding: 48px 24px;
  }
  .cta-bg .eyebrow::before {
    display: none;
  }
  .cta-headline {
    font-size: 40px;
    line-height: 48px;
  }
  .cta-sub {
    font-size: 14px;
    line-height: 22px;
  }
  .cta-actions-row {
    width: auto;
  }
  .cta-actions-row .btn-morph {
    width: auto;
    padding: 16px 24px;
    font-size: 14px;
    line-height: 22px;
  }

  /* ── Buttons ───────────────────────────────── */
  .btn-morph {
    font-size: 14px;
    line-height: 22px;
    width: auto;
    height: auto;
    padding: 16px 24px;
  }

  /* Show hamburger on mobile */
  .nav-hamburger {
    display: flex;
  }

  /* Show mobile menu (starts off-screen, slides in when .open) */
  .mobile-menu {
    display: block;
  }

  /* When menu is open, nav should be on top with transparent bg */
  .mobile-menu.open ~ #nav,
  body.menu-open #nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
  }

  footer {
    scroll-snap-align: start;
  }

  /* Menu open from a data-dark nav (case studies): flip logo and CTA to ink */
  body.menu-open #nav[data-dark] .nav-logo-lockup {
    filter: brightness(0);
  }

  body.menu-open .mobile-menu-cta.btn-morph-ink {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
  }
}


/* ------------------------------------------------------------
   16. Reduced Motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
