:root {
  --navy-950: #07131f;
  --navy-900: #0a1928;
  --navy-850: #102338;
  --navy-800: #182d42;
  --ink: #102033;
  --paper: #eef0f1;
  --white: #ffffff;
  --platinum: #d8d7d3;
  --silver: #b4b4b2;
  --silver-dark: #737980;
  --steel: #7898b1;
  --steel-dark: #4e6d86;
  --bronze: #ae845b;
  --cobalt: #5d7799;
  --slate: #8993a4;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(11, 27, 45, 0.14);
  --shell: min(1240px, calc(100vw - 48px));
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 12px 18px; background: var(--platinum); color: var(--ink); font-weight: 700;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-height); padding: 0 max(24px, calc((100vw - 1240px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background-color .3s ease, height .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { height: 70px; background: rgba(6,17,29,.9); backdrop-filter: blur(18px); }
.brand { width: 142px; display: inline-flex; align-items: center; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .88rem; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.site-nav .nav-cta { border-left: 1px solid rgba(255,255,255,.2); padding-left: 28px; color: var(--platinum); font-weight: 650; }
.menu-button { display: none; }

.hero {
  position: relative; min-height: 780px; height: 100svh; max-height: 980px;
  display: grid; align-items: center; color: var(--white); overflow: hidden; background: var(--navy-950);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,17,29,.98) 0%, rgba(6,17,29,.88) 32%, rgba(6,17,29,.36) 66%, rgba(6,17,29,.16) 100%), linear-gradient(0deg, rgba(6,17,29,.78) 0%, transparent 42%);
}
.hero-image { position: absolute; inset: 0; background: url("assets/brrl-modular-refinery-hero.jpg") center / cover no-repeat; transform: scale(1.015); }
.hero-grid {
  position: absolute; inset: 0; z-index: 2; opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 70%);
}
.hero-content { position: relative; z-index: 3; padding-top: 84px; }
.eyebrow { margin: 0 0 24px; color: var(--platinum); font-size: .74rem; line-height: 1; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--steel-dark); }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(3.6rem, 6.5vw, 6.8rem); line-height: .94; letter-spacing: -.055em; font-weight: 420; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #eeece8, #96989a 82%); -webkit-background-clip: text; background-clip: text; }
.hero-copy { max-width: 610px; margin: 34px 0 0; font-size: clamp(1.15rem, 1.65vw, 1.42rem); line-height: 1.48; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  min-height: 52px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; text-decoration: none; font-size: .9rem; font-weight: 700; letter-spacing: .01em; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #e5e2dd, #aaa49e); color: #0b1724; box-shadow: inset 0 1px rgba(255,255,255,.7); }
.button-primary:hover { background: linear-gradient(135deg, #f3f1ed, #bcb8b4); }
.button-secondary { border-color: rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.04); }
.button-secondary:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
.hero-note { max-width: 620px; margin: 26px 0 0; font-size: .77rem; line-height: 1.55; color: rgba(255,255,255,.44); }
.hero-index { position: absolute; z-index: 3; bottom: 28px; left: max(24px, calc((100vw - 1240px) / 2)); right: max(24px, calc((100vw - 1240px) / 2)); display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }

.signal-band {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(120,152,177,.34), transparent 35%),
    radial-gradient(circle at 92% 100%, rgba(174,132,91,.2), transparent 32%),
    linear-gradient(112deg, #07131f 0%, #102338 55%, #182d42 100%);
  border-block: 1px solid rgba(255,255,255,.11);
}
.signal-band::before {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  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: 54px 54px; mask-image: linear-gradient(90deg, black, transparent 82%);
}
.signal-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid > div {
  --signal-accent: var(--steel); position: relative; min-height: 178px;
  padding: 42px 112px 34px 58px; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  box-shadow: inset 0 2px color-mix(in srgb, var(--signal-accent) 78%, transparent);
}
.signal-grid > div:nth-child(2) { --signal-accent: var(--platinum); }
.signal-grid > div:nth-child(3) { --signal-accent: var(--bronze); }
.signal-grid > div:first-child { border-left: 1px solid rgba(255,255,255,.13); }
.signal-grid > div::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -120px; bottom: -155px;
  border: 1px solid color-mix(in srgb, var(--signal-accent) 32%, transparent); border-radius: 50%;
  box-shadow: 0 0 0 35px color-mix(in srgb, var(--signal-accent) 5%, transparent), 0 0 0 70px color-mix(in srgb, var(--signal-accent) 3%, transparent);
}
.signal-grid > div > span { position: absolute; left: 24px; top: 45px; color: var(--signal-accent); font-size: .73rem; font-weight: 800; letter-spacing: .14em; }
.signal-grid strong, .signal-grid small { position: relative; z-index: 2; display: block; }
.signal-grid strong { max-width: 250px; font-size: 1.2rem; line-height: 1.24; font-weight: 700; letter-spacing: -.015em; }
.signal-grid small { max-width: 250px; margin-top: 10px; color: rgba(255,255,255,.58); font-size: .9rem; }
.signal-mark {
  position: absolute; z-index: 2; right: 28px; top: 50%; width: 62px; height: 62px;
  border: 1px solid color-mix(in srgb, var(--signal-accent) 72%, transparent); border-radius: 50%;
  transform: translateY(-50%); animation: signal-drift 5s ease-in-out infinite;
}
.signal-mark::before, .signal-mark::after { content: ""; position: absolute; }
.signal-mark::before { inset: 13px; border: 1px solid color-mix(in srgb, var(--signal-accent) 38%, transparent); border-radius: 50%; }
.signal-mark::after { left: -14px; right: -14px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--signal-accent), transparent); }
.signal-mark i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--signal-accent); box-shadow: 0 0 12px var(--signal-accent); }
.signal-mark i:nth-child(1) { left: 7px; top: 28px; }
.signal-mark i:nth-child(2) { left: 28px; top: 7px; }
.signal-mark i:nth-child(3) { right: 8px; bottom: 10px; }

