:root {
  --bg: #0b0a08;
  --panel: #14120f;
  --panel-2: #1d1811;
  --ink: #fff8ea;
  --muted: #b8aa93;
  --line: rgba(255, 231, 191, .16);
  --yellow: #ffc642;
  --orange: #ef7c32;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "DM Sans", Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", Arial, sans-serif; }
.shell { width: var(--shell); margin-inline: auto; }
.noise, .cursor-glow { display: none; }
.reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }

.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 0; }
.brand::before { content: ""; display: block; width: 36px; height: 36px; background: var(--yellow); -webkit-mask: url("assets/alan-victor-logo.png") center / contain no-repeat; mask: url("assets/alan-victor-logo.png") center / contain no-repeat; }
.brand::after { content: "ALAN VICTOR."; color: var(--ink); font: 700 12px/1 "DM Mono", monospace; letter-spacing: .08em; }
.brand span { display: none; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { color: var(--muted); font-size: 14px; }
.nav nav a:hover { color: var(--ink); }
.nav-cta { color: var(--yellow); font: 700 12px "DM Mono", monospace; }
.nav-cta span { margin-left: 5px; font-size: 17px; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; min-height: 650px; padding-block: 105px 90px; }
.eyebrow, .section-overline { margin-bottom: 22px; color: var(--yellow); font: 700 11px/1.4 "DM Mono", monospace; letter-spacing: .11em; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; background: var(--orange); border-radius: 50%; }
h1 { max-width: 760px; margin-bottom: 25px; font-size: clamp(50px, 6.4vw, 86px); line-height: .95; letter-spacing: -.075em; }
h1 em, h2 em { color: var(--yellow); font-style: normal; }
.hero-text { max-width: 585px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-text strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 35px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 15px; padding: 0 21px; font: 700 12px "DM Mono", monospace; transition: transform .18s ease; }
.button:hover { transform: translate(-3px, -3px); }
.button.primary { color: #15110a; background: var(--yellow); box-shadow: 4px 4px 0 var(--orange); }
.button span { font-size: 18px; }
.text-link { color: var(--muted); font: 700 12px "DM Mono", monospace; }
.text-link:hover { color: var(--ink); }
.text-link span { color: var(--yellow); margin-left: 5px; }

.hero-scope { position: relative; min-height: 470px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); padding: 23px; }
.hero-scope::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 32px 32px; }
.hero-scope::after { content: ""; position: absolute; right: -50px; bottom: -42px; width: 260px; height: 260px; opacity: .08; background: var(--yellow); -webkit-mask: url("assets/alan-victor-logo.png") center / contain no-repeat; mask: url("assets/alan-victor-logo.png") center / contain no-repeat; }
.scope-head, .scope-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--muted); font: 700 10px "DM Mono", monospace; letter-spacing: .09em; }
.scope-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.scope-title { position: relative; z-index: 1; max-width: 320px; margin: 50px 0 30px; font-size: clamp(31px, 3.5vw, 48px); line-height: .98; letter-spacing: -.06em; }
.scope-list { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.scope-list li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 700 12px "DM Mono", monospace; }
.scope-list span { color: var(--orange); }
.scope-foot { position: absolute; z-index: 1; right: 23px; bottom: 22px; left: 23px; }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.proof article { min-height: 142px; padding: 27px 24px; border-right: 1px solid var(--line); }
.proof article:first-child { padding-left: 0; }
.proof article:last-child { border: 0; }
.proof strong { display: block; color: var(--ink); font: 700 42px/1 "Space Grotesk", sans-serif; letter-spacing: -.06em; }
.proof strong span { color: var(--orange); }
.proof p { margin: 10px 0 0; color: var(--muted); font: 11px/1.5 "DM Mono", monospace; text-transform: uppercase; }

