/* ===================================================================
   QuinteSocial — Design System v2
   Tactical telemetry: a production studio read as a camera HUD.
   Dark mode exclusive. Sharp corners. Two brand greens read as
   phosphor/terminal color. Monospace for anything that is data
   (timecode, aspect ratio, format, dates); Helvetica for everything
   that is voice (headlines, body, UI).
   Design read: redesign, preserve IA/brand/functionality.
   Dials — variance 7, motion 4, density 5 (bimodal: dense metadata
   clusters against wide open macro-type).
   =================================================================== */

:root {
  /* Color — one dark substrate, brand green as the only accent */
  --ink: #0a0a0a;
  --ink-raised: #121212;
  --ink-raised-2: #1a1a1a;
  --pine: #27604a;
  --pine-soft: #1b2e24;
  --kelly: #2bb673;
  --kelly-bright: #40da90;
  --pine-bright: #72b397;
  --kelly-tint: rgba(43, 182, 115, 0.12);
  --text: #eaeaea;
  --text-dim: #9a9a94;
  --stone: #7a7a74;
  --line: rgba(234, 234, 234, 0.14);
  --line-strong: rgba(234, 234, 234, 0.28);
  --danger: #e05a46;
  --danger-tint: rgba(224, 90, 70, 0.12);

  /* Type — Helvetica everywhere, no exceptions */
  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius: 0px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Fixed, static grain — a single quiet texture pass, not decoration
   piled onto every section. Never on scrolling containers. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 52ch;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
  background: transparent;
  color: var(--text);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--kelly);
  border-color: var(--kelly);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: var(--kelly-bright);
  border-color: var(--kelly-bright);
}

.btn-outline:hover {
  border-color: var(--kelly);
  color: var(--kelly-bright);
}

