
:root {
  --ink: #070707;
  --ink-soft: #151515;
  --paper: #f6f5f0;
  --surface: #ffffff;
  --muted: #6b6b65;
  --line: #d9d8d1;
  --gold: #ffd415;
  --gold-strong: #f2c500;
  --danger: #b42318;
  --success: #176b44;
  --radius: .35rem;
  --shadow: 0 24px 70px rgb(0 0 0 / 12%);
  --shell: 1240px;
  --section: clamp(4.5rem, 8vw, 8rem);
  --background: var(--paper);
  --foreground: var(--ink);
  --card: var(--surface);
  --card-foreground: var(--ink);
  --popover: var(--surface);
  --popover-foreground: var(--ink);
  --primary: var(--ink);
  --primary-foreground: #fff;
  --secondary: var(--paper);
  --secondary-foreground: var(--ink);
  --muted-foreground: var(--muted);
  --accent: var(--gold);
  --accent-foreground: var(--ink);
  --destructive: var(--danger);
  --border: var(--line);
  --input: var(--line);
  --ring: var(--gold-strong);
}

:root[data-theme="dark"] {
  --paper: #0b0b0b;
  --surface: #151515;
  --muted: #b6b4aa;
  --line: #373733;
  --ink: #f8f7f2;
  --ink-soft: #efeee8;
  --background: var(--paper);
  --foreground: var(--ink);
  --card: var(--surface);
  --card-foreground: var(--ink);
  --popover: #1a1a1a;
  --popover-foreground: #fff;
  --primary: var(--gold);
  --primary-foreground: #050505;
  --secondary: #222;
  --secondary-foreground: #fff;
  --border: var(--line);
  --input: var(--line);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 200; background: var(--gold); color: #050505; padding: .8rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section); }
.center { display: flex; justify-content: center; margin-top: 2.5rem; }
.top-gap { margin-top: 4rem; }
.muted { color: var(--muted); }

.loading-line { position: fixed; inset: 0 0 auto; height: 3px; background: transparent; z-index: 180; pointer-events: none; }
.loading-line::after { content: ""; display: block; width: 0; height: 100%; background: var(--gold); }
.utility { background: #050505; color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.utility .shell { min-height: 31px; display: flex; align-items: center; justify-content: space-between; }
.utility a { color: var(--gold); font-weight: 800; }
.site-header { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { height: 82px; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; flex: none; }
.brand img { width: 50px; height: 54px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; color: var(--ink); text-transform: uppercase; }
.brand b { font-size: .95rem; letter-spacing: .06em; }
.brand small { font-size: .68rem; margin-top: .28rem; letter-spacing: .13em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 1.7vw, 1.55rem); flex: 1; }
.desktop-nav a { font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; border-bottom: 3px solid transparent; padding: 1.85rem 0 1.7rem; }
.desktop-nav a:hover { border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: .45rem; flex: none; }
.icon-button { width: 42px; height: 42px; border: 0; background: transparent; display: inline-grid; place-items: center; color: var(--ink); border-radius: 50%; position: relative; }
.icon-button:hover { background: color-mix(in srgb, var(--gold) 35%, transparent); }
.cart-button span { position: absolute; right: -2px; top: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; background: var(--gold); color: #050505; font-size: .68rem; font-weight: 900; }
.account-link { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem .5rem; font-weight: 750; font-size: .82rem; }
.recruiter-button { padding: .78rem 1.05rem; background: var(--gold); color: #050505; font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 100% 75%, 92% 100%, 0 100%); }
.menu-button { display: none; }

.button { border: 2px solid var(--gold); background: var(--gold); color: #050505; min-height: 48px; padding: .75rem 1.15rem; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; width: fit-content; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; font-size: .78rem; transition: transform .2s ease, background .2s ease; clip-path: polygon(0 0, 100% 0, 100% 78%, 94% 100%, 0 100%); }
.button:hover { background: var(--gold-strong); transform: translateY(-2px); }
.button-secondary { background: transparent; border-color: currentColor; color: inherit; clip-path: none; }
.button-secondary:hover { background: color-mix(in srgb, var(--gold) 20%, transparent); }
.button.small { min-height: 42px; padding: .55rem .8rem; font-size: .7rem; }
.eyebrow { margin: 0 0 .8rem; color: #6f5d00; font-size: .72rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.dark { color: var(--gold); }

.hero { min-height: min(760px, calc(100vh - 113px)); position: relative; display: grid; align-items: end; overflow: hidden; background: #050505; color: #fff; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78) contrast(1.08); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / 88%) 0%, rgb(0 0 0 / 62%) 40%, rgb(0 0 0 / 5%) 78%), linear-gradient(0deg, rgb(0 0 0 / 60%), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-block: clamp(5rem, 12vh, 8rem); }
.hero h1, .page-hero h1, .system-page h1 { margin: 0; font-size: clamp(4rem, 10vw, 9rem); line-height: .82; letter-spacing: -.065em; text-transform: uppercase; font-weight: 950; max-width: 10ch; }
.hero h1 span { display: block; color: var(--gold); }
.hero-content > p:not(.eyebrow) { max-width: 600px; margin: 1.8rem 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; color: #e8e8e2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.watch-link { position: absolute; right: max(1.5rem, calc((100% - var(--shell))/2)); bottom: 2rem; z-index: 3; display: flex; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .78rem; }
.watch-link span { width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; display: grid; place-items: center; }

.intro-band { background: var(--gold); color: #050505; padding-block: clamp(3.2rem, 6vw, 6rem); }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: end; }
.big-statement { margin: 0; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .9; letter-spacing: -.055em; font-weight: 950; text-transform: uppercase; }
.big-statement em { font-style: normal; -webkit-text-stroke: 1.5px #050505; color: transparent; }
.intro-grid > div > p { font-size: 1.08rem; margin: 0 0 1.6rem; }

.section-heading { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 4rem); }
.section-heading h2, .mission-copy h2, .shop-band h2, .recruit-section h2, .footer-cta h2 { margin: 0; font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; font-weight: 950; }
.section-heading > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.05rem; }
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.career-card { min-height: 330px; padding: clamp(1.5rem, 3vw, 2.3rem); display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); position: relative; overflow: hidden; }
.career-card::after { content: ""; width: 72px; height: 72px; background: var(--gold); position: absolute; right: -42px; top: -42px; transform: rotate(45deg); transition: .25s; }
.career-card:hover::after { right: -22px; top: -22px; }
.mos { display: inline-flex; padding: .28rem .45rem; background: var(--gold); color: #050505; font-size: .82rem; font-weight: 950; letter-spacing: .08em; }
.mos.large { font-size: 1.1rem; }
.card-category, .product-card > div > p { margin: 1.25rem 0 .3rem; color: var(--muted); text-transform: uppercase; font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.career-card h3 { margin: 0; font-size: 1.5rem; line-height: 1.1; }
.career-card > p:not(.card-category) { color: var(--muted); font-size: .94rem; }
.career-card > a, .text-link { margin-top: auto; display: flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--gold); }

.section-dark { background: #090909; color: #fff; }
.section-dark .section-heading > p:not(.eyebrow) { color: #b8b8b0; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.benefit-card { border: 1px solid color-mix(in srgb, currentColor 18%, transparent); padding: 2rem; min-height: 310px; display: flex; flex-direction: column; align-items: flex-start; background: color-mix(in srgb, var(--surface) 4%, transparent); }
.benefit-card > svg { color: var(--gold); width: 34px; height: 34px; }
.benefit-card > span { margin-top: 2.4rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 850; color: #aaa; }
.benefit-card h3 { margin: .25rem 0 .7rem; font-size: 1.7rem; line-height: 1; }
.benefit-card p { color: #aaa; font-size: .91rem; }
.benefit-card b { margin-top: auto; color: var(--gold); display: flex; gap: .45rem; align-items: center; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
:root[data-theme="light"] .section:not(.section-dark) .benefit-card { background: var(--surface); }
:root[data-theme="light"] .section:not(.section-dark) .benefit-card > span, :root[data-theme="light"] .section:not(.section-dark) .benefit-card p { color: var(--muted); }

.mission-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; background: var(--surface); }
.mission-copy { padding: clamp(3rem, 8vw, 8rem) max(1.5rem, calc((100vw - var(--shell))/2)); padding-right: clamp(2rem, 7vw, 7rem); }
.mission-copy p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.06rem; margin: 1.5rem 0 2rem; }
.mission-numbers { background: #171814; color: #fff; padding: clamp(2rem, 7vw, 7rem); display: grid; align-content: center; gap: 1px; }
.mission-numbers div { padding: 2.1rem 0; border-bottom: 1px solid #41413b; display: grid; gap: .3rem; }
.mission-numbers div:last-child { border: 0; }
.mission-numbers strong { color: var(--gold); font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.mission-numbers span { color: #c6c6bf; }

.story-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.2rem; }
.story-card { background: var(--surface); border: 1px solid var(--line); }
.story-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.story-card:hover img { transform: scale(1.035); }
.story-card > div { padding: 1.5rem; display: flex; flex-direction: column; min-height: 275px; }
.story-card span { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 800; }
.story-card h3 { margin: .55rem 0; font-size: 1.35rem; line-height: 1.15; }
.story-card p { color: var(--muted); font-size: .92rem; }
.story-card .text-link { width: fit-content; }
.story-card:first-child { grid-row: span 2; }
.story-card:first-child .story-image { aspect-ratio: 16/12; }
.story-card:first-child h3 { font-size: 1.8rem; }

.shop-band { background: #10110e; color: #fff; overflow: hidden; }
.shop-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; min-height: 640px; gap: 6vw; }
.shop-grid > div:first-child > p:not(.eyebrow) { color: #bcbcb5; max-width: 560px; margin: 1.5rem 0 2rem; }
.shop-card { height: 470px; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #34372f 0, #191a17 38%, #090a08 70%); border: 1px solid #42443c; transform: rotate(2deg); box-shadow: var(--shadow); }
.shop-card::before { content: ""; position: absolute; inset: 1.2rem; border: 1px solid #3e4039; }
.shop-card img { width: 150px; height: 165px; object-fit: contain; position: relative; z-index: 2; }
.shop-card span { position: absolute; font-size: 21rem; line-height: 1; font-weight: 950; color: rgb(255 212 21 / 5%); }
.shop-card b { position: absolute; bottom: 2.2rem; letter-spacing: .35em; font-size: .7rem; color: var(--gold); }

.recruit-section { background: var(--surface); }
.recruit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: start; }
.recruit-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.recruit-grid ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.recruit-grid li { display: flex; gap: .6rem; align-items: center; font-weight: 800; }
.recruit-grid li svg { color: #716000; }
.lead-form { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
label { display: grid; gap: .35rem; font-size: .74rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-height: 48px; padding: .75rem; border-radius: 0; }
textarea { resize: vertical; }
.lead-form > label { margin-top: 1rem; }
.check { display: grid !important; grid-template-columns: auto 1fr; align-items: start; gap: .65rem !important; text-transform: none; letter-spacing: 0; font-weight: 500; line-height: 1.45; }
.check input { width: 19px; height: 19px; min-height: 0; margin-top: .1rem; accent-color: var(--gold-strong); }
.lead-form .button { margin-top: 1.3rem; }
.form-status { border-left: 4px solid var(--gold); background: var(--surface); padding: .9rem 1rem; margin: 1rem 0 0; font-size: .9rem; }

.page-hero { position: relative; background: #0a0a09; color: #fff; min-height: 430px; display: grid; align-items: end; overflow: hidden; }
.page-hero-pattern { position: absolute; inset: 0; opacity: .42; background: radial-gradient(circle at 82% 12%, rgb(255 212 21 / 24%), transparent 28%), linear-gradient(130deg, transparent 65%, rgb(255 255 255 / 6%) 65.2%, transparent 66%), linear-gradient(20deg, transparent 70%, rgb(255 255 255 / 5%) 70.2%, transparent 71%); }
.page-hero .shell { position: relative; padding-block: 6rem 4rem; }
.page-hero h1 { max-width: 13ch; font-size: clamp(3.1rem, 7vw, 7rem); }
.page-hero .shell > p:last-child { max-width: 720px; color: #cacac4; font-size: 1.06rem; margin-top: 1.4rem; }

.filter-bar { display: grid; grid-template-columns: 1fr 290px; gap: .8rem; background: var(--surface); border: 1px solid var(--line); padding: 1rem; }
.filter-bar label:first-child { position: relative; display: block; }
.filter-bar label svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-bar label:first-child input { padding-left: 3rem; }
.results-count { color: var(--muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.empty-state { text-align: center; padding: 5rem 2rem; border: 1px solid var(--line); background: var(--surface); }
.empty-state svg { margin: 0 auto 1rem; color: var(--gold-strong); }
.verification-note, .commerce-note { margin-top: 3rem; display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border: 1px solid var(--line); background: var(--surface); }
.verification-note svg, .commerce-note svg { color: #7a6500; flex: none; }
.verification-note p, .commerce-note p { margin: .2rem 0 0; color: var(--muted); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 6vw; align-items: start; }
.prose { max-width: 780px; }
.prose h2 { margin: 3rem 0 .8rem; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 1.05rem; }
.prose li { margin-bottom: .55rem; }
.fact-check { display: flex; gap: .8rem; margin-top: 3rem; border-top: 4px solid var(--gold); padding: 1.25rem; background: var(--surface); }
.fact-check svg { color: #806a00; flex: none; }
.fact-check p { margin: 0; font-size: .93rem; }
.detail-aside { position: sticky; top: 130px; background: #10110e; color: #fff; padding: 2rem; border-top: 6px solid var(--gold); }
.detail-aside > svg { color: var(--gold); width: 36px; height: 36px; }
.detail-aside h3 { font-size: 1.8rem; line-height: 1.05; margin: 1.2rem 0 .7rem; }
.detail-aside p { color: #bcbcb6; }

.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.content-grid article { background: var(--surface); padding: clamp(1.6rem, 4vw, 3rem); min-height: 270px; }
.content-grid article > span { color: #887100; font-size: .72rem; font-weight: 950; letter-spacing: .14em; }
.content-grid h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; text-transform: uppercase; margin: 2.6rem 0 .7rem; }
.content-grid p { color: var(--muted); }

.article-page { padding-bottom: var(--section); }
.article-head { padding-block: clamp(4rem, 8vw, 7rem); max-width: 1040px; }
.article-head h1 { font-size: clamp(3rem, 7vw, 7rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; max-width: 13ch; }
.article-head > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.article-image { width: min(calc(100% - 3rem), 1400px); margin: 0 auto 4rem; }
.article-image img { width: 100%; max-height: 760px; object-fit: cover; }
.article-image figcaption { color: var(--muted); font-size: .75rem; padding-top: .6rem; }
.article-body { max-width: 800px; }
.article-body p { color: var(--muted); font-size: 1.08rem; }
.article-body .lede { font-size: 1.35rem; color: var(--ink); }
.article-body h2 { font-size: 2.2rem; line-height: 1; text-transform: uppercase; margin-top: 3rem; }
.article-body blockquote { margin: 3rem 0; padding: 2rem; background: var(--gold); color: #050505; font-size: 1.6rem; font-weight: 900; line-height: 1.2; }

.product-grid { display: grid; grid-template-columns: repeat(var(--store-columns, 3), minmax(0, 1fr)); gap: 1.2rem; }
.product-card { border: 1px solid var(--line); background: var(--surface); }
.product-art { min-height: 320px; display: grid; place-items: center; position: relative; overflow: hidden; background: #171815; }
.product-art.art-1 { background: #24201a; }
.product-art.art-2 { background: #252822; }
.product-art img { width: 95px; height: 105px; object-fit: contain; position: relative; z-index: 2; }
.product-art::after { content: "ND"; position: absolute; font-size: 13rem; font-weight: 950; color: rgb(255 255 255 / 3%); }
.product-art span { position: absolute; left: 1rem; bottom: 1rem; color: var(--gold); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; }
.product-card > div { padding: 1.3rem; }
.product-card h2 { margin: .3rem 0; font-size: 1.25rem; line-height: 1.15; }
.product-card strong { display: block; margin: .6rem 0 1rem; }
.store-catalog-layout { display: grid; grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.store-filters { position: sticky; top: 1rem; border: 1px solid var(--line); background: var(--surface); padding: 1.3rem; }
.store-filter-heading, .store-results-toolbar, .store-view-controls { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.store-filter-heading h2 { margin: .15rem 0 0; font-size: 1.55rem; text-transform: uppercase; }
.store-filter-heading button, .store-view-controls button { min-height: 38px; padding: .5rem .7rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 800; }
.store-view-controls button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: #050505; }
.store-search { display: grid; gap: .45rem; margin: 1.25rem 0; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.store-search input, .store-view-controls select { min-height: 42px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: .6rem .75rem; }
.store-filters fieldset { margin: 0; padding: 1rem 0; border: 0; border-top: 1px solid var(--line); }
.store-filters legend { padding: 0 0 .7rem; font-weight: 900; text-transform: uppercase; }
.store-filters fieldset label { display: flex; align-items: center; gap: .6rem; margin: .45rem 0; color: var(--muted); }
.store-filters input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); }
.store-results { min-width: 0; }
.store-results-toolbar { min-height: 52px; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.store-results-toolbar > p { color: var(--muted); font-weight: 800; }
.store-view-controls label { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.product-grid.is-list { grid-template-columns: 1fr; }
.product-grid.is-list .product-card { display: grid; grid-template-columns: minmax(220px, 36%) 1fr; }
.product-grid.is-list .product-photo { aspect-ratio: 4/3; }
.product-card[hidden] { display: none !important; }
.private-promo { margin-top: 4rem; min-height: 250px; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; background: #111; color: #fff; }
.private-promo > svg { color: var(--gold); width: 46px; height: 46px; }
.private-promo h2 { margin: 0; font-size: 2rem; }
.private-promo p:not(.eyebrow) { color: #b8b8b0; margin: .4rem 0; }
.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
.product-hero-art { min-height: 580px; background: #171815; position: relative; display: grid; place-items: center; }
.product-hero-art img { width: 165px; }
.product-hero-art span { position: absolute; bottom: 2rem; left: 2rem; color: var(--gold); font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; }
.product-detail h1 { margin: .3rem 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: .92; text-transform: uppercase; }
.product-price { font-size: 1.4rem; font-weight: 900; }
.product-detail label { margin: 1rem 0; }
.fine-print { color: var(--muted); font-size: .78rem; margin-top: 1rem; }

.auth-gate { text-align: center; max-width: 720px; margin: 0 auto; border: 1px solid var(--line); border-top: 6px solid var(--gold); background: var(--surface); padding: clamp(2rem, 6vw, 5rem); display: flex; flex-direction: column; align-items: center; }
.auth-gate > svg { width: 52px; height: 52px; color: #7e6800; margin-bottom: 1rem; }
.auth-gate h2 { margin: 0; font-size: 2.2rem; line-height: 1; text-transform: uppercase; }
.auth-gate p { color: var(--muted); }
.locked-preview { margin-top: 6rem; }
.workflow { display: flex; gap: .8rem; align-items: center; justify-content: center; margin-bottom: 3rem; }
.workflow span { padding: .8rem; background: var(--surface); border: 1px solid var(--line); font-weight: 850; font-size: .78rem; }
.workflow svg { color: #806a00; }
.marketing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.marketing-grid article { padding: 1.5rem; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.marketing-grid article > svg { color: #806a00; }
.marketing-grid article > span { display: block; margin-top: 1.3rem; font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marketing-grid h3 { font-size: 1.25rem; line-height: 1.1; }
.marketing-grid p, .marketing-grid li { color: var(--muted); font-size: .85rem; }
.marketing-grid ul { padding-left: 1.1rem; }

.recruiter-page { display: grid; grid-template-columns: minmax(0, 1.15fr) .85fr; gap: 5vw; align-items: start; }
.routing-card { background: #111; color: #fff; padding: 2.3rem; position: sticky; top: 130px; }
.routing-card > svg { color: var(--gold); width: 40px; height: 40px; }
.routing-card h2 { font-size: 2rem; text-transform: uppercase; line-height: 1; }
.routing-card ol { padding: 0; list-style: none; display: grid; gap: 1px; background: #3a3a36; }
.routing-card li { background: #171815; padding: 1rem; font-weight: 800; }
.routing-card li span { color: var(--gold); margin-right: .7rem; }
.routing-card > p { color: #bdbdb6; font-size: .88rem; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: #080808; }
.auth-intro { color: #fff; padding: clamp(2rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, rgb(0 0 0 / 95%), rgb(0 0 0 / 65%)), url('/images/uncommon-calling.webp') center/cover; }
.auth-intro .brand { align-self: flex-start; margin-bottom: 5rem; }
.auth-intro .brand span { color: #fff; }
.auth-intro h1 { font-size: clamp(3.2rem, 7vw, 7rem); line-height: .85; letter-spacing: -.06em; text-transform: uppercase; max-width: 8ch; margin: 0; }
.auth-intro > p:not(.eyebrow) { color: #c7c7c0; max-width: 600px; }
.auth-stages { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.auth-stages span { border: 1px solid #555; padding: .45rem .7rem; font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.auth-card { background: var(--paper); color: var(--ink); padding: clamp(2rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: center; }
.auth-card h2 { font-size: 3rem; line-height: 1; text-transform: uppercase; margin: 0 0 1.5rem; }
.auth-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.auth-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); padding: .8rem .4rem; font-weight: 850; font-size: .72rem; text-transform: uppercase; }
.auth-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--gold); }
.auth-card form { display: grid; gap: 1rem; }
.otp-wrap { display: grid; gap: .4rem; }
.otp-wrap > span { font-size: .74rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.dashboard-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.dashboard-preview div { min-height: 130px; padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--surface); }
.dashboard-preview svg { color: #806a00; }

.system-page { min-height: 100vh; background: #080808; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 8vw, 8rem); position: relative; overflow: hidden; }
.system-page::after { content: "ND"; position: absolute; right: -3vw; bottom: -9vw; font-size: min(43vw, 38rem); line-height: .8; font-weight: 950; color: rgb(255 255 255 / 3%); }
.system-mark { position: absolute; right: 5vw; top: 5vw; }
.system-mark img { width: 90px; }
.system-page > strong { color: var(--gold); font-size: 1rem; letter-spacing: .16em; }
.system-page h1 { font-size: clamp(3.4rem, 9vw, 8rem); max-width: 10ch; position: relative; z-index: 2; }
.system-page > p:not(.eyebrow) { max-width: 620px; color: #c5c5be; position: relative; z-index: 2; }
.system-page > div:last-child { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; position: relative; z-index: 2; }

.search-dialog { width: min(760px, calc(100vw - 2rem)); max-width: 760px; max-height: 85vh; overflow: auto; border-radius: 0; border-top: 5px solid var(--gold); background: var(--surface); color: var(--ink); }
.search-field { position: relative; display: block; }
.search-field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); }
.search-field input { padding-left: 3rem; }
.search-results { display: grid; gap: .5rem; }
.search-results a { padding: 1rem; border: 1px solid var(--line); display: grid; }
.search-results a:hover { border-color: var(--gold-strong); }
.search-results span { color: #7c6600; font-size: .65rem; text-transform: uppercase; font-weight: 900; letter-spacing: .1em; }
.search-results p { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }
.mobile-sheet { width: min(420px, 92vw) !important; background: var(--surface); color: var(--ink); }
.mobile-sheet nav { display: grid; margin-top: 1.5rem; }
.mobile-sheet nav a { min-height: 54px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-weight: 850; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; }
.cookie-banner { position: fixed; z-index: 150; right: 1.2rem; bottom: 1.2rem; width: min(460px, calc(100vw - 2.4rem)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 5px solid var(--gold); box-shadow: var(--shadow); padding: 1.5rem; }
.cookie-banner h2 { margin: 0; font-size: 1.4rem; text-transform: uppercase; }
.cookie-banner p { color: var(--muted); font-size: .9rem; }
.cookie-banner > div { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-close { position: absolute; right: .6rem; top: .6rem; border: 0; background: transparent; color: var(--ink); }

.footer-cta { background: var(--gold); color: #050505; padding-block: 4rem; }
.split { display: flex; justify-content: space-between; gap: 2rem; }
.align-center { align-items: center; }
.footer-cta h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.footer-cta p:not(.eyebrow) { margin: .6rem 0 0; max-width: 680px; }
.footer-main { background: #080808; color: #fff; padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 4rem; }
.footer-grid h3 { color: var(--gold); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: .6rem; }
.footer-grid a { color: #bebeb7; font-size: .88rem; }
.footer-brand .brand span { color: #fff; }
.footer-brand p { color: #aaa; max-width: 330px; font-size: .87rem; }
.legal { margin-top: 3rem; padding-block: 1.2rem; border-top: 1px solid #343431; color: #91918b; display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; }
.legal div { display: flex; flex-wrap: wrap; gap: 1rem; }
.legal button { border: 0; padding: 0; background: none; color: inherit; }

@media (max-width: 1100px) {
  .desktop-nav, .account-link, .recruiter-button { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: inline-grid; }
  .career-grid, .benefit-grid, .product-grid, .marketing-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-card:first-child { grid-row: auto; grid-column: span 2; }
  .dashboard-preview { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .utility span { display: none; }
  .utility .shell { justify-content: flex-end; }
  .header-inner { height: 70px; gap: .5rem; }
  .brand img { width: 42px; height: 47px; }
  .brand b { font-size: .78rem; }
  .brand small { font-size: .58rem; }
  .theme-button { display: none; }
  .hero { min-height: 690px; align-items: end; }
  .hero-media { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgb(0 0 0 / 95%) 0%, rgb(0 0 0 / 65%) 55%, rgb(0 0 0 / 25%)); }
  .hero-content { padding-bottom: 6.5rem; }
  .hero h1 { font-size: clamp(3.7rem, 20vw, 6rem); }
  .watch-link { left: 1rem; right: auto; bottom: 1.2rem; }
  .intro-grid, .mission-feature, .shop-grid, .recruit-grid, .detail-layout, .product-detail, .recruiter-page, .auth-page { grid-template-columns: 1fr; }
  .intro-grid { gap: 2rem; }
  .mission-feature { min-height: 0; }
  .mission-copy { padding: 4rem 1rem; }
  .mission-numbers { padding: 2rem 1.2rem; }
  .career-grid, .benefit-grid, .product-grid, .marketing-grid, .content-grid { grid-template-columns: 1fr; }
  .career-card { min-height: 280px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card:first-child { grid-column: auto; }
  .shop-grid { padding-block: 4rem; min-height: auto; }
  .shop-card { height: 360px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 360px; }
  .page-hero .shell { padding-block: 4.5rem 3rem; }
  .filter-bar { grid-template-columns: 1fr; }
  .detail-aside, .routing-card { position: static; }
  .private-promo { grid-template-columns: 1fr; }
  .product-hero-art { min-height: 420px; }
  .workflow { justify-content: flex-start; overflow-x: auto; padding-bottom: .7rem; }
  .workflow span { min-width: 160px; }
  .auth-intro, .auth-card { padding: 3rem 1rem; }
  .auth-intro .brand { margin-bottom: 4rem; }
  .dashboard-preview { grid-template-columns: 1fr 1fr; }
  .system-mark { top: 1.5rem; right: 1.5rem; }
  .system-mark img { width: 65px; }
  .footer-cta .split { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
  .legal { flex-direction: column; }
}

@media (max-width: 430px) {
  .brand span { display: none; }
  .hero-actions .button { width: 100%; }
  .dashboard-preview { grid-template-columns: 1fr; }
  .auth-tabs { grid-template-columns: 1fr; border: 1px solid var(--line); }
  .auth-tabs button { border-bottom: 1px solid var(--line); }
}

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


[hidden]{display:none!important}.button-arrow{display:inline-block}.ui-icon{display:inline-block;width:1.25rem;height:1.25rem;position:relative;flex:none}.desktop-nav a[aria-current="page"]{border-color:var(--gold)}.site-dialog{border:0;padding:0;background:transparent;color:inherit;max-width:none;max-height:none}.site-dialog::backdrop{background:rgb(0 0 0 / 72%);backdrop-filter:blur(3px)}.site-dialog .dialog-inner{position:relative;background:var(--surface);color:var(--ink);border-top:5px solid var(--gold);box-shadow:var(--shadow);padding:clamp(1.25rem,4vw,2rem)}.search-dialog .dialog-inner{width:min(760px,calc(100vw - 2rem));max-height:85vh;overflow:auto}.mobile-sheet{margin:0 0 0 auto;height:100%;width:min(420px,92vw)}.mobile-sheet .dialog-inner{height:100%;border-top:0;border-left:5px solid var(--gold);overflow:auto}.dialog-close{position:absolute;right:.75rem;top:.6rem;border:0;background:transparent;color:var(--ink);font-size:1.8rem;line-height:1}.mobile-sheet nav{display:grid;margin-top:1.5rem}.mobile-sheet nav a{min-height:54px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-weight:850;text-transform:uppercase;font-size:.82rem;letter-spacing:.05em}.form-status[data-kind="success"]{border-color:var(--success)}.form-status[data-kind="error"]{border-color:var(--danger)}.auth-card [data-login-panel]{display:grid;gap:1rem}.auth-card [data-login-panel] label+label{margin-top:1rem}.is-navigating .loading-line::after{animation:nav-progress .7s ease forwards}@keyframes nav-progress{0%{width:0}60%{width:78%}100%{width:100%}}.button:disabled{opacity:.58;cursor:wait}.button .ui-icon{width:1rem;height:1rem}.search-results a{padding:1rem;border:1px solid var(--line);display:grid;margin-top:.5rem}.search-results a:hover{border-color:var(--gold-strong)}.search-results span{color:#7c6600;font-size:.65rem;text-transform:uppercase;font-weight:900;letter-spacing:.1em}.search-results p{margin:.2rem 0 0;color:var(--muted);font-size:.85rem}


[data-build-profile="commerce-custom-pack"] [data-preview-only]{display:none!important}
.wmg-component-mount{display:contents}
.platform-owned-empty{border:1px solid var(--line);padding:clamp(1.25rem,3vw,2.5rem);background:var(--surface)}

@font-face {
  font-family: "MonoSpec";
  src: url("../fonts/MonoSpec-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700 950;
  font-display: swap;
}
@font-face {
  font-family: "G.I.";
  src: url("../fonts/G.I.-530.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "G.I.";
  src: url("../fonts/G.I.-530Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "G.I.";
  src: url("../fonts/G.I.-750.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "US Army";
  src: url("../fonts/USArmy-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "US Army";
  src: url("../fonts/USArmy-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body,
button,
input,
select,
textarea {
  font-family: "G.I.", Arial, Helvetica, sans-serif;
}
h1,
h2,
h3,
.big-statement,
.mission-numbers strong,
.system-page > strong {
  font-family: "MonoSpec", "Arial Black", Arial, sans-serif;
  font-weight: 800;
}
.eyebrow,
.desktop-nav,
.button,
.recruiter-button,
.utility,
.card-category,
.mos {
  font-family: "US Army", "G.I.", Arial, sans-serif;
}

.site-header {
  background: color-mix(in srgb, var(--brand-black, #050505) 97%, transparent);
  border-bottom-color: #2e2e2b;
  color: #fff;
}
.site-header .brand span,
.site-header .desktop-nav a,
.site-header .icon-button,
.site-header .account-link {
  color: #fff;
}
.site-header .icon-button:hover {
  background: rgb(255 212 21 / 16%);
  color: var(--gold);
}
.site-header .desktop-nav a[aria-current="page"] {
  color: var(--gold);
}
.ui-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ui-icon-theme {
  width: 24px;
  height: 24px;
}
.theme-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-icon-sun {
  display: none;
}
:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}
:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}
.menu-button {
  width: 52px;
  height: 52px;
}
.menu-button .ui-icon {
  width: 31px;
  height: 31px;
  stroke-width: 2.15;
}

.hero-carousel {
  isolation: isolate;
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  display: grid;
  align-items: end;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide .hero-content {
  width: min(calc(100% - 3rem), var(--shell));
}
.hero-slide .hero-media {
  background: #141512;
}
.hero-slide video.hero-media {
  object-fit: cover;
}
.hero-controls {
  position: absolute;
  z-index: 5;
  left: max(1.5rem, calc((100% - var(--shell))/2));
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-controls > button {
  min-width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 55%);
  background: rgb(0 0 0 / 55%);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
}
.hero-controls > button:hover,
.hero-controls > button:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #050505;
}
.hero-dots {
  display: flex;
  gap: .4rem;
  padding: 0 .3rem;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
}
.hero-dots button.is-active {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-controls .hero-pause {
  width: auto;
  padding-inline: .8rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quick-preview-login {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  background: var(--surface);
  padding: 1.25rem;
}
.auth-intro {
  background-image: linear-gradient(135deg, rgb(0 0 0 / 95%), rgb(0 0 0 / 60%)), url("../images/kroll/drill-sergeant.webp");
  background-position: center;
  background-size: cover;
}
.quick-preview-login h3 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
}
.quick-preview-login p:not(.eyebrow) {
  color: var(--muted);
  font-size: .9rem;
}
.quick-preview-login > div,
.creative-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
.preview-session-banner {
  background: #0b0b0a;
  color: #fff;
  border-top: 6px solid var(--gold);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.preview-session-banner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
}
.preview-session-banner p:not(.eyebrow) {
  color: #c8c8c1;
  max-width: 720px;
}
.preview-session-banner .button-secondary {
  color: #fff;
  flex: none;
}

.creative-automation {
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 7px solid var(--gold);
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.creative-automation > header {
  max-width: 850px;
}
.creative-automation h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .94;
  text-transform: uppercase;
}
.creative-automation header > p:not(.eyebrow),
.preview-security-note {
  color: var(--muted);
}
.creative-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(290px, .75fr);
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: start;
}
.creative-templates {
  display: grid;
  gap: .5rem;
}
.creative-templates button {
  min-height: 70px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: .85rem;
  text-align: left;
  font-weight: 850;
}
.creative-templates button span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  margin-top: .2rem;
}
.creative-templates button.is-active {
  border-color: var(--gold-strong);
  box-shadow: inset 5px 0 0 var(--gold);
}
.creative-form {
  display: grid;
  gap: 1rem;
}
.creative-preview {
  position: relative;
  min-height: 440px;
  background: #0a0a09;
  color: #fff;
  border: 1px solid #333;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.creative-preview::after {
  content: "ND";
  position: absolute;
  right: -1.2rem;
  top: 4rem;
  color: rgb(255 212 21 / 8%);
  font-family: "MonoSpec", sans-serif;
  font-size: 13rem;
  line-height: 1;
}
.creative-preview > span {
  color: var(--gold);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  position: relative;
  z-index: 1;
}
.creative-preview > strong {
  font-family: "MonoSpec", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: .82;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
.creative-preview > div {
  margin-top: auto;
  display: grid;
  position: relative;
  z-index: 1;
}
.creative-preview small {
  color: #c5c5be;
}
.creative-preview i {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  background: #fff;
  color: #050505;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 980px) {
  .creative-layout {
    grid-template-columns: 1fr 1fr;
  }
  .creative-templates {
    grid-column: span 2;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .theme-button {
    display: inline-grid;
  }
  .header-actions {
    gap: .1rem;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
  .menu-button {
    width: 54px;
    height: 54px;
  }
  .menu-button .ui-icon {
    width: 34px;
    height: 34px;
  }
  .hero-slide .hero-content {
    width: min(calc(100% - 2rem), var(--shell));
    padding-bottom: 8.5rem;
  }
  .hero-controls {
    left: 1rem;
    bottom: 1.1rem;
  }
  .watch-link {
    display: none;
  }
  .preview-session-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .creative-layout {
    grid-template-columns: 1fr;
  }
  .creative-templates {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .creative-preview {
    min-height: 380px;
  }
}
@media (max-width: 430px) {
  .site-header .brand img {
    width: 38px;
  }
  .header-inner {
    gap: .2rem;
  }
  .header-actions .cart-button {
    display: none;
  }
  .hero-controls .hero-pause {
    padding-inline: .55rem;
  }
  .quick-preview-login > div .button,
  .creative-actions .button {
    width: 100%;
  }
}

.page-hero-photo {
  min-height: 520px;
}
.page-hero-media,
.page-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-hero-media {
  object-fit: cover;
  object-position: center 42%;
  filter: contrast(1.08);
}
.page-hero-shade {
  background: linear-gradient(90deg, rgb(0 0 0 / 94%) 0%, rgb(0 0 0 / 72%) 48%, rgb(0 0 0 / 18%) 100%), linear-gradient(0deg, rgb(0 0 0 / 72%), transparent 55%);
}
.page-hero-photo .shell {
  z-index: 2;
}
.hero-position-center {
  object-position: center;
}

.photo-story-band {
  background: #090a08;
  color: #fff;
  padding-block: clamp(4rem, 7vw, 7rem) 0;
}
.photo-story-heading {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: 5vw;
  align-items: start;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}
.photo-story-heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: .9;
  text-transform: uppercase;
}
.photo-story-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr 1.4fr;
  min-height: 470px;
}
.photo-story-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 360px;
}
.photo-story-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.photo-story-grid figure:hover img {
  transform: scale(1.025);
}
.photo-story-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.2rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 88%));
  font-family: "US Army", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portal-page {
  min-height: 780px;
  background: #090a08;
  color: #fff;
}
.portal-page .eyebrow {
  color: var(--gold);
}
.portal-page .button-secondary {
  color: #fff;
}
.portal-page .form-status {
  color: #d9dad3;
  background: #0d0f0c;
  border-color: #3b3d37;
}
.portal-sidebar .brand span {
  color: #fff;
}
.portal-auth-gate {
  width: min(calc(100% - 2rem), 760px);
  margin-inline: auto;
  padding-block: clamp(5rem, 12vw, 9rem);
  background: #131510;
  border-color: #33352f;
  color: #fff;
}
.portal-auth-gate p:not(.eyebrow) {
  color: #bfc0b9;
}
.portal-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 900px;
}
.portal-sidebar {
  position: sticky;
  top: 113px;
  height: calc(100vh - 113px);
  background: #070806;
  border-right: 1px solid #292a25;
  padding: 1.2rem .9rem;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.portal-sidebar-brand {
  padding: .4rem .45rem 1.4rem;
  border-bottom: 1px solid #292a25;
}
.portal-sidebar-brand .brand img {
  width: 40px;
  height: 44px;
}
.portal-sidebar-brand .brand b {
  font-size: .78rem;
}
.portal-sidebar-brand .brand small {
  font-size: .53rem;
}
.portal-sidebar-brand > span {
  display: block;
  margin: .7rem 0 0 3.3rem;
  color: #777b72;
  font-size: .69rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.portal-sidebar nav {
  display: grid;
  gap: .25rem;
  margin-top: 1.2rem;
}
.portal-sidebar nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem .75rem;
  border-left: 3px solid transparent;
  color: #aeb0a8;
  font-family: "US Army", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.portal-sidebar nav a:hover,
.portal-sidebar nav a.is-active {
  color: #fff;
  border-left-color: var(--gold);
  background: #171914;
}
.portal-sidebar nav a.is-active .ui-icon {
  color: var(--gold);
}
.portal-sidebar-foot {
  margin-top: auto;
  padding: 1rem .75rem;
  border-top: 1px solid #292a25;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.portal-sidebar-foot div {
  display: grid;
}
.portal-sidebar-foot b {
  font-size: .75rem;
}
.portal-sidebar-foot small {
  color: #777b72;
  font-size: .68rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgb(255 212 21 / 12%);
}
.portal-workspace {
  min-width: 0;
  background: #0d0e0c;
}
.portal-toolbar {
  min-height: 104px;
  padding: 1.35rem clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid #292a25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #0b0c0a;
}
.portal-toolbar .eyebrow {
  margin-bottom: .25rem;
}
.portal-toolbar h1 {
  margin: 0;
  color: #fff;
  font-family: "G.I.", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.portal-profile {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.portal-profile > div {
  display: grid;
  line-height: 1.25;
}
.portal-profile small {
  color: #85877f;
  font-size: .7rem;
}
.portal-profile > button {
  min-height: 38px;
  border: 1px solid #373933;
  background: transparent;
  color: #d7d8d2;
  padding: .5rem .75rem;
  font-size: .72rem;
}
.portal-content,
.studio-page-content {
  padding: clamp(1rem, 2.8vw, 2.25rem);
}
.portal-welcome {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #33352f;
  display: grid;
  align-items: end;
}
.portal-welcome > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.portal-welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 95%), rgb(0 0 0 / 65%) 50%, rgb(0 0 0 / 8%));
}
.portal-welcome > div {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  max-width: 720px;
}
.portal-welcome h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: .9;
  text-transform: uppercase;
}
.portal-welcome p:not(.eyebrow) {
  max-width: 620px;
  color: #c5c7bf;
}
.portal-welcome > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}
.portal-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin-top: .9rem;
}
.portal-kpis article {
  min-height: 142px;
  border: 1px solid #30322d;
  background: #131510;
  padding: 1.05rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
}
.portal-kpis .ui-icon {
  color: var(--gold);
  grid-column: 2;
  grid-row: 1 / span 2;
}
.portal-kpis span,
.portal-kpis small {
  color: #8d9087;
  font-size: .72rem;
}
.portal-kpis strong {
  font-family: "MonoSpec", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}
.portal-kpis small {
  grid-column: 1 / -1;
  align-self: end;
}
.portal-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr);
  gap: .9rem;
  margin-top: .9rem;
}
.portal-panel {
  min-width: 0;
  border: 1px solid #30322d;
  background: #131510;
  padding: 1.25rem;
}
.portal-panel > header,
.lead-directory > header,
.automation-center > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.portal-panel h2,
.lead-directory h2,
.automation-center h2,
.shortcode-card h2 {
  margin: 0;
  font-family: "G.I.", Arial, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -.02em;
}
.portal-panel .eyebrow,
.lead-directory .eyebrow,
.automation-center .eyebrow {
  margin-bottom: .2rem;
}
.mini-lead-list {
  display: grid;
}
.mini-lead-list > div,
.mini-lead-list > a {
  min-height: 70px;
  border-top: 1px solid #2e302b;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: .8rem;
  align-items: center;
}
.mini-lead-list > div > div,
.mini-lead-list > a > div,
.material-row article > div {
  display: grid;
}
.mini-lead-list small,
.material-row small {
  color: #85877f;
}
.mini-lead-list time {
  color: #85877f;
  font-size: .72rem;
}
.lead-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #272a23;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
}
.status-pill {
  width: fit-content;
  border: 1px solid #494b44;
  border-radius: 999px;
  padding: .24rem .55rem;
  color: #d5d6d0;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.status-new {
  border-color: var(--gold);
  color: var(--gold);
}
.status-qualified {
  border-color: #58aa78;
  color: #71c590;
}
.portal-actions {
  display: grid;
  gap: .55rem;
}
.portal-actions a {
  min-height: 68px;
  border: 1px solid #30322d;
  padding: .8rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: center;
  background: #0d0f0c;
}
.portal-actions a:hover {
  border-color: var(--gold);
}
.portal-actions a > .ui-icon {
  color: var(--gold);
}
.portal-actions a span:not(.button-arrow) {
  display: grid;
}
.portal-actions small {
  color: #85877f;
}
.material-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.material-row article {
  overflow: hidden;
  border: 1px solid #30322d;
  background: #0d0f0c;
}
.material-row img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.material-row article > div {
  padding: .8rem;
}
.channel-health {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.channel-health li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .2rem .65rem;
  padding: .75rem 0;
  border-top: 1px solid #2e302b;
}
.channel-health small {
  grid-column: 2;
  color: #85877f;
}
.portal-content > .preview-security-note {
  color: #85877f;
  margin: 1rem 0 0;
}

.lead-command {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: .9rem;
  margin-top: .9rem;
}
.lead-directory,
.lead-detail,
.automation-center,
.shortcode-card,
.studio-integration-notes article {
  border: 1px solid #30322d;
  background: #131510;
}
.lead-directory,
.lead-detail,
.automation-center {
  padding: 1.25rem;
}
.lead-filters {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: .6rem;
  margin-bottom: .8rem;
}
.lead-filters label:first-child {
  position: relative;
}
.lead-filters label:first-child .ui-icon {
  position: absolute;
  left: .8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #85877f;
}
.lead-filters input,
.lead-filters select,
.studio-properties input {
  border-color: #383a35;
  background: #0c0e0b;
  color: #fff;
}
.lead-filters input {
  padding-left: 2.7rem;
}
.lead-table-wrap {
  overflow-x: auto;
}
.lead-table {
  width: 100%;
  min-width: 790px;
  border-collapse: collapse;
  font-size: .8rem;
}
.lead-table th {
  padding: .7rem .6rem;
  border-bottom: 1px solid #363832;
  color: #85877f;
  text-align: left;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lead-table td {
  padding: .85rem .6rem;
  border-bottom: 1px solid #292b27;
  vertical-align: middle;
}
.lead-table td:first-child {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.lead-table td:first-child > div,
.lead-table td:nth-child(2) {
  display: grid;
}
.lead-table small {
  color: #85877f;
}
.lead-table [data-lead-select] {
  width: 38px;
  height: 38px;
  border: 1px solid #3c3e38;
  background: #0d0f0c;
  color: var(--gold);
}
.lead-table tr.is-selected {
  background: rgb(255 212 21 / 5%);
}
.lead-detail {
  align-self: start;
  position: sticky;
  top: 132px;
}
.lead-detail-person {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #30322d;
}
.lead-detail-person h2,
.lead-detail-person p {
  margin: 0;
}
.lead-detail-person p,
.lead-detail > small {
  color: #85877f;
}
.lead-detail dl {
  display: grid;
  margin: 0;
}
.lead-detail dl > div {
  padding: .8rem 0;
  border-bottom: 1px solid #292b27;
}
.lead-detail dt {
  color: #85877f;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lead-detail dd {
  margin: .15rem 0 0;
  font-weight: 700;
}
.lead-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0;
}
.lead-detail .button-secondary {
  color: #fff;
}
.automation-center {
  margin-top: .9rem;
}
.automation-center header p:not(.eyebrow) {
  color: #8f9189;
  margin: .35rem 0 0;
}
.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.automation-grid article {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .8rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid #30322d;
  background: #0d0f0c;
}
.automation-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #40423c;
  color: var(--gold);
  display: grid;
  place-items: center;
}
.automation-grid article > div:nth-child(2) {
  display: grid;
}
.automation-grid p {
  color: #8f9189;
  font-size: .78rem;
  line-height: 1.45;
  margin: .25rem 0 .45rem;
}
.automation-grid article > div:nth-child(2) > span {
  color: var(--gold);
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch i {
  width: 42px;
  height: 23px;
  padding: 2px;
  border: 1px solid #50524b;
  border-radius: 999px;
  display: block;
  background: #242620;
}
.switch i::after {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #93968d;
  transition: transform .18s ease, background .18s ease;
}
.switch input:checked + i {
  border-color: var(--gold);
  background: rgb(255 212 21 / 17%);
}
.switch input:checked + i::after {
  transform: translateX(17px);
  background: var(--gold);
}
.switch input:focus-visible + i {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.governance-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 1rem;
  background: #30322d;
  border: 1px solid #30322d;
}
.governance-strip > div {
  min-height: 98px;
  padding: .8rem;
  background: #0d0f0c;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
.governance-strip .ui-icon {
  color: var(--gold);
}
.governance-strip span {
  display: grid;
}
.governance-strip small {
  color: #85877f;
  line-height: 1.35;
}

.shortcode-card {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: .85rem;
}
.shortcode-card p:not(.eyebrow) {
  margin: .3rem 0 0;
  color: #8f9189;
}
.shortcode-value {
  display: flex;
  align-items: stretch;
}
.shortcode-value code {
  display: flex;
  align-items: center;
  border: 1px solid #3b3d37;
  border-right: 0;
  background: #090a08;
  color: var(--gold);
  padding: .7rem .8rem;
  font-size: .8rem;
}
.shortcode-value button {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #050505;
  padding: .65rem .8rem;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}
.shortcode-card .form-status {
  grid-column: 1 / -1;
}
.studio-shortcode-mount {
  border: 1px solid #34362f;
  background: #060705;
}
.studio-app > header,
.studio-app > footer {
  min-height: 62px;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #10120e;
}
.studio-app > header {
  border-bottom: 1px solid #34362f;
}
.studio-app > footer {
  border-top: 1px solid #34362f;
  color: #85877f;
  font-size: .72rem;
}
.studio-app > header > div,
.studio-app > footer > div {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.studio-app > header small {
  color: #85877f;
}
.studio-app > header button:not(.button),
.studio-app > footer button {
  min-height: 36px;
  border: 1px solid #3a3c36;
  background: #151712;
  color: #d5d6d0;
  padding: .45rem .7rem;
}
.studio-editor {
  min-height: 660px;
  display: grid;
  grid-template-columns: 82px 238px minmax(380px, 1fr) 275px;
}
.studio-tool-rail,
.studio-assets,
.studio-properties {
  border-right: 1px solid #34362f;
  background: #0d0f0c;
}
.studio-tool-rail {
  display: flex;
  flex-direction: column;
  padding: .55rem;
  gap: .3rem;
}
.studio-tool-rail button {
  min-height: 67px;
  border: 1px solid transparent;
  background: transparent;
  color: #85877f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .64rem;
}
.studio-tool-rail button.is-active,
.studio-tool-rail button:hover {
  border-color: #3d4038;
  background: #1a1d16;
  color: var(--gold);
}
.studio-assets,
.studio-properties {
  padding: 1rem;
}
.studio-assets h2,
.studio-properties h2 {
  margin: 0 0 1rem;
  font-family: "G.I.", Arial, sans-serif;
  font-size: 1.2rem;
}
.studio-template-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.studio-template-list button {
  border: 1px solid #34362f;
  background: #151712;
  color: #d7d8d2;
  padding: 0;
  text-align: left;
  overflow: hidden;
}
.studio-template-list button.is-active {
  border-color: var(--gold);
}
.studio-template-list img {
  width: 100%;
  height: 92px;
  object-fit: cover;
}
.studio-template-list span {
  display: block;
  padding: .45rem;
  font-size: .68rem;
}
.studio-canvas-stage {
  min-width: 0;
  padding: 2rem;
  background: #1c1e19;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.studio-canvas {
  position: relative;
  width: min(390px, 80%);
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  background: #090a08;
  color: #fff;
  box-shadow: 0 24px 70px rgb(0 0 0 / 38%);
}
.studio-canvas > img,
.studio-canvas-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.studio-canvas > img {
  object-fit: cover;
}
.studio-canvas-shade {
  background: linear-gradient(0deg, rgb(0 0 0 / 96%) 0%, rgb(0 0 0 / 35%) 64%, transparent);
}
.studio-canvas-copy {
  position: absolute;
  inset: auto 8% 25%;
}
.studio-canvas-copy > span {
  color: var(--gold);
  font-size: .52rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.studio-canvas-copy strong {
  display: block;
  margin-top: .5rem;
  font-family: "MonoSpec", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .82;
}
.studio-canvas-copy p {
  margin: .65rem 0 0;
  font-size: .75rem;
}
.studio-canvas-contact {
  position: absolute;
  inset: auto 8% 6%;
  padding-top: .65rem;
  border-top: 2px solid var(--gold);
  display: grid;
}
.studio-canvas-contact small {
  max-width: 70%;
  color: #d0d1cb;
  font-size: .56rem;
}
.studio-canvas-contact i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 37px;
  height: 37px;
  background: #fff;
  color: #050505;
  display: grid;
  place-items: center;
  font-size: .6rem;
  font-style: normal;
  font-weight: 900;
}
.studio-zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  background: #0c0e0b;
  border: 1px solid #3a3c36;
}
.studio-zoom button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #fff;
}
.studio-zoom span {
  min-width: 48px;
  text-align: center;
  color: #a3a59c;
  font-size: .68rem;
}
.studio-properties {
  border-right: 0;
  border-left: 1px solid #34362f;
}
.studio-properties form {
  display: grid;
  gap: .65rem;
}
.studio-properties label {
  color: #b6b8af;
  font-size: .7rem;
}
.studio-properties input {
  margin-top: .25rem;
  padding: .65rem;
}
.studio-preflight {
  display: grid;
  gap: .45rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #34362f;
}
.studio-preflight span {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #9fa198;
  font-size: .7rem;
}
.studio-preflight .ui-icon {
  color: var(--gold);
  width: 15px;
  height: 15px;
}
.studio-status {
  margin: .8rem 1rem;
}
.studio-integration-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: .85rem;
}
.studio-integration-notes article {
  padding: 1.1rem;
}
.studio-integration-notes .ui-icon {
  color: var(--gold);
}
.studio-integration-notes h3 {
  margin: 1rem 0 .35rem;
  font-family: "G.I.", Arial, sans-serif;
  font-size: 1rem;
}
.studio-integration-notes p {
  margin: 0;
  color: #8f9189;
  font-size: .78rem;
}

@media (max-width: 1180px) {
  .portal-layout {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .portal-sidebar-brand .brand span,
  .portal-sidebar-brand > span,
  .portal-sidebar nav a span,
  .portal-sidebar-foot div {
    display: none;
  }
  .portal-sidebar-brand .brand {
    justify-content: center;
  }
  .portal-sidebar nav a {
    justify-content: center;
    padding-inline: .45rem;
  }
  .portal-sidebar-foot {
    justify-content: center;
  }
  .studio-editor {
    grid-template-columns: 74px 210px minmax(340px, 1fr);
  }
  .studio-properties {
    grid-column: 2 / -1;
    border-top: 1px solid #34362f;
    border-left: 0;
  }
  .studio-properties form {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 940px) {
  .photo-story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portal-kpis,
  .governance-strip {
    grid-template-columns: 1fr 1fr;
  }
  .portal-dashboard-grid,
  .lead-command {
    grid-template-columns: 1fr;
  }
  .lead-detail {
    position: static;
  }
}
@media (max-width: 760px) {
  .page-hero-photo {
    min-height: 440px;
  }
  .page-hero-media {
    object-position: 62% center;
  }
  .photo-story-heading {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
  .photo-story-grid {
    grid-template-columns: 1fr;
  }
  .photo-story-grid figure {
    min-height: 320px;
  }
  .portal-layout {
    display: block;
  }
  .portal-sidebar {
    position: sticky;
    top: 70px;
    width: 100%;
    height: auto;
    padding: .35rem;
    border-right: 0;
    border-bottom: 1px solid #292a25;
  }
  .portal-sidebar-brand,
  .portal-sidebar-foot {
    display: none;
  }
  .portal-sidebar nav {
    display: flex;
    overflow-x: auto;
    margin: 0;
  }
  .portal-sidebar nav a {
    min-width: 68px;
    min-height: 58px;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }
  .portal-sidebar nav a.is-active {
    border-bottom-color: var(--gold);
  }
  .portal-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .portal-profile {
    width: 100%;
    flex-wrap: wrap;
  }
  .portal-profile > button {
    margin-left: auto;
  }
  .portal-welcome {
    min-height: 440px;
  }
  .portal-welcome::after {
    background: linear-gradient(0deg, rgb(0 0 0 / 96%) 0%, rgb(0 0 0 / 70%) 63%, rgb(0 0 0 / 15%));
  }
  .portal-kpis,
  .automation-grid,
  .governance-strip,
  .studio-integration-notes {
    grid-template-columns: 1fr;
  }
  .material-row {
    grid-template-columns: 1fr;
  }
  .mini-lead-list > div,
  .mini-lead-list > a {
    grid-template-columns: auto 1fr auto;
  }
  .mini-lead-list time {
    display: none;
  }
  .lead-filters,
  .shortcode-card {
    grid-template-columns: 1fr;
  }
  .shortcode-value {
    width: 100%;
  }
  .shortcode-value code {
    min-width: 0;
    flex: 1;
    overflow-x: auto;
  }
  .studio-app > header,
  .studio-app > footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .studio-editor {
    display: grid;
    grid-template-columns: 1fr;
  }
  .studio-tool-rail {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #34362f;
  }
  .studio-tool-rail button {
    min-width: 76px;
  }
  .studio-assets {
    border-right: 0;
    border-bottom: 1px solid #34362f;
  }
  .studio-template-list {
    grid-template-columns: repeat(4, 150px);
    overflow-x: auto;
  }
  .studio-canvas-stage {
    min-height: 590px;
    padding: 1.2rem;
  }
  .studio-canvas {
    width: min(340px, 92%);
  }
  .studio-properties {
    grid-column: auto;
    border-top: 1px solid #34362f;
  }
  .studio-properties form {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .portal-kpis {
    grid-template-columns: 1fr;
  }
  .portal-welcome > div > div .button,
  .lead-detail-actions .button {
    width: 100%;
  }
  .studio-properties form {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
  .photo-story-grid img,
  .switch i::after {
    transition: none;
  }
}

/* 1.3 responsive, theme, CRM and commerce refinements */
html,
body,
.site-root {
  max-width: 100%;
  overflow-x: clip;
}
body {
  transition: background-color .18s ease, color .18s ease;
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
:root[data-theme="dark"] .section:not(.section-dark),
:root[data-theme="dark"] .recruit-section,
:root[data-theme="dark"] .mission-copy,
:root[data-theme="dark"] .article-page,
:root[data-theme="dark"] .commerce-page {
  background: var(--paper);
  color: var(--ink);
}
:root[data-theme="dark"] .lead-form,
:root[data-theme="dark"] .filter-bar,
:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .story-card,
:root[data-theme="dark"] .career-card,
:root[data-theme="dark"] .commerce-note,
:root[data-theme="dark"] .order-summary,
:root[data-theme="dark"] .checkout-form section {
  background: var(--surface);
  border-color: var(--line);
}
.site-header .theme-button {
  color: #fff;
}
.theme-button[data-theme-state="light"] .theme-icon-moon,
.theme-button[data-theme-state="dark"] .theme-icon-sun {
  display: block;
}
.theme-button[data-theme-state="light"] .theme-icon-sun,
.theme-button[data-theme-state="dark"] .theme-icon-moon {
  display: none;
}
.theme-icon {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9;
}
.hero h1 {
  font-size: clamp(4rem, 8.4vw, 8rem);
  overflow-wrap: normal;
  word-break: normal;
}
.hero-slide .hero-content {
  min-width: 0;
}
.product-photo,
.product-detail-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #11120f;
}
.managed-benefit-value {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}
.managed-benefit-value > span,
.managed-benefit-value > small {
  color: var(--muted);
}
.managed-benefit-value > strong {
  max-width: min(820px, 100%);
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
}
.product-photo {
  aspect-ratio: 1 / 1;
}
.product-photo img,
.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-photo img {
  transition: transform .35s ease;
}
.product-card:hover .product-photo img {
  transform: scale(1.025);
}
.product-photo > span,
.product-detail-media > span {
  position: absolute;
  left: .8rem;
  bottom: .8rem;
  padding: .35rem .5rem;
  background: rgb(0 0 0 / 78%);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.product-card-actions .text-link {
  margin-top: 0;
}
.commerce-toolbar,
.commerce-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.commerce-toolbar h2,
.commerce-page-head h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: .9;
  text-transform: uppercase;
}
.commerce-page-head > div > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}
.product-detail-media {
  min-height: 600px;
}
.product-purchase {
  min-width: 0;
}
.purchase-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 1rem;
}
.product-purchase > .text-link {
  width: fit-content;
  margin-top: 1.25rem;
}
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr);
  gap: 1.25rem;
  align-items: start;
}
.cart-items,
.checkout-form {
  display: grid;
  gap: 1rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 100px auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}
.cart-item-art {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #11120f;
  color: var(--gold);
  font-family: "MonoSpec", sans-serif;
  font-size: 2rem;
}
.cart-item h2 {
  margin: .2rem 0;
  font-size: 1.2rem;
}
.cart-item > div:nth-child(2) > span,
.cart-item p {
  color: var(--muted);
  font-size: .76rem;
}
.cart-item p {
  margin: 0;
}
.cart-item button,
.orders-table button,
.orders-mobile-list button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #927800;
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
  text-decoration: underline;
}
.order-summary {
  position: sticky;
  top: 132px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: var(--surface);
}
.order-summary h2 {
  margin: 0 0 1rem;
}
.order-summary dl {
  margin: 0 0 1.25rem;
}
.order-summary dl > div,
.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
}
.order-summary dd {
  margin: 0;
  text-align: right;
}
.order-summary .order-total {
  padding-top: 1rem;
  font-size: 1.05rem;
  font-weight: 900;
}
.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
}
.coupon-row button {
  border: 0;
  background: #111;
  color: #fff;
  padding: 0 1rem;
  font-weight: 850;
}
.order-summary .button {
  width: 100%;
  margin-top: 1rem;
}
.button.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.checkout-form section {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--surface);
}
.checkout-form h2 {
  margin: 0 0 1.2rem;
  font-size: 1.8rem;
  text-transform: uppercase;
}
.payment-mount {
  min-height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .6rem;
  padding: 1.5rem;
  border: 1px dashed var(--line);
  background: var(--paper);
  text-align: center;
  color: var(--muted);
}
.payment-mount .ui-icon {
  color: #8a7200;
  width: 32px;
  height: 32px;
}
.marketing-store-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #30322d;
  display: flex;
  align-items: end;
}
.marketing-store-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marketing-store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 92%), rgb(0 0 0 / 45%) 65%, rgb(0 0 0 / 15%));
}
.marketing-store-hero > div {
  position: relative;
  z-index: 1;
  max-width: 690px;
  padding: clamp(1.5rem, 5vw, 4rem);
}
.marketing-store-hero h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .9;
  text-transform: uppercase;
}
.marketing-store-hero p:not(.eyebrow) {
  color: #c7c8c1;
}
.marketing-store-hero > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.marketing-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: .85rem;
}
.marketing-product-card {
  border: 1px solid #30322d;
  background: #131510;
  min-width: 0;
}
.marketing-product-card > a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.marketing-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marketing-product-card > div {
  padding: 1rem;
}
.marketing-product-card span {
  color: var(--gold);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.marketing-product-card h2 {
  margin: .35rem 0;
  font-family: "G.I.", sans-serif;
  font-size: 1.2rem;
}
.marketing-product-card p {
  color: #9b9d94;
  font-size: .8rem;
}
.marketing-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 1rem;
  align-items: start;
}
.marketing-product-detail form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #30322d;
  background: #131510;
}
.marketing-product-detail form > label {
  margin-top: .85rem;
}
.marketing-product-detail input,
.marketing-product-detail select,
.marketing-product-detail textarea {
  border-color: #383a35;
  background: #0c0e0b;
  color: #fff;
}
.option-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1rem 0;
}
.option-summary span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .5rem;
  border: 1px solid #3a3c36;
  color: #c5c6bf;
  font-size: .68rem;
}
.option-summary .ui-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.lead-command-full {
  grid-template-columns: minmax(0, 1fr);
}
.lead-directory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.lead-open {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #3c3e38;
  background: #0d0f0c;
  color: var(--gold);
}
.lead-mobile-list,
.orders-mobile-list {
  display: none;
}
.portal-back {
  display: inline-flex;
  margin-bottom: .65rem;
  color: #b4b6ad;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lead-record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  gap: .9rem;
  align-items: start;
}
.lead-edit-form,
.lead-activity-panel {
  min-width: 0;
}
.lead-form-section,
.lead-activity-panel > section {
  margin-bottom: .85rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border: 1px solid #30322d;
  background: #131510;
}
.lead-form-section > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.lead-form-section h2,
.lead-activity-panel h2 {
  margin: 0;
  font-family: "G.I.", sans-serif;
  font-size: 1.35rem;
}
.lead-form-section > header > span {
  color: #85877f;
  font-size: .7rem;
  text-transform: uppercase;
}
.lead-edit-form input,
.lead-edit-form select,
.lead-edit-form textarea,
.site-settings-form input,
.site-settings-form select,
.site-settings-form textarea {
  border-color: #3a3c36;
  background: #0c0e0b;
  color: #fff;
}
.lead-edit-form input[readonly] {
  color: #8f9189;
  background: #171914;
}
.field-note {
  margin: 1rem 0 0;
  padding: .8rem;
  border-left: 3px solid var(--gold);
  color: #96988f;
  font-size: .78rem;
}
.lead-save-bar,
.settings-save-bar {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #393b35;
  background: rgb(7 8 6 / 96%);
  backdrop-filter: blur(12px);
}
.lead-save-bar > div,
.settings-save-bar > div {
  display: grid;
}
.lead-save-bar small,
.settings-save-bar small {
  color: #85877f;
}
.lead-activity-panel {
  position: sticky;
  top: 132px;
}
.lead-activity-panel dl {
  margin: 0;
}
.lead-activity-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid #2b2d28;
}
.lead-activity-panel dd {
  margin: 0;
  text-align: right;
}
.activity-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.activity-actions button {
  min-height: 62px;
  padding: .65rem;
  border: 1px solid #3a3c36;
  background: #0c0e0b;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
  text-align: left;
}
.activity-actions .ui-icon {
  color: var(--gold);
}
.lead-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lead-timeline li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: .65rem;
  padding-bottom: 1rem;
}
.lead-timeline li > span {
  width: 10px;
  height: 10px;
  margin-top: .35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 1rem 0 -4px #5b5d55;
}
.lead-timeline li > div {
  display: grid;
}
.lead-timeline small,
.lead-timeline p {
  color: #85877f;
  font-size: .75rem;
}
.lead-timeline p {
  margin: .2rem 0 0;
}
.orders-table-wrap {
  overflow-x: auto;
}
.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.orders-table th,
.orders-table td {
  padding: .85rem;
  border-bottom: 1px solid #2e302b;
  text-align: left;
}
.orders-table th {
  color: #85877f;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.site-settings-form {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border: 1px solid #30322d;
  background: #131510;
}
.settings-tabs {
  padding: .75rem;
  border-right: 1px solid #30322d;
  display: grid;
  align-content: start;
  gap: .35rem;
}
.settings-tabs button {
  min-height: 48px;
  padding: .7rem;
  border: 1px solid transparent;
  background: transparent;
  color: #a2a49b;
  text-align: left;
  font-weight: 800;
}
.settings-tabs button.is-active {
  border-color: #3b3d37;
  border-left-color: var(--gold);
  background: #1a1d16;
  color: #fff;
}
.settings-panel {
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.settings-panel > header {
  margin-bottom: 1.5rem;
}
.settings-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.settings-panel > header p:not(.eyebrow) {
  color: #93958d;
}
.settings-panel label {
  min-width: 0;
}
.settings-panel textarea {
  min-height: 110px;
}
.settings-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.settings-color-grid input[type="color"] {
  padding: .25rem;
  height: 64px;
}
.logo-manager {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #30322d;
  background: #0c0e0b;
}
.logo-manager img {
  width: 120px;
  max-height: 130px;
  object-fit: contain;
}
.logo-manager p {
  color: #85877f;
  font-size: .75rem;
}
.settings-save-bar {
  grid-column: 1 / -1;
  flex-wrap: wrap;
}
.content-entity-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .65rem;
}
.content-entity-grid > button {
  min-width: 0;
  min-height: 190px;
  padding: 1rem;
  border: 1px solid #30322d;
  background: #131510;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.content-entity-grid > button:hover,
.content-entity-grid > button.is-active {
  border-color: var(--gold);
  box-shadow: inset 0 3px 0 var(--gold);
}
.content-entity-grid > button > span {
  color: var(--gold);
}
.content-entity-grid small {
  margin-top: 1rem;
  color: #85877f;
  font-size: .68rem;
  text-transform: uppercase;
}
.content-entity-grid b {
  margin-top: .25rem;
}
.content-entity-grid p {
  color: #92948c;
  font-size: .75rem;
  line-height: 1.4;
}
.content-entity-grid i {
  margin-top: auto;
  color: var(--gold);
  font-size: .68rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}
.content-editor-layout {
  display: grid;
  grid-template-columns: minmax(270px, .45fr) minmax(0, 1.55fr);
  gap: .8rem;
  margin-top: .8rem;
}
.content-records,
.content-edit-form {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #30322d;
  background: #131510;
}
.content-records > header,
.content-edit-form > header {
  margin-bottom: 1rem;
}
.content-records > header {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: start;
}
.content-records h2,
.content-edit-form h2 {
  margin: 0;
  font-family: "G.I.", sans-serif;
  font-size: 1.4rem;
}
.content-records header p:not(.eyebrow) {
  color: #8f9189;
  font-size: .75rem;
}
.content-record-list {
  display: grid;
  gap: .4rem;
}
.content-record-list button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
  min-height: 64px;
  padding: .65rem;
  border: 1px solid #30322d;
  background: #0c0e0b;
  color: #fff;
  text-align: left;
}
.content-record-list button.is-active {
  border-color: var(--gold);
}
.content-record-list button > span:nth-child(2) {
  display: grid;
}
.content-record-list small {
  color: #85877f;
}
.content-edit-form > label,
.content-edit-form .form-grid {
  margin-top: .85rem;
}
.content-edit-form input,
.content-edit-form select,
.content-edit-form textarea {
  border-color: #3a3c36;
  background: #0c0e0b;
  color: #fff;
}
.content-form-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

@media (max-width: 1180px) {
  .marketing-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lead-record-layout,
  .marketing-product-detail {
    grid-template-columns: 1fr;
  }
  .lead-activity-panel {
    position: static;
  }
  .settings-color-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-entity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
  .product-detail-media {
    min-height: 460px;
  }
  .site-settings-form {
    grid-template-columns: 1fr;
  }
  .content-editor-layout {
    grid-template-columns: 1fr;
  }
  .settings-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #30322d;
  }
  .settings-tabs button {
    min-width: max-content;
  }
  .settings-tabs button.is-active {
    border-left-color: #3b3d37;
    border-bottom-color: var(--gold);
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }
  .utility .shell > span {
    display: none;
  }
  .utility .shell {
    justify-content: flex-end;
  }
  .header-inner {
    height: 76px;
    gap: .35rem;
  }
  .site-header .brand {
    min-width: 0;
    gap: .55rem;
  }
  .site-header .brand span {
    min-width: 0;
  }
  .site-header .brand b {
    font-size: clamp(.68rem, 3.3vw, .9rem);
    white-space: nowrap;
  }
  .site-header .brand small {
    font-size: clamp(.5rem, 2.2vw, .64rem);
    white-space: nowrap;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero {
    min-height: min(760px, calc(100svh - 107px));
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 12vw, 4rem);
    line-height: .86;
    letter-spacing: -.045em;
  }
  .hero-content > p:not(.eyebrow) {
    margin: 1.1rem 0;
    font-size: 1rem;
    line-height: 1.45;
  }
  .hero-slide .hero-content {
    width: min(calc(100% - 2rem), var(--shell));
    padding-top: 3rem;
    padding-bottom: 7.4rem;
  }
  .hero-controls {
    right: 1rem;
    bottom: 1rem;
    gap: .35rem;
  }
  .hero-controls > button {
    min-width: 42px;
    height: 42px;
  }
  .hero-controls .hero-pause {
    margin-left: auto;
  }
  .page-hero h1,
  .system-page h1,
  .portal-toolbar h1,
  .commerce-page-head h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
    line-height: .9;
  }
  .portal-toolbar {
    padding: 1.15rem;
  }
  .portal-content,
  .studio-page-content {
    padding: .75rem;
  }
  .portal-sidebar {
    top: 76px;
    z-index: 12;
  }
  .portal-sidebar nav a {
    min-width: 72px;
  }
  .lead-table-wrap,
  .orders-table-wrap {
    display: none;
  }
  .lead-mobile-list,
  .orders-mobile-list {
    display: grid;
    gap: .7rem;
  }
  .lead-mobile-card,
  .orders-mobile-list article {
    padding: 1rem;
    border: 1px solid #30322d;
    background: #0d0f0c;
  }
  .lead-mobile-card > header,
  .orders-mobile-list article > header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .65rem;
    align-items: center;
  }
  .lead-mobile-card > header > div {
    display: grid;
  }
  .lead-mobile-card small,
  .orders-mobile-list p {
    color: #85877f;
  }
  .lead-mobile-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin: 1rem 0;
  }
  .lead-mobile-card dl > div {
    min-width: 0;
  }
  .lead-mobile-card dt {
    color: #85877f;
    font-size: .65rem;
    text-transform: uppercase;
  }
  .lead-mobile-card dd {
    margin: .15rem 0 0;
    overflow-wrap: anywhere;
  }
  .lead-mobile-card .button {
    width: 100%;
  }
  .automation-grid article {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .marketing-store-hero {
    min-height: 580px;
  }
  .marketing-store-hero::after {
    background: linear-gradient(0deg, rgb(0 0 0 / 94%), rgb(0 0 0 / 28%) 78%);
  }
  .marketing-catalog {
    grid-template-columns: 1fr;
  }
  .marketing-product-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
  }
  .marketing-product-card > a {
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .product-detail-media {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .commerce-toolbar,
  .commerce-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .cart-item > label,
  .cart-item > strong {
    grid-column: 2;
  }
  .cart-item > label {
    max-width: 120px;
  }
  .lead-save-bar,
  .settings-save-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }
  .lead-save-bar .button,
  .settings-save-bar .button {
    width: 100%;
  }
  .activity-actions {
    grid-template-columns: 1fr;
  }
  .site-settings-form .form-grid,
  .lead-edit-form .form-grid {
    grid-template-columns: 1fr;
  }
  .logo-manager {
    grid-template-columns: 1fr;
  }
  .settings-color-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-entity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-header .brand img {
    width: 42px;
    height: 47px;
  }
  .header-actions .cart-button,
  .header-actions > .icon-button:first-child {
    display: none;
  }
  .theme-button {
    width: 46px;
    height: 46px;
  }
  .menu-button {
    width: 52px;
    height: 52px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 12.2vw, 3.45rem);
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-controls .hero-pause {
    font-size: .64rem;
  }
  .marketing-product-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .marketing-product-card > a {
    min-height: 170px;
  }
  .marketing-product-card p {
    display: none;
  }
  .lead-mobile-card > header {
    grid-template-columns: auto 1fr;
  }
  .lead-mobile-card > header .status-pill {
    grid-column: 1 / -1;
  }
  .lead-mobile-card dl,
  .settings-color-grid {
    grid-template-columns: 1fr;
  }
  .content-entity-grid {
    grid-template-columns: 1fr;
  }
  .purchase-fields {
    grid-template-columns: 1fr;
  }
}

/* 1.4 complete HTML platform expansion */
:root {
  --portal-bg: #090a08;
  --portal-surface: #11130f;
  --portal-panel: #151812;
  --portal-text: #f8f7f2;
  --portal-muted: #9ea097;
  --portal-line: #30332c;
}
:root[data-theme="light"] {
  --paper: #f4f3ed;
  --surface: #fff;
  --ink: #0b0c0a;
  --ink-soft: #191b17;
  --muted: #595b55;
  --line: #cbc9bf;
  --portal-bg: #e9e8e1;
  --portal-surface: #f7f6f1;
  --portal-panel: #fff;
  --portal-text: #0b0c0a;
  --portal-muted: #5f615a;
  --portal-line: #c9c8bf;
}
:root[data-theme="dark"] {
  --paper: #090a08;
  --surface: #141611;
  --ink: #f8f7f2;
  --ink-soft: #efeee8;
  --muted: #b3b5ac;
  --line: #363931;
}

.public-header-stack {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height .34s ease, opacity .24s ease, transform .34s ease;
  position: relative;
  z-index: 82;
}
.public-header-stack .site-header { position: relative; top: auto; }
@media (min-width: 981px) { :root[data-sticky-header-desktop="1"] .public-header-stack { position: sticky; top: 0; } }
@media (min-width: 761px) and (max-width: 980px) { :root[data-sticky-header-tablet="1"] .public-header-stack { position: sticky; top: 0; } }
@media (max-width: 760px) { :root[data-sticky-header-mobile="1"] .public-header-stack { position: sticky; top: 0; } }
.header-restore {
  position: fixed;
  top: .7rem;
  right: .7rem;
  z-index: 190;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #4b4d45;
  background: #070806;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
}
.header-restore:hover { color: var(--gold); border-color: var(--gold); }
.header-restore .ui-icon { width: 25px; height: 25px; }
body.public-header-collapsed .public-header-stack {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-100%);
}
body.is-authenticated:not(.public-header-collapsed) .header-restore { top: 122px; }
.site-header[data-header-layout="full"] .header-inner {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 3vw, 3rem);
}

.mega-nav { align-self: stretch; }
.mega-nav-item { display: flex; align-items: center; height: 100%; }
.mega-nav-item > a { padding-right: .2rem; }
.mega-nav-item > button {
  width: 24px;
  height: 40px;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 1.05rem;
}
.mega-panel {
  display: none;
  position: absolute;
  inset: 100% 0 auto;
  width: 100%;
  max-height: min(560px, calc(100vh - 112px));
  overflow: auto;
  background: #0b0c0a;
  color: #fff;
  border-top: 1px solid #34362f;
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 28px 70px rgb(0 0 0 / 36%);
}
.mega-nav-item:is(:hover, :focus-within, .is-open) .mega-panel { display: block; }
.mega-panel-inner { display: grid; grid-template-columns: minmax(260px, .72fr) 1.8fr; gap: clamp(2rem, 6vw, 6rem); padding-block: 2.3rem; }
.mega-feature { border-right: 1px solid #383a34; padding-right: 2rem; }
.mega-feature h2 { margin: 0 0 1.5rem; max-width: 15ch; font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: .9; text-transform: uppercase; }
.mega-feature > a { display: inline-flex; align-items: center; gap: .45rem; color: var(--gold); padding: 0; border: 0; }
.mega-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .2rem 1rem; align-content: start; }
.mega-links a { min-height: 42px; padding: .65rem .25rem; border-bottom: 1px solid #34362f; display: flex; justify-content: space-between; gap: .5rem; font-size: .71rem; }
.mega-links a:hover { color: var(--gold); }
.notification-header-button > span,
.notification-bell span,
.portal-sidebar nav a > i {
  min-width: 18px;
  min-height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #050505;
  font: 800 .62rem/1 "G.I.", sans-serif;
  font-style: normal;
}
.notification-header-button > span { position: absolute; top: 0; right: 0; }

:root[data-theme="light"] .site-header { background: rgb(250 249 244 / 97%); border-color: #c8c7bf; }
:root[data-theme="light"] .site-header .brand span,
:root[data-theme="light"] .site-header .desktop-nav a,
:root[data-theme="light"] .site-header .desktop-nav button,
:root[data-theme="light"] .site-header .icon-button,
:root[data-theme="light"] .site-header .account-link { color: #080907; }
:root[data-theme="light"] .site-header .desktop-nav a[aria-current="page"] { color: #715d00; }
:root[data-theme="dark"] .site-header { background: rgb(5 5 5 / 97%); }
.theme-icon { color: currentColor; }

.career-category-directory { margin-bottom: clamp(4rem, 8vw, 7rem); }
.career-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.career-category-grid > a { min-height: 260px; position: relative; overflow: hidden; background: #090a08; color: #fff; }
.career-category-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.06); transition: transform .35s ease; }
.career-category-grid > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 92%), rgb(0 0 0 / 10%) 75%); }
.career-category-grid > a:hover img { transform: scale(1.035); }
.career-category-grid span { position: absolute; z-index: 1; inset: auto 1.2rem 1.2rem; display: grid; }
.career-category-grid small { color: var(--gold); text-transform: uppercase; letter-spacing: .11em; }
.career-category-grid b { font-family: "MonoSpec", sans-serif; font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.career-category-grid i { font-style: normal; font-size: .72rem; margin-top: .45rem; }
.all-careers { scroll-margin-top: 8rem; }
.career-card-media { min-height: 450px; padding: 0; }
.career-card-media::after { display: none; }
.career-card-image { width: 100%; aspect-ratio: 16/9; position: relative; overflow: hidden; background: #080907; }
.career-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform .35s ease; }
.career-card-media:hover img { transform: scale(1.035); }
.career-card-image .mos { position: absolute; left: .8rem; bottom: .8rem; }
.career-card-media > div { min-height: 265px; padding: 1.35rem; display: flex; flex-direction: column; align-items: flex-start; }
.career-card-media > div > p:not(.card-category) { color: var(--muted); font-size: .9rem; }
.career-card-media > div > a { margin-top: auto; border-bottom: 2px solid var(--gold); font-size: .75rem; font-weight: 850; text-transform: uppercase; }
body[data-route^="/careers/"]:not([data-route="/careers/"]) .career-card-media { min-height: 0; }
body[data-route^="/careers/"]:not([data-route="/careers/"]) .career-card-media .career-card-image { display: none; }
body[data-route^="/careers/"]:not([data-route="/careers/"]) .career-card-media > div { min-height: 260px; }
.special-forces-overview { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 3rem; background: #0c0d0a; color: #fff; }
.special-forces-overview article { padding: clamp(2rem, 5vw, 4.5rem); align-self: center; }
.special-forces-overview h2, .special-forces-details h2 { margin: .35rem 0 .7rem; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; text-transform: uppercase; }
.special-forces-overview p:not(.eyebrow) { color: #c2c4ba; }
.special-forces-overview figure { margin: 0; min-height: 420px; position: relative; background: #050505; }
.special-forces-overview figure img { width: 100%; height: 100%; object-fit: cover; }
.special-forces-overview figcaption { position: absolute; inset: auto 1rem 1rem; max-width: 34rem; padding: .55rem .7rem; background: rgb(0 0 0 / 72%); color: #fff; font-size: .7rem; }
.special-forces-role { min-height: 320px; }
.special-forces-role .mos { margin-bottom: 1rem; }
.special-forces-details { margin: 4rem 0 0; padding: clamp(2rem, 5vw, 4rem); background: #efe3c7; color: #111; }
.special-forces-details > div:first-child { max-width: 850px; }
.special-forces-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2.5rem 0; background: #c9b990; }
.special-forces-steps article { padding: 1.4rem; background: #fffaf0; }
.special-forces-steps span { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--gold); font-weight: 900; }
.special-forces-steps h3 { text-transform: uppercase; }
.special-forces-faq { border-top: 1px solid #a99b7d; }
.special-forces-faq details { border-bottom: 1px solid #a99b7d; padding: 1rem 0; }
.special-forces-faq summary { cursor: pointer; font-weight: 900; text-transform: uppercase; }
.career-category-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: end; margin: 2rem 0 3rem; }
.career-category-intro h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; text-transform: uppercase; }
.career-category-intro > p { color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: 1rem; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.breadcrumbs a { border-bottom: 1px solid var(--gold); }
.source-note { margin-top: 3rem; padding: 1.4rem; border: 1px solid var(--line); background: var(--surface); display: flex; gap: 1rem; }
.source-note .ui-icon { color: var(--gold-strong); }
.source-note p { margin: .2rem 0; color: var(--muted); }
.source-inline { color: var(--muted); font-size: .76rem; }
.source-inline a { text-decoration: underline; }

.benefit-card-media { padding: 0; min-height: 430px; overflow: hidden; }
.benefit-card-media img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.benefit-card-media > span,
.benefit-card-media h3,
.benefit-card-media p,
.benefit-card-media b { margin-left: 1.35rem; margin-right: 1.35rem; }
.benefit-card-media > span { margin-top: 1.25rem; }
.benefit-card-media b { margin-bottom: 1.35rem; }
.managed-facts { margin: 3rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.managed-facts article { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--surface); }
.managed-facts span { display: block; color: var(--gold-strong); font-family: "MonoSpec", sans-serif; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .9; }
:root[data-theme="light"] .managed-facts span { color: #6e5900; }
.managed-facts p { margin: .65rem 0 .15rem; font-weight: 850; }
.managed-facts small { color: var(--muted); }
.managed-facts-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.national-benefit-copy section + section { border-top: 1px solid var(--line); padding-top: 1.5rem; }

.app-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.app-badges > a { min-width: 154px; min-height: 48px; padding: .45rem .65rem; border: 1px solid #5b5c56; background: #050505; color: #fff; display: flex; align-items: center; gap: .6rem; border-radius: .35rem; position: relative; }
.app-badges a > span:not(.app-badge-icon) { display: grid; line-height: 1.05; }
.app-badges small { font-size: .58rem; }
.app-badges b { font-size: .92rem; }
.app-badge-icon { width: 24px; height: 24px; }
.app-badge-icon svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.app-badge-icon.play-icon svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.app-badges img:not([hidden]) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #050505; }
.footer-subscribe { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; align-items: start; padding-block: 2rem; border-top: 1px solid #34352f; }
.footer-subscribe h3 { margin: 0; font-size: 1.5rem; }
.footer-subscribe form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.footer-subscribe form > small,
.footer-subscribe .form-status { grid-column: 1 / -1; color: #a6a89f; font-size: .7rem; text-transform: none; letter-spacing: 0; }
.footer-subscribe small a { text-decoration: underline; }

.marketing-product-card strong { display: block; margin-top: .4rem; color: var(--gold); font-size: .78rem; letter-spacing: .06em; }
.point-authority { display: flex !important; align-items: flex-start; gap: 1rem; }
.point-authority .ui-icon { width: 34px; height: 34px; color: var(--gold-strong); }

.portal-page,
.portal-workspace { background: var(--portal-bg); color: var(--portal-text); }
.portal-sidebar { background: var(--portal-surface); border-color: var(--portal-line); }
.portal-toolbar { background: var(--portal-surface); border-color: var(--portal-line); }
.portal-toolbar h1,
.portal-sidebar .brand span { color: var(--portal-text); }
.portal-panel,
.lead-command,
.automation-center,
.lead-record-layout,
.marketing-product-detail,
.site-settings-form,
.content-entity-grid > button,
.content-records,
.content-edit-form,
.shortcode-card,
.notification-compose,
.notification-inbox,
.order-edit-form,
.order-audit { background: var(--portal-panel); color: var(--portal-text); border-color: var(--portal-line); }
.portal-page input,
.portal-page select,
.portal-page textarea { background: var(--portal-surface); color: var(--portal-text); border-color: var(--portal-line); }
.portal-page .button-secondary { color: var(--portal-text); }
.portal-page .form-status { background: var(--portal-surface); color: var(--portal-text); border-color: var(--portal-line); }
.portal-profile small,
.portal-panel small,
.portal-panel p,
.settings-panel > header p:not(.eyebrow),
.setting-usage { color: var(--portal-muted); }
.portal-sidebar nav a { color: var(--portal-muted); }
.portal-sidebar nav a:hover,
.portal-sidebar nav a.is-active { color: var(--portal-text); background: color-mix(in srgb, var(--portal-text) 8%, transparent); }
.portal-sidebar nav a > i { margin-left: auto; }
.notification-bell { width: 48px; height: 48px; display: grid; place-items: center; position: relative; border: 1px solid var(--portal-line); }
.notification-bell span { position: absolute; right: -5px; top: -5px; }
.notification-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 1rem; align-items: start; }
.notification-compose,
.notification-inbox,
.order-edit-form,
.order-audit { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--portal-line); }
.notification-compose h2,
.notification-inbox h2,
.order-edit-form h2,
.order-audit h2 { margin-top: 0; }
.notification-compose fieldset { margin: 1rem 0; padding: 1rem; border: 1px solid var(--portal-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.notification-inbox article { padding: 1rem 0; border-bottom: 1px solid var(--portal-line); display: flex; gap: .8rem; }
.notification-inbox article.is-unread { border-left: 3px solid var(--gold); padding-left: .8rem; }
.notification-inbox article p { margin: .25rem 0; color: var(--portal-muted); }
.notification-inbox article small { color: var(--portal-muted); }
.order-detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 1rem; align-items: start; }
.order-edit-form > section + section { border-top: 1px solid var(--portal-line); margin-top: 1.5rem; padding-top: 1.5rem; }
.order-audit { position: sticky; top: 1rem; }
.order-open { width: 42px; height: 42px; border: 1px solid var(--portal-line); display: grid; place-items: center; color: var(--gold); }
.role-denied { margin: 4rem auto; width: min(calc(100% - 2rem), 720px); }

.settings-mobile-select { display: none; }
.setting-usage { display: block; margin-top: .25rem; font-size: .64rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.setting-usage a { color: var(--gold); text-decoration: underline; }
:root[data-theme="light"] .setting-usage a { color: #6a5600; }
.seo-page-settings { margin-top: 2rem; border-top: 1px solid var(--portal-line); padding-top: 1.5rem; }
.seo-page-settings > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.seo-page-settings details { border: 1px solid var(--portal-line); margin-top: .5rem; }
.seo-page-settings summary { min-height: 52px; padding: .8rem; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; }
.seo-page-settings summary code { color: var(--portal-muted); text-transform: none; }
.seo-page-fields { padding: 1rem; border-top: 1px solid var(--portal-line); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.content-record-search { padding: .8rem; border-bottom: 1px solid var(--portal-line); }

.step-label { color: var(--gold); font: 800 .7rem/1 "US Army", sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.otp-secondary { display: flex; flex-wrap: wrap; gap: 1rem; }
.otp-secondary button { border: 0; background: transparent; color: var(--ink); text-decoration: underline; font-size: .75rem; }
.auth-stages span.is-active { color: var(--gold); border-color: var(--gold); }
.quick-preview-login > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.quick-preview-login .button { width: 100%; }

.invoice-page { width: min(calc(100% - 2rem), 900px); margin: 2rem auto; padding: clamp(1.5rem, 5vw, 4rem); background: #fff; color: #090a08; box-shadow: 0 24px 80px rgb(0 0 0 / 18%); }
.invoice-page > header { display: flex; justify-content: space-between; gap: 2rem; border-bottom: 5px solid #ffd415; padding-bottom: 1.5rem; }
.invoice-page > header img { width: 72px; height: 78px; object-fit: contain; }
.invoice-page h1 { margin: .2rem 0; font-size: clamp(2.4rem, 7vw, 5rem); line-height: .85; }
.invoice-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem 0; }
.invoice-meta > div { display: grid; }
.invoice-page table { width: 100%; border-collapse: collapse; }
.invoice-page th,
.invoice-page td { padding: 1rem; border: 1px solid #c8c8c1; text-align: left; }
.invoice-total { display: flex; justify-content: flex-end; gap: 2rem; padding: 1.5rem 0; font-size: 1.2rem; }
.invoice-page > footer { border-top: 1px solid #c8c8c1; padding-top: 1.5rem; }
.invoice-page > footer p { color: #806800; font-family: "MonoSpec", sans-serif; font-size: 1.6rem; }
.invoice-actions { display: flex; gap: .7rem; margin-top: 2rem; }

.profile-manager,
.field-registry { border: 1px solid var(--portal-line); background: var(--portal-surface); padding: clamp(1rem, 2.5vw, 2rem); min-width: 0; }
.profile-manager > header,
.field-registry > header { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1.5rem; }
.profile-manager > header h2,
.field-registry > header h2 { margin: .25rem 0; }
.registry-controls { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(210px, .7fr); gap: .75rem; margin: 1rem 0; }
.registry-controls label { margin: 0; }
.registry-controls label:first-child { position: relative; }
.registry-controls label:first-child .ui-icon { position: absolute; left: .9rem; bottom: 1rem; z-index: 1; color: var(--portal-muted); }
.registry-controls label:first-child input { padding-left: 2.8rem; }
.registry-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--portal-line); margin-bottom: 1rem; }
.registry-summary article { padding: 1rem; border-right: 1px solid var(--portal-line); display: grid; gap: .2rem; }
.registry-summary article:last-child { border-right: 0; }
.registry-summary strong { color: var(--gold); font: 700 clamp(1.7rem, 4vw, 2.6rem)/1 "MonoSpec", monospace; }
.registry-summary span { color: var(--portal-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.dynamic-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; max-height: 70vh; overflow: auto; padding-right: .4rem; }
.dynamic-field { min-width: 0; margin: 0; padding: .8rem; border: 1px solid var(--portal-line); background: var(--portal-panel); }
.dynamic-field > span { display: block; margin-bottom: .4rem; }
.dynamic-field input:disabled,
.dynamic-field textarea:disabled { opacity: .62; cursor: not-allowed; }
.dynamic-field small { display: block; margin-top: .4rem; color: var(--portal-muted); font-size: .65rem; overflow-wrap: anywhere; }
.dynamic-field code { color: var(--gold); text-transform: none; }
.field-registry-list { display: grid; gap: .55rem; }
.field-registry-record { border: 1px solid var(--portal-line); background: var(--portal-panel); min-width: 0; }
.field-registry-record summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 66px; padding: .8rem 1rem; }
.field-registry-record summary::-webkit-details-marker { display: none; }
.field-registry-record summary > span:first-child { display: grid; gap: .25rem; min-width: 0; }
.field-registry-record summary code { color: var(--portal-muted); text-transform: none; overflow-wrap: anywhere; }
.field-badges { display: flex; flex-wrap: wrap; justify-content: end; gap: .35rem; }
.field-badges i { border: 1px solid var(--portal-line); border-radius: 999px; padding: .3rem .5rem; color: var(--portal-muted); font: 800 .58rem/1 "US Army", sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.field-badges i[data-sensitivity="restricted"] { border-color: var(--danger); color: var(--danger); }
.field-registry-detail { border-top: 1px solid var(--portal-line); padding: 1rem; }
.field-registry-detail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; margin: 0 0 1rem; }
.field-registry-detail dl > div { min-width: 0; }
.field-registry-detail dt { color: var(--portal-muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.field-registry-detail dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
.field-registry-detail label { margin-top: .8rem; }
.field-registry-detail .button { margin-top: .7rem; }
.registry-more { margin: 1rem auto 0; }
.settings-device-options { grid-column: 1 / -1; margin: 0; padding: 1rem; border: 1px solid var(--portal-line); }
.settings-device-options legend { padding: 0 .4rem; font-weight: 900; }
.settings-device-options .check { display: inline-flex; margin-right: 1rem; }

@media (max-width: 1100px) {
  .mega-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notification-layout,
  .order-detail-grid { grid-template-columns: 1fr; }
  .order-audit { position: static; }
  .store-results .product-grid:not(.is-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .mega-nav { display: none; }
}

@media (max-width: 760px) {
  body.is-authenticated { padding-bottom: 76px; }
  body.is-authenticated:not(.public-header-collapsed) .header-restore { top: 102px; }
  .header-restore { width: 50px; height: 50px; }
  .menu-button { width: 60px; height: 60px; }
  .menu-button .ui-icon { width: 36px; height: 36px; stroke-width: 2.35; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.25rem); line-height: .88; letter-spacing: -.035em; }
  .hero-slide .hero-content { padding-top: 2.3rem; padding-bottom: 6.7rem; }
  .career-category-grid,
  .career-grid,
  .managed-facts,
  .managed-facts-compact { grid-template-columns: 1fr; }
  .career-category-grid > a { min-height: 230px; }
  .career-card-media { min-height: 0; }
  .career-card-media > div { min-height: 245px; }
  .career-category-intro { grid-template-columns: 1fr; gap: .7rem; }
  .store-catalog-layout, .special-forces-overview { grid-template-columns: 1fr; }
  .store-filters { position: static; }
  .store-view-controls label { display: none; }
  .store-results .product-grid, .store-results .product-grid.is-list { grid-template-columns: 1fr; }
  .product-grid.is-list .product-card { grid-template-columns: 120px minmax(0, 1fr); }
  .special-forces-overview figure { min-height: 300px; }
  .special-forces-steps { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-subscribe { grid-template-columns: 1fr; gap: 1rem; }
  .footer-subscribe form { grid-template-columns: 1fr; }
  .footer-subscribe form > small,
  .footer-subscribe .form-status { grid-column: 1; }
  .portal-sidebar {
    position: fixed !important;
    inset: auto 0 0 !important;
    width: 100%;
    height: 76px !important;
    padding: 0 .25rem;
    border: 1px solid var(--portal-line);
    border-width: 1px 0 0;
    z-index: 170;
    box-shadow: 0 -10px 28px rgb(0 0 0 / 24%);
  }
  .portal-sidebar nav { height: 100%; margin: 0; display: flex; align-items: stretch; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .portal-sidebar nav::-webkit-scrollbar { display: none; }
  .portal-sidebar nav a { min-width: 68px; min-height: 74px; padding: .45rem .5rem; border: 0; border-top: 3px solid transparent; flex-direction: column; justify-content: center; gap: .2rem; font-size: .58rem; white-space: nowrap; }
  .portal-sidebar nav a.is-active { border: 0; border-top: 3px solid var(--gold); }
  .portal-sidebar nav a .ui-icon { width: 23px; height: 23px; }
  .portal-sidebar nav a > i { position: absolute; margin: -30px 0 0 33px; }
  .portal-sidebar-brand,
  .portal-sidebar-foot { display: none !important; }
  .portal-workspace { min-height: calc(100vh - 76px); padding-bottom: .5rem; }
  .portal-toolbar { position: static; }
  .settings-tabs { display: none; }
  .settings-mobile-select { display: grid; grid-column: 1 / -1; padding: 1rem; border-bottom: 1px solid var(--portal-line); }
  .site-settings-form { display: block; }
  .settings-panel { padding: 1rem; }
  .seo-page-settings > header { align-items: stretch; flex-direction: column; }
  .seo-page-fields { grid-template-columns: 1fr; }
  .notification-compose fieldset { grid-template-columns: 1fr; }
  .quick-preview-login > div { grid-template-columns: 1fr; }
  .invoice-meta { grid-template-columns: 1fr; gap: 1rem; }
  .invoice-page { margin: 0; width: 100%; min-height: 100vh; }
  .invoice-actions { flex-direction: column; }
  .profile-manager > header,
  .field-registry > header { flex-direction: column; }
  .registry-controls,
  .dynamic-field-grid { grid-template-columns: 1fr; }
  .registry-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .registry-summary article:nth-child(2) { border-right: 0; }
  .registry-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--portal-line); }
  .field-registry-record summary { align-items: start; flex-direction: column; }
  .field-badges { justify-content: start; }
  .field-registry-detail dl { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .site-header .brand img { width: 40px !important; height: 46px; }
  .site-header .brand span { max-width: 155px; }
  .theme-button { width: 48px; height: 48px; }
  .notification-header-button { display: none; }
  .career-category-grid > a { min-height: 210px; }
  .invoice-page th,
  .invoice-page td { padding: .55rem; font-size: .72rem; }
}

@media print {
  .invoice-actions { display: none !important; }
  .invoice-page { width: 100%; margin: 0; box-shadow: none; }
  body { background: #fff !important; }
}

@media (prefers-reduced-motion: reduce) {
  .public-header-stack,
  .career-card-image img,
  .career-category-grid img { transition: none !important; }
}

/* Public account navigation and mobile cart. */
[data-session-account][hidden], [data-auth-header-toggle] { display:none!important; }
.header-actions .cart-button { display:inline-flex!important; }
.mobile-cart { display:flex; align-items:center; gap:.65rem; }
.mobile-cart svg { width:24px; height:24px; }
.is-authenticated.public-header-collapsed .site-header,
.is-authenticated.public-header-collapsed .utility-bar { display:none!important; }
.quick-preview-login, .shortcode-surface { display:none!important; }
@media(max-width:520px){.header-actions{gap:0}.header-actions .cart-button{width:38px}.header-actions .theme-button{width:38px}.header-actions .menu-button{width:42px}.brand-text{max-width:160px}}
@media(max-width:1100px){.header-actions>[data-session-account]{display:none!important}}
@media(max-width:520px){.header-actions>[data-open-dialog="site-search"],.header-actions>[data-auth-notification]{display:none!important}.site-header .brand{min-width:0;flex:1}.site-header [data-header-brand-title]{min-width:0;max-width:145px;font-size:.7rem}.site-header .brand strong{font-size:.8rem}}
