/*
  Strikewood — strikewoodbaseball.com
  Brand colors: navy #14243A · orange #EB3C21 · bat (bare ash) #E6D6B8 · navy line #3A4A62 · white #FFFFFF
  Fonts (self-hosted, SIL OFL): Big Shoulders 800 (display), Work Sans 400–700 (text), JetBrains Mono 400–500 (labels, specs)
  Most layout is still inline on the elements, exactly as in the approved design canvas.
  Repeated patterns live here as classes.
*/

:root {
  --navy: #14243A;
  --orange: #EB3C21;
  --bat: #E6D6B8;
  --navy-line: #3A4A62;
  --white: #FFFFFF;
}

/* ---------- Fonts (latin + latin-ext, so Turkish characters render) ---------- */
@font-face { font-family: 'Big Shoulders'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/big-shoulders-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/big-shoulders-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/work-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/work-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/work-sans-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/work-sans-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/work-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/work-sans-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/work-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/work-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
*:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.page-home { background: var(--navy); }
.page-home a { color: var(--white); }
.page-home a:hover { color: var(--bat); }
.page-legal { background: var(--white); }
.page-legal a, .page-legal a:hover { color: var(--navy); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); color: var(--navy); padding: 12px 16px; border-radius: 6px; font-weight: 600; }

/* ---------- Header navigation: desktop row ≥900px, details/summary menu below ---------- */
.nav-desktop { display: flex; }
.nav-mobile { display: none; }
.nav-mobile > summary { list-style: none; cursor: pointer; }
.nav-mobile > summary::-webkit-details-marker { display: none; }
@media (max-width: 899px) { .nav-desktop { display: none; } .nav-mobile { display: block; } }
/* Open menu: dim the page behind the drawer; tapping the dimmed area closes it (site.js) */
.nav-mobile[open]::before { content: ""; position: fixed; inset: 0; z-index: 15; background: rgba(20, 36, 58, 0.6); }
.nav-mobile > summary { position: relative; z-index: 21; }
.nav-link { color: var(--white); text-decoration: none; font-size: 16px; font-weight: 500; padding: 13px 0; }
.drawer-link { display: block; color: var(--white); text-decoration: none; font-size: 18px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--navy-line); }

/* ---------- Brand mark: orange slash + line ---------- */
.mark { display: flex; align-items: center; gap: 10px; }
.mark-slash { display: block; width: 10px; height: 24px; background: var(--orange); transform: skewX(-20deg); }
.mark-line { display: block; width: 56px; height: 3px; background: var(--navy); }