.btn-lg {
  padding: 18px 32px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.text-link:hover {
  border-color: var(--kelly);
  color: var(--kelly-bright);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.logo .l-pine {
  color: var(--pine-bright);
}

.logo .l-kelly {
  color: var(--kelly);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:not(.btn) {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 14px;
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a.current {
  color: var(--kelly-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
}

/* ---------- Hero (full-screen video) ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-bg.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    transition: none;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.25) 42%, rgba(10, 10, 10, 0.92) 100%);
}

/* ---------- Intro: video plays alone first, chrome settles in after ---------- */

.intro-fade {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(8px);
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-fade-delay {
  transition-delay: 0.3s;
}

body.intro-ready .intro-fade {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .intro-fade {
    transition: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.hero-video-toggle {
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--line);
  padding: 8px 12px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.hero-video-toggle:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: center;
  max-width: 34ch;
  margin-bottom: 36px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

/* Persistent REC indicator: fixed top-left, visible on every scroll
   position, not just in the hero. The one HUD element that stays on
   screen throughout, like a camera's always-on recording readout. */
.rec-badge {
  position: fixed;
  top: 88px;
  left: 32px;
  z-index: 90;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--kelly-bright);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 7px 12px;
}

.rec-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kelly);
  display: inline-block;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Glass buttons, hero only: a frosted, translucent web approximation of
   Apple's "Liquid Glass" material (not the official Apple platform
   material, which is native-only) — blur + saturation, a bright inner
   top edge and a dim inner bottom edge for a sense of physical depth,
   over the video rather than a flat fill. Falls back to a solid,
   non-blurred fill when the OS asks for reduced transparency. */
.hero-actions .btn {
  color: #fff;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hero-actions .btn-primary {
  background: rgba(63, 168, 92, 0.32);
  border: 1px solid rgba(148, 214, 171, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-actions .btn-primary:hover {
  background: rgba(63, 168, 92, 0.45);
}

.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (prefers-reduced-transparency: reduce) {
  .hero-actions .btn {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-actions .btn-primary {
    background: var(--kelly);
    color: #0a0a0a;
    text-shadow: none;
  }

  .hero-actions .btn-outline {
    background: var(--ink-raised);
  }
}

/* ---------- On Instagram ---------- */

.section-compact {
  padding: 80px 0;
}

.ig-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ig-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex: 1 1 380px;
  max-width: 460px;
}

.ig-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.ig-header-info {
  min-width: 0;
}

.ig-handle-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.ig-handle {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.ig-bio {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 10px;
  max-width: 40ch;
}

.ig-stats {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
}

.ig-stats strong {
  font-family: var(--font-display);
  color: var(--text);
}

.ig-tiles-row {
  display: flex;
  gap: 8px;
  flex: 1 1 400px;
  align-items: center;
  overflow-x: auto;
}

.ig-tile-inline {
  position: relative;
  flex-shrink: 0;
  height: 200px;
  overflow: hidden;
  background: var(--ink-raised);
  display: block;
}

.ig-tile-inline img {
  height: 100%;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.ig-tile-inline:hover img,
.ig-tile-inline:focus-visible img {
  transform: scale(1.04);
}

.ig-tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 10, 10, 0.55);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ig-tile-inline:hover .ig-tile-overlay,
.ig-tile-inline:focus-visible .ig-tile-overlay {
  opacity: 1;
}

/* ---------- Masonry grid (Photo Gallery) ---------- */

#work-preview {
  scroll-margin-top: 88px;
}

.ig-grid {
  columns: 4 240px;
  column-gap: 12px;
}

.ig-tile {
  display: block;
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--ink-raised);
  transition: opacity 0.4s ease;
}

.ig-tile.is-fading {
  opacity: 0;
}

.ig-tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ig-tile:hover img,
.ig-tile:focus-visible img {
  transform: scale(1.03);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .ig-grid {
    columns: 3 180px;
  }
}

@media (max-width: 600px) {
  .ig-grid {
    columns: 2 140px;
  }
}

/* Compact variant: smaller tiles, used for the homepage teaser */
.ig-grid-compact {
  columns: 5 170px;
}

@media (max-width: 900px) {
  .ig-grid-compact {
    columns: 3 150px;
  }
}

@media (max-width: 600px) {
  .ig-grid-compact {
    columns: 2 120px;
  }
}

.section-compact {
  padding: 80px 0;
}

.section-compact .section-head {
  margin-bottom: 36px;
}

/* ---------- Services list (editorial, not cards) ---------- */

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

.service-row {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 32px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.service-row:hover {
  background: var(--ink-raised);
}

.service-row h3 {
  font-size: 24px;
}

.service-row p {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-dim);
  font-size: 15px;
  max-width: 52ch;
}

/* ---------- Client marquee ---------- */

.marquee-section {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
}

.marquee-bar {
  display: flex;
  align-items: center;
  gap: 28px;
}

.marquee-label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--kelly-bright);
  white-space: nowrap;
}

.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

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

.marquee-item {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item::after {
  content: '\2022';
  margin-left: 48px;
  color: var(--kelly);
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }
}

/* ---------- On YouTube ---------- */

.yt-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.yt-card {
  flex: 0 0 auto;
  width: min(300px, 76vw);
  display: block;
  background: var(--ink-raised);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease;
}

.yt-card:hover,
.yt-card:focus-visible {
  border-color: var(--line-strong);
}

.yt-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.yt-card:hover .yt-thumb img,
.yt-card:focus-visible .yt-thumb img {
  transform: scale(1.03);
}

.yt-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  padding: 2px 6px;
}

.yt-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.yt-card:hover .yt-play,
.yt-card:focus-visible .yt-play {
  opacity: 1;
}

.yt-play span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-transparency: reduce) {
  .yt-play span {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.yt-meta {
  padding: 14px 16px 16px;
}

.yt-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-channel {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.yt-stats {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--stone);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.about-lede {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
}

.about-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: var(--line);
  margin-top: 36px;
}

.about-collage img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.04);
  transition: filter 0.15s ease;
}

.about-collage img:hover {
  filter: grayscale(0) contrast(1);
}

.about-body p {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-dim);
  margin-bottom: 18px;
  max-width: 60ch;
  font-size: 15.5px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.inline-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--kelly-bright);
  text-decoration-color: var(--kelly);
}

/* ---------- CTA ---------- */

.cta-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-block h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  max-width: 13ch;
}

/* ---------- Footer ---------- */

.footer {
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand p {
  font-family: var(--font-mono);
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-dim);
  max-width: 320px;
  margin-top: 14px;
  font-size: 13px;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col li {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--kelly-bright);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--stone);
}