.section { padding: 128px 0; }
.section-light { background: var(--paper); }
.section-paper { background: #e3e6e7; }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-intro { max-width: 850px; margin-bottom: 70px; }
.section-intro h2, .benchmark-copy h2, .company-copy h2, .contact-content h2, .lifecycle-copy h2 {
  margin: 0; font-size: clamp(2.55rem, 4.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 450;
}
.section-intro > p:last-child, .benchmark-copy > p, .company-copy > p, .contact-content > p, .lifecycle-copy > p {
  max-width: 680px; margin: 26px 0 0; color: #58636c; font-size: 1.08rem;
}
.section-intro.inverse > p:last-child { color: rgba(255,255,255,.58); }

#model { position: relative; overflow: hidden; background: radial-gradient(circle at 92% 8%, rgba(93,119,153,.15), transparent 26%), radial-gradient(circle at 8% 92%, rgba(180,180,178,.18), transparent 28%), var(--paper); }
#model::before { content: ""; position: absolute; width: 560px; height: 560px; right: -250px; top: 180px; border: 1px solid rgba(93,119,153,.2); border-radius: 50%; box-shadow: 0 0 0 80px rgba(93,119,153,.03), 0 0 0 160px rgba(180,180,178,.025); pointer-events: none; }
.system-map { position: relative; display: grid; grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr; align-items: stretch; perspective: 1100px; }
.system-node {
  --accent: var(--steel); --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  min-height: 282px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  border: 1px solid var(--line-light); background: rgba(255,255,255,.68); box-shadow: 0 18px 55px rgba(8,22,36,.04);
  transform: perspective(850px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
}
.system-node::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 22%, transparent), transparent 42%); opacity: .2; transition: opacity .25s ease; pointer-events: none; }
.system-node::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: translateX(-70%); transition: transform .55s ease; }
.system-node:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 28px 70px rgba(8,22,36,.14); z-index: 2; }
.system-node:hover::before { opacity: .72; }
.system-node:hover::after { transform: translateX(70%); }
.system-node[data-accent="steel"] { --accent: var(--steel); }
.system-node[data-accent="platinum"] { --accent: var(--platinum); }
.system-node[data-accent="bronze"] { --accent: var(--bronze); }
.system-node[data-accent="slate"] { --accent: var(--slate); }
.system-node.emphasized { background: linear-gradient(145deg, #183047, #0a1928); color: var(--white); border-color: rgba(216,215,211,.34); }
.system-node.verified { background: linear-gradient(145deg, #e4e6e7, #cbd3d9); border-color: rgba(93,119,153,.27); }
.system-node > span { color: var(--steel-dark); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.system-node.emphasized > span { color: var(--platinum); }
.system-node h3 { margin: auto 0 12px; font-size: 1.36rem; line-height: 1.15; letter-spacing: -.02em; }
.system-node p { margin: 0; color: #657079; font-size: .9rem; }
.system-node.emphasized p { color: rgba(255,255,255,.57); }
.node-signal { position: absolute; right: 23px; top: 25px; width: 52px; height: 52px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%; animation: signal-breathe 3.5s ease-in-out infinite; }
.node-signal i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.node-signal i:nth-child(1) { left: 9px; top: 23px; }.node-signal i:nth-child(2) { left: 23px; top: 9px; }.node-signal i:nth-child(3) { right: 9px; bottom: 10px; }
.system-line { position: relative; }
.system-line::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--steel-dark); }
.system-line::before { content: ""; position: absolute; z-index: 1; top: calc(50% - 3px); left: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--platinum); box-shadow: 0 0 12px var(--steel); animation: flow-pulse 2.2s linear infinite; }
.boundary-note { margin-top: 28px; padding: 22px 26px; display: grid; grid-template-columns: 190px 1fr; gap: 30px; border-left: 3px solid var(--steel); background: #fff; }
.boundary-note strong { font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }
.boundary-note p { margin: 0; color: #5d6770; }

.layer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.layer-card { min-height: 660px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line-dark); background: rgba(255,255,255,.035); }
.barrel-card { border-top: 3px solid var(--platinum); }
.interest-card { border-top: 3px solid var(--bronze); }
.layer-card-top { display: flex; justify-content: space-between; align-items: center; }
.layer-number { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: rgba(255,255,255,.44); }
.layer-status { padding: 7px 10px; background: rgba(216,215,211,.1); color: var(--platinum); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.layer-status.bronze { background: rgba(174,132,91,.12); color: #c79d75; }
.barrel-glyph, .interest-glyph { height: 150px; margin: 40px 0 30px; position: relative; }
.barrel-glyph { width: 110px; border: 1px solid rgba(216,215,211,.7); border-radius: 50% / 13%; }
.barrel-glyph::before, .barrel-glyph::after { content: ""; position: absolute; left: -1px; width: 110px; height: 25px; border: 1px solid rgba(216,215,211,.7); border-radius: 50%; }
.barrel-glyph::before { top: -1px; background: rgba(216,215,211,.1); }
.barrel-glyph::after { bottom: -1px; }
.barrel-glyph i { position: absolute; left: 0; right: 0; height: 1px; background: rgba(216,215,211,.35); }
.barrel-glyph i:nth-child(1) { top: 34px; }.barrel-glyph i:nth-child(2) { top: 74px; }.barrel-glyph i:nth-child(3) { top: 114px; }
.interest-glyph { width: 170px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.interest-glyph i { border: 1px solid rgba(174,132,91,.65); background: rgba(174,132,91,.04); }
.interest-glyph i:first-child { background: rgba(174,132,91,.15); }
.layer-card h3 { margin: 0; font-size: 2.25rem; letter-spacing: -.035em; font-weight: 500; }
.layer-card > p { max-width: 580px; color: rgba(255,255,255,.6); }
.layer-card ul { list-style: none; padding: 0; margin: 24px 0 30px; border-top: 1px solid var(--line-dark); }
.layer-card li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line-dark); position: relative; color: rgba(255,255,255,.78); font-size: .9rem; }
.layer-card li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 5px; height: 5px; background: var(--platinum); }
.interest-card li::before { background: var(--bronze); }
.layer-card .card-footnote { margin-top: auto; padding-top: 18px; color: rgba(255,255,255,.38); font-size: .75rem; border-top: 1px solid var(--line-dark); }

#lifecycle { position: relative; overflow: clip; background: radial-gradient(circle at 82% 22%, rgba(93,119,153,.13), transparent 30%), radial-gradient(circle at 12% 85%, rgba(137,147,164,.1), transparent 31%), #dfe2e4; }
.lifecycle-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.stage-tabs { margin-top: 44px; display: grid; border-top: 1px solid var(--line-light); }
.stage-tabs button { padding: 17px 8px; text-align: left; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; color: #6a737a; font: inherit; font-size: .86rem; cursor: pointer; transition: padding .2s ease, color .2s ease, background .2s ease; }
.stage-tabs button:nth-child(1) { --stage-accent: var(--silver-dark); }
.stage-tabs button:nth-child(2) { --stage-accent: var(--bronze); }
.stage-tabs button:nth-child(3) { --stage-accent: var(--cobalt); }
.stage-tabs button:nth-child(4) { --stage-accent: var(--slate); }
.stage-tabs button:hover, .stage-tabs button[aria-selected="true"] { padding-left: 18px; color: var(--ink); background: linear-gradient(90deg, rgba(255,255,255,.76), rgba(255,255,255,.34)); }
.stage-tabs button[aria-selected="true"] { box-shadow: inset 3px 0 var(--stage-accent, var(--steel-dark)); font-weight: 700; }
.stage-panel {
  --stage-accent: var(--platinum); min-height: 590px; padding: 42px; background: linear-gradient(145deg, #1a3045, #07131f 74%); color: var(--white); position: sticky; top: 110px; overflow: hidden;
  box-shadow: 0 36px 90px rgba(8,22,36,.24); transition: background .45s ease, box-shadow .45s ease;
}
.stage-panel[data-stage-theme="1"] { --stage-accent: var(--bronze); background: linear-gradient(145deg, #30271f, #0a1826 72%); }
.stage-panel[data-stage-theme="2"] { --stage-accent: var(--cobalt); background: linear-gradient(145deg, #1a2e49, #071522 72%); }
.stage-panel[data-stage-theme="3"] { --stage-accent: var(--slate); background: linear-gradient(145deg, #29313f, #081522 72%); }
.stage-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 24%, color-mix(in srgb, var(--stage-accent) 24%, transparent), transparent 31%); transition: background .45s ease; pointer-events: none; }
.stage-panel > *:not(.stage-orbit) { position: relative; z-index: 2; }
.stage-orbit { position: absolute; width: 280px; height: 280px; right: -78px; top: -78px; border: 1px solid color-mix(in srgb, var(--stage-accent) 32%, transparent); border-radius: 50%; animation: orbit-spin 18s linear infinite; }
.stage-orbit::before, .stage-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--stage-accent) 22%, transparent); }
.stage-orbit::before { inset: 35px; }.stage-orbit::after { inset: 75px; }
.stage-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--stage-accent); box-shadow: 0 0 18px var(--stage-accent); }
.stage-orbit i:nth-child(1) { left: 18px; top: 75px; }.stage-orbit i:nth-child(2) { right: 43px; bottom: 30px; }.stage-orbit i:nth-child(3) { left: 50%; top: -4px; }
.stage-orbit span { position: absolute; inset: 115px; border-radius: 50%; background: var(--stage-accent); filter: blur(12px); opacity: .24; }
.stage-meta { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.stage-meta span { color: var(--stage-accent); font-size: 1.8rem; font-weight: 300; }
.stage-meta small { text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.5); }
.stage-panel h3 { max-width: 620px; margin: 70px 0 22px; font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 450; }
.stage-panel > p { color: rgba(255,255,255,.58); max-width: 620px; }
.stage-evidence { margin-top: 52px; display: grid; grid-template-columns: 130px 1fr; gap: 20px; border-top: 1px solid var(--line-dark); padding-top: 22px; }
.stage-evidence > span { color: var(--stage-accent); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.stage-evidence ul { margin: 0; padding: 0; list-style: none; }
.stage-evidence li { color: rgba(255,255,255,.72); padding: 8px 0; border-bottom: 1px solid var(--line-dark); font-size: .88rem; }
.stage-progress { position: absolute !important; z-index: 3 !important; left: 42px; right: 42px; bottom: 28px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.stage-progress i { display: block; width: 25%; height: 100%; background: linear-gradient(90deg, var(--stage-accent), #fff); box-shadow: 0 0 14px var(--stage-accent); transition: width .5s cubic-bezier(.2,.8,.2,1), background .4s ease; }

.benchmark-section { overflow: hidden; }
.benchmark-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.benchmark-visual { min-height: 570px; position: relative; background: var(--navy-850); overflow: hidden; }
.benchmark-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; }
.benchmark-visual::after { content: "REFERENCE / MODULAR ASSEMBLY"; position: absolute; left: 24px; bottom: 22px; color: rgba(255,255,255,.32); font-size: .66rem; letter-spacing: .16em; }
.module { position: absolute; display: flex; align-items: flex-end; padding: 15px; border: 1px solid rgba(180,180,178,.55); color: rgba(255,255,255,.72); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(145deg, rgba(120,152,177,.12), rgba(255,255,255,.015)); box-shadow: 20px 20px 0 rgba(0,0,0,.12); }
.module::before, .module::after { content: ""; position: absolute; background: rgba(195,195,191,.55); }
.module::before { width: 6px; top: -90px; bottom: 0; left: 28%; }
.module::after { height: 5px; left: 0; right: -60px; top: 34%; }
.module-a { width: 42%; height: 34%; left: 11%; top: 34%; }
.module-b { width: 26%; height: 23%; left: 61%; top: 20%; border-color: rgba(174,132,91,.58); }
.module-c { width: 30%; height: 27%; left: 56%; top: 55%; }
.module-track { position: absolute; left: 8%; right: 8%; top: 76%; height: 1px; background: rgba(255,255,255,.35); transform: rotate(-8deg); }
.benchmark-copy > p { font-size: 1rem; }
.reference-brands { display: grid; gap: 10px; margin-top: 28px; }
.reference-brand { position: relative; padding: 15px 16px 15px 20px; display: grid; grid-template-columns: 118px 140px 1fr; gap: 14px; align-items: center; border: 1px solid var(--line-light); color: var(--ink); text-decoration: none; background: rgba(255,255,255,.5); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.reference-brand::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--steel); }
.reference-brand:nth-child(2)::before { background: var(--bronze); }
.reference-brand:nth-child(3)::before { background: var(--slate); }
.reference-brand:hover { transform: translateX(6px); border-color: rgba(78,109,134,.42); background: rgba(255,255,255,.86); }
.reference-brand span { color: var(--silver-dark); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.reference-brand strong { font-size: .9rem; }
.reference-brand small { color: #656d74; font-size: .72rem; line-height: 1.42; }
.benchmark-copy .reference-disclaimer { font-size: .7rem; color: #81888e; border-top: 1px solid var(--line-light); padding-top: 16px; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 1200px; }
.partner-card {
  --accent: var(--steel); --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  min-height: 370px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  border: 1px solid var(--line-dark); background: linear-gradient(155deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .18s ease, border-color .25s ease, box-shadow .25s ease;
}
.partner-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 26%, transparent), transparent 42%); opacity: .14; transition: opacity .25s ease; pointer-events: none; }
.partner-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.partner-card:hover { border-color: color-mix(in srgb, var(--accent) 58%, transparent); box-shadow: 0 24px 65px rgba(0,0,0,.25); z-index: 2; }
.partner-card:hover::before { opacity: .7; }
.partner-card[data-accent="platinum"] { --accent: var(--platinum); }
.partner-card[data-accent="steel"] { --accent: var(--steel); }
.partner-card[data-accent="bronze"] { --accent: var(--bronze); }
.partner-card[data-accent="slate"] { --accent: var(--slate); }
.partner-card > span { color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.partner-symbol { width: 78px; height: 78px; margin: 46px 0 24px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent); color: var(--accent); font-size: 1.5rem; font-weight: 300; border-radius: 50%; box-shadow: inset 0 0 30px color-mix(in srgb, var(--accent) 11%, transparent), 0 0 30px color-mix(in srgb, var(--accent) 9%, transparent); transition: transform .35s ease, border-radius .35s ease; }
.partner-card:hover .partner-symbol { transform: rotate(18deg) scale(1.08); border-radius: 22%; }
.partner-card h3 { margin: auto 0 16px; font-size: 1.35rem; line-height: 1.12; font-weight: 550; letter-spacing: -.02em; }
.partner-card p { margin: 0; color: rgba(255,255,255,.52); font-size: .86rem; }

.section-company { background: #d7d9d8; }
.company-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; }
.founder-list { border-top: 1px solid var(--line-light); }
.founder-list article { padding: 32px 0; border-bottom: 1px solid var(--line-light); }
.founder-list span { color: var(--steel); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.founder-list h3 { margin: 12px 0 8px; font-size: 1.6rem; letter-spacing: -.02em; }
.founder-list p { margin: 0; max-width: 600px; color: #626b72; font-size: .9rem; }

.contact-section { min-height: 650px; position: relative; display: grid; align-items: center; color: var(--white); overflow: hidden; background: var(--navy-950); }
.contact-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,17,29,.98), rgba(6,17,29,.72) 45%, rgba(6,17,29,.28)); }
.contact-image { position: absolute; inset: 0; background: url("assets/brrl-modular-refinery-hero.jpg") center 48% / cover no-repeat; filter: saturate(.7); }
.contact-content { position: relative; z-index: 2; }
.contact-content > p { color: rgba(255,255,255,.6); max-width: 560px; }
.contact-content .button { margin-top: 30px; }

.site-footer { padding: 58px 0 30px; background: #050e18; color: var(--white); }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { width: 116px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.58); text-decoration: none; font-size: .8rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 26px; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.33); font-size: .7rem; }

.reveal { opacity: 1; transform: none; }

@keyframes signal-breathe { 0%,100% { transform: scale(.92); opacity: .55; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes signal-drift { 0%,100% { transform: translateY(-50%) rotate(0deg); } 50% { transform: translateY(-50%) rotate(8deg); } }
@keyframes flow-pulse { from { transform: translateX(0); } to { transform: translateX(24px); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .8rem; }
  .system-map { grid-template-columns: 1fr 18px 1fr; }
  .system-map .system-node:nth-of-type(3), .system-map .system-node:nth-of-type(4) { margin-top: 18px; }
  .system-map .system-line:nth-of-type(2) { display: none; }
  .system-map .system-node:nth-of-type(3) { grid-column: 1; }
  .system-map .system-line:nth-of-type(3) { grid-column: 2; }
  .system-map .system-node:nth-of-type(4) { grid-column: 3; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 720px); --header-height: 70px; }
  .site-header { padding-inline: 16px; }
  .menu-button { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; color: var(--white); font: inherit; font-size: .8rem; }
  .menu-button i, .menu-button i::before { display: block; content: ""; width: 20px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-button i::before { transform: translateY(6px); }
  .menu-button[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] i::before { transform: rotate(90deg); }
  .site-nav { position: fixed; inset: 70px 0 auto; padding: 24px 20px 30px; display: none; align-items: stretch; flex-direction: column; gap: 0; background: rgba(6,17,29,.98); border-top: 1px solid var(--line-dark); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .site-nav .nav-cta { border-left: 0; padding-left: 0; color: var(--platinum); }
  .hero { min-height: 740px; height: auto; padding: 130px 0 90px; }
  .hero::after { background: linear-gradient(90deg, rgba(6,17,29,.97), rgba(6,17,29,.62)), linear-gradient(0deg, rgba(6,17,29,.85), transparent); }
  .hero-image { background-position: 58% center; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.2rem); }
  .hero-index { bottom: 18px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid > div, .signal-grid > div:first-child { min-height: 156px; border-left: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
  .section { padding: 90px 0; }
  .section-intro { margin-bottom: 50px; }
  .system-map { grid-template-columns: 1fr; gap: 12px; }
  .system-line { display: none; }
  .system-map .system-node:nth-of-type(3), .system-map .system-node:nth-of-type(4) { margin-top: 0; grid-column: 1; }
  .system-node { min-height: 210px; }
  .boundary-note { grid-template-columns: 1fr; gap: 8px; }
  .layer-grid, .lifecycle-layout, .benchmark-grid, .company-grid { grid-template-columns: 1fr; }
  .layer-card { min-height: 620px; }
  .lifecycle-layout, .benchmark-grid, .company-grid { gap: 50px; }
  .stage-panel { position: relative; top: 0; min-height: 540px; }
  .benchmark-visual { min-height: 480px; order: 2; }
  .reference-brand { grid-template-columns: 105px 1fr; }
  .reference-brand small { grid-column: 1 / -1; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { align-items: flex-start; gap: 30px; }
  .footer-links { justify-content: flex-end; }
}

@media (max-width: 560px) {
  .brand { width: 116px; }
  .hero { min-height: 720px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.1rem); }
  .hero-copy { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-index span:last-child { display: none; }
  .signal-grid > div { padding: 34px 104px 30px 58px; }
  .signal-grid > div > span { top: 37px; }
  .signal-grid strong { font-size: 1.12rem; }
  .signal-mark { right: 24px; width: 58px; height: 58px; }
  .section-intro h2, .benchmark-copy h2, .company-copy h2, .contact-content h2, .lifecycle-copy h2 { font-size: 2.55rem; }
  .layer-card { padding: 26px 22px; }
  .layer-card h3 { font-size: 1.9rem; }
  .stage-panel { padding: 30px 24px; min-height: 570px; }
  .stage-panel h3 { margin-top: 52px; }
  .stage-evidence { grid-template-columns: 1fr; gap: 8px; }
  .benchmark-visual { min-height: 390px; }
  .reference-brand { grid-template-columns: 1fr; gap: 5px; }
  .reference-brand small { grid-column: auto; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 260px; }
  .contact-section { min-height: 580px; }
  .footer-top, .footer-bottom { display: grid; grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .node-signal, .system-line::before, .stage-orbit { animation: none; }
  [data-tilt] { transform: none !important; }
}
