:root {
  --page: min(1240px, calc(100vw - 64px));
  --ease: cubic-bezier(.2,.8,.2,1);
  --ink: #09131d;
  --ink-2: #0d1a25;
  --paper: #f4efe5;
  --paper-2: #e8dfd0;
  --accent: #dc5939;
  --accent-2: #f0aa45;
  --text-on-dark: #f7f0e5;
  --muted-on-dark: rgba(247,240,229,.68);
  --line-on-dark: rgba(247,240,229,.18);
  --muted: #5a6670;
  --border: rgba(9,19,29,.18);
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; background: var(--ink); overflow-x: clip; }
body { width: 100%; max-width: 100%; margin: 0; color: var(--text-on-dark); background: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; overflow-x: clip; }
body.theme-scotty {
  --ink: #11110f;
  --ink-2: #1b1a17;
  --paper: #eee8dc;
  --paper-2: #ded5c4;
  --accent: #bd4538;
  --accent-2: #d99a4b;
  --text-on-dark: #f6f0e5;
  --muted-on-dark: rgba(246,240,229,.66);
  --line-on-dark: rgba(246,240,229,.17);
  --muted: #625f58;
  --border: rgba(17,17,15,.2);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.page-shell { width: var(--page); max-width: 100%; margin-inline: auto; }
.concept-note { position: relative; z-index: 30; min-height: 44px; padding: 10px 18px; display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--accent-2); text-align: center; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 900; }
.site-header { position: absolute; z-index: 20; top: 44px; left: 0; width: 100%; }
.header-inner { min-height: 90px; border-bottom: 1px solid var(--line-on-dark); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 13px; text-decoration: none; text-transform: uppercase; letter-spacing: -.025em; font-family: "Arial Narrow", "Aptos Narrow", Arial, sans-serif; font-size: 18px; font-weight: 900; }
.brand-mark { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid var(--accent); border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; top: 50%; width: 18px; height: 1px; background: var(--accent); }
.brand-mark::before { right: 19px; }
.brand-mark::after { left: 19px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { min-width: 44px; min-height: 44px; padding-inline: 4px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted-on-dark); text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--text-on-dark); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-on-dark); color: var(--text-on-dark); background: rgba(0,0,0,.12); align-items: center; justify-content: center; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { width: 19px; height: 1px; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { position: absolute; top: 90px; left: 0; width: 100%; padding: 18px; color: var(--text-on-dark); background: rgba(8,15,22,.98); border-bottom: 1px solid var(--line-on-dark); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.theme-scotty .mobile-nav { background: rgba(17,17,15,.98); }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a { min-height: 48px; border-top: 1px solid var(--line-on-dark); display: flex; align-items: center; justify-content: space-between; color: var(--text-on-dark); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 900; }
.hero { position: relative; isolation: isolate; min-height: max(760px, calc(100svh - 44px)); overflow: clip; background: var(--ink); }
.hero-art { position: absolute; z-index: -3; inset: 0; animation: hero-drift 16s var(--ease) infinite alternate; }
.theme-baneco .hero-art { background: linear-gradient(90deg, #06111c 0%, #06111cf2 29%, #06111c78 62%, #06111c12 100%), linear-gradient(0deg, #06111ce5 0%, transparent 45%), url("baneco-hero.png") 65% center / cover no-repeat; }
.theme-scotty .hero-art { background: linear-gradient(90deg, #11110f 0%, #11110ff2 31%, #11110f73 63%, #11110f0d 100%), linear-gradient(0deg, #11110fe8 0%, transparent 45%), url("scotty-hero.png") 64% center / cover no-repeat; }
.hero-grid { position: absolute; z-index: -2; inset: 0; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(90deg, #000, transparent 66%); }
.hero-pulse { position: absolute; z-index: -1; top: 26%; left: max(32px, calc(50% - 620px)); width: min(39vw, 520px); height: 1px; overflow: hidden; background: color-mix(in srgb, var(--accent-2) 25%, transparent); }
.hero-pulse::after { content: ""; position: absolute; inset: 0 auto 0 -35%; width: 34%; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); animation: pulse 3.8s ease-in-out infinite; }
.hero-inner { min-height: max(760px, calc(100svh - 44px)); padding-top: 175px; padding-bottom: 78px; display: grid; align-content: center; }
.eyebrow, .section-label { margin: 0 0 22px; display: flex; align-items: center; gap: 14px; color: var(--accent-2); text-transform: uppercase; letter-spacing: .19em; font-size: 10px; font-weight: 900; }
.eyebrow::before, .section-label::before { content: ""; width: 46px; height: 1px; flex: none; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 880px; margin-bottom: 30px; text-transform: uppercase; letter-spacing: -.065em; font-family: "Arial Narrow", "Aptos Narrow", Arial, sans-serif; font-size: clamp(64px, 9vw, 126px); font-weight: 900; line-height: .82; }
.hero-line { display: block; max-width: 100%; opacity: 0; transform: translateY(42px); animation: word-in .82s var(--ease) forwards; }
.hero-line:nth-child(2) { animation-delay: .1s; }
.hero-line:nth-child(3) { animation-delay: .2s; }
.hero-line.accent { color: var(--accent-2); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 555px) minmax(310px, auto); align-items: end; gap: 48px; }
.hero-intro { max-width: 50ch; margin: 0; color: var(--muted-on-dark); font-size: clamp(17px,1.55vw,20px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
.button { min-height: 62px; padding: 15px 21px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid transparent; color: var(--ink); background: var(--accent-2); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 900; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.button:hover, .button:focus-visible { transform: translateY(-3px); background: var(--paper); }
.button.secondary { color: var(--text-on-dark); background: rgba(0,0,0,.16); border-color: var(--line-on-dark); }
.button.secondary:hover, .button.secondary:focus-visible { color: var(--ink); background: var(--paper); }
.button .arrow { font-size: 18px; line-height: 1; }
.fact-strip { color: var(--ink); background: var(--accent); overflow: clip; }
.fact-grid { min-height: 60px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.fact-grid span { min-width: 0; padding: 10px 18px; border-left: 1px solid rgba(9,19,29,.24); display: flex; align-items: center; justify-content: center; text-align: center; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 900; }
.fact-grid span:first-child { border-left: 0; }
.section { padding: clamp(92px, 11vw, 156px) 0; }
.section-light { color: var(--ink); background: var(--paper); }
.section-dark { color: var(--text-on-dark); background: var(--ink-2); }
.section-head { margin-bottom: clamp(48px,7vw,80px); display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 42px; }
.section-label { color: var(--accent); margin-top: 8px; }
.section h2, .closing h2 { max-width: 970px; margin-bottom: 0; text-transform: uppercase; letter-spacing: -.055em; overflow-wrap: anywhere; font-family: "Arial Narrow", "Aptos Narrow", Arial, sans-serif; font-size: clamp(48px,6.8vw,94px); font-weight: 900; line-height: .9; }
.feature-grid { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(320px,.84fr); align-items: stretch; gap: clamp(42px,7vw,94px); }
.feature-visual { position: relative; min-width: 0; min-height: 620px; margin: 0; overflow: hidden; background: var(--ink); }
.feature-visual img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; filter: saturate(.82) brightness(.82); transition: filter 1.1s var(--ease), transform 1.1s var(--ease); }
.feature-visual.is-visible img { filter: saturate(1) brightness(.94); transform: scale(1.015); }
.feature-visual figcaption { position: absolute; right: 0; bottom: 0; max-width: min(320px,86%); padding: 17px 21px; color: var(--ink); background: var(--accent-2); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 900; line-height: 1.5; }
.feature-copy { align-self: center; min-width: 0; }
.feature-copy .section-label { margin-bottom: 18px; }
.feature-copy h2 { margin-bottom: 32px; font-size: clamp(45px,5.3vw,76px); }
.feature-intro { max-width: 43ch; margin-bottom: 42px; color: var(--muted-on-dark); font-size: 17px; }
.work-list { margin: 0; padding: 0; list-style: none; }
.work-list li { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-on-dark); }
.work-list li:last-child { border-bottom: 1px solid var(--line-on-dark); }
.work-number { color: var(--accent); font-family: Georgia, serif; font-style: italic; }
.work-list h3 { margin-bottom: 8px; text-transform: uppercase; letter-spacing: -.03em; font-family: "Arial Narrow", "Aptos Narrow", Arial, sans-serif; font-size: 23px; font-weight: 900; line-height: 1; }
.work-list p { margin: 0; color: var(--muted-on-dark); font-size: 14px; }
.cards { border-block: 1px solid var(--border); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.card { position: relative; min-width: 0; min-height: 320px; padding: 28px 30px 34px; border-right: 1px solid var(--border); overflow: hidden; }
.card:last-child { border-right: 0; }
.card::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover::after { transform: scaleX(1); }
.card-number { display: block; margin-bottom: 82px; color: var(--accent); font-family: Georgia, serif; font-size: 17px; font-style: italic; }
.card h3 { margin-bottom: 10px; text-transform: uppercase; letter-spacing: -.035em; font-family: "Arial Narrow", "Aptos Narrow", Arial, sans-serif; font-size: clamp(25px,2.4vw,34px); font-weight: 900; line-height: 1; }
.card p { max-width: 31ch; margin: 0; color: var(--muted); font-size: 15px; }
.credentials { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px,7vw,90px); align-items: start; }
.credential-main { padding: clamp(36px,5vw,70px); color: var(--ink); background: var(--accent-2); }
.credential-kicker { display: block; margin-bottom: 44px; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 900; }
.credential-value { display: block; letter-spacing: -.055em; font-family: "Arial Narrow", "Aptos Narrow", Arial, sans-serif; font-size: clamp(72px,10vw,144px); font-weight: 900; line-height: .8; }
.credential-caption { display: block; margin-top: 26px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 900; }
.credential-list { margin: 0; padding: 0; list-style: none; }
.credential-list li { padding: 25px 0; border-top: 1px solid var(--line-on-dark); }
.credential-list li:last-child { border-bottom: 1px solid var(--line-on-dark); }
.credential-list strong { display: block; margin-bottom: 5px; color: var(--text-on-dark); text-transform: uppercase; letter-spacing: -.02em; font-family: "Arial Narrow", "Aptos Narrow", Arial, sans-serif; font-size: 27px; font-weight: 900; }
.credential-list span { color: var(--muted-on-dark); font-size: 14px; }
.closing { position: relative; color: var(--ink); background: var(--accent-2); overflow: clip; }
.closing::before { content: ""; position: absolute; top: 50%; right: max(-280px,-20vw); width: min(54vw,740px); aspect-ratio: 1; border: 1px solid rgba(9,19,29,.3); border-radius: 50%; transform: translateY(-50%); box-shadow: 0 0 0 58px rgba(9,19,29,.05), 0 0 0 116px rgba(9,19,29,.05), 0 0 0 174px rgba(9,19,29,.05); }
.closing-inner { position: relative; padding: clamp(90px,11vw,150px) 0; }
.closing .section-label { color: rgba(9,19,29,.65); }
.closing h2 { max-width: 920px; margin: 15px 0 45px; font-size: clamp(60px,9vw,128px); line-height: .82; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.closing .button { color: var(--text-on-dark); background: var(--ink); }
.closing .button:hover, .closing .button:focus-visible { color: var(--ink); background: var(--paper); }
.closing .button.secondary { color: var(--ink); background: transparent; border-color: rgba(9,19,29,.35); }
footer { padding: 42px 0 50px; color: var(--muted-on-dark); background: #050b10; }
.theme-scotty footer { background: #0a0908; }
.footer-grid { display: grid; grid-template-columns: minmax(150px,1fr) minmax(0,1.5fr) auto; align-items: end; gap: 30px; }
.footer-name { margin: 0; color: var(--text-on-dark); text-transform: uppercase; letter-spacing: -.02em; font-family: "Arial Narrow", "Aptos Narrow", Arial, sans-serif; font-size: 18px; font-weight: 900; }
.footer-note { max-width: 66ch; margin: 0; font-size: 11px; line-height: 1.6; }
.footer-top { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 900; }
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
@keyframes word-in { to { opacity: 1; transform: none; } }
@keyframes hero-drift { from { transform: scale(1.02); } to { transform: scale(1.065) translate(-.6%,-.25%); } }
@keyframes pulse { 0% { opacity: 0; transform: translateX(0); } 20%,80% { opacity: 1; } 100% { opacity: 0; transform: translateX(390%); } }
@media (max-width: 900px) {
  :root { --page: min(100% - 36px, 720px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 76px; }
  .mobile-nav { top: 76px; }
  .hero, .hero-inner { min-height: max(760px, calc(100svh - 44px)); }
  .hero-inner { padding-top: 145px; }
  .theme-baneco .hero-art { background: linear-gradient(90deg,#06111cf9 0%,#06111cdf 54%,#06111c4a 100%),linear-gradient(0deg,#06111cf2 0%,transparent 55%),url("baneco-hero.png") 68% center/cover no-repeat; }
  .theme-scotty .hero-art { background: linear-gradient(90deg,#11110ff9 0%,#11110fde 54%,#11110f48 100%),linear-gradient(0deg,#11110ff2 0%,transparent 55%),url("scotty-hero.png") 67% center/cover no-repeat; }
  h1 { max-width: 700px; font-size: clamp(58px,14vw,94px); }
  .hero-bottom { grid-template-columns: minmax(0,1fr); align-items: start; gap: 30px; }
  .section-head { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .feature-grid, .credentials { grid-template-columns: minmax(0,1fr); }
  .cards { grid-template-columns: minmax(0,1fr); }
  .card { min-height: 0; padding: 25px 4px 31px; border-right: 0; border-bottom: 1px solid var(--border); }
  .card:last-child { border-bottom: 0; }
  .card-number { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: minmax(0,1fr); align-items: start; }
}
@media (max-width: 540px) {
  :root { --page: calc(100% - 28px); }
  .concept-note { min-height: 48px; padding-inline: 10px; font-size: 8.5px; }
  .site-header { top: 48px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 22px; height: 22px; }
  .brand-mark::before, .brand-mark::after { width: 14px; }
  .brand-mark::before { right: 15px; }
  .brand-mark::after { left: 15px; }
  .hero, .hero-inner { min-height: 790px; }
  .hero-inner { padding-top: 132px; padding-bottom: 54px; }
  .eyebrow { font-size: 8.5px; }
  h1 { margin-bottom: 23px; font-size: clamp(50px,15.2vw,68px); line-height: .84; }
  .hero-intro { font-size: 16px; }
  .hero-actions, .closing-actions { display: grid; grid-template-columns: minmax(0,1fr); width: 100%; }
  .button { width: 100%; min-height: 58px; }
  .fact-grid { grid-template-columns: minmax(0,1fr); padding-block: 4px; }
  .fact-grid span { min-height: 42px; border-left: 0; border-top: 1px solid rgba(9,19,29,.22); }
  .fact-grid span:first-child { border-top: 0; }
  .section { padding: 82px 0; }
  .feature-visual, .feature-visual img { min-height: 430px; }
  .feature-visual figcaption { padding: 14px 16px; font-size: 8px; }
  .closing h2 { font-size: clamp(54px,17vw,76px); }
  .credential-main { padding: 34px 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-line, [data-reveal] { opacity: 1; transform: none; }
}