/* ===================================================================
   Briefing page
   =================================================================== */

.brief-hero {
  padding: 152px 0 44px;
}

.brief-hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  max-width: 16ch;
  margin-bottom: 16px;
}

.brief-hero p {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 56ch;
}

.slate-bar {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 36px;
}

.slate-field {
  flex: 1;
  padding: 15px 20px;
  border-right: 1px solid var(--line);
}

.slate-field:last-child {
  border-right: none;
}

.slate-field-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--kelly-bright);
  margin-bottom: 5px;
}

.slate-field-v {
  font-family: var(--font-body);
  font-size: 14px;
}

.brief-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 132px;
}

.brief-sidebar {
  position: sticky;
  top: 96px;
}

.brief-sidebar h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}

.brief-step {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.brief-step:first-of-type {
  border-top: none;
}

.brief-step-n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--kelly-bright);
  padding-top: 2px;
}

.brief-step strong {
  display: block;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
}

.brief-step span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--stone);
}

.brief-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
}

.brief-form {
  background: var(--ink-raised);
  border: 1px solid var(--line);
  padding: 44px;
}

.form-section {
  margin-bottom: 42px;
}

.form-section:last-of-type {
  margin-bottom: 32px;
}

.form-section-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--kelly-bright);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.scope-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.scope-btn {
  background: var(--ink);
  border: none;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.scope-btn:hover {
  background: var(--ink-raised);
}

.scope-btn.active {
  background: var(--kelly-tint);
}

.scope-btn-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 4px;
}

.scope-btn.active .scope-btn-title {
  color: var(--kelly-bright);
}

.scope-btn-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--stone);
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--kelly);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7a74' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-group input[type="file"] {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 13.5px;
  cursor: pointer;
}

.form-group input[type="file"]:focus {
  outline: none;
  border-color: var(--kelly);
}

.form-group input[type="file"]::file-selector-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--kelly);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius);
  padding: 9px 16px;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
  background: var(--kelly-bright);
}

.hint {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--stone);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13.5px;
}

.checkbox-item input {
  accent-color: var(--kelly);
  width: 16px;
  height: 16px;
}

.required {
  color: var(--kelly-bright);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.form-footer p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
  max-width: 340px;
}

.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: var(--kelly-tint);
  border: 1px solid rgba(43, 182, 115, 0.4);
  color: var(--kelly-bright);
}

.form-status.error {
  background: var(--danger-tint);
  border: 1px solid rgba(224, 90, 70, 0.35);
  color: var(--danger);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ===================================================================
   Start a Project modal
   =================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 6, 6, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 20px;
  overflow-y: auto;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--ink-raised);
  border: 1px solid var(--line);
  padding: 44px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.modal-head {
  padding-right: 40px;
  margin-bottom: 26px;
}

.modal-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 8px;
}

.modal-head p {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-dim);
  font-size: 14.5px;
}

.modal-loading {
  font-family: var(--font-mono);
  padding: 48px 0;
  text-align: center;
  color: var(--stone);
  font-size: 13px;
  text-transform: uppercase;
}

.modal-form {
  background: transparent;
  border: none;
  padding: 0;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--kelly);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .modal-overlay {
    padding: 40px 12px;
  }

  .modal-box {
    padding: 28px 20px;
  }
}

/* ===================================================================
   Responsive
   =================================================================== */

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ig-tile-inline {
    height: 150px;
  }

  .brief-layout {
    grid-template-columns: 1fr;
  }

  .brief-sidebar {
    position: static;
  }

  .form-row,
  .checkbox-grid,
  .scope-toggle {
    grid-template-columns: 1fr;
  }

  .slate-bar {
    flex-direction: column;
  }

  .slate-field {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .slate-field:last-child {
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .rec-badge {
    top: 88px;
    left: 20px;
  }

  .hero-video-toggle {
    right: 20px;
  }

  .ig-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ig-profile {
    max-width: none;
  }

  .ig-handle-row {
    gap: 12px;
  }

  .ig-tile-inline {
    height: 130px;
  }

  .brief-form {
    padding: 28px 22px;
  }

  .section {
    padding: 72px 0;
  }
}
