:root {
  --ink: #07132e;
  --ink-rgb: 7, 19, 46;
  --surface: #f4f1eb;
  --paper: #fffdf8;
  --accent: #ff4f83;
  --accent-rgb: 255, 79, 131;
  --accent-2: #ffcd6b;
  --accent-3: #5876ff;
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --corner: 0px;
  --line: rgba(7, 19, 46, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  transition: background-color .35s ease, color .35s ease;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  background: var(--accent);
  color: #07132e;
  padding: .8rem 1rem;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 6.2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.site-logo, .footer-logo { display: inline-flex; width: max-content; text-decoration: none; }
.wordmark {
  display: inline-flex;
  align-items: center;
  color: currentColor;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.wordmark-initials { display: inline-flex; align-items: center; gap: .34em; font-size: 1.8rem; }
.wordmark-initials b { font: inherit; }
.wordmark-divider { width: .19rem; height: 2.15rem; margin: 0 .82rem; background: #ff8b47; }
.wordmark-studios { font-size: .94rem; letter-spacing: .035em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.7rem); }
.desktop-nav a { font-size: .76rem; text-transform: uppercase; letter-spacing: .13em; text-decoration: none; font-weight: 750; }
.desktop-nav a:hover { color: var(--accent-2); }
.header-cta {
  justify-self: end;
  text-decoration: none;
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 800;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--corner);
}
.header-cta span { margin-left: .65rem; color: var(--accent-2); }

.hero {
  position: relative;
  min-height: min(900px, 94vh);
  height: 830px;
  overflow: hidden;
  background: var(--ink);
  color: white;
  isolation: isolate;
}
.hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scrim {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--ink-rgb),.98) 0%, rgba(var(--ink-rgb),.9) 30%, rgba(var(--ink-rgb),.34) 67%, rgba(var(--ink-rgb),.18) 100%),
    linear-gradient(0deg, rgba(var(--ink-rgb),.58), transparent 45%);
  transition: background .35s ease;
}
.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}
.hero-copy {
  position: absolute;
  left: clamp(1.25rem, 7vw, 7rem);
  top: 50%;
  width: min(760px, 70vw);
  transform: translateY(-43%);
}
.eyebrow, .section-kicker {
  margin: 0 0 1.5rem;
  font-size: .72rem;
  line-height: 1.2;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 850;
}
.eyebrow { display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.78); }
.eyebrow span { width: 2.7rem; height: .25rem; background: var(--accent); transform: skew(-18deg); }
.hero h1, h2, h3 { font-family: var(--display); }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(4.4rem, 10.5vw, 10.4rem);
  line-height: .76;
  letter-spacing: -.075em;
  text-transform: uppercase;
  font-weight: 950;
}
.hero h1 em { color: var(--accent); font-style: normal; text-shadow: .045em .045em 0 rgba(var(--ink-rgb),.2); }
.hero-deck { max-width: 39rem; margin: 2.4rem 0 0; color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 1.4vw, 1.25rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.7rem; margin-top: 2.3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: 0 1.4rem; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .73rem; font-weight: 850; border-radius: var(--corner); }
.button--primary { background: var(--accent); color: #08132e; box-shadow: .45rem .45rem 0 var(--accent-2); }
.text-link { color: white; text-decoration: none; font-size: .78rem; font-weight: 750; letter-spacing: .04em; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: .25rem; }
.text-link span { color: var(--accent-2); margin-left: .4rem; }
.hero-side-note { position: absolute; right: 2rem; top: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right center; font-size: .63rem; letter-spacing: .35em; font-weight: 800; color: rgba(255,255,255,.6); }
.hero-index { position: absolute; right: clamp(1.25rem, 4vw, 4.5rem); bottom: 2.6rem; display: flex; gap: .65rem; align-items: baseline; }
.hero-index b { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.hero-index span { color: var(--accent); font-weight: 900; }
.hero-index small { letter-spacing: .18em; }

.section-pad { padding: clamp(5.5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7rem); }
.section-kicker { color: var(--accent-3); }
.manifesto { background: var(--surface); }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; }
.manifesto h2, .section-heading h2, .event-rail h2, .approach h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7.5vw, 7.8rem);
  line-height: .86;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.manifesto h2 span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.manifesto .lead { font-family: var(--display); font-size: clamp(1.6rem, 2.3vw, 2.4rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 800; margin: 0 0 1.4rem; }
.manifesto-grid > div > p:last-child { color: rgba(var(--ink-rgb),.68); max-width: 40rem; margin-bottom: 0; }

.event-types { display: grid; grid-template-columns: 42% 58%; background: var(--ink); color: white; }
.event-rail { padding: clamp(4rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: center; min-height: 700px; background: linear-gradient(150deg, rgba(var(--accent-rgb),.19), transparent 55%); }
.event-rail .section-kicker { color: var(--accent-2); }
.event-rail h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.event-list { border-left: 1px solid rgba(255,255,255,.18); }
.event-list article { min-height: 140px; display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1.4rem; padding: 2rem clamp(1.5rem, 5vw, 5rem); border-bottom: 1px solid rgba(255,255,255,.18); transition: background .2s ease, padding .2s ease; }
.event-list article:last-child { border-bottom: 0; }
.event-list article:hover { background: var(--accent); color: var(--ink); padding-left: clamp(2rem, 6vw, 6rem); }
.event-list article > span { font-size: .7rem; letter-spacing: .14em; color: var(--accent-2); font-weight: 800; }
.event-list article:hover > span { color: var(--ink); }
.event-list h3 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.7rem); line-height: 1; text-transform: uppercase; letter-spacing: -.035em; }
.event-list i { font-style: normal; font-size: 1.4rem; }

