@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ------------------------------------------------------------------
   ATT Agency, design system v2
   Layout DNA:  BASIC/DEPT editorial grids, oversized numbered sections
   Polish:      Ramotion typographic confidence
   Distinctly NOT econ.mom (no cream/lavender, no italic marquee)
   ------------------------------------------------------------------ */

:root {
  --paper: #fafaf7;
  --ink: #08080a;
  --ink-2: #131316;
  --ink-soft: #2a2a2e;
  --muted: #58585f;
  --muted-2: #909097;
  --line: rgba(8, 8, 10, 0.12);
  --line-strong: rgba(8, 8, 10, 0.85);
  --line-soft: rgba(8, 8, 10, 0.06);
  --line-dark: rgba(250, 250, 247, 0.14);

  --accent: #7C3AED;
  --accent-hot: #8B5CF6;
  --accent-deep: #5B21B6;

  --tile-1: #f1ede4;
  --tile-2: #d9d4c5;

  --max: 1480px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

/* Visually hidden for SEO copy that should be read by screen readers and search engines */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }

a, button, input, textarea, select {
  transition:
    color 220ms var(--ease),
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    opacity 220ms var(--ease),
    transform 280ms var(--ease),
    box-shadow 280ms var(--ease);
}

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

img, svg { display: block; max-width: 100%; }

.container,
.nav-inner {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ==================================================================
   HEADER
   ================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color 280ms var(--ease), border-color 280ms var(--ease);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom-color: var(--line);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--ink);
}

.brand .sq {
  display: inline-block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.7em;
  margin-left: 1px;
  color: var(--accent);
  transform: translateY(-0.35em);
}

.brand:hover .sq { color: var(--accent-deep); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.02);
}

.nav-center a {
  position: relative;
  isolation: isolate;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
}

.nav-center a::before {
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  transform: translateX(-115%) scaleX(0.68);
  transform-origin: left center;
  transition:
    transform 360ms var(--ease-out),
    opacity 260ms var(--ease);
  opacity: 0;
  content: "";
}

.nav-center a:hover,
.nav-center a:focus-visible {
  color: var(--ink);
}

.nav-center a:focus-visible::before {
  transform: translateX(0) scaleX(1);
  opacity: 1;
}

.nav-center a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-center a[aria-current="page"]::before {
  background: linear-gradient(110deg, transparent 0 18%, rgba(255, 255, 255, 0.2) 36%, transparent 54% 100%);
  transform: translateX(-115%);
  opacity: 1;
  animation: nav-current-sheen 3.2s var(--ease-out) infinite;
}

.nav-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

.nav-cta::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 20%, var(--accent) 45%, transparent 70% 100%);
  transform: translateX(-120%);
  transition: transform 460ms var(--ease-out);
  content: "";
}

.nav-cta .arrow {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  transition: transform 280ms var(--ease);
}

.nav-cta:hover { background: var(--ink); }
.nav-cta:focus-visible::before {
  transform: translateX(120%);
}
.nav-cta:hover .arrow { transform: rotate(-45deg); }

.nav-toggle {
  position: relative;
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
}

.nav-toggle::before {
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  transform: scale(0.65);
  transition:
    transform 260ms var(--ease-out),
    opacity 220ms var(--ease);
  opacity: 0;
  content: "";
}

.nav-toggle:hover::before,
.nav-toggle:focus-visible::before {
  transform: scale(1);
  opacity: 1;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 16px; height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 260ms var(--ease);
}

.site-header.is-open .nav-toggle span:first-child { transform: translateY(2.75px) rotate(45deg); }
.site-header.is-open .nav-toggle span:last-child  { transform: translateY(-2.75px) rotate(-45deg); }

@keyframes nav-current-sheen {
  0%, 42% { transform: translateX(-115%); }
  72%, 100% { transform: translateX(115%); }
}

/* ==================================================================
   TYPOGRAPHY
   ================================================================== */

h1, h2, h3, h4, .display {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--ink);
}