/* ---------- Type ---------- */
.eyebrow { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.section-title { margin: 0; font-family: 'Big Shoulders', sans-serif; font-weight: 800; font-size: clamp(40px, 5.6vw, 80px); line-height: 0.92; text-transform: uppercase; overflow-wrap: break-word; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Tables (sizes, length guide) ---------- */
.th-col { text-align: left; padding: 12px 12px; border-bottom: 2px solid var(--navy); font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.td-mono { padding: 12px 12px; border-bottom: 1px solid var(--navy); font-family: 'JetBrains Mono', monospace; font-size: 15px; }

/* ---------- FAQ (native details/summary) ---------- */
.faq-item { border-top: 2px solid var(--navy); padding: 6px 0; }
.faq-question { cursor: pointer; font-size: 19px; font-weight: 600; line-height: 1.4; padding: 12px 0; }
.faq-answer { margin: 0 0 14px; font-size: 17px; line-height: 1.6; max-width: 60ch; }

/* ---------- Legal pages ---------- */
.legal-section { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--navy); padding-top: 20px; }
.legal-heading { margin: 0; font-family: 'Big Shoulders', sans-serif; font-weight: 800; font-size: 30px; text-transform: uppercase; }
.legal-text { margin: 0; font-size: 17px; line-height: 1.65; }
.legal-list { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.65; display: flex; flex-direction: column; gap: 6px; }
.legal-card { border: 2px solid var(--navy); border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Pre-register form ---------- */
.form-wrap { display: flex; flex-direction: column; gap: 20px; }
.form-stack { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.form-alert { margin: 0; padding: 14px 16px; border: 3px solid var(--orange); border-radius: 6px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.field-label { font-size: 15px; font-weight: 600; }
.field-input { height: 52px; padding: 0 16px; border: 2px solid var(--navy); border-radius: 6px; font: inherit; font-size: 17px; color: var(--navy); background: var(--white); box-sizing: border-box; width: 100%; }
select.field-input { padding: 0 12px; }
textarea.field-input { height: auto; padding: 14px 16px; resize: vertical; }
.field-input[aria-invalid="true"] { border: 3px solid var(--orange); }
.field-error { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.field-error:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.consent label { font-size: 16px; line-height: 1.5; }
.form-note { margin: 0; font-size: 15px; line-height: 1.55; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { height: 56px; padding: 0 32px; background: var(--orange); color: var(--white); border: 0; border-radius: 6px; font-family: 'Big Shoulders', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.btn-submit[disabled] { opacity: 0.75; cursor: progress; }
.form-success { border: 2px solid var(--navy); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.success-title { margin: 0; font-family: 'Big Shoulders', sans-serif; font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.success-title:focus { outline: none; }
.success-text { margin: 0; font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; }
.btn-secondary { height: 48px; padding: 0 22px; background: var(--white); color: var(--navy); border: 2px solid var(--navy); border-radius: 6px; font-family: 'Big Shoulders', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }

/* <picture> uses display: contents so the <img> keeps its place in grids and flex rows;
   the <source> must not become a grid or flex item of its own. */
picture > source { display: none; }

/* ---------- Hero warranty badge ---------- */
.hero-badge { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 14px; border: 2px solid var(--navy-line); border-radius: 6px; color: var(--white); text-decoration: none; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; }
.hero-badge:hover { border-color: var(--white); }
.hero-badge-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--orange); }

/* ---------- Dealer terms ---------- */
.dealer-terms { border-top: 1px solid var(--navy-line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.dealer-terms-title { margin: 0; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.dealer-terms-list { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.6; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Hero background video (muted loop, plays only while on screen) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -1; }
.hero-video-media { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Navy wash keeps the white hero text readable over the moving footage */
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 36, 58, 0.95) 0%, rgba(20, 36, 58, 0.89) 55%, rgba(20, 36, 58, 0.82) 100%); }
.hero-inner { position: relative; }
.hero-video-bar { position: absolute; right: clamp(12px, 2vw, 24px); bottom: 10px; display: flex; align-items: center; gap: 12px; }
.hero-video-toggle { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: rgba(20, 36, 58, 0.85); color: var(--white); border: 2px solid var(--navy-line); border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:hover { border-color: var(--white); }
/* Pause icon (two bars); becomes a play triangle while paused */
.hero-video-icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.hero-video-toggle[data-paused] .hero-video-icon { width: 0; height: 0; border-right: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid currentColor; }

/* ---------- Small layout helpers ---------- */
/* Keeps a value such as "65.9 mm" on one line; long values break only between the inch and mm parts */
.nowrap { white-space: nowrap; }
/* Personalization column stays in view beside the longer warranty column (two-column layout only) */
@media (min-width: 1100px) { .sticky-col { position: sticky; top: 32px; } }
/* Size tables: at 320 px the 12 px cell padding left them 2 px wider than their box (inner scroll),
   and 1 px too wide even at 10 px in a desktop window with a scrollbar. The padding is an inline
   style, so !important is needed here. */
@media (max-width: 359px) { .spec-table th, .spec-table td { padding-left: 8px !important; padding-right: 8px !important; } }

/* ---------- Engraving preview: name laser-engraved on the bat barrel ---------- */
/* Text is positioned in % of the cropped barrel photo (sw01-engraving, 712×356) and follows the bat's
   -12° axis; container query units keep it the same size relative to the barrel at every width. */
.engrave { position: relative; container-type: inline-size; overflow: hidden; border-radius: 4px; background: var(--navy); }
.engrave img { display: block; width: 100%; height: auto; }
.engrave-text { position: absolute; left: 52%; top: 53.3%; transform: translate(-50%, -50%) rotate(-12deg); font-family: 'Big Shoulders', sans-serif; font-weight: 800; font-size: 20px; font-size: 6.4cqi; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: #3B2414; opacity: 0.85; mix-blend-mode: multiply; }