.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.25fr .55fr; align-items: end; gap: 4rem; margin-bottom: 4.5rem; }
.section-heading > p { max-width: 35rem; color: rgba(var(--ink-rgb),.64); font-size: 1.05rem; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.service-card { grid-column: span 4; position: relative; min-height: 400px; padding: 2rem; border: 1px solid var(--line); background: var(--surface); overflow: hidden; border-radius: var(--corner); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 1.2rem 3rem rgba(var(--ink-rgb),.1); }
.service-card--feature { background: var(--accent); }
.service-card--wide { grid-column: span 8; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: end; background: var(--ink); color: white; }
.service-number { position: absolute; right: 1.5rem; top: 1.5rem; font-size: .65rem; letter-spacing: .15em; font-weight: 850; }
.service-icon { height: 8rem; position: relative; margin-bottom: 3.5rem; }
.service-card h3 { margin: 0 0 1rem; font-size: clamp(1.65rem, 2.4vw, 2.45rem); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; }
.service-card p { color: rgba(var(--ink-rgb),.66); margin: 0; max-width: 26rem; }
.service-card--feature p { color: rgba(var(--ink-rgb),.78); }
.service-card--wide p { color: rgba(255,255,255,.66); }
.service-card--wide strong { align-self: center; font-family: var(--display); font-size: clamp(5rem, 11vw, 10rem); line-height: .7; color: transparent; -webkit-text-stroke: 1px var(--accent); opacity: .72; }
.icon-campaign i { position: absolute; width: 4rem; height: 5.4rem; border: 2px solid var(--ink); top: 1rem; left: 4rem; transform: rotate(12deg); }
.icon-campaign i:nth-child(2) { left: 2rem; top: 1.5rem; transform: rotate(-8deg); background: var(--accent-2); }
.icon-campaign i:nth-child(3) { left: 3.3rem; top: .2rem; transform: rotate(2deg); background: var(--surface); }
.icon-social i { position: absolute; border: 2px solid var(--ink); border-radius: 50%; }
.icon-social i:first-child { width: 5.4rem; height: 5.4rem; left: 1.5rem; top: 1rem; }
.icon-social i:nth-child(2) { width: 2.5rem; height: 2.5rem; left: 5.5rem; top: .2rem; background: var(--accent); border: 0; }
.icon-social i:last-child { width: 1.2rem; height: 1.2rem; left: 6.5rem; top: 5.5rem; background: var(--accent-2); border: 0; }
.icon-venue i:first-child { position: absolute; left: 1.5rem; top: 1rem; width: 6rem; height: 5rem; border: 2px solid var(--ink); border-top-width: 1rem; }
.icon-venue i:last-child { position: absolute; left: 3.25rem; top: 3rem; width: 2.5rem; height: 3rem; background: var(--accent-3); }
.icon-people i { position: absolute; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent); top: .5rem; left: 3rem; }
.icon-people i:nth-child(2) { left: .8rem; top: 3rem; background: var(--accent-2); }
.icon-people i:last-child { left: 5.3rem; top: 3rem; background: var(--accent-3); }
.icon-talent { min-width: 9rem; margin: 0; }
.icon-talent i:first-child { position: absolute; width: 4rem; height: 6rem; left: 1.4rem; bottom: 0; border-radius: 3rem 3rem 1rem 1rem; border: 2px solid var(--accent); }
.icon-talent i:last-child { position: absolute; width: 1px; height: 4rem; background: var(--accent); left: 3.4rem; bottom: -1.5rem; }

