/* TopSeam · Forge brand layer (Isaiah's pick, 2026-11-25). Shared by the home page and every product page.
   Loads after site.css: it re-points the tokens to the Forge palette and adds the shared header, menus and footer. */
:root {
  --bg: #0B0D10; --bg-2: #101317; --panel: #14171B; --panel-2: #1A1D22;
  --text: #EDE9E1; --muted: #A9A49B; --dim: #757a81; --steel: #8C939B;
  --line: rgba(237, 233, 225, .08); --line-2: rgba(237, 233, 225, .14);
  --cu: #FF5A1F; --cu-hi: #FF8A5C; --cu-ink: #140700; --cu-rgb: 255, 90, 31;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --hdr: 68px;
}
html { scroll-padding-top: calc(var(--hdr) + 12px); }
body { font-family: var(--sans); background: var(--bg); color: var(--text); }
h1, h2, h3, .disp { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.012em; }
h2 em, h1 em, h3 em { font-style: normal; color: var(--cu); }
.eyebrow { font-family: var(--mono); letter-spacing: .16em; }

/* buttons: square steel with one cut corner */
.btn { border-radius: 0; border: 0; background: var(--cu); color: var(--cu-ink); box-shadow: none; font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.btn:hover { filter: brightness(1.08); box-shadow: none; transform: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); clip-path: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.btn-ghost:hover { background: rgba(237, 233, 225, .06); border-color: rgba(237, 233, 225, .3); }
.btn-lg { border-radius: 0; }

/* ---------- shared header ---------- */
.fx-hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
  padding-top: env(safe-area-inset-top, 0px); }