h1 {
  font-size: clamp(3.6rem, 11vw, 11rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.035em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

h2 {
  font-size: clamp(2.4rem, 6.4vw, 6.2rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.028em;
}

h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

h3 {
  font-size: clamp(1.45rem, 1.85vw, 1.9rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.012em;
}

h4 {
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.62;
  font-weight: 400;
}

.lead {
  max-width: 58ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.08vw, 1.14rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.large-copy {
  max-width: 22ch;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 3.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.large-copy em { font-style: italic; color: var(--accent); font-weight: 400; }
.large-copy strong { font-weight: 600; color: var(--ink); font-style: normal; }

/* Section index numbers, BASIC/DEPT signature */
.section-num {
  display: inline-block;
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-num::before {
  display: inline-block;
  margin-right: 10px;
  content: "●";
  color: var(--accent);
  font-size: 0.9em;
  vertical-align: 1px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(8, 8, 10, 0.02);
}

/* ==================================================================
   BUTTONS
   ================================================================== */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 10px 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 0;
  cursor: pointer;
  overflow: hidden;
}

.button .label { position: relative; z-index: 1; }

.button .arrow {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  transition: transform 320ms var(--ease);
}

.button::before {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 380ms var(--ease-out);
  content: "";
}

.button:hover { transform: translateY(-2px); }
.button:hover::before { transform: translateY(0); }
.button:hover .arrow { background: #fff; color: var(--accent); transform: rotate(-45deg); }

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.button.secondary .arrow { background: var(--ink); color: var(--paper); }
.button.secondary:hover { color: #fff; border-color: var(--accent); }
.button.secondary:hover .arrow { background: #fff; color: var(--accent); }

.button.ghost {
  background: transparent;
  color: var(--ink);
  height: auto;
  padding: 0;
}
.button.ghost::before { content: none; }
.button.ghost .arrow {
  width: 36px; height: 36px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.button.ghost:hover { color: var(--accent); transform: none; }
.button.ghost:hover .arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(-45deg);
}

/* ==================================================================
   SECTIONS / LAYOUT
   ================================================================== */

.page { overflow: hidden; }

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.tight { padding: clamp(52px, 6vw, 88px) 0; }

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  margin-bottom: clamp(24px, 3.4vw, 44px);
  border-top: 1px solid var(--line-strong);
}

.section-bar.dark { border-top-color: rgba(250,250,247,0.32); }

.section-bar h4 {
  color: inherit;
}

.section-headline {
  margin-bottom: clamp(32px, 4.5vw, 64px);
  max-width: 26ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

/* ==================================================================
   HERO, oversized takeover
   ================================================================== */

.hero {
  position: relative;
  padding: clamp(48px, 7vh, 88px) 0 clamp(52px, 8vh, 96px);
}

.home-hero {
  display: flex;
  align-items: flex-start;
  min-height: calc(100svh - 78px);
  padding: clamp(56px, 7vh, 92px) 0 clamp(36px, 6vh, 64px);
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: clamp(48px, 8vh, 96px);
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow-bar .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-eyebrow-bar .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.05); }
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(3.2rem, 10.5vw, 10.8rem);
}

.home-hero h1 {
  max-width: 13.5ch;
  font-size: clamp(3.7rem, 11vw, 10.8rem);
  line-height: 0.93;
}

.hero .first-line { display: block; }
.hero .second-line {
  display: block;
  margin-left: clamp(48px, 18vw, 280px);
}
.hero .third-line {
  display: block;
}

.home-hero .second-line {
  margin-left: clamp(104px, 22vw, 360px);
}

.home-hero h1 em {
  color: var(--accent);
}

.hero-intro {
  padding: clamp(24px, 3.5vw, 44px) 0 clamp(56px, 7vw, 96px);
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-top: clamp(36px, 6vh, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-intro .hero-foot {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.hero-foot .lead { margin-top: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-self: end;
}

/* ==================================================================
   MARQUEE
   ================================================================== */

.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.marquee.dark {
  background: var(--ink);
  border-color: var(--line-dark);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  margin-right: 40px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 3rem);
  letter-spacing: -0.022em;
  white-space: nowrap;
}

.marquee.dark .marquee-item { color: var(--paper); }

.marquee-item::after {
  content: "✺";
  font-style: normal;
  font-size: 0.55em;
  color: var(--accent);
  font-weight: 400;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ==================================================================
   WORK / CASE TILES, gradient mesh, oversized numbers
   ================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(22px, 2.4vw, 40px) clamp(18px, 2vw, 28px);
}

.case-card {
  display: block;
  position: relative;
}

.case-card.span-7 { grid-column: span 7; }
.case-card.span-5 { grid-column: span 5; }
.case-card.span-12 { grid-column: span 12; }
.case-card.span-6 { grid-column: span 6; }

.case-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  isolation: isolate;
  transition: transform 600ms var(--ease-out);
}

.case-card.span-12 .case-visual { aspect-ratio: 2.7 / 1; }
.case-card.span-7 .case-visual { aspect-ratio: 1.55 / 1; }
.case-card.span-5 .case-visual { aspect-ratio: 1 / 1.05; }
.case-card.span-6 .shot-frame { aspect-ratio: 4 / 3; }

.case-card:hover .case-visual { transform: scale(1.008); }

.case-visual .case-num {
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
}

.case-visual .case-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3.5vw, 3.8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 16ch;
}

.case-visual .case-title em { font-style: italic; color: rgba(255,255,255,0.7); }

.case-visual .tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.05);
}

/* gradient mesh variants */
.case-visual.mesh-ember {
  background:
    radial-gradient(ellipse 90% 60% at 14% 18%, #C4B5FD 0%, transparent 55%),
    radial-gradient(ellipse 80% 80% at 86% 14%, var(--accent) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 60% 100%, #2E1065 0%, transparent 55%),
    #180B2F;
}
.case-visual.mesh-graphite {
  background:
    radial-gradient(ellipse 70% 90% at 80% 20%, #56565d 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 80%, #181a20 0%, transparent 60%),
    #0c0c10;
}
.case-visual.mesh-bone {
  background:
    radial-gradient(ellipse 80% 80% at 80% 20%, #ffe9d4 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 14% 90%, #e7ddcb 0%, transparent 60%),
    #f4ecdb;
}
.case-visual.mesh-bone .case-title { color: var(--ink); max-width: 16ch; }
.case-visual.mesh-bone .case-title em { color: var(--accent-deep); }
.case-visual.mesh-bone .case-num { color: var(--ink-soft); }
.case-visual.mesh-bone .tag { color: var(--ink); border-color: var(--ink-soft); background: rgba(255,255,255,0.4); }

.case-visual.mesh-rust {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, #A78BFA 0%, transparent 60%),
    radial-gradient(ellipse 60% 90% at 100% 100%, #4C1D95 0%, transparent 60%),
    var(--accent-deep);
}

.case-visual.mesh-blueprint {
  background:
    radial-gradient(ellipse 80% 80% at 30% 0%, #314359 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 100% 100%, var(--accent) 0%, transparent 55%),
    #0d1620;
}

/* grain texture overlay on tiles */
.case-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  content: "";
}

.case-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  flex: 1;
  margin-top: 16px;
}

.case-card.span-6 .case-foot {
  min-height: 128px;
}

.case-foot h3 {
  font-family: Inter, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 38ch;
}

.case-foot .case-tags {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.case-arrow {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 1rem;
  transition: transform 280ms var(--ease), background-color 280ms var(--ease), color 280ms var(--ease);
}

.case-card:hover .case-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(-45deg);
}

/* ==================================================================
   SCREENSHOT / VIDEO TILES, for real-site previews
   ================================================================== */

.shot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.shot-frame {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--ink);
  isolation: isolate;
}

.case-card.span-12 .shot-frame { aspect-ratio: 21 / 9; }
.case-card.span-7 .shot-frame  { aspect-ratio: 16 / 11; }
.case-card.span-5 .shot-frame  { aspect-ratio: 5 / 6; }
.case-card.span-6 .shot-frame  { aspect-ratio: 16 / 11; }

.shot-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 800ms var(--ease-out);
}

.shot-card:hover .shot-frame img { transform: scale(1.04); }

.shot-frame img[src*="ryduzz"] { object-position: top left; }

.shot-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,10,0) 55%, rgba(8,8,10,0.55) 100%);
  content: "";
  opacity: 0;
  transition: opacity 360ms var(--ease);
}

.shot-card:hover .shot-frame::after { opacity: 1; }

.shot-frame .tag {
  position: absolute;
  top: 18px; left: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8,8,10,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

.shot-frame .num {
  position: absolute;
  top: 18px; right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  z-index: 2;
}

.shot-frame .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
}

.shot-frame .play .pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 16px;
  border-radius: 999px;
  background: rgba(8,8,10,0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 320ms var(--ease), background-color 320ms var(--ease);
}

.shot-frame .play .pill .icon {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
}

.shot-card:hover .shot-frame .play .pill {
  transform: scale(1.04);
}

.shot-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-foot .domain {
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.01em;
}

.case-foot .domain::after { content: " ↗"; font-size: 0.85em; }

/* ==================================================================
   FAQ ACCORDION (services page)
   ================================================================== */

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: color 220ms var(--ease);
}

.faq-item > summary::-webkit-details-marker { display: none; }

.faq-item > summary:hover { color: var(--accent-deep); }

.faq-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  transition: transform 320ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease);
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.faq-item > p {
  max-width: 70ch;
  margin: 0 0 24px;
  padding-right: 64px;
  color: var(--ink-soft);
}

.faq-item > p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}

.faq-item > p a:hover { color: var(--accent-deep); }

/* ==================================================================
   REEL BLOCK, vertical 9:16 video + copy layout (Work page lead)
   ================================================================== */

.reel-block {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(160deg, #ffffff 0%, #f4f1ec 100%);
  max-width: 980px;
  margin: 0 auto;
}

.reel-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 30px 60px rgba(8, 8, 10, 0.18);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}

.reel-trigger:hover .reel-frame {
  transform: translateY(-4px);
  box-shadow: 0 38px 72px rgba(8, 8, 10, 0.24);
}

.reel-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-frame .tag {
  position: absolute;
  top: 18px; left: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8,8,10,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

.reel-frame .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
}

.reel-frame .play .pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 16px;
  border-radius: 999px;
  background: rgba(8,8,10,0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 320ms var(--ease), background-color 320ms var(--ease);
}

.reel-frame .play .pill .icon {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
}

.reel-trigger:hover .reel-frame .play .pill {
  transform: scale(1.04);
}

.reel-meta .reel-title {
  margin-top: 22px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.reel-meta .reel-title em { font-style: italic; color: var(--accent); font-weight: 400; }

@media (max-width: 920px) {
  .reel-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .reel-frame { max-width: 220px; margin: 0 auto; }
}

/* ==================================================================
   VIDEO LIGHTBOX (work page)
   ================================================================== */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 64px);
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: lb-fade 280ms var(--ease);
}