.approach { background: var(--accent-2); }
.approach .section-kicker { color: var(--ink); }
.approach-intro { max-width: 1100px; }
.approach h2 { font-size: clamp(3rem, 6.6vw, 7rem); }
.approach-steps { list-style: none; padding: 0; margin: 5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.approach-steps li { padding: 1.4rem 1.5rem 0 0; border-right: 1px solid rgba(var(--ink-rgb),.25); min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.approach-steps li + li { padding-left: 1.5rem; }
.approach-steps li:last-child { border-right: 0; }
.approach-steps span { font-size: .7rem; letter-spacing: .17em; font-weight: 850; }
.approach-steps h3 { margin: 0 0 .5rem; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.approach-steps p { margin: 0; font-size: .9rem; max-width: 15rem; }

footer { display: grid; grid-template-columns: 1fr auto auto; gap: 3rem; align-items: center; min-height: 120px; padding: 2rem clamp(1.25rem, 7vw, 7rem); background: var(--ink); color: white; }
.footer-logo .wordmark { transform: scale(.86); transform-origin: left center; }
footer p { margin: 0; color: rgba(255,255,255,.56); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

body[data-theme="civic"] {
  --ink: #11110f;
  --ink-rgb: 17, 17, 15;
  --surface: #f6f1e8;
  --paper: #fffcf5;
  --accent: #f54870;
  --accent-rgb: 245, 72, 112;
  --accent-2: #ffd44a;
  --accent-3: #176d45;
  --corner: 0px;
}
body[data-theme="civic"] .hero h1, body[data-theme="civic"] h2 { letter-spacing: -.055em; }
body[data-theme="civic"] .hero h1 em { color: white; -webkit-text-stroke: 2px var(--accent); }
body[data-theme="civic"] .button--primary { background: var(--accent-2); }
body[data-theme="civic"] .approach { background: #f54870; }

body[data-theme="poolside"] {
  --ink: #26146d;
  --ink-rgb: 38, 20, 109;
  --surface: #f5f4ff;
  --paper: #ffffff;
  --accent: #46e0d0;
  --accent-rgb: 70, 224, 208;
  --accent-2: #ff8b69;
  --accent-3: #5036e5;
  --corner: 18px;
}
body[data-theme="poolside"] .site-header { border-color: rgba(255,255,255,.2); }
body[data-theme="poolside"] .hero h1 { letter-spacing: -.06em; }
body[data-theme="poolside"] .hero h1 em { color: var(--accent); text-shadow: .06em .06em 0 #ff6b4a; }
body[data-theme="poolside"] .approach { background: #46e0d0; }
body[data-theme="poolside"] .service-card--feature { background: #46e0d0; }
body[data-theme="poolside"] .button--primary { box-shadow: .45rem .45rem 0 #ff6b4a; }

body[data-theme="pulse"] {
  --ink: #25112f;
  --ink-rgb: 37, 17, 47;
  --surface: #fff5f0;
  --paper: #fffdfa;
  --accent: #ff4d7d;
  --accent-rgb: 255, 77, 125;
  --accent-2: #ffd05a;
  --accent-3: #008b8b;
  --corner: 8px;
}
body[data-theme="pulse"] .hero h1 em { color: var(--accent); text-shadow: .045em .045em 0 var(--accent-2); }
body[data-theme="pulse"] .approach { background: #ffd05a; }
body[data-theme="pulse"] .button--primary { color: white; box-shadow: .45rem .45rem 0 var(--accent-2); }

body[data-theme="beacon"] {
  --ink: #073b47;
  --ink-rgb: 7, 59, 71;
  --surface: #edf5f2;
  --paper: #fffef9;
  --accent: #f5a800;
  --accent-rgb: 245, 168, 0;
  --accent-2: #48c9bd;
  --accent-3: #0b756f;
  --corner: 2px;
}
body[data-theme="beacon"] .hero h1 em { color: var(--accent-2); text-shadow: .045em .045em 0 #0b756f; }
body[data-theme="beacon"] .approach { background: #f5a800; }
body[data-theme="beacon"] .service-card--feature { background: #48c9bd; }
body[data-theme="beacon"] .button--primary { box-shadow: .45rem .45rem 0 var(--accent-2); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero-copy { width: min(780px, 82vw); }
  .event-types { grid-template-columns: 1fr; }
  .event-rail { min-height: 450px; }
  .event-list { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .service-card { grid-column: span 6; }
  .service-card--wide { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-header { min-height: 5.4rem; padding-inline: 1rem; }
  .wordmark-initials { gap: .25em; font-size: 1.35rem; }
  .wordmark-divider { width: .15rem; height: 1.7rem; margin: 0 .52rem; }
  .wordmark-studios { font-size: .7rem; }
  .header-cta { font-size: 0; padding: .75rem; }
  .header-cta::before { content: "WORK WITH US"; font-size: .63rem; }
  .header-cta span { font-size: .75rem; }
  .hero { height: 760px; min-height: 90vh; }
  .hero-image { object-position: 62% center; }
  .hero-scrim { background: linear-gradient(90deg, rgba(var(--ink-rgb),.98), rgba(var(--ink-rgb),.63)), linear-gradient(0deg, rgba(var(--ink-rgb),.82), transparent 60%); }
  .hero-copy { top: 49%; left: 1.25rem; width: calc(100% - 2.5rem); }
  .hero h1 { font-size: clamp(4rem, 21vw, 7rem); }
  .hero-deck { font-size: 1rem; max-width: 95%; }
  .hero-side-note { display: none; }
  .hero-index { bottom: 1.2rem; }
  .section-pad { padding-block: 5.5rem; }
  .manifesto-grid, .section-heading { grid-template-columns: 1fr; gap: 2.5rem; }
  .manifesto h2, .section-heading h2, .approach h2 { font-size: clamp(3.25rem, 16vw, 5.2rem); }
  .event-rail { min-height: 400px; }
  .event-list article { min-height: 105px; grid-template-columns: 2rem 1fr auto; padding: 1.5rem 1.25rem; gap: .65rem; }
  .event-list h3 { font-size: 1.45rem; }
  .service-card, .service-card--wide { grid-column: 1 / -1; min-height: 355px; }
  .service-card--wide { display: block; }
  .service-card--wide .service-icon { margin-bottom: 3rem; }
  .service-card--wide strong { position: absolute; right: -1rem; top: 3.8rem; font-size: 7rem; opacity: .35; }
  .approach-steps { grid-template-columns: 1fr; }
  .approach-steps li, .approach-steps li + li { min-height: 130px; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid rgba(var(--ink-rgb),.25); }
  .approach-steps li:last-child { border-bottom: 0; }
  footer { grid-template-columns: 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