.section-grid { display: grid; grid-template-columns: 150px 1.15fr .85fr; gap: 44px; padding-block: 148px; }
.section-kicker { color: var(--muted); font: 11px "DM Mono", monospace; letter-spacing: .1em; }
.section-kicker span { margin-right: 9px; color: var(--yellow); }
.about-main h2, .services h2 { max-width: 685px; margin-bottom: 25px; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.04; letter-spacing: -.058em; }
.about-main > p:last-child { max-width: 630px; margin-bottom: 0; color: var(--muted); line-height: 1.76; }
.about-cards { display: grid; gap: 10px; }
.about-cards article { padding: 19px; border: 1px solid var(--line); background: var(--panel); }
.about-cards span { color: var(--orange); font: 700 10px "DM Mono", monospace; }
.about-cards h3 { margin: 11px 0 7px; font-size: 17px; }
.about-cards p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.cases { padding-block: 20px 145px; }
.section-heading { display: grid; grid-template-columns: 150px 1fr .65fr; gap: 44px; align-items: end; margin-bottom: 54px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: .95; letter-spacing: -.065em; }
.section-heading p { max-width: 340px; margin: 0; color: var(--muted); line-height: 1.65; }
.case-list { border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: 72px 1fr 42px; gap: 24px; align-items: center; min-height: 188px; padding: 31px 0; border-bottom: 1px solid var(--line); transition: background .18s ease, padding .18s ease; }
.case:hover { padding-inline: 18px; background: var(--panel-2); }
.case-index { align-self: start; color: var(--orange); font: 700 11px "DM Mono", monospace; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.case-meta span { color: var(--yellow); font: 700 10px "DM Mono", monospace; letter-spacing: .06em; }
.case-meta span + span { color: var(--orange); }
.case h3 { margin-bottom: 11px; font-size: 27px; letter-spacing: -.04em; }
.case p { max-width: 790px; margin-bottom: 15px; color: var(--muted); line-height: 1.62; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tags span { color: #d8c9af; font: 10px "DM Mono", monospace; }
.tags span:not(:last-child)::after { content: "·"; margin-left: 9px; color: var(--orange); }
.case-metrics { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px 0 0 95px; }
.case-metrics div { padding-left: 14px; border-left: 1px solid var(--line); }
.case-metrics strong { display: block; font: 700 24px "Space Grotesk", sans-serif; letter-spacing: -.05em; }
.case-metrics span { color: var(--muted); font: 9px "DM Mono", monospace; text-transform: uppercase; }
.case-arrow { color: var(--yellow); font-size: 24px; text-align: right; }

.services { grid-template-columns: 150px 1fr; border-top: 1px solid var(--line); padding-block: 128px; }
.services-main { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.service-columns ul { padding: 0; margin: 0; list-style: none; }
.service-columns li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.service-columns li::before { content: "›"; margin-right: 9px; color: var(--orange); }

.tech { padding-bottom: 145px; }
.tech-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.tech-heading h2 { max-width: 640px; margin: 0; font-size: clamp(32px, 4vw, 55px); line-height: 1; letter-spacing: -.06em; }
.tech-heading > p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.7; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tech-grid article { min-height: 190px; padding: 28px 26px; border-right: 1px solid var(--line); }
.tech-grid article:first-child { padding-left: 0; }
.tech-grid article:last-child { border: 0; }
.tech-grid span { color: var(--orange); font: 700 10px "DM Mono", monospace; }
.tech-grid h3 { margin: 34px 0 10px; font-size: 20px; }
.tech-grid p { margin: 0; color: var(--muted); font: 13px/1.65 "DM Mono", monospace; }

.operations-section { position: relative; overflow: hidden; background: #15130f; border-block: 1px solid var(--line); }
.operations-section::before { content: ""; position: absolute; inset: 0; opacity: .42; pointer-events: none; background-image: radial-gradient(circle at 8% 22%, var(--yellow) 0 1px, transparent 2px), radial-gradient(circle at 84% 12%, var(--orange) 0 1px, transparent 2px), radial-gradient(circle at 91% 72%, var(--yellow) 0 1px, transparent 2px), radial-gradient(circle at 18% 88%, var(--orange) 0 1px, transparent 2px); }
.operations { position: relative; padding-block: 122px; }
.operations-copy { max-width: 820px; }
.operations-overline, .operations-label { color: var(--yellow); font: 700 10px/1.4 "DM Mono", monospace; letter-spacing: .12em; }
.operations-copy h2 { max-width: 760px; margin: 17px 0 22px; font-size: clamp(39px, 5vw, 68px); line-height: .96; letter-spacing: -.065em; text-transform: uppercase; }
.operations-copy > p:last-child { max-width: 650px; margin-bottom: 56px; color: var(--muted); font: 14px/1.75 "DM Mono", monospace; }
.operations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.operations-flow { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.operations-flow article { display: grid; grid-template-columns: 35px 1fr; gap: 14px; padding: 20px; background: var(--bg); }
.operations-flow span { color: var(--orange); font: 700 11px "DM Mono", monospace; }
.operations-flow h3 { margin: 0 0 6px; font-size: 18px; }
.operations-flow p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.operations-detail { color: var(--muted); font: 13px/1.7 "DM Mono", monospace; }
.operations-detail > p:last-child { max-width: 430px; margin: 14px 0 0; }
.operations-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 34px; }
.operations-tags span { padding: 6px 9px; border: 1px solid var(--line); color: var(--ink); font: 700 10px "DM Mono", monospace; }
.operations-tags span:nth-child(3n + 1) { color: var(--yellow); border-color: rgba(255,198,66,.55); }
.operations-tags span:nth-child(3n + 2) { color: #ffaf7c; border-color: rgba(239,124,50,.55); }

.cta { position: relative; overflow: hidden; margin-bottom: 68px; padding: 78px clamp(28px, 8vw, 105px); color: #18120a; background: var(--yellow); border: 1px solid var(--yellow); }
.cta::after { content: ""; position: absolute; right: -26px; bottom: -74px; width: 330px; height: 330px; opacity: .13; background: #18120a; -webkit-mask: url("assets/alan-victor-logo.png") center / contain no-repeat; mask: url("assets/alan-victor-logo.png") center / contain no-repeat; }
.cta > * { position: relative; z-index: 1; }
.cta-grid { display: none; }
.cta .eyebrow { color: #6c310d; }
.cta .live-dot { background: var(--orange); }
.cta h2 { max-width: 850px; margin: 12px 0 24px; font-size: clamp(43px, 6vw, 78px); line-height: .94; letter-spacing: -.07em; }
.cta h2 em { color: #8f3c10; }
.cta > p:not(.eyebrow) { max-width: 530px; color: #523416; line-height: 1.65; }
.cta .primary { color: var(--ink); background: var(--bg); box-shadow: 4px 4px 0 var(--orange); }
.footer { display: flex; align-items: center; justify-content: space-between; min-height: 94px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer > a:last-child { color: var(--ink); font: 700 11px "DM Mono", monospace; }

@media (max-width: 860px) {
  :root { --shell: min(100% - 38px, 680px); }
  .nav { min-height: 72px; }.nav nav { display: none; }.nav-cta { font-size: 10px; }
  .hero { grid-template-columns: 1fr; gap: 52px; min-height: 0; padding-block: 80px 65px; }.hero-scope { max-width: 530px; min-height: 420px; }
  .proof { grid-template-columns: repeat(2, 1fr); }.proof article { min-height: 125px; padding-left: 18px; }.proof article:first-child { padding-left: 0; }.proof article:nth-child(2) { border-right: 0; }.proof article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }.proof article:nth-child(3) { padding-left: 0; }
  .section-grid, .section-heading, .services, .services-main, .tech-heading, .operations-grid { grid-template-columns: 1fr; gap: 28px; }.section-grid, .services { padding-block: 90px; }.cases { padding-bottom: 90px; }.section-heading { margin-bottom: 38px; }.tech { padding-bottom: 90px; }
  .tech-grid { grid-template-columns: 1fr; }.tech-grid article, .tech-grid article:first-child { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }.tech-grid article:last-child { border-bottom: 0; }.tech-grid h3 { margin-top: 18px; }
  .case { grid-template-columns: 42px 1fr 22px; gap: 12px; }.case-metrics { padding-left: 54px; }.service-columns { grid-template-columns: 1fr; }.operations { padding-block: 84px; }.operations-copy > p:last-child { margin-bottom: 40px; }.cta { margin-bottom: 42px; padding: 55px 27px; }.footer { min-height: 135px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 11px; }
}

@media (max-width: 520px) {
  h1 { font-size: 49px; }.hero-text { font-size: 16px; }.hero-actions { align-items: flex-start; flex-direction: column; }.hero-scope { min-height: 365px; }.scope-title { margin-top: 39px; }.proof strong { font-size: 34px; }.proof article { padding-block: 20px; }.case { grid-template-columns: 1fr; gap: 10px; }.case-arrow { display: none; }.case-metrics { grid-template-columns: 1fr; padding-left: 0; gap: 11px; }.case-metrics strong { font-size: 20px; }.operations-copy h2 { font-size: clamp(36px, 11vw, 52px); }.operations-flow article { padding: 17px; }
}
