:root {
  --black: #0b0b0d;
  --off-black: #121216;
  --paper: #f1efe8;
  --ink: #15151a;
  --muted: #98989f;
  --line: #303036;
  --acid: #d9ff43;
  --violet: #7357ff;
  --coral: #ff594d;
  --cyan: #64dcff;
  color: var(--paper);
  background: var(--black);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; }
a { color: inherit; }
.page-width { width: min(1360px, calc(100% - 64px)); margin-inline: auto; }

.public-site { position: relative; overflow-x: hidden; background: var(--black); color: var(--paper); }
.public-site::before { position: fixed; z-index: 50; inset: 0; opacity: .07; background-image: repeating-radial-gradient(circle at 20% 30%, transparent 0, transparent 1px, #fff 1.5px, transparent 2px); background-size: 7px 7px; content: ""; pointer-events: none; mix-blend-mode: soft-light; }

.site-header { position: relative; z-index: 20; width: min(1440px, calc(100% - 48px)); min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-inline: auto; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 900; letter-spacing: .13em; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); color: var(--black); font-size: 15px; letter-spacing: 0; }
.brand-era { border-left: 1px solid currentColor; opacity: .5; margin-left: 4px; padding-left: 13px; font: 600 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: #b6b6bd; font-size: 12px; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { color: var(--paper); }
.site-header .nav-cta { border: 1px solid #56565e; border-radius: 999px; color: var(--paper); padding: 10px 15px; }
.site-header .nav-cta:hover { border-color: var(--acid); background: var(--acid); color: var(--black); }

.home-hero { min-height: 790px; display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: center; gap: clamp(50px, 7vw, 110px); padding-block: 85px; }
.hero-meta { display: flex; justify-content: space-between; max-width: 800px; margin-bottom: 28px; color: #898991; font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.hero-type h1 { margin: 0; font-size: clamp(68px, 9vw, 142px); font-weight: 900; letter-spacing: -.085em; line-height: .78; text-transform: uppercase; }
.hero-type h1 > span { display: block; }
.chromatic-word { width: max-content; max-width: 100%; color: var(--paper); text-shadow: -5px 2px 0 var(--coral), 5px -2px 0 var(--cyan); }
.hero-support { max-width: 800px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 38px; margin-top: 50px; border-top: 1px solid var(--line); padding-top: 25px; }
.hero-support p { max-width: 560px; margin: 0; color: #aaaab1; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; border: 0; border-radius: 0; padding: 15px 18px; font-size: 11px; font-weight: 900; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.button-acid { background: var(--acid); color: var(--black); }
.button-acid:hover { background: var(--cyan); }
.button-dark { background: var(--black); color: var(--paper); }
.button-dark:hover { background: var(--paper); color: var(--black); }
.button-primary { background: #ef452f; color: white; }
.button-secondary { border: 1px solid #bcc2c0; background: transparent; color: var(--ink); }
.text-link { font-size: 12px; font-weight: 800; text-underline-offset: 5px; }

.signal-object { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid #36363d; background: #17171c; }
.signal-object::after { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 45%, #ffffff18 45%, #ffffff18 45.5%, transparent 45.5%); content: ""; }
.signal-label, .signal-object small { position: absolute; z-index: 5; left: 20px; font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .09em; }
.signal-label { top: 20px; color: var(--acid); }
.signal-object small { right: 20px; bottom: 19px; color: #8e8e97; }
.signal-object strong { position: absolute; z-index: 4; top: 50%; left: 50%; color: var(--black); font-size: 140px; line-height: 1; transform: translate(-50%, -52%); }
.signal-disc { position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%; filter: saturate(1.2); }
.signal-disc-a { top: 3%; left: -13%; background: var(--coral); animation: orbit-a 12s ease-in-out infinite alternate; }
.signal-disc-b { right: -17%; bottom: -2%; background: var(--violet); mix-blend-mode: screen; animation: orbit-b 9s ease-in-out infinite alternate; }
.signal-grid { position: absolute; z-index: 3; inset: 0; opacity: .55; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), #ffffff33 calc(12.5% - 1px), #ffffff33 12.5%), repeating-linear-gradient(0deg, transparent 0, transparent calc(12.5% - 1px), #ffffff33 calc(12.5% - 1px), #ffffff33 12.5%); mix-blend-mode: overlay; }
@keyframes orbit-a { to { transform: translate(34%, 30%) scale(.82); } }
@keyframes orbit-b { to { transform: translate(-28%, -34%) scale(1.12); } }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--off-black); }
.ticker > div { width: max-content; display: flex; align-items: center; gap: 28px; padding: 14px 0; animation: ticker 28s linear infinite; }
.ticker span { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ticker i { width: 7px; height: 7px; display: block; background: var(--acid); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

.client-rail { padding-block: 78px 34px; }
.client-rail-heading { display: grid; grid-template-columns: 230px 1fr; gap: 45px; align-items: end; margin-bottom: 42px; }
.client-rail-heading h2 { margin: 0; font-size: clamp(36px, 4.6vw, 64px); font-weight: 900; letter-spacing: -.065em; line-height: .86; text-transform: uppercase; }
.client-logo-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.client-logo { min-width: 0; height: 108px; display: grid; place-items: center; border-right: 1px solid var(--line); padding: 20px 16px; }
.client-logo:first-child { border-left: 1px solid var(--line); }
.client-logo img { width: auto; max-width: 86px; height: auto; max-height: 52px; display: block; opacity: .58; transition: opacity .2s ease, transform .2s ease; }
.client-logo-wide img { max-width: 112px; }
.client-logo-flat img { filter: grayscale(1) brightness(0) invert(1); }
.client-logo-reverse img { filter: grayscale(1) invert(1) brightness(1.7); }
.client-logo-native img { filter: grayscale(1); }
.client-logo:hover img { opacity: 1; transform: translateY(-2px); }

.public-section { display: grid; grid-template-columns: 230px 1fr; gap: 45px; padding-block: 130px 75px; }
.section-index { color: #86868e; font: 700 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.section-copy h2 { max-width: 950px; margin: -12px 0 35px; font-size: clamp(48px, 7vw, 100px); font-weight: 900; letter-spacing: -.07em; line-height: .92; text-transform: uppercase; }
.section-copy h2 em { color: var(--acid); font-style: normal; }
.section-copy p { max-width: 700px; margin: 0 0 0 auto; color: #a4a4ab; font-size: 18px; line-height: 1.65; }

.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 130px; }
.capability-card { min-height: 430px; display: flex; flex-direction: column; position: relative; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 27px; text-decoration: none; isolation: isolate; }
.capability-card::before { position: absolute; z-index: -1; inset: auto 0 0; height: 7px; background: var(--card-color); content: ""; transition: height .25s ease; }
.capability-card:hover::before { height: 100%; }
.capability-card:hover { color: var(--black); }
.capability-card.acid, .service-block.acid, .contact-cell.acid { --card-color: var(--acid); }
.capability-card.violet, .service-block.violet, .contact-cell.violet { --card-color: var(--violet); }
.capability-card.coral, .service-block.coral, .contact-cell.coral { --card-color: var(--coral); }
.capability-card.cyan, .service-block.cyan, .contact-cell.cyan { --card-color: var(--cyan); }
.capability-card > span { font: 700 10px/1 ui-monospace, monospace; }
.capability-card h3 { margin: auto 0 20px; font-size: clamp(38px, 4.6vw, 68px); font-weight: 900; letter-spacing: -.06em; line-height: .86; text-transform: uppercase; }
.capability-card p { max-width: 480px; margin: 0; color: #96969e; line-height: 1.55; }
.capability-card:hover p { color: #1b1b20; }
.capability-card b { margin-top: 30px; font-size: 10px; letter-spacing: .08em; }

.process-band { background: var(--acid); color: var(--black); padding-block: 100px; }
.process-band .section-index { color: #565f29; }
.process-band h2 { margin: 55px 0 90px; font-size: clamp(58px, 9vw, 130px); font-weight: 900; letter-spacing: -.085em; line-height: .8; text-transform: uppercase; }
.process-band h2 span { -webkit-text-stroke: 2px var(--black); color: transparent; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #1115; }
.process-steps article { min-height: 240px; border-right: 1px solid #1115; padding: 25px 35px 0 0; }
.process-steps article + article { padding-left: 35px; }
.process-steps article:last-child { border-right: 0; }
.process-steps span { font: 700 10px/1 ui-monospace, monospace; }
.process-steps h3 { margin: 70px 0 14px; font-size: 24px; text-transform: uppercase; }
.process-steps p { max-width: 350px; margin: 0; color: #383d21; line-height: 1.55; }

.lab-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-block: 140px; }
.lab-visual { position: relative; aspect-ratio: 1.35; overflow: hidden; border: 1px solid #3a3a42; background: var(--off-black); }
.lab-visual::before { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(var(--cyan) 1px, transparent 1px); background-size: 14px 14px; content: ""; }
.lab-visual > span { position: absolute; z-index: 2; top: 20px; left: 20px; color: var(--cyan); font: 800 10px/1 monospace; }
.lab-visual i { position: absolute; width: 54%; height: 22%; display: block; border: 2px solid var(--paper); transform: skew(-24deg) rotate(-11deg); }
.lab-visual i:nth-of-type(1) { top: 20%; left: 20%; background: var(--coral); }
.lab-visual i:nth-of-type(2) { top: 39%; left: 28%; background: var(--violet); }
.lab-visual i:nth-of-type(3) { top: 58%; left: 36%; background: var(--acid); }
.lab-visual strong { position: absolute; z-index: 3; right: 22px; bottom: 19px; color: var(--black); font-size: clamp(26px, 3.5vw, 55px); letter-spacing: -.06em; line-height: .8; text-align: right; }
.lab-copy h2 { margin: 48px 0 25px; font-size: clamp(45px, 6vw, 88px); font-weight: 900; letter-spacing: -.07em; line-height: .88; text-transform: uppercase; }
.lab-copy p { max-width: 600px; color: #a0a0a8; font-size: 17px; line-height: 1.65; }
.lab-copy .text-link { display: inline-block; margin-top: 25px; }

.public-cta { background: var(--violet); color: var(--black); }
.public-cta > div { min-height: 610px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 90px; }
.public-cta > div > span { font: 800 10px/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.public-cta h2 { margin: 35px 0 55px; font-size: clamp(62px, 10vw, 145px); font-weight: 900; letter-spacing: -.085em; line-height: .78; text-transform: uppercase; }

.public-page-hero { min-height: 690px; display: flex; flex-direction: column; justify-content: end; border-bottom: 1px solid var(--line); padding-block: 100px 80px; }
.public-page-hero h1 { margin: 60px 0 35px; font-size: clamp(74px, 12vw, 170px); font-weight: 900; letter-spacing: -.09em; line-height: .76; text-transform: uppercase; }
.public-page-hero h1 span { color: var(--acid); }
.public-page-hero p { max-width: 760px; margin: 0 0 0 auto; color: #a4a4ac; font-size: 20px; line-height: 1.55; }

.manifesto { display: grid; grid-template-columns: 220px 1fr; gap: 50px; padding-block: 130px; }
.manifesto p { margin: -15px 0 0; font-size: clamp(42px, 6.7vw, 92px); font-weight: 900; letter-spacing: -.065em; line-height: .95; text-transform: uppercase; }
.manifesto em { color: var(--cyan); font-style: normal; }
.manifesto em:nth-of-type(2) { color: var(--coral); }
.manifesto em:nth-of-type(3) { color: var(--acid); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; border-block: 1px solid var(--line); }
.about-fact, .about-copy { min-height: 520px; padding: 55px 50px 55px 0; }
.about-fact { display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.about-fact strong { color: var(--violet); font-size: clamp(100px, 14vw, 190px); font-weight: 900; letter-spacing: -.1em; line-height: .8; }
.about-fact span { color: #92929a; font: 700 10px/1 monospace; text-transform: uppercase; }
.about-copy { padding-left: 55px; }
.about-copy h2 { margin: 0 0 45px; font-size: clamp(42px, 5vw, 72px); font-weight: 900; letter-spacing: -.06em; line-height: .92; text-transform: uppercase; }
.about-copy p { color: #a2a2aa; font-size: 17px; line-height: 1.7; }
.principles-band { background: var(--paper); color: var(--black); padding-block: 110px; }
.principle-list { margin-top: 65px; }
.principle-list article { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 30px; border-top: 1px solid #1113; padding: 28px 0 45px; }
.principle-list span { font: 700 10px/1 monospace; }
.principle-list h3 { margin: -5px 0 0; font-size: clamp(28px, 4vw, 54px); letter-spacing: -.05em; text-transform: uppercase; }
.principle-list p { max-width: 450px; margin: 0; color: #5d5d64; line-height: 1.55; }

.service-stack { margin-block: 120px; border-top: 1px solid var(--line); }
.service-block { position: relative; min-height: 360px; display: grid; grid-template-columns: 90px 1fr 180px; gap: 35px; overflow: hidden; border-bottom: 1px solid var(--line); padding: 38px 25px; isolation: isolate; }
.service-block::before { position: absolute; z-index: -1; top: 0; right: 0; width: 8px; height: 100%; background: var(--card-color); content: ""; transition: width .25s ease; }
.service-block:hover::before { width: 100%; }
.service-block:hover { color: var(--black); }
.service-block > span { font: 700 10px/1 monospace; }
.service-block h2 { margin: -9px 0 25px; font-size: clamp(42px, 6vw, 86px); font-weight: 900; letter-spacing: -.07em; line-height: .87; text-transform: uppercase; }
.service-block p { max-width: 690px; color: #9f9fa7; font-size: 17px; line-height: 1.6; }
.service-block:hover p { color: #25252b; }
.service-block small { font: 700 9px/1.3 monospace; letter-spacing: .08em; }
.service-block > b { align-self: end; font-size: 38px; letter-spacing: -.05em; text-align: right; }

.contact-hero h1 span { color: var(--coral); }
.contact-board { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 110px 140px; }
.contact-email { min-height: 280px; grid-column: 1 / -1; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 25px; border: 1px solid var(--line); padding: 32px; text-decoration: none; transition: background .2s, color .2s; }
.contact-email:hover { background: var(--acid); color: var(--black); }
.contact-email > span, .contact-cell > span { font: 700 9px/1 monospace; letter-spacing: .08em; }
.contact-email strong { overflow-wrap: anywhere; font-size: clamp(35px, 7vw, 94px); letter-spacing: -.07em; }
.contact-email b { font-size: 38px; }
.contact-cell { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-top: 0; margin-right: -1px; padding: 25px; transition: background .2s, color .2s; }
.contact-cell:hover { background: var(--card-color); color: var(--black); }
.contact-cell a, .contact-cell p { margin: 35px 0 0; color: inherit; font-size: 19px; font-weight: 700; line-height: 1.5; text-decoration: none; }

.site-footer { width: min(1440px, calc(100% - 48px)); display: flex; justify-content: space-between; gap: 35px; margin-inline: auto; border-top: 1px solid var(--line); padding: 45px 0 60px; color: #8d8d95; font: 600 10px/1.5 ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase; }
.site-footer > div { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { color: var(--paper); font-family: Arial, sans-serif; font-size: 21px; letter-spacing: -.04em; }
.footer-dot { color: var(--acid); }
.footer-links { align-items: end; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: inherit; }

.legal-hero { min-height: 580px; display: flex; flex-direction: column; justify-content: end; border-bottom: 1px solid var(--line); padding-block: 100px 65px; }
.legal-hero h1 { margin: 55px 0 30px; font-size: clamp(70px, 11vw, 150px); font-weight: 900; letter-spacing: -.085em; line-height: .78; text-transform: uppercase; }
.legal-hero h1 span { color: var(--acid); }
.legal-hero p { max-width: 700px; margin: 0 0 0 auto; color: #a4a4ac; font-size: 20px; line-height: 1.55; }
.legal-effective { margin-top: 45px; color: #777780; font: 700 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 820px); justify-content: space-between; gap: 90px; padding-block: 100px 150px; }
.legal-summary { align-self: start; position: sticky; top: 40px; border-top: 5px solid var(--acid); background: #17171a; padding: 24px; }
.legal-summary > span { color: var(--acid); font: 800 10px/1 ui-monospace, monospace; letter-spacing: .1em; }
.legal-summary p { margin: 25px 0 35px; color: #c4c4ca; font-size: 14px; line-height: 1.65; }
.legal-summary a { color: var(--paper); font: 800 10px/1.4 ui-monospace, monospace; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.legal-content section { border-top: 1px solid var(--line); padding: 0 0 58px; }
.legal-content section:first-child { border-top: 0; }
.legal-content h2 { margin: -4px 0 25px; color: var(--paper); font-size: clamp(25px, 3vw, 38px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.legal-content p, .legal-content li, .legal-content address { color: #aaaab2; font-size: 16px; line-height: 1.75; }
.legal-content p { margin: 0 0 20px; }
.legal-content ul { margin: 0 0 24px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; padding-left: 5px; }
.legal-content strong { color: #d8d8dc; }
.legal-content a { color: var(--acid); }
.legal-content address { font-style: normal; }

/* Internal Razor application */
.admin-site { background: #f5f2ea; color: var(--ink); }
.admin-site .site-header { border-color: #d6d9d5; }
.admin-site .brand-mark { background: #ef452f; color: white; }
.admin-site .site-header nav a { color: #526074; }
.admin-site .site-header nav a:hover { color: #ef452f; }
.admin-site .site-header .nav-cta { border-color: #bac0bd; color: var(--ink); }
.admin-site .site-header .nav-cta:hover { border-color: var(--ink); background: var(--ink); color: white; }
.admin-site .site-footer { border-color: #d6d9d5; color: #667286; }
.admin-site .site-footer strong { color: var(--ink); }
.admin-site .footer-dot { color: #ef452f; }
.admin-site .eyebrow { color: #0c6e69; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.admin-shell { min-height: 620px; padding-block: 70px 100px; }
.admin-shell.narrow { max-width: 840px; }
.admin-header { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 45px; }
.admin-header h1 { margin: 10px 0 15px; font-size: clamp(48px, 6vw, 78px); font-weight: 900; letter-spacing: -.06em; line-height: 1; text-transform: uppercase; }
.admin-header p { max-width: 650px; margin: 0; color: #657184; line-height: 1.6; }
.admin-header.compact h1 { font-size: clamp(44px, 5vw, 64px); }
.admin-tabs { display: flex; gap: 25px; margin-bottom: 35px; border-bottom: 1px solid #d6d9d5; }
.admin-tabs a { border-bottom: 2px solid transparent; color: #657184; padding: 12px 1px; font-size: 12px; font-weight: 750; text-decoration: none; }
.admin-tabs a.active { border-bottom-color: #ef452f; color: var(--ink); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-grid article { min-height: 230px; display: flex; flex-direction: column; border: 1px solid #d6d9d5; background: #fff8; padding: 25px; }
.metric-grid article > span { color: #0c6e69; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.metric-grid strong { margin-top: auto; font-size: 65px; font-weight: 900; }
.metric-grid a { margin-top: 16px; color: #657184; font-size: 12px; font-weight: 700; }
.prototype-note { display: flex; gap: 18px; margin-top: 24px; border-left: 3px solid #d59b27; background: #f4e9cb; padding: 14px 17px; color: #665936; font-size: 12px; }
.data-table-wrap { overflow-x: auto; border: 1px solid #d6d9d5; background: #fff9; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { background: #ebe8df; color: #657184; font-size: 10px; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.data-table th, .data-table td { border-bottom: 1px solid #d6d9d5; padding: 15px 18px; vertical-align: top; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td small { display: block; margin-top: 4px; color: #657184; }
.job-link { color: inherit; text-decoration: none; }
.job-link:hover strong { color: #ef452f; }
.status-pill { display: inline-block; border-radius: 999px; background: #d9ebe8; color: #0c6e69; padding: 5px 8px; font-size: 10px; font-weight: 800; }
.empty-state { border: 1px dashed #b8c0c0; padding: 50px; text-align: center; }
.empty-state h2 { margin: 0 0 10px; font-size: 32px; font-weight: 900; }
.empty-state p { margin: 0 0 25px; color: #657184; }
.admin-form { border-top: 1px solid #d6d9d5; padding-top: 30px; }
.admin-form fieldset { display: grid; gap: 7px; margin: 0 0 35px; border: 0; padding: 0; }
.admin-form legend { width: 100%; margin-bottom: 20px; border-bottom: 1px solid #d6d9d5; padding-bottom: 12px; color: #0c6e69; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-form label { margin-top: 8px; color: #657184; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; border: 1px solid #bdc5c6; border-radius: 3px; background: white; color: var(--ink); padding: 11px 12px; font: inherit; }
.admin-form textarea { min-height: 110px; resize: vertical; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: #0c6e69; outline: 2px solid #0c6e6920; }
.admin-form [data-valmsg-for], .validation-summary { color: #b52e20; font-size: 11px; }
.validation-summary:empty { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; }
.form-help { margin: -2px 0 12px; color: var(--admin-muted); font-size: 12px; line-height: 1.55; }
.job-board { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 30px; align-items: start; }
.job-creatives, .job-create-creative { border: 1px solid #d6d9d5; background: #fff9; padding: 28px; }
.subsection-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.subsection-heading h2, .job-create-creative h2 { margin: 8px 0 0; font-size: 34px; font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; }
.creative-list { border-top: 1px solid #d6d9d5; }
.creative-list article { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid #d6d9d5; padding-block: 24px; }
.creative-list article:last-child { border-bottom: 0; }
.creative-list h3 { margin: 16px 0 7px; font-size: 25px; }
.creative-list p { margin: 0; color: #657184; font-size: 12px; }
.job-create-creative h2 { margin-bottom: 25px; font-size: 26px; line-height: 1.05; }
.admin-form.compact-form { border-top: 0; padding-top: 0; }
.admin-form.compact-form .button { width: 100%; margin-top: 25px; }
.nav-signout { margin: 0; }
.nav-signout button { border: 0; background: transparent; color: inherit; padding: 0; font: inherit; cursor: pointer; }
.nav-signout button:hover { color: #ef452f; }
.account-shell { min-height: calc(100vh - 190px); display: grid; place-items: center; padding-block: 70px; }
.account-card { width: min(100%, 520px); border: 1px solid #d6d9d5; background: #fff9; padding: clamp(28px, 6vw, 58px); }
.account-card h1 { margin: 10px 0 14px; font-size: clamp(48px, 8vw, 74px); font-weight: 900; letter-spacing: -.06em; line-height: .88; text-transform: uppercase; }
.account-card > p { color: #657184; line-height: 1.6; }
.account-card .admin-form { margin-top: 35px; }
.admin-form .checkbox-field { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: #27313e; letter-spacing: 0; text-transform: none; }
.admin-form .checkbox-field input { width: auto; }
.setup-note { margin: 26px 0 0; border-top: 1px solid #d6d9d5; padding-top: 20px; font-size: 13px; }
.setup-note a { color: #0c6e69; font-weight: 800; }
.password-hint { margin: 12px 0 0; color: #657184; font-size: 12px; line-height: 1.5; }

/* Editor-aligned internal theme */
.admin-site {
  --admin-bg: #10141b;
  --admin-panel: #171d26;
  --admin-panel-raised: #202936;
  --admin-border: #2f3948;
  --admin-border-strong: #3b4657;
  --admin-text: #dce6f3;
  --admin-muted: #91a3b7;
  --admin-blue: #48bdff;
  --admin-blue-strong: #168acb;
  min-height: 100vh;
  background-color: var(--admin-bg);
  background-image: radial-gradient(#39485b66 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--admin-text);
}
.admin-site .site-header { position: sticky; top: 0; z-index: 30; width: 100%; min-height: 64px; border-color: var(--admin-border); background: #171d26f5; padding-inline: max(24px, calc((100vw - 1440px) / 2)); backdrop-filter: blur(14px); }
.admin-site .brand { color: var(--admin-text); }
.admin-site .brand-mark { width: 34px; height: 34px; border: 1px solid #46536a; border-radius: 7px; background: #202936; box-shadow: 0 0 24px #7e14ff33; }
.admin-site .brand-mark img { width: 22px; height: 22px; display: block; }
.admin-site .brand-era { color: #718297; }
.admin-site .site-header nav { gap: 20px; }
.admin-site .site-header nav a, .admin-site .nav-signout button { color: #8fa1b6; font-size: 11px; }
.admin-site .site-header nav a:hover, .admin-site .nav-signout button:hover { color: var(--admin-blue); }
.admin-site .site-header .nav-cta { border-color: var(--admin-border-strong); border-radius: 5px; color: var(--admin-text); padding: 9px 13px; }
.admin-site .site-header .nav-cta:hover { border-color: var(--admin-blue); background: #173e56; color: #e8f6ff; }
.admin-site .site-footer { border-color: var(--admin-border); color: #718297; }
.admin-site .site-footer strong { color: var(--admin-text); }
.admin-site .footer-dot { color: var(--admin-blue); }
.admin-site .eyebrow { color: var(--admin-blue); font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; }
.admin-shell { min-height: 620px; padding-block: 58px 100px; }
.admin-header h1 { color: #eef6ff; letter-spacing: -.055em; }
.admin-header p { color: var(--admin-muted); }
.admin-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.admin-tabs { border-color: var(--admin-border); }
.admin-tabs a { color: #7f91a6; }
.admin-tabs a:hover { color: #c6d6e8; }
.admin-tabs a.active { border-bottom-color: var(--admin-blue); color: var(--admin-text); }
.admin-site .button { border-radius: 5px; }
.admin-site .button-primary { border: 1px solid #37b4ff; background: var(--admin-blue-strong); color: white; box-shadow: 0 8px 24px #0873ad22; }
.admin-site .button-primary:hover { background: #1b9bdf; }
.admin-site .button-secondary { border-color: var(--admin-border-strong); background: var(--admin-panel-raised); color: #afbed0; }
.admin-site .button-secondary:hover { border-color: var(--admin-blue); color: #e8f6ff; }
.metric-grid { gap: 14px; }
.metric-grid article { position: relative; min-height: 230px; overflow: hidden; border-color: var(--admin-border); border-radius: 7px; background: linear-gradient(145deg, #1c2531, var(--admin-panel)); box-shadow: 0 18px 50px #05070a38; }
.metric-grid article::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--admin-blue), #863bff); content: ""; }
.metric-grid article > span { color: var(--admin-blue); }
.metric-grid strong { color: #eef6ff; }
.metric-grid a { color: var(--admin-muted); text-decoration-color: #48bdff66; text-underline-offset: 4px; }
.metric-grid a:hover { color: var(--admin-blue); }
.prototype-note { border: 1px solid #3c4a5d; border-left: 3px solid var(--admin-blue); border-radius: 4px; background: #172432; color: #9fb2c7; }
.prototype-note strong { color: #d9efff; }
.data-table-wrap { border-color: var(--admin-border); border-radius: 7px; background: var(--admin-panel); box-shadow: 0 18px 50px #05070a38; }
.data-table { color: #c9d5e3; }
.data-table th { background: #202936; color: #7f91a6; }
.data-table th, .data-table td { border-color: var(--admin-border); }
.data-table tbody tr { transition: background .12s ease; }
.data-table tbody tr:hover { background: #1c2734; }
.data-table td small { color: #718297; }
.money-cell { color: #69d6a2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-action { color: var(--admin-blue); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.table-action:hover { color: #e8f6ff; }
.job-link:hover strong { color: var(--admin-blue); }
.status-pill { border: 1px solid #2b7058; background: #173a30; color: #69d6a2; }
.empty-state { border-color: #3b4657; border-radius: 7px; background: #171d26cc; }
.empty-state h2 { color: #eef6ff; }
.empty-state p { color: var(--admin-muted); }
.admin-form { border-color: var(--admin-border); }
.admin-form legend { border-color: var(--admin-border); color: var(--admin-blue); }
.admin-form label { color: #8fa1b6; }
.admin-form input, .admin-form select, .admin-form textarea { border-color: var(--admin-border-strong); border-radius: 5px; background: #10151d; color: var(--admin-text); color-scheme: dark; }
.admin-form input::placeholder, .admin-form textarea::placeholder { color: #65768a; }
.admin-form .field-hint { margin: -2px 0 8px; color: #718297; font-size: 11px; line-height: 1.5; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: var(--admin-blue); outline: 2px solid #48bdff26; }
.admin-form [data-valmsg-for], .validation-summary { color: #ff8c8c; }
.job-creatives, .job-create-creative { border-color: var(--admin-border); border-radius: 7px; background: #171d26e8; box-shadow: 0 18px 50px #05070a38; }
.deliverable-board { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 30px; align-items: start; margin-bottom: 30px; }
.job-deliverables, .job-upload-deliverable { border: 1px solid var(--admin-border); border-radius: 7px; background: #171d26e8; padding: 28px; box-shadow: 0 18px 50px #05070a38; }
.job-upload-deliverable h2 { margin: 8px 0 25px; color: #eef6ff; font-size: 26px; line-height: 1.05; }
.deliverable-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; }
.deliverable-card { min-width: 0; overflow: hidden; border: 1px solid var(--admin-border); border-radius: 6px; background: #111821; }
.deliverable-preview { aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--admin-border); background: #090d12; }
.deliverable-preview img, .deliverable-preview video { width: 100%; height: 100%; object-fit: contain; }
.deliverable-copy { padding: 16px; }
.deliverable-copy h3 { overflow: hidden; margin: 8px 0 5px; color: #eef6ff; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.deliverable-copy p { overflow: hidden; margin: 0 0 8px; color: var(--admin-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.deliverable-copy small { display: block; color: #718297; font-size: 10px; }
.deliverable-copy .button { width: 100%; margin-top: 15px; text-align: center; }
.upload-success { margin: -10px 0 20px; border: 1px solid #2b7058; border-radius: 5px; background: #173a30; padding: 11px 13px; color: #79dfad; font-size: 12px; }
.empty-state.compact { padding: 35px 22px; }
.empty-state.compact h2 { font-size: 24px; }
.template-error { margin: 0 0 20px; border: 1px solid #7b3a44; border-radius: 5px; background: #3b1d25; padding: 11px 13px; color: #ffabb5; font-size: 12px; }
.creative-actions { min-width: 190px; display: grid; justify-items: stretch; gap: 9px; }
.template-save { position: relative; }
.template-save summary { color: var(--admin-blue); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-align: right; text-transform: uppercase; cursor: pointer; }
.template-save[open] { min-width: 280px; border: 1px solid var(--admin-border); border-radius: 6px; background: #111821; padding: 15px; }
.template-save[open] summary { margin-bottom: 12px; }
.template-save textarea { min-height: 70px; }
.template-create-divider { display: flex; align-items: center; gap: 10px; margin: 25px 0; color: #718297; font-size: 10px; text-transform: uppercase; }
.template-create-divider::before, .template-create-divider::after { height: 1px; flex: 1; background: var(--admin-border); content: ""; }
.template-library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.template-library-card { min-height: 260px; display: flex; flex-direction: column; border: 1px solid var(--admin-border); border-radius: 7px; background: linear-gradient(145deg, #1c2531, var(--admin-panel)); padding: 25px; box-shadow: 0 18px 50px #05070a38; }
.template-library-card h2 { margin: 12px 0 8px; color: #eef6ff; font-size: 28px; }
.template-library-card p { margin: 0 0 25px; color: var(--admin-muted); line-height: 1.5; }
.template-library-card small { margin-top: auto; padding-top: 20px; color: #718297; }
.template-library-card .button { margin-top: 16px; text-align: center; }
.template-card-actions { display: grid; gap: 10px; margin-top: 16px; }
.template-card-actions .button { margin-top: 0; }
.template-advanced-link { color: #718297; font-size: 10px; text-align: center; text-decoration: none; }
.template-advanced-link:hover { color: var(--admin-blue); }
.template-header-actions { display: flex; gap: 8px; }
.template-job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; }
.template-job-card { display: grid; gap: 12px; border: 1px solid var(--admin-border); border-radius: 7px; background: #171d26e8; padding: 24px; }
.template-job-card h2, .template-job-card p { margin: 0; }
.template-job-card p { color: var(--admin-muted); font-size: 12px; }
.template-job-card .status-pill { justify-self: start; }
.template-job-card .button { margin-top: 8px; text-align: center; }
.template-binding-form { margin-top: 24px; }
.binding-key-input { min-width: 190px; border: 1px solid var(--admin-border-strong); border-radius: 4px; background: #10151d; color: var(--admin-blue); padding: 9px 10px; font: 700 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.binding-key-input:focus { border-color: var(--admin-blue); outline: 2px solid #48bdff26; }
.binding-current { max-width: 260px; overflow: hidden; color: var(--admin-muted); text-overflow: ellipsis; white-space: nowrap; }
.template-binding-actions { margin-top: 20px; }
.prototype-note code { color: #d9efff; font: 700 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.template-populate-form { display: grid; gap: 20px; }
.template-populate-panel { border: 1px solid var(--admin-border); border-radius: 7px; background: #171d26e8; padding: 28px; box-shadow: 0 18px 50px #05070a38; }
.template-populate-panel .subsection-heading h2 { margin: 8px 0 0; }
.template-field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.template-field-card { display: grid; align-content: start; gap: 10px; border: 1px solid var(--admin-border); border-radius: 6px; background: #111821; padding: 18px; }
.template-field-card h3 { margin: 7px 0 3px; color: #eef6ff; font-size: 18px; }
.template-field-card small { color: #718297; }
.template-field-card label { margin-top: 10px; color: #8fa1b6; font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.template-field-card input, .template-field-card textarea { width: 100%; border: 1px solid var(--admin-border-strong); border-radius: 5px; background: #10151d; color: var(--admin-text); padding: 11px 12px; font: inherit; color-scheme: dark; }
.template-field-card textarea { min-height: 95px; resize: vertical; }
.template-field-card .field-hint { margin: 0; color: #718297; font-size: 10px; line-height: 1.4; }
.template-settings-panel { margin: 0 0 24px; border: 1px solid var(--admin-border); border-radius: 7px; background: #111821; padding: 22px; }
.template-settings-panel .admin-form { max-width: none; }
.template-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; border: 1px solid #8f3540; border-radius: 7px; background: #241318; padding: 22px; }
.template-danger-zone h2 { margin: 4px 0 5px; color: #ffdce0; }
.template-danger-zone p { margin: 0; color: #c9a8ad; }
.button-danger { border-color: #bd4855; background: #9e2f3c; color: #fff; }
.button-danger:hover { background: #b83947; }
.template-size-overrides { margin-top: 8px; border-top: 1px solid var(--admin-border); padding-top: 12px; }
.template-size-overrides summary { color: var(--admin-blue); font-size: 11px; font-weight: 750; cursor: pointer; }
.template-size-overrides[open] summary { margin-bottom: 10px; }
.template-size-override { display: grid; gap: 7px; border-top: 1px solid #283343; padding: 12px 0 4px; }
.template-size-override:first-of-type { border-top: 0; }
.template-size-override .template-override-toggle { display: flex; align-items: center; gap: 8px; margin: 0; color: #b6c6d9; text-transform: none; }
.template-size-override .template-override-toggle input { width: auto; }
.job-review-panel { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: start; margin-bottom: 24px; border: 1px solid var(--admin-border); border-radius: 7px; background: #171d26e8; padding: 24px; box-shadow: 0 18px 50px #05070a38; }
.job-review-panel h2 { margin: 8px 0; color: #eef6ff; font-size: 28px; }
.job-review-panel p { margin: 0; color: var(--admin-muted); font-size: 12px; }
.job-review-panel p strong, .job-review-panel p a { color: var(--admin-blue); }
.publish-preflight { width: min(520px, 46vw); display: grid; gap: 10px; }
.publish-quality-control { display: grid; gap: 5px; }
.publish-quality-control label { display: flex; justify-content: space-between; color: #b9c7d6; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.publish-quality-control output { color: var(--admin-blue); }
.publish-quality-control input { width: 100%; accent-color: var(--admin-blue); }
.publish-size-estimate { display: flex; flex-wrap: wrap; justify-content: end; gap: 5px; min-height: 25px; color: var(--admin-muted); font-size: 10px; }
.publish-size-estimate span { border: 1px solid #344357; border-radius: 4px; background: #101720; padding: 6px 8px; }
.publish-size-estimate span.is-valid { border-color: #23764f; color: #9be0bd; }
.publish-size-estimate span.is-invalid, .publish-size-estimate.is-invalid { border-color: #a54350; color: #ff9eaa; }
.publish-size-estimate small { color: #78899b; }
.publish-preflight .button { justify-self: end; }
.publish-preflight .button:disabled { cursor: wait; opacity: .45; }
.review-release-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; border-top: 1px solid var(--admin-border); padding-top: 18px; }
.review-release-list article { display: grid; gap: 7px; border: 1px solid var(--admin-border); border-radius: 5px; background: #111821; padding: 14px; }
.review-release-list strong { color: #eef6ff; }
.review-release-list small { color: #718297; }
.review-release-list p { line-height: 1.45; }

.review-hero { border-bottom: 1px solid #263245; background: #0f141c; color: #edf6ff; padding: 42px 0 28px; }
.review-hero-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.review-hero h1 { max-width: 900px; margin: 8px 0 5px; font-size: clamp(30px, 4vw, 52px); font-weight: 900; letter-spacing: -.045em; line-height: .95; }
.review-hero p { margin: 0; color: #91a3b7; font-size: 12px; }
.review-hero-actions { display: flex; flex: none; gap: 8px; }
.review-hero-actions .button-secondary { border-color: #8290a2; background: transparent; color: #f2f7fc; }
.review-hero-actions .button-secondary:hover { border-color: #fff; background: #fff; color: #111821; }
.review-hero .eyebrow { color: #48bdff; }
.review-meta { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-bottom: 28px; color: #91a3b7; font-size: 12px; }
.review-meta strong { color: #69d6a2; }
.review-main { padding-block: 24px 80px; }
.review-success, .review-error { margin-bottom: 24px; border-radius: 5px; padding: 14px 16px; font-size: 13px; }
.review-success { border: 1px solid #31936b; background: #dbf4e7; color: #155d40; }
.review-error { border: 1px solid #b85a68; background: #ffe5e8; color: #8f2434; }
.review-item-list { display: grid; gap: 28px; }
.review-item { overflow: hidden; border: 1px solid #d6d9d5; border-radius: 7px; background: #fff; box-shadow: 0 18px 55px #16233412; }
.review-item > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #d6d9d5; padding: 20px 24px; }
.review-item h2 { margin: 6px 0 3px; font-size: 24px; }
.review-item p { margin: 0; color: #657184; font-size: 11px; }
.review-item-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.review-stage { min-height: 180px; display: grid; place-items: center; overflow: auto; background-color: #e7eaee; background-image: linear-gradient(45deg,#dce1e6 25%,transparent 25%),linear-gradient(-45deg,#dce1e6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dce1e6 75%),linear-gradient(-45deg,transparent 75%,#dce1e6 75%); background-position: 0 0,0 8px,8px -8px,-8px 0; background-size: 16px 16px; padding: 35px; }
.review-stage iframe { flex: none; display: block; border: 0; background: white; box-shadow: 0 5px 24px #17202b24; }
.review-stage img, .review-stage video { display: block; max-width: min(100%, 1080px); max-height: 75vh; object-fit: contain; box-shadow: 0 5px 24px #17202b24; }
.review-response { display: grid; grid-template-columns: .75fr 1fr; gap: 50px; margin-top: 45px; border-top: 3px solid #111; padding-top: 40px; }
.review-response h2 { margin: 8px 0 12px; font-size: 45px; letter-spacing: -.045em; }
.review-response > div > p { color: #657184; line-height: 1.5; }
.review-history { margin-top: 28px; border-top: 1px solid #d6d9d5; padding-top: 15px; }
.review-history p { color: #657184; font-size: 11px; line-height: 1.5; }
.review-form { display: grid; gap: 8px; }
.review-form label { margin-top: 8px; color: #657184; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.review-form input, .review-form textarea { width: 100%; border: 1px solid #bdc5c6; border-radius: 4px; background: white; padding: 12px; font: inherit; }
.review-form textarea { min-height: 120px; resize: vertical; }
.review-decision-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 15px; }
.review-banner-panel { overflow: auto; border: 1px solid #c8ced2; border-radius: 7px; background-color: #e7eaee; background-image: linear-gradient(45deg,#dce1e6 25%,transparent 25%),linear-gradient(-45deg,#dce1e6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dce1e6 75%),linear-gradient(-45deg,transparent 75%,#dce1e6 75%); background-position: 0 0,0 8px,8px -8px,-8px 0; background-size: 16px 16px; padding: 18px; }
.review-banner-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 18px; }
.review-banner-card { flex: none; overflow: hidden; border: 1px solid #aeb7bd; border-radius: 5px; background: #f8fafb; box-shadow: 0 5px 18px #17202b1f; }
.review-banner-card > header { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #cbd1d5; background: #202936; padding: 5px 7px 5px 10px; color: #f1f6fb; }
.review-banner-card > header > div:first-child { display: flex; align-items: baseline; gap: 7px; }
.review-banner-card header strong { color: #fff; font: 800 11px/1 ui-monospace, Consolas, monospace; }
.review-banner-card header span { color: #9eb0c3; font-size: 9px; }
.review-compact-actions { display: flex; gap: 4px; }
.review-compact-actions button, .review-compact-actions a, .review-deliverable-grid header a { border: 1px solid #526276; border-radius: 3px; background: #151b24; color: #ddecfb; padding: 4px 6px; font: 800 8px/1 inherit; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.review-banner-stage { display: grid; place-items: center; padding: 8px; }
.review-banner-stage iframe { display: block; flex: none; border: 0; background: #fff; }
.review-deliverables { margin-top: 28px; }
.review-deliverable-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 12px; margin-top: 10px; }
.review-deliverable-grid article { overflow: hidden; border: 1px solid #c8ced2; border-radius: 5px; background: #fff; }
.review-deliverable-grid header { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #202936; padding: 10px; color: #fff; }
.review-deliverable-grid header div { display: grid; gap: 3px; }
.review-deliverable-grid header span { color: #9eb0c3; font-size: 9px; }
.review-deliverable-grid img, .review-deliverable-grid video { display: block; max-width: 100%; max-height: 420px; margin: auto; }
.review-response[hidden] { display: none; }
.job-format-summary { display: grid; grid-template-columns: minmax(180px, .35fr) 1fr; gap: 24px; margin-bottom: 24px; border: 1px solid var(--admin-border); border-radius: 7px; background: #171d26e8; padding: 20px 24px; }
.job-format-summary > div { display: grid; align-content: start; gap: 11px; }
.job-format-summary strong { color: #eef6ff; font-size: 15px; }
.format-chip-list { display: flex; flex-wrap: wrap; gap: 7px; }
.format-chip { border: 1px solid #31566c; border-radius: 4px; background: #173e56; color: #8fd8ff; padding: 6px 8px; font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.format-chip.is-empty { border-color: var(--admin-border); background: var(--admin-panel-raised); color: #718297; }
.subsection-heading h2, .job-create-creative h2, .creative-list h3 { color: #eef6ff; }
.creative-list { border-color: var(--admin-border); }
.creative-list article { border-color: var(--admin-border); }
.creative-list p { color: var(--admin-muted); }
.account-card { border-color: var(--admin-border); border-radius: 8px; background: #171d26ed; box-shadow: 0 24px 80px #05070a80; }
.account-card h1 { color: #eef6ff; }
.account-card > p, .password-hint { color: var(--admin-muted); }
.admin-form .checkbox-field { color: #aebed0; }
.setup-note { border-color: var(--admin-border); }
.setup-note a { color: var(--admin-blue); }

@media (max-width: 900px) {
  .page-width { width: min(100% - 36px, 1360px); }
  .site-header { width: calc(100% - 30px); }
  .site-header nav { gap: 12px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .brand-era { display: none; }
  .home-hero { grid-template-columns: 1fr; padding-block: 60px 80px; }
  .signal-object { width: min(100%, 520px); }
  .hero-support { grid-template-columns: 1fr; }
  .client-rail-heading { grid-template-columns: 1fr; }
  .client-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .client-logo:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .client-logo:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .public-section, .manifesto { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 350px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps article, .process-steps article + article { min-height: auto; border-right: 0; border-bottom: 1px solid #1115; padding: 25px 0 35px; }
  .process-steps h3 { margin-top: 35px; }
  .lab-section, .about-grid { grid-template-columns: 1fr; }
  .about-fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-copy { padding-left: 0; }
  .principle-list article { grid-template-columns: 45px 1fr; }
  .principle-list p { grid-column: 2; }
  .service-block { grid-template-columns: 50px 1fr; }
  .service-block > b { display: none; }
  .contact-board { grid-template-columns: 1fr; }
  .contact-email { grid-template-columns: 1fr auto; }
  .contact-email > span { grid-column: 1 / -1; }
  .contact-cell { margin: 0 0 -1px; }
  .legal-layout { grid-template-columns: 1fr; gap: 60px; }
  .legal-summary { position: static; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .metric-grid, .form-grid { grid-template-columns: 1fr; }
  .job-board, .deliverable-board { grid-template-columns: 1fr; }
  .review-response { grid-template-columns: 1fr; }
  .job-format-summary { grid-template-columns: 1fr; }
  .prototype-note { flex-direction: column; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 12px; }
  .site-header { min-height: 75px; }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-type { min-width: 0; }
  .hero-type h1 { font-size: clamp(48px, 15vw, 66px); line-height: .82; }
  .hero-support .button-row { align-items: flex-start; flex-direction: column; }
  .signal-object strong { font-size: 95px; }
  .client-rail { padding-block: 64px 18px; }
  .client-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .client-logo:nth-child(-n + 2) { border-top: 0; }
  .client-logo:nth-child(odd) { border-left: 1px solid var(--line); }
  .client-logo:last-child { grid-column: 1 / -1; }
  .public-section { padding-block: 90px 55px; }
  .process-band h2 { font-size: 54px; }
  .lab-section { padding-block: 90px; }
  .public-cta > div { min-height: 480px; }
  .public-cta h2 { max-width: 100%; font-size: 48px; }
  .public-page-hero { min-height: 560px; }
  .public-page-hero h1 { font-size: clamp(48px, 14vw, 60px); line-height: .8; }
  .legal-hero { min-height: 500px; padding-block: 75px 50px; }
  .legal-hero h1 { font-size: clamp(45px, 14vw, 60px); }
  .legal-hero p { font-size: 17px; }
  .legal-layout { padding-block: 65px 90px; }
  .legal-content section { padding-bottom: 42px; }
  .manifesto p { font-size: 39px; }
  .service-block { grid-template-columns: 1fr; padding-inline: 15px; }
  .creative-list article { align-items: flex-start; flex-direction: column; }
  .job-review-panel { grid-template-columns: 1fr; }
  .publish-preflight { width: 100%; }
  .review-item > header { align-items: flex-start; flex-direction: column; }
  .review-stage { justify-content: start; padding: 20px; }
  .review-decision-actions { align-items: stretch; flex-direction: column; }
  .contact-email { min-height: 220px; padding: 22px; }
  .contact-email strong { font-size: 31px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-links { align-items: start; }
}

.invoice-payer-group { margin: 0 0 28px; border: 1px solid var(--admin-border); border-radius: 6px; background: var(--admin-panel); padding: 18px; }
.invoice-payer-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.invoice-payer-heading h3 { margin: 6px 0 0; color: var(--admin-text); font-size: 22px; }
.invoice-ineligible { display: block; margin-top: 5px; color: #f6b85e; font-size: 9px; }
.invoice-lines-form, .invoice-submit-form { margin-bottom: 24px; }
.invoice-line-editor { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(260px, 2fr) 150px auto; align-items: end; gap: 14px; margin-bottom: 12px; border: 1px solid var(--admin-border); border-radius: 5px; background: #10151d; padding: 14px; }
.invoice-line-editor label { margin-top: 0; }
.job-invoice-panel { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 24px; border: 1px solid var(--admin-border); border-left: 4px solid #d59b27; border-radius: 5px; background: var(--admin-panel); padding: 16px 18px; }
.job-invoice-panel > div { display: grid; gap: 6px; }
.job-invoice-panel strong { color: var(--admin-text); font-size: 17px; }
.job-invoice-panel small { color: var(--admin-muted); }
.font-search { display: grid; gap: 8px; margin-bottom: 20px; color: var(--admin-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.font-search > div { display: flex; gap: 10px; }
.font-search input { flex: 1; min-width: 0; border: 1px solid var(--admin-border-strong); border-radius: 4px; background: #10151d; color: var(--admin-text); padding: 11px 12px; font: inherit; text-transform: none; }
.font-candidate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.font-candidate-card { display: grid; gap: 13px; border: 1px solid var(--admin-border); border-radius: 6px; background: var(--admin-panel); padding: 16px; }
.font-candidate-card h3 { margin: 7px 0 4px; color: var(--admin-text); font-size: 22px; }
.font-candidate-card p { margin: 0 0 5px; color: var(--admin-muted); }
.font-candidate-card small { color: #718297; overflow-wrap: anywhere; }
.font-candidate-card label { display: grid; gap: 6px; color: var(--admin-muted); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.font-candidate-card input, .font-candidate-card textarea { border: 1px solid var(--admin-border-strong); border-radius: 4px; background: #10151d; color: var(--admin-text); padding: 9px 10px; font: inherit; text-transform: none; }

@media (max-width: 820px) {
  .invoice-payer-heading { align-items: stretch; flex-direction: column; }
  .invoice-line-editor { grid-template-columns: 1fr; }
  .job-invoice-panel { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signal-disc, .ticker > div { animation: none; }
  .capability-card::before, .service-block::before, .client-logo img { transition: none; }
}
