/* Slick's Tire Supply: the public page. Bold dark: deep navy, the shop sign's yellow as the accent, very large type.
   One file, no framework. Phone first; wider screens are added with min-width queries. */
:root {
  --navy: #061a2e;          /* the page */
  --navy-2: #0a2540;        /* raised panels */
  --navy-3: #0f3154;        /* borders, hovers */
  --deep: #04111f;          /* the darker bands */
  --blue: #07538a;          /* the logo's blue */
  --yellow: #f2ea0c;        /* the logo's yellow */
  --yellow-2: #ffd400;
  --ink: #06121f;           /* text on yellow */
  --white: #ffffff;
  --text: #e8eef5;
  --muted: #9db2c8;
  --line: rgba(255, 255, 255, .12);
  --radius: 18px;
  --display: "Archivo", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --top-h: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--text); font: 400 17px/1.55 var(--body); padding-bottom: 68px; }
[hidden] { display: none !important; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ---- the preview note (only while the page is not published) ---- */
.preview { background: #ffe9a8; color: #3d2c00; font-size: .9rem; padding: 8px 44px 8px 16px; position: relative; z-index: 60; text-align: center; }
.preview button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: inherit; padding: 4px 10px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent;
       border-radius: 999px; padding: 13px 20px; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 26px; font-size: 1.06rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px rgba(242, 234, 12, .22); }
.btn-yellow:hover { background: #fff64a; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(6, 26, 46, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #0d2238; }
.btn-line { background: transparent; border-color: rgba(6, 18, 31, .5); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.wide { width: 100%; }

/* ---- the top bar ---- */
.top { position: sticky; top: 0; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 14px; padding: 0 16px;
       background: rgba(6, 26, 46, .78); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); transition: height .2s ease, background .2s ease; }
.top.small { --top-h: 58px; background: rgba(4, 17, 31, .94); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; border-radius: 8px; transition: height .2s ease; }
.top.small .brand img { height: 40px; }
.nav { display: none; }
.call { margin-left: auto; padding: 10px 16px; }
.call span { display: none; }
.burger { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.open { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
.nav.open a { padding: 14px 6px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }

/* ---- hero ---- */
.hero { position: relative; min-height: min(92svh, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 34%; transform: scale(1.06); animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 26, 46, .30) 0%, rgba(6, 26, 46, .55) 38%, rgba(6, 26, 46, .94) 78%, var(--navy) 100%),
              linear-gradient(90deg, rgba(4, 17, 31, .80) 0%, rgba(4, 17, 31, .15) 70%); }
.hero-inner { width: min(1180px, 100% - 40px); margin-inline: auto; padding: 120px 0 84px; }
.eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--text);
           background: rgba(4, 17, 31, .6); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; backdrop-filter: blur(6px); }
.eyebrow .sep { opacity: .5; }
.eyebrow .sep, .eyebrow .loc { display: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #7d8ea0; flex: none; }
.dot.open { background: #35d07f; box-shadow: 0 0 0 0 rgba(53, 208, 127, .7); animation: pulse 2s infinite; }
.dot.closed { background: #ff7a59; }
h1 { font: 900 clamp(2.4rem, 7.4vw, 5rem)/.96 var(--display); font-stretch: 125%; letter-spacing: -.02em; text-transform: uppercase; margin: 18px 0 18px; color: var(--white); text-wrap: balance; }
h1 em { font-style: normal; color: var(--yellow); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 34ch; color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--yellow); border-radius: 2px; animation: cue 1.8s infinite; }

/* ---- bands and headings ---- */
.band { padding: clamp(64px, 10vw, 120px) 0; }
.band-deep { background: var(--deep); }
.band-yellow { background: var(--yellow); color: var(--ink); }
.kicker { font: 800 .8rem/1 var(--display); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.kicker.dark { color: var(--blue); }
.kicker.center, .center { text-align: center; }
h2 { font: 900 clamp(1.9rem, 6vw, 3.6rem)/1 var(--display); font-stretch: 125%; letter-spacing: -.015em; text-transform: uppercase; color: var(--white); text-wrap: balance; }
h2 span { color: var(--yellow); }
h2.dark { color: var(--ink); }
h2.dark span { color: var(--blue); }
p.dark { color: #17293b; max-width: 46ch; margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.fine { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.fine.dark { color: #2b3b00; }
.fine a { color: var(--yellow); }

/* ---- what we carry ---- */
.cards { display: grid; gap: 16px; margin-top: 36px; }
.card { position: relative; background: linear-gradient(160deg, var(--navy-2), #081f37); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; overflow: hidden;
        transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; cursor: pointer; }
.card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(242, 234, 12, .16), transparent 65%); transition: transform .4s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(242, 234, 12, .55); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.card:hover::after { transform: scale(1.5); }
.ico { width: 54px; height: 54px; fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.card h3 { font: 800 1.22rem/1.15 var(--display); font-stretch: 125%; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.sizes span { font: 600 .82rem/1 ui-monospace, "SF Mono", Consolas, monospace; color: var(--text); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.more { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--yellow); text-decoration: none; position: relative; z-index: 1; }
.more::after { content: " →"; transition: margin .2s ease; }
.card:hover .more::after { margin-left: 6px; }

/* ---- find my size ---- */
.size-grid { display: grid; gap: 36px; }
.size-copy > .muted { margin-top: 14px; max-width: 44ch; }
.tire-wrap { margin-top: 26px; display: grid; gap: 16px; justify-items: center; }
.tire { width: min(360px, 82vw); height: auto; overflow: visible; }
.t-outer { fill: #0b0f14; stroke: #1b2430; stroke-width: 2; }
.t-wall { fill: #11171f; stroke: #222c39; stroke-width: 1.5; }
.t-bead { fill: #06090d; }
.t-rim { fill: #c9d2dc; stroke: #8b98a8; stroke-width: 2; }
.t-hub { fill: #07538a; stroke: #eef3f8; stroke-width: 3; }
.tread line { stroke: #2a3441; stroke-width: 5; stroke-linecap: round; }
.spokes path { fill: #eef3f8; stroke: #8b98a8; stroke-width: 1; }
.t-size { font: 900 34px/1 var(--display); font-stretch: 125%; fill: #dfe6ee; letter-spacing: 2px; }
.t-size .seg { cursor: pointer; transition: fill .15s ease; outline: none; }
.t-size .seg:hover, .t-size .seg:focus, .t-size .seg.on { fill: var(--yellow); }
.t-size .slash { fill: #7f8b99; }
.t-small { font: 700 11px/1 var(--body); fill: #56626f; letter-spacing: 3px; }
.tire.spin { animation: roll 1.1s cubic-bezier(.2, .7, .2, 1); transform-origin: 50% 50%; }
.explain { width: 100%; max-width: 420px; background: var(--navy-2); border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; min-height: 86px; }
.explain b { color: var(--white); }
.explain span { color: var(--muted); font-size: .95rem; }

.builder { background: var(--navy-2); border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; display: grid; gap: 18px; align-content: start; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; font: 700 .92rem/1 var(--body); color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 11px 15px; cursor: pointer; transition: all .15s ease; }
.tabs button:hover { color: var(--white); }
.tabs button.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.builder label { display: grid; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--text); }
.builder small { font-weight: 400; color: var(--muted); }
.builder select, .builder input[type=text], textarea { width: 100%; font: 500 1.05rem/1.2 var(--body); color: var(--white); background: #071a2e; border: 1.5px solid #1d3a5a; border-radius: 12px; padding: 14px 14px; appearance: none; }
.builder select { background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.builder select:focus, .builder input:focus, textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(242, 234, 12, .2); }
.trio { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: end; }
.trio .div { font: 900 1.3rem/1 var(--display); color: var(--yellow); padding-bottom: 15px; }
.trio select { padding-left: 11px; padding-right: 26px; background-position: calc(100% - 15px) 55%, calc(100% - 9px) 55%; }
.duo { display: grid; gap: 14px; }
.qty { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qty legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.qty label { display: block; }
.qty input { position: absolute; opacity: 0; pointer-events: none; }
.qty span { display: grid; place-items: center; min-width: 56px; height: 50px; padding: 0 14px; border: 1.5px solid #1d3a5a; border-radius: 12px; font-weight: 700; cursor: pointer; background: #071a2e; transition: all .15s ease; }
.qty input:checked + span { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.qty input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---- brands ---- */
.brands { padding: 44px 0 40px; background: var(--navy); border-block: 1px solid var(--line); overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 56px; width: max-content; animation: slide 34s linear infinite; padding: 6px 0; }
.marquee:hover .track { animation-play-state: paused; }
.track span { font: 900 clamp(1.5rem, 4.2vw, 2.6rem)/1 var(--display); font-stretch: 125%; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, .55); letter-spacing: .01em; white-space: nowrap; }
.track span:nth-child(3n + 1) { color: var(--white); -webkit-text-stroke: 0; }
.track span:nth-child(3n + 2) { color: var(--yellow); -webkit-text-stroke: 0; }

/* ---- services and gallery ---- */
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 6px; padding: 22px 22px 22px 78px; position: relative; background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: "0" counter(step); position: absolute; left: 20px; top: 20px; font: 900 1.9rem/1 var(--display); font-stretch: 125%; color: var(--yellow); }
.steps b { font: 800 1.1rem/1.2 var(--display); font-stretch: 125%; text-transform: uppercase; color: var(--white); }
.steps span { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery figure:hover img { transform: scale(1.06); }

/* ---- inquire ---- */
.inquire-grid { display: grid; gap: 28px; }
.send { background: rgba(255, 255, 255, .5); border: 2px solid rgba(6, 18, 31, .14); border-radius: 22px; padding: 18px; }
.send textarea { background: var(--white); color: var(--ink); border: 2px solid rgba(6, 18, 31, .2); min-height: 150px; resize: vertical; line-height: 1.5; }
.send textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(6, 18, 31, .15); }
.send-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.send-row .btn { padding: 15px 12px; }

/* ---- find us ---- */
.find-grid { display: grid; gap: 28px; }
.facts { margin: 26px 0 0; display: grid; gap: 18px; }
.facts div { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--yellow); }
.facts dt { font: 800 .76rem/1 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--white); font-size: 1.08rem; }
.facts a { text-decoration: none; font-weight: 700; color: var(--yellow); }
.open-line { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); margin-top: 4px; }
.front { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--navy-2); }
.front img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.front figcaption { padding: 10px 14px; font-size: .9rem; color: var(--muted); }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--navy-2); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* ---- footer and the phone dock ---- */
.foot { background: #020a13; padding: 40px 0 34px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 14px; }
.foot img { height: 56px; width: auto; border-radius: 8px; }
.foot p { color: var(--muted); font-size: .95rem; }
.foot a { color: var(--white); text-decoration: none; font-weight: 600; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(4, 17, 31, .96); backdrop-filter: blur(12px);
        border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.dock a { display: grid; justify-items: center; gap: 4px; padding: 10px 6px 9px; text-decoration: none; font-weight: 700; font-size: .8rem; color: var(--white); }
.dock a:first-child { background: var(--yellow); color: var(--ink); }
.dock svg { width: 22px; height: 22px; fill: currentColor; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--white); color: var(--ink); font-weight: 600; padding: 12px 18px; border-radius: 14px;
         box-shadow: 0 16px 40px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 70; max-width: min(92vw, 460px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@keyframes settle { to { transform: scale(1); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(53, 208, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes roll { from { transform: rotate(-90deg); } to { transform: rotate(0deg); } }

/* ---- wider screens ---- */
@media (min-width: 560px) {
  .call span { display: inline; }
  .eyebrow .sep, .eyebrow .loc { display: inline; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; }
  .send-row { grid-template-columns: repeat(4, auto); justify-content: start; }
  .send-row .btn { padding: 15px 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 70px 22px 24px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; font-size: 18px; }
  .dock { display: none; }
  .toast { bottom: 28px; }
  .top { padding: 0 28px; gap: 28px; }
  .burger { display: none; }
  .nav { display: flex; gap: 26px; margin-left: 12px; }
  .nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--text); position: relative; padding: 6px 0; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--yellow); transition: right .2s ease; }
  .nav a:hover::after { right: 0; }
  .hero-inner { padding: 150px 0 110px; }
  .scroll-cue { display: block; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .size-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
  .builder { padding: 30px 28px; position: sticky; top: calc(var(--top-h) + 20px); }
  .tabs { flex-wrap: wrap; overflow: visible; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .inquire-grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; }
  .find-grid { grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: stretch; }
  .foot-grid { grid-template-columns: auto 1fr; align-items: center; column-gap: 28px; }
  .foot-grid .fine { grid-column: 1 / -1; }
}

/* ---- people who asked for less motion get none ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-photo img { transform: none; }
  .track { flex-wrap: wrap; justify-content: center; width: auto; gap: 18px 40px; padding-inline: 20px; }
}

/* ---- the photo rail: every photo whole, side by side, swiped or scrolled ---- */
.band-tight { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 84px); border-top: 1px solid var(--line); }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.rail-nav { display: none; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--navy-2); color: var(--white); font-size: 1.2rem; cursor: pointer; transition: all .15s ease; }
.rail-nav button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px max(20px, calc((100vw - 1180px) / 2)) 14px; scrollbar-width: thin; scrollbar-color: var(--navy-3) transparent; -webkit-overflow-scrolling: touch; }
.rail figure { flex: none; margin: 0; height: clamp(230px, 36vw, 340px); border-radius: var(--radius); overflow: hidden; scroll-snap-align: center; background: var(--navy-2); border: 1px solid var(--line); }
.rail img { height: 100%; width: auto; max-width: none; }
@media (min-width: 900px) { .rail-nav { display: flex; } }