.video-lightbox.is-open { display: flex; }

@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.video-lightbox .video-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.video-lightbox video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-close {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 220ms var(--ease), transform 220ms var(--ease);
}

.video-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

/* ==================================================================
   SERVICE PICKER, mix and match checkbox chips
   ================================================================== */

.service-picker {
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
}

.service-picker legend {
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.service-picker legend .muted {
  display: inline-block;
  margin-left: 8px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
  color: var(--muted-2);
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

label.service-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: Inter, sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  cursor: pointer;
  user-select: none;
  transition: all 200ms var(--ease);
}

.service-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.service-chip:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.service-chip:has(input:checked) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  padding-left: 36px;
}

.service-chip:has(input:checked)::before {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.service-chip:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==================================================================
   POST-SUBMIT BOOKING / PAYMENT PANEL
   ================================================================== */

.success-panel {
  display: none;
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(8, 8, 10, 0.08);
}

.success-panel.is-open {
  display: block;
  animation: success-rise 540ms var(--ease-out);
}

@keyframes success-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.success-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.success-panel .check {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
}

.success-panel .check svg {
  display: block;
}

.success-panel h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.06;
  color: var(--ink);
}

.success-panel .success-head > div > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 60ch;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(28px, 4vw, 40px);
}

.next-step {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 280ms var(--ease), transform 280ms var(--ease);
}