.fx-hdr.open { background: var(--bg); }
.fx-hdr.scrolled, .fx-hdr.open { background: rgba(11, 13, 16, .82); border-bottom-color: var(--line); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); }
.fx-in { display: flex; align-items: center; gap: 28px; height: var(--hdr); max-width: 1320px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.fx-logo { display: inline-flex; flex: none; }
.fx-logo img { height: 26px; width: auto; display: block; }
.fx-nav { display: flex; align-items: center; gap: 4px; }
.fx-nav > a, .fx-dd > summary { color: rgba(237, 233, 225, .74); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 9px 12px; cursor: pointer; transition: color .2s; }
.fx-nav > a:hover, .fx-dd > summary:hover, .fx-dd[open] > summary { color: var(--text); }
.fx-nav > a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--cu); }
.fx-dd { position: relative; }
.fx-dd > summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; }
.fx-dd > summary::-webkit-details-marker { display: none; }
.fx-dd > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; opacity: .7; }
.fx-dd[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.fx-panel { position: absolute; top: calc(100% + 12px); left: -8px; width: 500px; background: #121519; border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); padding: 8px; animation: fxIn .18s ease-out; }
@keyframes fxIn { from { opacity: 0; transform: translateY(-4px); } }
.fx-prod { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; color: var(--text); text-decoration: none; transition: background .15s; }
.fx-prod:hover, .fx-prod:focus-visible { background: rgba(237, 233, 225, .05); }
.fx-pi { width: 40px; height: 40px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--cu); }
.fx-pi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.fx-prod b { display: block; white-space: nowrap; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 14.5px; text-transform: uppercase; letter-spacing: .01em; }
.fx-prod small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.fx-st { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-style: normal; white-space: nowrap; }
.fx-st.live { color: #6fd194; }
.fx-panel-foot { border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 14px 6px; display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.fx-panel-foot a { color: var(--cu-hi); text-decoration: none; font-weight: 500; }
.fx-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.fx-lang { display: inline-flex; gap: 2px; font: 500 12px/1 var(--mono); letter-spacing: .08em; }
.fx-lang a { color: var(--dim); text-decoration: none; padding: 7px 7px; }
.fx-lang a[aria-current="page"] { color: var(--text); }
.fx-lang a:not([aria-current]):hover { color: var(--text); }
.fx-right .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* phone menu */
.fx-mob { display: none; }
.fx-mob > summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; margin-right: -8px; }
.fx-mob > summary::-webkit-details-marker { display: none; }
.fx-mob > summary span, .fx-mob > summary span::before, .fx-mob > summary span::after { display: block; width: 20px; height: 1.8px; background: var(--text); position: relative; transition: transform .2s, background .2s; }
.fx-mob > summary span::before, .fx-mob > summary span::after { content: ""; position: absolute; left: 0; }
.fx-mob > summary span::before { top: -6px; } .fx-mob > summary span::after { top: 6px; }
.fx-mob[open] > summary span { background: transparent; }
.fx-mob[open] > summary span::before { transform: translateY(6px) rotate(45deg); }
.fx-mob[open] > summary span::after { transform: translateY(-6px) rotate(-45deg); }
/* the header blurs what is behind it, which makes it the box a fixed child measures from: size the sheet from the screen */
.fx-sheet { position: fixed; left: 0; right: 0; top: calc(var(--hdr) + env(safe-area-inset-top, 0px)); height: calc(100dvh - var(--hdr) - env(safe-area-inset-top, 0px)); background: var(--bg); overflow-y: auto;
  padding: 18px max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); }
.fx-sheet .fx-prod { padding: 16px 4px; border-bottom: 1px solid var(--line); }
.fx-sheet .fx-prod b { white-space: normal; }
.fx-sheet .fx-st { white-space: normal; text-align: right; max-width: 92px; }
.fx-mob:not([open]) .fx-sheet { display: none; }
.fx-sheet-links { display: grid; margin-top: 10px; }
.fx-sheet-links a { color: var(--text); text-decoration: none; font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; font-size: 22px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.fx-sheet .btn { width: 100%; margin-top: 22px; min-height: 54px; font-size: 16px; }
.fx-sheet .fx-lang { margin-top: 18px; font-size: 14px; }

@media (max-width: 980px) {
  .fx-nav, .fx-right > .btn, .fx-right > .fx-lang { display: none; }
  .fx-mob { display: block; }
}

/* ---------- product bar (product pages) ---------- */
.fx-sub { position: absolute; inset: calc(var(--hdr) + env(safe-area-inset-top, 0px)) 0 auto 0; z-index: 50; border-bottom: 1px solid var(--line); }
.fx-sub .fx-in { height: 48px; gap: 22px; }
.fx-sub b { font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }
.fx-sub b span { color: var(--cu); }
.fx-sub a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.fx-sub a:hover { color: var(--text); }
@media (max-width: 760px) { .fx-sub a:not(.fx-sub-cta) { display: none; } .fx-sub .fx-sub-cta { margin-left: auto; } }
.fx-sub .fx-sub-cta { margin-left: auto; color: var(--cu-hi); }

/* ---------- shared footer ---------- */
.fx-foot { border-top: 1px solid var(--line); background: #080a0c; padding-block: 72px 34px; }
.fx-foot .fx-in { height: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; align-items: start; gap: 40px; }
.fx-foot-brand img { height: 26px; width: auto; display: block; }
.fx-foot-brand p { color: var(--dim); margin-top: 16px; font-size: 14.5px; max-width: 300px; }
.fx-foot h4 { font: 500 11.5px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; }
.fx-foot .col { display: grid; gap: 10px; }
.fx-foot .col a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.fx-foot .col a:hover { color: var(--text); }
.fx-foot-base { max-width: 1320px; margin: 56px auto 0; padding: 22px max(24px, env(safe-area-inset-right, 0px)) 0 max(24px, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font: 500 12px var(--mono); letter-spacing: .08em; color: var(--dim); }
@media (max-width: 760px) { .fx-foot .fx-in { grid-template-columns: 1fr 1fr; } .fx-foot-brand { grid-column: 1 / -1; } }

/* the old Trim page header and footer are replaced by the shared ones */
.nav, .foot { display: none !important; }

/* ---------- Trim page in the Forge look ---------- */
/* headlines are wide capitals now, so they run a size smaller than the old ones */
.hero-copy h1 { font-size: clamp(40px, 6.2vw, 96px); letter-spacing: -.012em; line-height: .88; font-weight: 800; }
h2 { letter-spacing: -.012em; }
.chapter h2, .floor h2 { font-size: clamp(30px, 3.4vw, 52px); }
.final h2 { font-size: clamp(44px, 7.6vw, 124px); letter-spacing: -.02em; }
/* the hero clears the header and the Trim product bar */
.fx-sub ~ main .beat-hero { padding-top: calc(var(--hdr) + 48px + 44px + env(safe-area-inset-top, 0px)); }
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) { .fx-sub ~ main .beat-hero { padding-top: calc(var(--hdr) + 48px + 24px); } }
@media (max-width: 600px) { .hero-copy h1 { font-size: clamp(36px, 11.6vw, 60px); } }
/* the product bar stays one line on a phone: the name, and the call to action only when it fits */
.fx-sub b, .fx-sub a { white-space: nowrap; }
@media (max-width: 600px) { .fx-sub .fx-sub-cta { display: none; } }
