/* MGA Consulting · site styles (v1.0)
   Palette sampled from the MGA logo. Corners stay sharp to match the machined letterforms. */

:root {
  --ground: #050507; --surface: #0f0f12; --raised: #18181c; --hairline: #2a2a30;
  --ink: #f2f2f2; --muted: #a8a8ad;
  --gold-200: #f9d889; --gold-300: #e8c36a; --gold-400: #dfb257; --gold-600: #b3802f; --gold-700: #9b6b23;
  --silver-100: #ececec; --silver-300: #cdcdcd; --silver-500: #909090;
  --gold-metal: linear-gradient(180deg, #f9d889 0%, #dfb257 45%, #9b6b23 100%);
  --ease-mag: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --wrap: 1280px;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: Barlow, "Segoe UI", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
button, input, select, textarea { font: inherit; color: inherit; }
body { overflow-x: clip; }
::selection { background: var(--gold-400); color: #0b0b0d; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--gold-400); color: #0b0b0d; padding: 12px 18px; font-weight: 600; }
.skip:focus { left: 12px; }

/* Grain */
.noise { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; opacity: 0.05; mix-blend-mode: overlay; }

/* Type */
.kicker { display: flex; align-items: center; gap: 14px; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-400); margin: 0; }
.kicker .rule { width: 44px; height: 1px; background: var(--gold-400); flex: none; }
.h2 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0 0; max-width: 18ch; }
.h3 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 20px 0 0; max-width: 46ch; }
.mono { font-family: "Barlow Semi Condensed", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }

/* Buttons: magnetic scale + sliding fill */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 2px; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .35s var(--ease-mag), box-shadow .35s var(--ease-mag), color .35s var(--ease-mag); isolation: isolate; }
.btn:hover { transform: scale(1.03); }
.btn-fill { position: absolute; inset: 0; transform: translateY(101%); transition: transform .45s var(--ease-mag); z-index: -1; }
.btn:hover .btn-fill { transform: translateY(0); }
.btn-gold { background: var(--gold-400); color: #0b0b0d; }
.btn-gold .btn-fill { background: var(--gold-200); }
.btn-gold:hover { box-shadow: 0 0 32px rgba(223, 178, 87, 0.35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--silver-500); }
.btn-ghost .btn-fill { background: var(--silver-100); }
.btn-ghost:hover { color: #0b0b0d; border-color: var(--silver-100); }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

.text-link { display: inline-block; margin-top: 22px; color: var(--gold-400); font-weight: 600; text-decoration: none; transition: transform .25s var(--ease-mag), color .25s; }
.text-link:hover { color: var(--gold-200); transform: translateY(-1px); }

/* Nav */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: calc(100% - 28px); max-width: 1320px; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 5, 7, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 20px 0 14px; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > a:not(.btn) { color: var(--silver-300); text-decoration: none; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 500; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; transition: color .25s, transform .25s var(--ease-mag); display: inline-block; }
.nav-links > a:not(.btn):hover { color: var(--gold-300); transform: translateY(-1px); }
.nav-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 1px solid var(--silver-500); border-radius: 2px; flex-direction: column; justify-content: center; align-items: center; gap: 7px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 6px; padding: 12px 20px 22px; background: rgba(5, 5, 7, 0.96); border-top: 1px solid var(--hairline); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 20px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.mobile-menu .btn { margin-top: 14px; }

/* Hero */
.hero { position: relative; min-height: 520px; min-height: min(100dvh, 720px); display: flex; flex-direction: column; justify-content: center; padding: 116px 0 56px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow { position: absolute; right: -10%; top: 5%; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; background: radial-gradient(circle, rgba(223, 178, 87, 0.13) 0%, rgba(223, 178, 87, 0.04) 35%, rgba(5, 5, 7, 0) 65%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0) 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0) 85%); }
.hero-ring { position: absolute; right: -6vw; top: 50%; transform: translateY(-58%); width: min(62vw, 860px); height: auto; }
.ring-arc { fill: none; stroke-width: 26; stroke-linecap: butt; }
.ring-inner { fill: none; stroke: rgba(223, 178, 87, 0.12); stroke-width: 1; }
.ring-spin { transform-origin: 300px 300px; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,7,0.92) 0%, rgba(5,5,7,0.55) 45%, rgba(5,5,7,0) 75%), linear-gradient(0deg, rgba(5,5,7,1) 0%, rgba(5,5,7,0) 35%); z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding-top: 140px; }
.hero-title { margin: 26px 0 0; display: flex; flex-direction: column; }
.h-sans { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(34px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.h-drama { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(44px, 7.4vw, 108px); line-height: 1.0; letter-spacing: -0.035em; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.hero-sub { margin: 26px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #c4c4c9; max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding-top: 26px; padding-bottom: 26px; }
.glance { padding: clamp(24px, 4vw, 48px) 0 0; }
.hero-stats div { padding-right: 20px; }
.hero-stats dt { font-family: "Barlow Semi Condensed", sans-serif; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero-stats dd { margin: 6px 0 0; font-family: Montserrat, sans-serif; font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); color: var(--silver-100); }

/* Sections */
.section { padding-top: clamp(88px, 11vw, 150px); padding-bottom: clamp(56px, 7vw, 96px); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--hairline); padding: 22px 22px 30px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.feature .h3 { margin-top: 26px; }
.feature-copy { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 10px 0 0; }
.feature-ui { position: relative; height: 250px; background: var(--ground); border: 1px solid var(--hairline); overflow: hidden; }

.shuffler { perspective: 800px; }
.shuf-card { position: absolute; left: 18px; right: 18px; top: 50%; padding: 20px 20px 18px; background: var(--raised); border: 1px solid var(--hairline); border-top: 2px solid var(--gold-400); transform-origin: center top; will-change: transform, opacity; }
.shuf-quote { margin: 0; font-family: Barlow, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--ink); }
.shuf-start { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.shuf-start b { color: var(--gold-300); font-weight: 600; }

.typewriter { padding: 16px 18px; box-sizing: border-box; }
.tw-head { display: flex; align-items: center; gap: 10px; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 0 rgba(223,178,87,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(223,178,87,0.55); } 70% { box-shadow: 0 0 0 10px rgba(223,178,87,0); } 100% { box-shadow: 0 0 0 0 rgba(223,178,87,0); } }
.tw-body { margin: 12px 0 0; font-family: "IBM Plex Mono", monospace; font-size: 12.5px; line-height: 1.75; color: var(--silver-300); white-space: pre-wrap; }
.tw-body code { font: inherit; }
.tw-body .ok { color: var(--gold-400); }
.tw-cursor { display: inline-block; width: 8px; height: 15px; background: var(--gold-400); vertical-align: -3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.scheduler { padding: 16px 18px; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; }
.sch-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sch-legend { display: flex; align-items: center; gap: 6px; }
.sch-legend i { width: 9px; height: 9px; display: inline-block; margin-left: 6px; }
.lg-a { background: var(--gold-200); } .lg-p { background: var(--gold-400); } .lg-e { background: var(--gold-700); }
.sch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wk { display: flex; align-items: center; justify-content: center; height: 34px; border: 1px solid var(--hairline); font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.wk.a { background: var(--gold-200); color: #0b0b0d; border-color: var(--gold-200); }
.wk.p { background: var(--gold-400); color: #0b0b0d; border-color: var(--gold-400); }
.wk.e { background: var(--gold-700); color: #f2f2f2; border-color: var(--gold-700); }
.sch-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.sch-status { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--muted); }
.sch-commit { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--gold-400); color: var(--gold-400); transition: background .25s, color .25s, transform .2s; }
.sch-commit.pressed { background: var(--gold-400); color: #0b0b0d; transform: scale(0.96); }
.sch-cursor { position: absolute; width: 22px; height: 22px; left: 0; top: 0; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.6)); }


/* ---- v3 hero: split with the logo sting ---- */
.hero-split { position: relative; z-index: 2; display: grid; grid-template-columns: 8fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: 0; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-media { position: relative; }
.hero-video { width: 100%; height: auto; display: block; background: #000; border: 1px solid var(--hairline); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(223, 178, 87, 0.35); }
.hero-media::after { content: ""; position: absolute; inset: -1px; pointer-events: none; border: 1px solid rgba(223, 178, 87, 0.25); }
.hero-sound { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(5, 5, 7, 0.72); border: 1px solid var(--gold-400); border-radius: 9999px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, transform .25s var(--ease-mag), box-shadow .25s; padding: 0; }
.hero-sound:hover { background: rgba(223, 178, 87, 0.18); transform: scale(1.06); box-shadow: var(--glow-gold); }
.hero-sound svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-sound .ic-sound, .hero-sound .ic-replay { display: none; }
.hero-sound[data-state="on"] .ic-muted, .hero-sound[data-state="ended"] .ic-muted { display: none; }
.hero-sound[data-state="on"] .ic-sound { display: block; }
.hero-sound[data-state="ended"] .ic-sound { display: none; }
.hero-sound[data-state="ended"] .ic-replay { display: block; }
.hero .hero-split .hero-title { margin: 0; }
.hero-split .h-sans { font-size: clamp(34px, 3.9vw, 58px); }
.hero-split .h-drama { font-size: clamp(34px, 3.9vw, 58px); line-height: 1.02; }
.hero-split .hero-sub { font-size: clamp(16px, 1.25vw, 19px); max-width: 48ch; }
.hero-split .kicker { flex-wrap: wrap; }
.hero-split .btn-lg { padding: 0 26px; font-size: 16px; }
.hero .hero-split .hero-sub { margin: 0; }
.hero .hero-split .hero-ctas { margin: 8px 0 0; }

/* ---- v3 challenges ---- */
.challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.challenge-grid .challenge { height: 100%; }
.challenge { background: var(--surface); border: 1px solid var(--hairline); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: border-color .35s, transform .35s var(--ease-mag); }
.challenge:hover { border-color: var(--gold-700); transform: translateY(-3px); }
.challenge-n { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.12em; color: var(--gold-400); margin: 0; }
.challenge-q { font-family: Barlow, sans-serif; font-weight: 600; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.28; margin: 0; }
.challenge-a { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- v3 practice icons (inline vectors) ---- */
.picon { width: auto; height: 92px; display: block; transition: transform .45s var(--ease-mag), filter .45s; filter: saturate(0.72) brightness(0.82); transform-origin: 50% 50%; }
.pillar:hover .picon, .pillar[aria-selected="true"] .picon { filter: drop-shadow(0 0 14px rgba(223, 178, 87, 0.35)); transform: translateY(-4px); }
.pillar[aria-selected="true"] .picon-operations [id$="-Arrows"], .pillar[aria-selected="true"] .picon-operations [id$="-Arrows1"] { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 6s linear infinite; }
.pillar[aria-selected="true"] .picon-revenue { animation: icon-rise 3.4s var(--ease-mag) infinite; }
.pillar[aria-selected="true"] .picon-technology { animation: icon-pulse 2.6s ease-in-out infinite; }
.pillar[aria-selected="true"] .picon-finance { animation: icon-guard 3.6s ease-in-out infinite; }
.pillar[aria-selected="true"] .picon-fractional { animation: icon-float 3.8s ease-in-out infinite; }
.pillar[aria-selected="true"] .picon-legal { animation: icon-tilt 4.4s ease-in-out infinite; }
@keyframes icon-rise { 0%, 100% { transform: translate(0, -4px) scale(1); } 50% { transform: translate(3px, -10px) scale(1.04); } }
@keyframes icon-pulse { 0%, 100% { transform: translateY(-4px) scale(1); filter: drop-shadow(0 0 10px rgba(223, 178, 87, 0.25)); } 50% { transform: translateY(-4px) scale(1.05); filter: drop-shadow(0 0 22px rgba(249, 216, 137, 0.55)); } }
@keyframes icon-guard { 0%, 100% { transform: translateY(-4px) scale(1); } 45% { transform: translateY(-9px) scale(1.03); } }
@keyframes icon-float { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(-11px); } }
@keyframes icon-tilt { 0%, 100% { transform: translateY(-4px) rotate(-2.5deg); } 50% { transform: translateY(-4px) rotate(2.5deg); } }

/* Practices */
.practices { background: linear-gradient(180deg, var(--ground) 0%, var(--surface) 100%); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.pillars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.pillar { background: transparent; border: 0; border-left: 1px solid var(--hairline); padding: 26px 8px 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; cursor: pointer; color: var(--silver-100); position: relative; transition: background .3s; }
.pillar:first-child { border-left: 0; }
.pillar img { width: auto; height: 88px; transition: transform .45s var(--ease-mag), filter .45s; filter: saturate(0.7) brightness(0.8); }
.pillar span { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 500; font-size: 17px; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; }
.pillar em { font-style: normal; color: var(--gold-400); }
.pillar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold-400); transform: scaleX(0); transition: transform .45s var(--ease-mag); }
.pillar:hover { background: rgba(255,255,255,0.02); }
.pillar:hover img, .pillar[aria-selected="true"] img { transform: translateY(-4px); filter: none; }
.pillar[aria-selected="true"] { background: rgba(223,178,87,0.05); }
.pillar[aria-selected="true"]::after { transform: scaleX(1); }
.panels { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 40px); }
.panel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.panel[hidden] { display: none; }
.panel-lead p { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 14px 0 0; }
.panel-cta { margin-top: 26px; }
.creative-lead .panel-cta { margin-top: 8px; }
.panel .h3 { font-size: 30px; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.svc li { padding: 15px 0; border-bottom: 1px solid var(--hairline); font-size: 17px; display: flex; gap: 12px; align-items: baseline; }
.svc li::before { content: ""; width: 6px; height: 6px; background: var(--gold-400); flex: none; transform: translateY(-2px) rotate(45deg); }

/* Creative & Digital */
.creative { padding: clamp(72px, 9vw, 120px) 0; background: var(--surface); border-bottom: 1px solid var(--hairline); }
.creative-inner { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.creative-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creative-list li { border: 1px solid var(--hairline); border-left: 2px solid var(--gold-400); padding: 13px 18px; font-size: 17px; background: var(--ground); transition: border-color .3s, transform .3s var(--ease-mag); }
.creative-list li:hover { border-color: var(--gold-700); transform: translateY(-2px); }

/* Manifesto */
.manifesto { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 200px) 0; background: var(--ground); }
.manifesto-bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; }
.manifesto-bg circle { fill: none; stroke: rgba(223,178,87,0.09); stroke-width: 1; }
.manifesto-inner { position: relative; }
.m-small { font-size: clamp(18px, 1.8vw, 24px); color: var(--muted); margin: 0; }
.m-big { margin: 18px 0 0; font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(40px, 7vw, 104px); line-height: 1; letter-spacing: -0.035em; max-width: 14ch; }
.m-big em { font-family: Montserrat, sans-serif; font-style: normal; font-weight: 800; letter-spacing: -0.035em; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }

/* Protocol */
.protocol { position: relative; }
.proto-card { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; background: var(--surface); border-top: 1px solid var(--hairline); position: relative; }
.proto-card:nth-child(1) { z-index: 1; }
.proto-card:nth-child(2) { background: #121216; z-index: 2; }
.proto-card:nth-child(3) { background: #151519; z-index: 3; }
.proto-inner { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.proto-num { font-family: "IBM Plex Mono", monospace; font-size: 14px; letter-spacing: 0.08em; color: var(--gold-400); margin: 0; text-transform: uppercase; }
.proto-title { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(64px, 11vw, 168px); line-height: 0.95; letter-spacing: -0.045em; margin: 18px 0 0; }
.proto-copy { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; color: var(--muted); max-width: 44ch; margin: 22px 0 0; }
.proto-art { width: 100%; max-width: 420px; justify-self: center; }
.art-gear circle, .art-gear path { fill: none; stroke: var(--gold-400); stroke-width: 2; }
.art-gear .teeth rect { fill: var(--gold-700); }
.art-gear .spin-rev circle { stroke: var(--silver-500); }
.spin-slow { transform-origin: 150px 150px; animation: spin 30s linear infinite; }
.spin-rev { transform-origin: 150px 150px; animation: spin 14s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-scan .dot { fill: var(--silver-500); opacity: 0.35; transition: opacity .3s, fill .3s; }
.art-scan .dot.hit { fill: var(--gold-400); opacity: 1; }
.scan-line { fill: var(--gold-300); filter: drop-shadow(0 0 6px rgba(223,178,87,0.9)); }
.art-wave .wave-base { fill: none; stroke: var(--hairline); stroke-width: 1; }
.art-wave .wave { fill: none; stroke: var(--gold-400); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: wave 3.2s var(--ease-mag) infinite; filter: drop-shadow(0 0 8px rgba(223,178,87,0.5)); }
@keyframes wave { 0% { stroke-dashoffset: 700; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -700; } }

/* Packages */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; background: transparent; color: var(--ink); border: 1px solid var(--silver-500); border-radius: 2px; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-mag); }
.chip:hover { transform: translateY(-1px); border-color: var(--gold-400); }
.chip.is-on { background: var(--gold-400); color: #0b0b0d; border-color: var(--gold-400); }
.pkg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.pkg { display: grid; grid-template-columns: 56px minmax(0, 1fr) 200px 150px 120px; align-items: center; gap: 16px; padding: 24px 8px; border-bottom: 1px solid var(--hairline); position: relative; transition: background .3s, padding .35s var(--ease-mag); }
.pkg::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold-400); transition: width .5s var(--ease-mag); }
.pkg:hover { background: rgba(255,255,255,0.025); padding-left: 16px; }
.pkg:hover::before { width: 100%; }
.pkg[hidden] { display: none; }
.pkg-n { font-family: "Barlow Semi Condensed", sans-serif; font-size: 15px; letter-spacing: 0.06em; color: var(--muted); }
.pkg-name { font-family: Montserrat, sans-serif; font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; }
.pkg-cat { font-family: "Barlow Semi Condensed", sans-serif; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-400); }
.pkg-dur { font-size: 16px; color: var(--silver-300); }
.pkg-go { justify-self: end; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; transition: color .25s, transform .25s var(--ease-mag); }
.pkg-go:hover { color: var(--gold-300); transform: translateY(-1px); }

/* Founder's note */
.founder { padding: clamp(88px, 11vw, 150px) 0 clamp(72px, 9vw, 120px); border-top: 1px solid var(--hairline); background: linear-gradient(180deg, var(--ground) 0%, #0a0a0d 100%); }
.founder-inner { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(36px, 7vw, 104px); align-items: start; }
.founder-aside { position: sticky; top: 120px; }
.founder-mark { width: 190px; height: auto; display: block; margin: 28px 0 24px; }
.founder-name { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.01em; margin: 0; }
.founder-role { font-family: "Barlow Semi Condensed", sans-serif; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-400); line-height: 1.5; margin: 8px 0 0; }
.founder-body { max-width: 68ch; }
.founder-body p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.75; color: #d2d2d6; margin: 0 0 22px; }
.founder-open { font-size: clamp(19px, 1.7vw, 23px) !important; line-height: 1.6 !important; color: var(--ink) !important; }
.founder-beat { font-family: Montserrat, sans-serif; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px) !important; line-height: 1.25 !important; color: var(--ink) !important; letter-spacing: -0.015em; margin: 34px 0 30px !important; }
.founder-pull { margin: 40px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--gold-400); font-family: Montserrat, sans-serif; font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.32; letter-spacing: -0.015em; color: var(--silver-100); }
.founder-promise { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(26px, 3.2vw, 44px) !important; line-height: 1.1 !important; letter-spacing: -0.02em; margin: 6px 0 34px !important; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.founder-close { font-size: clamp(19px, 1.7vw, 22px) !important; color: var(--ink) !important; margin-bottom: 14px !important; }
.founder-sig { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; font-size: 22px !important; line-height: 1.2 !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400) !important; margin: 0 0 30px !important; }
.founder-cta { margin-top: 4px; }

/* Client types ticker */
.clients { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface); }
.clients-inner { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); padding-top: 22px; padding-bottom: 22px; }
.clients-label { flex: none; margin: 0; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }
.clients-rail { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent); }
.clients-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 150s linear infinite; }
.client { font-family: Barlow, sans-serif; font-weight: 500; font-size: clamp(16px, 1.4vw, 19px); color: var(--silver-100); white-space: nowrap; }
.client.g { color: var(--gold-400); }
.client-sep { width: 7px; height: 7px; flex: none; background: var(--gold-400); transform: rotate(45deg); }
@media (max-width: 720px) {
  .clients-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .clients-rail { width: 100%; }
}

/* Packages as cards */
.pkg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pkg { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; height: 100%; padding: 26px; background: var(--surface); border: 1px solid var(--hairline); text-decoration: none; color: var(--ink); transition: border-color .35s, transform .35s var(--ease-mag), background .35s; }
.pkg:hover { border-color: var(--gold-600); background: var(--raised); transform: translateY(-3px); }
.pkg[hidden] { display: none; }
.pkg-cat { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-400); }
.pkg-name { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.pkg-dur { font-size: 15px; color: var(--muted); margin-top: auto; }
.pkg-open { justify-content: center; border-color: var(--gold-400); background: var(--raised); }
.pkg-link { color: var(--gold-400); font-weight: 600; font-size: 16px; }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 30px 0; background: var(--ground); }
.marquee-track .mq-run { display: inline-flex; align-items: center; gap: 36px; }
.clients-track .mq-run { display: inline-flex; align-items: center; gap: 28px; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 76s linear infinite; font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(26px, 3.6vw, 48px); letter-spacing: 0.06em; white-space: nowrap; }
.marquee-track span { color: var(--silver-100); }
.marquee-track span.g { color: var(--gold-400); }
.marquee-track svg { width: 0.9em; height: 0.6em; fill: var(--gold-400); flex: none; }
.marquee-track i { width: 10px; height: 10px; background: var(--gold-700); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intake */
.intake { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.next-steps { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; font-size: 17px; line-height: 1.55; }
.next-steps b { width: 32px; height: 32px; flex: none; border: 1px solid var(--gold-400); color: var(--gold-400); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
.form-shell { background: var(--surface); border: 1px solid var(--hairline); padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9); position: relative; }
.form-shell::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold-metal); }
.hp { position: absolute; left: -9999px; }
.progress { margin-bottom: 30px; }
.progress-label { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-400); }
.progress-bar { height: 3px; background: var(--hairline); margin-top: 12px; }
.progress-bar i { display: block; height: 3px; width: 50%; background: var(--gold-400); transition: width .6s var(--ease-mag); }
.step { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; min-width: 0; }
.step[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide, .form-actions, .form-error { grid-column: 1 / -1; }
.field label { font-size: 16px; font-weight: 500; }
.opt, .hint { color: var(--muted); font-weight: 400; }
.hint { font-size: 14px; margin: -2px 0 0; }
.field input, .field textarea, .field select { width: 100%; box-sizing: border-box; background: var(--ground); color: var(--ink); border: 1px solid var(--silver-500); border-radius: 2px; font: 17px/1.5 Barlow, sans-serif; transition: border-color .2s, box-shadow .2s; }
.field input, .field select { min-height: 54px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a90; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(232,195,106,0.35); }
.field.invalid input, .field.invalid textarea { border-color: #e2725b; }
.err { margin: 0; min-height: 0; font-size: 14px; color: #f08b75; }
.err:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--gold-400); border-bottom: 2px solid var(--gold-400); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field select option { background: var(--surface); color: var(--ink); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-note { color: var(--muted); font-size: 14px; }
.btn[hidden] { display: none; }
.form-error { margin: 4px 0 0; color: #f08b75; font-size: 15px; }
.thanks { text-align: left; padding: 20px 0 8px; }
.thanks[hidden] { display: none; }
.thanks svg { width: 56px; height: 56px; margin-bottom: 20px; }
.thanks circle { fill: none; stroke: var(--gold-400); stroke-width: 2; }
.thanks path { fill: none; stroke: var(--gold-400); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 12px 0 0; }

/* Footer */
.footer { background: #000; border-top: 1px solid var(--hairline); margin-top: clamp(40px, 6vw, 80px); position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold-metal); }
.footer-grid { display: grid; grid-template-columns: 6fr 3fr 2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: 220px; height: auto; display: block; }
.footer-brand p { color: var(--muted); font-size: 16px; margin: 14px 0 0; max-width: 34ch; line-height: 1.6; }
.footer-tagline { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 500; font-size: 17px !important; letter-spacing: 0.06em; line-height: 1.75 !important; color: var(--silver-300) !important; width: 220px; max-width: 100%; text-align: center; }
.footer-tagline .gold { color: var(--gold-400); }
.footer-contact { width: 220px; max-width: 100%; text-align: center; margin: 16px 0 0 !important; }
.footer-contact a { color: var(--gold-400); text-decoration: none; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.04em; transition: color .25s; }
.footer-contact a:hover { color: var(--gold-200); }
.intake-email { margin: 14px 0 0; font-size: 17px; color: var(--muted); }
.intake-email a { color: var(--gold-400); font-weight: 600; text-decoration: none; }
.intake-email a:hover { color: var(--gold-200); }
.footer-h { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); margin: 0 0 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--silver-300); text-decoration: none; font-size: 16px; width: fit-content; transition: color .25s, transform .25s var(--ease-mag); }
.footer-col a:hover { color: var(--gold-300); transform: translateY(-1px); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--hairline); padding-top: 22px; padding-bottom: 30px; font-size: 14px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 10px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); animation: pulse 1.8s infinite; }
.ver { color: #6f6f75; }

/* Responsive */

@media (max-width: 1080px) {
  .feature-grid, .challenge-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-media { order: -1; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar:nth-child(4) { border-left: 0; }
  .pillar:nth-child(n+4) { border-top: 1px solid var(--hairline); }
  .panel, .intake, .proto-inner, .creative-inner, .founder-inner { grid-template-columns: minmax(0, 1fr); }
  .founder-aside { position: static; }
  .founder-mark { margin-top: 20px; }
  .proto-art { max-width: 260px; justify-self: start; }
  .pkg { grid-template-columns: 40px minmax(0, 1fr) auto; row-gap: 6px; }
  .pkg-cat { grid-column: 2; grid-row: 2; }
  .pkg-dur { grid-column: 3; grid-row: 1; justify-self: end; }
  .pkg-go { grid-column: 3; grid-row: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-ring { width: 120vw; right: -45vw; top: 28%; opacity: 0.55; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
}
@media (max-width: 640px) {
  .pkg-grid { grid-template-columns: minmax(0, 1fr); }
  .nav { top: 8px; width: calc(100% - 16px); }
  .nav-logo img { height: 42px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(odd) { border-left: 0; }
  .pillar:nth-child(4) { border-left: 1px solid var(--hairline); }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .pillar img, .picon { height: 66px; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
  .pkg { grid-template-columns: minmax(0, 1fr) auto; }
  .pkg-n { display: none; }
  .pkg-name { grid-column: 1; grid-row: 1; }
  .pkg-cat { grid-column: 1; grid-row: 2; }
  .pkg-dur { grid-column: 2; grid-row: 1; }
  .pkg-go { grid-column: 2; grid-row: 2; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}


/* Tablet range: two and three across instead of one narrow column */
@media (min-width: 700px) and (max-width: 1079px) {
  .challenge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .feature-grid .feature:last-child { grid-column: 1 / -1; }
  .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel { grid-template-columns: 4fr 6fr; gap: 40px; }
  .creative-inner { grid-template-columns: 5fr 6fr; gap: 40px; }
  .founder-inner { grid-template-columns: 3fr 7fr; gap: 40px; }
  .founder-aside { position: sticky; top: 104px; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone polish */
@media (max-width: 640px) {
  .wrap { padding-inline: 22px; }
  .section { padding-top: 68px; padding-bottom: 48px; }
  .h2 { font-size: 30px; max-width: 22ch; }
  .feature-ui { height: 268px; }
  .tw-body { font-size: 14px; line-height: 1.8; }
  .tw-head, .sch-head { font-size: 12.5px; }
  .wk { height: 38px; font-size: 13px; }
  .shuf-quote { font-size: 20px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; column-gap: 16px; }
  .hero-stats dt { font-size: 12.5px; letter-spacing: 0.1em; }
  .hero-stats dd { font-size: 26px; }
  .pillar { padding: 22px 8px 18px; }
  .pillar span { font-size: 15px; }
  .panel .h3 { font-size: 26px; }
  .founder-body p { font-size: 17px; line-height: 1.7; }
  .founder-pull { font-size: 21px; margin: 28px 0; padding-left: 20px; }
  .founder-promise { font-size: 26px !important; }
  .marquee { padding: 22px 0; }
  .marquee-track { font-size: 24px; gap: 26px; }
  .clients-label { font-size: 14px; }
  .client { font-size: 16px; }
  .form-shell { padding: 22px 20px; }
  .field input, .field select { min-height: 52px; }
  .btn-lg { width: 100%; }
  .challenge { padding: 26px 22px; }
  .feature { padding: 18px 18px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-track, .clients-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .marquee-track .mq-run + .mq-run, .clients-track .mq-run + .mq-run { display: none; }
  .mq-run { display: inline-flex; align-items: center; gap: inherit; flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .clients-rail { mask-image: none; -webkit-mask-image: none; }
  .clients-inner { flex-wrap: wrap; }
  .mq-run > i:last-child, .mq-run > .client-sep:last-child { display: none; }
  .art-wave .wave { stroke-dashoffset: 0; }
}