.next-step:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.next-step > .label {
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.next-step h4 {
  margin: 12px 0 8px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.012em;
  text-transform: none;
  color: var(--ink);
}

.next-step p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.next-step .button {
  align-self: flex-start;
  height: 48px;
  padding: 0 6px 0 18px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.next-step .button .arrow { width: 36px; height: 36px; }

.next-step .button.secondary { padding: 0 18px; }
.next-step .button.secondary .arrow { width: 32px; height: 32px; }

@media (max-width: 640px) {
  .next-steps { grid-template-columns: 1fr; }
  .success-head { grid-template-columns: 1fr; gap: 16px; }
  .success-panel .check { width: 48px; height: 48px; }
}

/* ==================================================================
   CAPABILITY ROWS
   ================================================================== */

.cap-rows {
  border-top: 1px solid var(--line-strong);
}

.cap-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.25fr) minmax(260px, 0.95fr) 48px;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 380ms var(--ease), color 380ms var(--ease);
}

.cap-row::before {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 520ms var(--ease-out);
  z-index: 0;
  content: "";
}

.cap-row > * { position: relative; z-index: 1; }

.cap-row:hover { padding-left: 18px; color: var(--paper); }
.cap-row:hover::before { transform: scaleX(1); }
.cap-row:hover .cap-num { color: var(--accent); }
.cap-row:hover .cap-desc { color: rgba(250,250,247,0.78); }
.cap-row:hover .cap-icon { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }

.cap-num {
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.cap-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2.7vw, 2.7rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: inherit;
}

.cap-title em { font-style: italic; color: var(--accent); font-weight: 400; }

.cap-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 44ch;
}

.cap-icon {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 12px; height: 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: transparent;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  font-size: 0;
  transition: transform 320ms var(--ease), background-color 320ms var(--ease), color 320ms var(--ease);
}

/* ==================================================================
   PROCESS, vertical timeline
   ================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  position: relative;
  gap: 0;
}

.process-step {
  position: relative;
  padding: 34px clamp(22px, 3vw, 36px) 34px 24px;
  border-right: 1px solid var(--line-dark);
}

.process-step:last-child { border-right: 0; }

.process-step::before {
  position: absolute;
  top: -6px;
  left: 24px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.process-step .number {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
  margin-bottom: 10px;
}

.process-step p {
  max-width: 34ch;
  color: rgba(250,250,247,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==================================================================
   DARK BAND, feature-band overhaul
   ================================================================== */

.feature-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 9vw, 132px) 0;
  position: relative;
  overflow: hidden;
}

.feature-band::before {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.34), transparent 60%);
  pointer-events: none;
  content: "";
}

.feature-band h2,
.feature-band h3,
.feature-band h4,
.feature-band .large-copy,
.feature-band .section-num { color: var(--paper); }

.feature-band h2 em,
.feature-band .large-copy em { color: var(--accent); }

.feature-band h4 { color: rgba(250,250,247,0.6); }

.feature-band p { color: rgba(250,250,247,0.72); }

.feature-band .section-bar { border-top-color: rgba(250,250,247,0.32); }

