/* WeBuyRolls (Connecticut Metal Industries, Inc.) — site styles
   Navy #0C1C33 for dark surfaces; logo blues #195BA6 / #4E83C2 and grey #868686 for accents */
:root {
  --navy: #0C1C33;
  --navy-deep: #08142a;
  --navy-up: #12284a;
  --blue: #195BA6;
  --blue-lt: #4E83C2;
  --grey: #868686;
  --text: #eef3fa;
  --muted: #a9b6c9;
  --line: rgba(78,131,194,.22);
  --line-soft: rgba(134,134,134,.18);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --head-h: 76px;
  --ease: cubic-bezier(.2,.7,.1,1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-lt); text-decoration: none; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

.tag { margin: 0 0 22px; font: 500 .78rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-lt); }
.tag span { color: var(--grey); margin: 0 .5em; }

/* Corner-marker frame */
.frame { position: relative; border: 1px solid var(--line);
  background:
    linear-gradient(var(--blue-lt), var(--blue-lt)) top left / 7px 7px no-repeat,
    linear-gradient(var(--blue-lt), var(--blue-lt)) top right / 7px 7px no-repeat,
    linear-gradient(var(--blue-lt), var(--blue-lt)) bottom left / 7px 7px no-repeat,
    linear-gradient(var(--blue-lt), var(--blue-lt)) bottom right / 7px 7px no-repeat,
    rgba(12,28,51,.55); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid var(--blue);
  background: var(--blue); color: #fff; font: 500 1rem/1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { background: var(--blue-lt); border-color: var(--blue-lt); color: #fff; box-shadow: 0 0 32px rgba(78,131,194,.45); }
.btn--line { background: rgba(12,28,51,.4); border-color: var(--line); color: var(--text); }
.btn--line:hover { background: var(--blue); border-color: var(--blue); }
.btn--sm { min-height: 42px; padding: 0 18px; font: 500 .9rem var(--mono); }
.top__call { box-shadow: 0 0 0 1px rgba(78,131,194,.5), 0 6px 24px rgba(25,91,166,.5); }
.top__call:hover { box-shadow: 0 0 0 1px var(--blue-lt), 0 0 32px rgba(78,131,194,.6); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 0 rgba(79,209,139,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(79,209,139,0); } 100% { box-shadow: 0 0 0 0 rgba(79,209,139,0); } }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.top.is-stuck, .top.is-open { background: rgba(8,20,42,.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.top__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; color: var(--muted); font-size: .95rem; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .25s; }
.menu span:first-child { top: 17px; } .menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 860px) {
  .top__in { gap: 12px; }
  .top__call { margin-left: auto; }
  .menu { display: block; }
  .nav { position: absolute; top: var(--head-h); left: 0; right: 0; display: none; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 24px; background: var(--navy-deep); border-bottom: 1px solid var(--line); }
  .top.is-open .nav { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.15rem; color: var(--text); }
}
@media (max-width: 440px) { .logo img { height: 34px; } .top__call { padding: 0 12px; font-size: .8rem; } .top__call .dot { display: none; } }

/* Background photo with colour overlay */
.bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy); }
.bg img { width: 100%; height: 115%; object-fit: cover; filter: grayscale(1) contrast(1.1); transform: translate3d(0, var(--shift, 0px), 0); will-change: transform; }
.bg::before { content: ""; position: absolute; inset: 0; background: var(--blue); mix-blend-mode: color; opacity: .9; }
.bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,28,51,.72), rgba(12,28,51,.9) 70%, var(--navy)); }
.bg--rolls::after { background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(12,28,51,.7), rgba(12,28,51,.94)); }
.bg--tubes::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(12,28,51,.78) 25%, rgba(12,28,51,.82) 75%, var(--navy) 100%); }

.grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 120px 120px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }

/* 1 · Hero */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--head-h) + 60px) 0 clamp(40px, 7vh, 80px); overflow: hidden; }
.hero__in { width: 100%; }
.hero__h1 { font-size: clamp(2.2rem, 11.2vw, 10rem); line-height: .92; letter-spacing: -.055em; font-weight: 400; }
.hero__lead { display: block; }
.rot { display: grid; color: var(--blue-lt); padding-bottom: .08em; overflow: hidden; }
.rot__w { grid-area: 1 / 1; white-space: nowrap; }
.js .rot__w { visibility: hidden; }
.js .rot__w.is-on, .js .rot__w.is-out { visibility: visible; }
.rot .ch { display: inline-block; transform: translateY(105%); transition: transform .75s var(--ease); transition-delay: calc(var(--i) * 28ms); white-space: pre; }
.rot__w.is-on .ch { transform: translateY(0); }
.rot__w.is-out .ch { transform: translateY(-105%); transition-duration: .6s; }
.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(36px, 6vh, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font: 500 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--blue-lt), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* Floating rolls */
.rolls { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.roll { position: absolute; width: auto; transform: translate3d(0, calc(var(--py, 0) * 1px), 0) rotate(var(--r)); animation: float 9s ease-in-out infinite; animation-delay: var(--d); filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.roll--a { --r: -6deg; --d: 0s; height: min(48vh, 400px); right: 9%; top: 15%; }
.roll--b { --r: -70deg; --d: -3s; height: min(20vh, 170px); right: 40%; top: 18%; opacity: .55; filter: blur(1.5px) drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.roll--c { --r: 38deg; --d: -6s; height: min(16vh, 140px); right: 3%; top: 62%; opacity: .4; filter: blur(3px); }
@keyframes float { 50% { translate: 0 -22px; rotate: 4deg; } }
@media (max-width: 760px) {
  .roll--a { height: 30vh; right: -8%; top: 13%; opacity: .85; }
  .roll--b { right: 56%; top: 16%; height: 12vh; }
  .roll--c { display: none; }
}

/* 2 · Pitch scroll sequence */
.pitch { position: relative; }
.pitch__stick { position: relative; min-height: 100svh; padding: 120px 0; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.pitch__in { width: 100%; }
.pitch__line { position: relative; margin: 0; font-size: clamp(2.3rem, 7vw, 6.4rem); line-height: 1.05; letter-spacing: -.045em; }
.pitch__line em { font-style: normal; color: var(--blue-lt); }
.pitch__line a { color: var(--text); background: linear-gradient(var(--blue-lt), var(--blue-lt)) left bottom / 0 2px no-repeat; transition: background-size .8s var(--ease) .2s, color .2s; }
.pitch__line.on a { background-size: 100% 2px; }
.pitch__line a:hover { color: var(--blue-lt); }
.pitch__perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(36px, 7vh, 64px); }
.pitch__perks li { display: flex; align-items: center; gap: 14px; font-size: clamp(1rem, 1.6vw, 1.3rem); }
.pitch__perks svg { flex: none; width: 34px; height: 34px; color: var(--blue-lt); }
.pitch__perks b { font-weight: 400; color: var(--text); }
.js .pitch__line, .js .pitch__perks li { opacity: .08; transform: translateY(40px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.js .pitch__line.on, .js .pitch__perks.on li { opacity: 1; transform: none; filter: none; }
/* the whole block reveals at once, with a short cascade down the lines */
.js .pitch__line[data-step="2"].on { transition-delay: .15s; }
.js .pitch__line[data-step="3"].on { transition-delay: .3s; }
.js .pitch__perks.on li { transition-delay: .45s; }
.js .pitch__perks.on li:nth-child(2) { transition-delay: .55s; }
.js .pitch__perks.on li:nth-child(3) { transition-delay: .65s; }
.js .pitch__perks.on li:nth-child(4) { transition-delay: .75s; }
@media (max-width: 900px) { .pitch__perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .pitch__perks { grid-template-columns: 1fr; gap: 14px; } }

/* Section heads */
.sec-head { margin-bottom: clamp(40px, 7vw, 80px); }

/* 3 · What we handle */
.handle { padding: clamp(96px, 14vw, 180px) 0; position: relative; isolation: isolate; background: linear-gradient(180deg, #17355f 0%, #1a3c6b 100%); }
.handle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 45% at 85% 5%, rgba(78,131,194,.35), transparent 70%); }
.acc { display: grid; gap: 10px; }
.acc__item { position: relative; isolation: isolate; border: 1px solid rgba(78,131,194,.3); background: linear-gradient(90deg, rgba(25,91,166,.55), rgba(25,91,166,.12) 75%); transition: border-color .3s; }
.acc__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #195BA6 0%, rgba(78,131,194,.55) 45%, rgba(78,131,194,.08) 100%); opacity: 0; transition: opacity .4s; }
.acc__item:hover, .acc__item[open] { border-color: rgba(78,131,194,.7); }
.acc__item:hover::before, .acc__item[open]::before { opacity: 1; }
.acc summary { display: grid; grid-template-columns: 1fr 48px; align-items: center; gap: 12px; padding: clamp(18px, 2.6vw, 30px) clamp(18px, 3vw, 34px); cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc__t { font-size: clamp(1.7rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; transition: transform .45s var(--ease), color .3s; }
.acc__item:hover .acc__t { transform: translateX(14px); }
.acc__item[open] .acc__t { color: #fff; }
.acc__x { justify-self: end; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .45s var(--ease), background .3s, border-color .3s; }
.acc__x::before, .acc__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--text); translate: -50% -50%; }
.acc__x::after { rotate: 90deg; transition: rotate .45s var(--ease); }
.acc__x { border-color: rgba(255,255,255,.35); }
.acc__item[open] .acc__x { background: #fff; border-color: #fff; transform: rotate(180deg); }
.acc__item[open] .acc__x::before, .acc__item[open] .acc__x::after { background: var(--blue); }
.acc__item[open] .acc__x::after { rotate: 0deg; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 clamp(18px, 3vw, 34px) clamp(24px, 3vw, 34px); }
.chips li { padding: 10px 16px; border: 1px solid rgba(255,255,255,.2); background: rgba(8,20,42,.45); font-size: .98rem; }
.acc__item[open] .chips li { animation: chip .55s var(--ease) both; }
.acc__item[open] .chips li:nth-child(2) { animation-delay: .06s; }
.acc__item[open] .chips li:nth-child(3) { animation-delay: .12s; }
.acc__item[open] .chips li:nth-child(4) { animation-delay: .18s; }
@keyframes chip { from { opacity: 0; transform: translateY(14px); } }
.acc__copy { max-width: 60ch; margin: -4px 0 22px; padding: 0 clamp(18px, 3vw, 34px); color: #d6e2f2; font-size: 1.05rem; }
.acc__item[open] .acc__copy { animation: chip .55s var(--ease) both; }
.acc__item[open] .chips li:nth-child(n+5) { animation-delay: .24s; }
/* Photo behind a panel, shown only while it's open */
.acc__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.acc__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.acc__item--media[open] .acc__media { opacity: 1; }
.acc__item--media[open] .acc__media img { transform: none; }
.acc__item--media[open]::before { background: linear-gradient(90deg, rgba(12,28,51,.95) 0%, rgba(14,44,86,.86) 50%, rgba(25,91,166,.45) 100%); }
@supports (interpolate-size: allow-keywords) {
  .acc { interpolate-size: allow-keywords; }
  .acc__item::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .acc__item[open]::details-content { height: auto; }
}
@media (max-width: 600px) {
  .acc summary { grid-template-columns: 1fr 44px; }
  .chips { gap: 8px; }
  .chips li { padding: 8px 12px; font-size: .88rem; }
  .acc__item:hover .acc__t { transform: none; }
}
.more { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin: clamp(40px, 6vw, 64px) 0 0; }
.more img { height: 64px; width: auto; rotate: -45deg; margin: 0 6px; animation: roll-bob 3.2s ease-in-out infinite; }
.more span { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.04em; line-height: 1; }
.more a { font: 500 .85rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
@keyframes roll-bob { 50% { translate: 12px 0; } }

/* 4 · Why */
.why { position: relative; isolation: isolate; padding: clamp(110px, 15vw, 200px) 0; overflow: hidden; }
.why h2 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); }
.why__lede { max-width: none; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; color: var(--muted); margin-bottom: clamp(48px, 7vw, 88px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 clamp(56px, 8vw, 96px); }
.stats > div { padding: 30px 24px 26px; }
.stats dt { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }
.stats dd { margin: 14px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.why__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(32px, 6vw, 96px); max-width: 1040px; }
.why__cols p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.why__cols p:first-child { color: var(--text); }
/* each sentence on its own line, stepped in */
.why__line { display: block; }
.why__line:nth-child(2) { padding-left: 1.5em; }
.why__line:nth-child(3) { padding-left: 3em; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__line:nth-child(2) { padding-left: .9em; } .why__line:nth-child(3) { padding-left: 1.8em; } }
@media (max-width: 680px) { .why__cols { grid-template-columns: 1fr; } }

/* 5 · From / to */
.swap { background: var(--blue); padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; isolation: isolate; }
.swap::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 80px 80px; }
.swap .tag { color: rgba(255,255,255,.8); }
.swap__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.swap__col li { font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.15; letter-spacing: -.04em; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.22); }
.swap__col:not(.swap__col--to) li { color: var(--navy); }
.swap__col--to li { color: #fff; }
.swap__arrow img { height: clamp(110px, 13vw, 180px); width: auto; rotate: -45deg; filter: brightness(1.35) drop-shadow(0 20px 30px rgba(8,20,42,.5)); }
.js .swap .reveal { transition-duration: .6s; }
.js .swap__arrow.reveal { transform: translateX(-60px); }
.js .swap__arrow.reveal.in { transform: none; }
@media (max-width: 820px) {
  .swap__grid { grid-template-columns: 1fr; }
  .swap__arrow { justify-self: center; }
  .swap__arrow img { rotate: 45deg; height: 120px; }
  .js .swap__arrow.reveal { transform: translateY(-30px); }
}

/* 6 · Contact */
.contact { padding: clamp(96px, 13vw, 170px) 0; position: relative; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 50% at 0% 100%, rgba(25,91,166,.3), transparent 70%); }
.contact__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact h2 { font-size: clamp(3.4rem, 9vw, 8rem); margin-bottom: 32px; }
.contact__info > p { color: var(--muted); max-width: 44ch; }
.need { margin: 22px 0 40px; display: grid; gap: 10px; }
.need li { display: flex; gap: 14px; align-items: center; }
.need li::before { content: ""; width: 18px; height: 1.5px; background: var(--blue-lt); flex: none; }
.reach { display: grid; gap: 14px; }
.reach__item { display: grid; gap: 4px; padding: 22px 24px; color: var(--text); transition: background-color .3s; }
.reach__item .tag { margin: 0; }
.reach__item b { font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.03em; overflow-wrap: anywhere; }
.reach__item:hover { color: var(--text); background-color: rgba(25,91,166,.35); }
.form-card { padding: clamp(24px, 4vw, 44px); background-color: rgba(8,20,42,.7); }
.form-card h3 { font-size: 1.7rem; letter-spacing: -.03em; margin-bottom: 26px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.form label b { color: var(--blue-lt); font-weight: 400; }
.form input, .form textarea, .hs-slot input, .hs-slot textarea, .hs-slot select {
  width: 100%; padding: 14px; background: var(--navy); color: var(--text); border: 1px solid var(--line); border-radius: 0; font: inherit; font-size: 1rem; }
.form input:focus, .form textarea:focus, .hs-slot input:focus, .hs-slot textarea:focus { outline: none; border-color: var(--blue-lt); box-shadow: 0 0 0 3px rgba(78,131,194,.25); }
.form textarea { resize: vertical; min-height: 140px; }
.form ::placeholder { color: #66758b; }
.form .btn { width: 100%; }
.form__note { margin: 0; font-size: .85rem; color: #7d8aa0; }
.form__note a { color: var(--text); }
.form__consent { margin: 0; font-size: .85rem; color: #7d8aa0; }
.form .form__check { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.form .form__check input { width: auto; margin-top: 3px; accent-color: var(--blue-lt); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__done { margin: 0; font-size: 1.1rem; }
.form-card__privacy { margin: 20px 0 0; font-size: .85rem; color: #7d8aa0; }
.form-card__privacy a { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue-lt); text-underline-offset: 3px; }
.form-card__privacy a:hover { color: var(--blue-lt); }
.hs-slot:empty { display: none; }
.hs-slot .hs-form-field { margin-bottom: 18px; }
.hs-slot label { display: block; margin-bottom: 8px; font-size: .88rem; color: var(--muted); }
.hs-slot .hs-button { min-height: 52px; padding: 0 28px; width: 100%; border: 1px solid var(--blue); background: var(--blue); color: #fff; font: 500 1rem var(--sans); cursor: pointer; }
.hs-slot .hs-error-msgs { margin-top: 6px; color: #ff9b9b; font-size: .85rem; }
@media (max-width: 900px) { .contact__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; overflow: hidden; background: var(--navy-deep); }
.foot__big { font-size: clamp(3.4rem, 15vw, 15rem); line-height: .85; letter-spacing: -.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(134,134,134,.4); margin: 0 0 48px; }
.foot__row { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 56px; align-items: start; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
.foot__row img { height: 40px; width: auto; }
.foot__row p { margin: 0; max-width: 52ch; color: var(--muted); font-size: .95rem; }
.foot__row ul { display: grid; gap: 6px; text-align: right; font-family: var(--mono); font-size: .9rem; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font: 400 .8rem var(--mono); color: #7d8aa0; }
.foot__base { flex-wrap: wrap; align-items: center; }
.foot__base a { color: var(--muted); }
.foot__base a:hover { color: var(--text); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__row p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue-lt); text-underline-offset: 3px; }
.foot__row p a:hover { color: var(--blue-lt); }
@media (max-width: 760px) { .foot__base { flex-direction: column; align-items: flex-start; } }
@media (max-width: 760px) { .foot__row { grid-template-columns: 1fr; } .foot__row ul { text-align: left; } }

/* Scroll reveals */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .pitch__line, .js .pitch__perks li { opacity: 1; transform: none; filter: none; }
  .split .w > span { transform: none; }
  .bg img { transform: none; }
}

/* Homepage panel link to the material page */
.acc__more { display: inline-flex; align-items: center; gap: 10px; margin: 0 clamp(18px, 3vw, 34px) clamp(24px, 3vw, 34px); font: 500 .82rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 4px; transition: border-color .2s, gap .2s; }
.acc__more:hover { color: #fff; border-color: #fff; gap: 14px; }
.acc__item[open] .acc__more { animation: chip .55s var(--ease) .3s both; }

/* Material pages */
.mat-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 78svh; display: flex; align-items: flex-end; padding: calc(var(--head-h) + 80px) 0 clamp(56px, 8vw, 96px); }
.bg--mat::after { background: linear-gradient(90deg, rgba(12,28,51,.96) 0%, rgba(14,44,86,.86) 55%, rgba(25,91,166,.5) 100%), linear-gradient(180deg, transparent 60%, var(--navy)); }
.mat-hero__in { max-width: var(--max); }
.mat-back { display: inline-block; color: var(--blue-lt); }
.mat-back:hover { color: #fff; }
.mat-hero h1 { font-size: clamp(3rem, 8.4vw, 7.4rem); letter-spacing: -.05em; line-height: .95; margin-bottom: 28px; }
.mat-copy { max-width: 62ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d6e2f2; margin-bottom: 32px; }
.chips.mat-chips { padding: 0; max-width: 980px; }
.gallery { padding: clamp(56px, 8vw, 96px) 0 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { margin: 0; padding: 10px; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: 1fr; } }

/* Material page FAQ: smaller, simpler type than the homepage panels */
.faq { padding: clamp(72px, 10vw, 128px) 0 0; }
.faq__in { display: grid; grid-template-columns: minmax(220px, .8fr) 2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; transition: color .2s; }
.faq__item summary:hover .faq__q, .faq__item[open] .faq__q { color: var(--blue-lt); }
.faq__x { position: relative; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.faq__x::before, .faq__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--text); translate: -50% -50%; transition: rotate .3s var(--ease); }
.faq__x::after { rotate: 90deg; }
.faq__item[open] .faq__x::after { rotate: 0deg; }
.faq__a { margin: 0; padding: 0 44px 20px 2px; max-width: 68ch; font-size: .98rem; line-height: 1.6; color: var(--muted); }
.faq__item[open] .faq__a { animation: chip .45s var(--ease) both; }
@supports (interpolate-size: allow-keywords) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } }

/* HubSpot form (rendered without HubSpot's own CSS) */
.hs-slot form { display: grid; gap: 18px; }
.hs-slot fieldset { max-width: none !important; margin: 0; padding: 0; border: 0; min-width: 0; }
.hs-slot fieldset.form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hs-slot fieldset .hs-form-field { width: auto !important; float: none !important; margin: 0; }
.hs-slot .hs-form-field .input { margin: 0 !important; }
.hs-slot .hs-form-field > label { display: block; margin-bottom: 8px; font-size: .88rem; color: var(--muted); }
.hs-slot .hs-form-required { color: var(--blue-lt); margin-left: 2px; }
.hs-slot input.hs-input:not([type="checkbox"]):not([type="radio"]), .hs-slot textarea.hs-input, .hs-slot select.hs-input { width: 100% !important; box-sizing: border-box; }
.hs-slot textarea.hs-input { min-height: 140px; resize: vertical; }
.hs-slot ul { list-style: none; margin: 0; padding: 0; }
.hs-slot .legal-consent-container, .hs-slot .hs-richtext, .hs-slot .legal-consent-container p { font-size: .82rem; line-height: 1.55; color: #8796ad; margin: 0 0 8px; }
.hs-slot .legal-consent-container a { color: var(--blue-lt); }
.hs-slot .hs-form-booleancheckbox-display { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; color: var(--text); font-size: .9rem; cursor: pointer; }
.hs-slot input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.hs-slot .hs-error-msgs label, .hs-slot .hs-error-msg { color: #ff9b9b; font-size: .82rem; }
.hs-slot .hs-input.invalid.error { border-color: #ff9b9b; }
.hs-slot .hs_submit .actions { margin: 4px 0 0; padding: 0; }
.hs-slot .hs-button { transition: background .2s, border-color .2s, box-shadow .2s; }
.hs-slot .hs-button:hover { background: var(--blue-lt); border-color: var(--blue-lt); box-shadow: 0 0 32px rgba(78,131,194,.45); }
.hs-slot .submitted-message { font-size: 1.1rem; color: var(--text); padding: 12px 0; }
@media (max-width: 560px) { .hs-slot fieldset.form-columns-2 { grid-template-columns: 1fr; } }
.form[hidden] { display: none; }
.hs-slot .hs-form-booleancheckbox-display > span { margin-left: 0 !important; display: block; }

/* Cookie consent banner */
.cookie { position: fixed; z-index: 80; right: var(--gutter); bottom: var(--gutter); width: min(440px, calc(100vw - 2 * var(--gutter))); padding: 22px 22px 20px; background: var(--navy-deep); border: 1px solid rgba(78,131,194,.45); box-shadow: 0 24px 60px rgba(0,0,0,.55); color: var(--text); transform: translateY(24px); opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.cookie.is-in { transform: none; opacity: 1; }
.cookie__h { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 8px; font-weight: 500; }
.cookie__p { margin: 0 0 16px; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.cookie__link { color: var(--blue-lt); text-decoration: underline; text-underline-offset: 3px; }
.cookie__prefs { display: grid; gap: 12px; margin: 0 0 18px; padding: 14px 0 2px; border-top: 1px solid var(--line); }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.cookie__opt b { display: block; color: var(--text); font-weight: 500; }
.cookie__opt input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie__actions .btn--sm { min-height: 40px; font-family: var(--sans); font-size: .9rem; }
.cookie__more { margin-left: auto; padding: 6px 0; background: none; border: 0; color: var(--muted); font: 500 .85rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie__more:hover { color: var(--text); }
@media (max-width: 440px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; } }
@media print { .cookie { display: none; } }

/* 404 page */
.nf { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--head-h) + 60px) 0 80px; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 55% at 80% 30%, rgba(25,91,166,.35), transparent 70%); }
.nf__roll { position: absolute; z-index: -1; right: 6%; top: 20%; height: min(46vh, 380px); width: auto; opacity: .55; rotate: 24deg; animation: float 9s ease-in-out infinite; pointer-events: none; }
.nf h1 { font-size: clamp(2.8rem, 8vw, 7rem); letter-spacing: -.05em; line-height: .95; max-width: 11ch; margin-bottom: 24px; }
.nf__p { max-width: 46ch; color: var(--muted); font-size: 1.1rem; }
.nf__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 56px; }
.nf__links ul { display: flex; flex-wrap: wrap; gap: 10px; }
.nf__links a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); color: var(--text); transition: background .2s, border-color .2s; }
.nf__links a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 760px) { .nf__roll { right: -12%; top: 12%; height: 26vh; opacity: .35; } }

/* Policy pages (generated from scripts/policies/*.docx) */
.policy { padding: calc(var(--head-h) + clamp(56px, 8vw, 100px)) 0 clamp(80px, 10vw, 128px); }
.policy__in { max-width: 820px; }
.policy h1 { margin: 14px 0 10px; font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.045em; }
.policy__updated { margin: 0 0 clamp(36px, 5vw, 56px); font: 400 .85rem var(--mono); color: var(--muted); }
.policy h2 { margin: 48px 0 14px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-weight: 500; font-size: 1.3rem; letter-spacing: -.02em; scroll-margin-top: calc(var(--head-h) + 20px); }
.policy p, .policy li { color: var(--muted); }
.policy strong { color: var(--text); font-weight: 500; }
.policy p { margin: 0 0 16px; }
.policy ul { margin: 0 0 16px; padding-left: 1.2em; list-style: disc; }
.policy li { margin-bottom: 8px; }
.policy a { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue-lt); text-underline-offset: 3px; }
.policy a:hover { color: var(--blue-lt); }
.policy__table { margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--line-soft); }
.policy table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.policy th, .policy td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.policy th { font: 500 .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: rgba(255,255,255,.03); }
.policy tr:last-child td { border-bottom: 0; }
.policy td:first-child { font-family: var(--mono); color: var(--text); }