.feature-band .button {
  background: var(--paper);
  color: var(--ink);
}
.feature-band .button .arrow { background: var(--accent); color: #fff; }
.feature-band .button::before { background: var(--accent); }
.feature-band .button:hover { color: #fff; }

/* ==================================================================
   QUOTE / PHILOSOPHY
   ================================================================== */

.quote-block {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(40px, 7vw, 112px);
  padding-top: 36px;
  border-top: 1px solid var(--line-strong);
}

.quote-block blockquote {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.quote-block blockquote::before {
  display: block;
  font-style: normal;
  font-size: 0.8em;
  color: var(--accent);
  content: "❝";
  margin-bottom: 12px;
}

.quote-block cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-family: Inter, sans-serif;
  font-size: 0.84rem;
  color: var(--muted);
}

.quote-block cite strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* ==================================================================
   TEAM
   ================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.team-card {
  position: relative;
  padding: 0 0 24px;
}

.team-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  isolation: isolate;
  background: var(--ink);
  transition: transform 600ms var(--ease-out);
}

.team-card:hover .team-portrait { transform: translateY(-6px); }

.team-portrait .mono {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(3.4rem, 7.4vw, 6.4rem);
  font-weight: 500;
  line-height: 0.88;
  color: #fff;
  letter-spacing: -0.028em;
  position: relative;
  z-index: 1;
}

/* Real headshot inside the portrait frame */
.team-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
  transition: transform 700ms var(--ease-out), filter 700ms var(--ease-out);
  filter: saturate(1.02);
}

/* Per-person crop positioning since each photo has different framing */
.team-card#saras-totey .team-portrait img { object-position: center 18%; }
.team-card#ryder-thomas .team-portrait img { object-position: center 30%; }
.team-card#sunny-avula .team-portrait img { object-position: center 28%; transform: scale(1.18); }

.team-card:hover .team-portrait img {
  transform: scale(1.05);
  filter: saturate(1.1);
}
.team-card#sunny-avula:hover .team-portrait img {
  transform: scale(1.24);
}

/* When a real photo is in place, hide the placeholder initials and adjust pin */
.team-portrait.has-photo .mono { display: none; }
.team-portrait.has-photo { padding: 22px; }
.team-portrait.has-photo .role-pin {
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.team-portrait .role-pin {
  position: absolute;
  top: 22px; right: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 1;
}

.team-portrait::after {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  content: "";
}

.team-card.tone-bone .team-portrait {
  background:
    radial-gradient(ellipse 90% 80% at 30% 20%, #ffe6c4 0%, transparent 55%),
    radial-gradient(ellipse 80% 80% at 80% 100%, #b8a883 0%, transparent 55%),
    #e0d2b0;
}
.team-card.tone-bone .team-portrait .mono { color: var(--ink); }
.team-card.tone-bone .team-portrait .role-pin { color: var(--ink); border-color: rgba(8,8,10,0.3); }

.team-card.tone-stone .team-portrait {
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, #46464e 0%, transparent 55%),
    #0c0c10;
}

.team-card.tone-ember .team-portrait {
  background:
    radial-gradient(ellipse 90% 70% at 20% 0%, #C4B5FD 0%, transparent 50%),
    radial-gradient(ellipse 80% 90% at 100% 100%, #4C1D95 0%, transparent 60%),
    var(--accent);
}

.team-card h3 { margin-top: 22px; font-size: clamp(1.5rem, 2vw, 1.9rem); }

.team-card .role {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-family: Inter, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-card p { margin-top: 14px; font-size: 0.94rem; max-width: 38ch; }

/* ==================================================================
   SERVICE DETAIL PAGES
   ================================================================== */

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-list li, .pill {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.service-list li:hover, .pill:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

/* ==================================================================
   PAGE HERO (interior)
   ================================================================== */

.page-hero {
  padding: clamp(52px, 7vw, 104px) 0 clamp(44px, 5.5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 6.8vw, 7.2rem);
}

.page-hero .lead { margin-top: 24px; }

/* ==================================================================
   CONTACT
   ================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
}

.contact-card {
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-top: 6px; }
.contact-card p { margin-top: 14px; }
.contact-card .service-list { margin-top: 24px; }

.contact-form { display: grid; gap: 28px; }

.field { display: grid; gap: 10px; }

label {
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

input, textarea, select {
  width: 100%;
  min-height: 56px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.02rem;
}

input::placeholder, textarea::placeholder { color: var(--muted-2); }

input:focus, textarea:focus, select:focus {
  border-bottom-color: var(--accent);
  outline: none;
  box-shadow: 0 1px 0 var(--accent);
}

textarea { min-height: 156px; resize: vertical; }

select option { background: #fff; color: var(--ink); }

[data-form-note] {
  margin: 0;
  min-height: 1.2em;
  color: var(--accent-deep);
  font-size: 0.86rem;
}

/* ==================================================================
   FOOTER
   ================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 96px) 0 28px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 80%;
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.24), transparent 60%);
  pointer-events: none;
  content: "";
}

.footer-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(44px, 6vw, 76px);
  border-bottom: 1px solid var(--line-dark);
}

.footer-cta h2 {
  color: var(--paper);
  font-size: clamp(2.2rem, 5.6vw, 5.8rem);
  font-weight: 500;
  line-height: 0.94;
  max-width: 13ch;
}

.footer-cta h2 em { color: var(--accent); font-style: italic; font-weight: 400; }
.footer-cta h2 strong { font-weight: 500; color: var(--paper); font-style: normal; }

.footer-cta .right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-self: end;
}

.footer-cta .right p {
  color: rgba(250,250,247,0.72);
  max-width: 36ch;
}

.footer-cta .right .button {
  background: var(--paper);
  color: var(--ink);
}
.footer-cta .right .button .arrow { background: var(--accent); color: #fff; }

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-top: 40px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
}

.footer-grid h4 {
  margin: 0 0 18px;
  color: rgba(250,250,247,0.5);
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 12px;
  color: rgba(250,250,247,0.84);
  font-size: 0.9rem;
}

.footer-grid a:hover { color: var(--accent); }

.footer-brand .brand { color: var(--paper); }

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(250,250,247,0.55);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ==================================================================
   REVEAL ANIMATIONS
   ================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-words] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--word-i, 0) * 60ms);
}

[data-reveal-words].is-visible .word {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================================
   RESPONSIVE
   ================================================================== */

@media (max-width: 1180px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .case-card.span-7, .case-card.span-5, .case-card.span-6, .case-card.span-12 { grid-column: span 1; }
  .case-visual, .case-card.span-12 .case-visual, .case-card.span-7 .case-visual, .case-card.span-5 .case-visual { aspect-ratio: 4 / 3; }
}

@media (max-width: 1080px) {
  .cap-row {
    grid-template-columns: 48px 1fr 42px;
    gap: 16px;
  }
  .cap-desc { display: none; }

  .process { grid-template-columns: 1fr; }
  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 28px 0 28px 24px;
  }
  .process-step:last-child { border-bottom: 0; }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-center, .nav-cta { display: none; }

  .site-header.is-open .nav-center {
    position: absolute;
    top: 78px; left: var(--gutter); right: var(--gutter);
    display: grid;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
  }
  .site-header.is-open .nav-cta {
    position: absolute;
    top: 320px; left: var(--gutter); right: var(--gutter);
    display: inline-flex;
    justify-content: center;
  }

  .hero .second-line,
  .home-hero .second-line { margin-left: 0; }

  .hero-foot,
  .split,
  .quote-block,
  .contact-layout,
  .footer-cta,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-actions { justify-self: start; }

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

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

@media (max-width: 620px) {
  :root { --gutter: 18px; }

  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .home-hero {
    padding: 56px 0 32px;
  }
  .home-hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.9rem);
  }
  .hero-intro {
    padding: 24px 0 48px;
  }
  h2 { font-size: clamp(2.2rem, 11vw, 3.6rem); }

  .footer-bottom { flex-direction: column; }
  .hero-eyebrow-bar { flex-direction: column; align-items: flex-start; gap: 14px; }

  .section { padding: 56px 0; }
  .section.tight { padding: 44px 0; }
  .feature-band { padding: 56px 0; }
  .section-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }
  .section-headline { margin-bottom: 28px; }
  .cap-row { padding: 18px 0; }
  .cap-title { font-size: clamp(1.45rem, 9vw, 2.2rem); }
}

@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;
  }
  .marquee-track { animation: none; }
  [data-reveal], [data-reveal-words] .word { opacity: 1; transform: none; }
}
