:root {
  --ink: #141414;
  --ink-2: #4a4a4a;
  --muted: #767676;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-alt: #f5f5f3;
  --accent: #c8102e;
  --accent-ink: #ffffff;
  --radius: 10px;
  --wrap: 1160px;
  --head: Rockwell, "Roboto Slab", "Rockwell Nova", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.eyebrow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: .8em 1.4em; border-radius: 999px; font-weight: 600; border: 2px solid var(--ink); cursor: pointer; font: 600 1rem var(--body); }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 2px; align-items: center; }
.site-nav a { text-decoration: none; padding: 8px 10px; font-size: .92rem; border-radius: 6px; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); background: var(--bg-alt); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font: 500 .95rem var(--body); cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav-open .site-nav { display: flex; }
}

.page-head { background: var(--bg-alt); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }

/* quick links */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -40px; position: relative; }
.quick a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.06); border-top: 3px solid var(--accent); }
.quick a:hover { transform: translateY(-2px); }
.quick strong { display: block; }
.quick span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .quick { grid-template-columns: 1fr 1fr; margin-top: 20px; } }
@media (max-width: 480px) { .quick { grid-template-columns: 1fr; } }

/* sections */
.section { padding-top: 56px; padding-bottom: 56px; }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--ink-2); font-weight: 500; text-decoration: none; }
.section-head a:hover { color: var(--accent); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .three { grid-template-columns: 1fr; gap: 8px; } }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-media { aspect-ratio: 4 / 5; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card > .card-media:only-child { border-bottom: 0; height: 100%; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.more { font-size: .9rem; color: var(--accent); font-weight: 600; }
.no-img { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; text-align: center; padding: 20px; font-family: var(--head); font-size: 1.2rem; color: var(--muted); background: repeating-linear-gradient(135deg, #fafafa 0 12px, #f3f3f3 12px 24px); }
.no-img small { font-family: var(--body); font-size: .8rem; }

/* videos */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; }
.play { width: 100%; height: 100%; border: 0; cursor: pointer; background: #111; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; font: inherit; text-align: center; }
.play:hover { background: #222; }
.play-icon { width: 64px; height: 44px; border-radius: 12px; background: var(--accent); position: relative; }
.play-icon::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.play small { color: #aaa; }
@media (max-width: 700px) { .videos { grid-template-columns: 1fr; } }

/* prose */
.prose h2 { margin-top: 1.6em; }
.prose h3, .prose h4 { margin-top: 1.4em; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.legal { font-size: .95rem; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 28px; }
.point { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.point p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* product page */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 70px; height: 86px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.thumbs button:hover { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.crumbs { font-size: .875rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.short { font-size: 1.1rem; color: var(--ink-2); }
.buy { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.buy .muted { margin-top: 10px; font-size: .9rem; }
@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
  .gallery-main { aspect-ratio: 1; }
}

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
.form label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 16px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: 1rem var(--body); border: 1px solid #cfcfcf; border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .small a { color: var(--accent); }
.contact-aside { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; align-self: start; }
.contact-aside a { color: var(--accent); }
@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
}

/* footer */
.site-footer { background: #0b0b0b; color: #cfcfcf; padding: 56px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-family: var(--body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid a { display: block; text-decoration: none; color: #cfcfcf; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.footer-logo { border-radius: 4px; margin-bottom: 14px; }
.site-footer .muted { color: #8a8a8a; }
.footer-base { border-top: 1px solid #262626; margin-top: 40px; padding-top: 18px; padding-bottom: 24px; color: #8a8a8a; font-size: .85rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* dropdown */
.has-sub { position: relative; }
.has-sub .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.has-sub .sub a { display: block; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav-open .site-nav { display: flex; }
  .has-sub .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; }
}

/* slider: the old homepage banner slider, no captions */
.slider { position: relative; aspect-ratio: 1600 / 600; max-height: 600px; width: 100%; overflow: hidden; background: #eee; }
.slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; animation: slide 24s infinite; }
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
@keyframes slide { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .slide { animation: none; } .slide:first-child { opacity: 1; } }
.quick { margin-top: 24px; }
.quick strong { font-size: .85rem; letter-spacing: .04em; }

/* prices, company details, notices */
.price { display: block; font-weight: 600; margin: 2px 0 6px; }
.price small { font-weight: 400; color: var(--muted); }
.price-lg { font-size: 1.5rem; margin: 0; }
.buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 20px 0 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 28px; }
.company h3 { margin-top: 0 !important; }
.company table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.company th { text-align: left; font-weight: 600; padding: 4px 16px 4px 0; vertical-align: top; width: 40%; border: 0; }
.company td { padding: 4px 0; border: 0; }
.contact-aside .company { padding: 0; background: none; }
.notice { background: #e8f6ec; border: 1px solid #b6e2c3; color: #14532d; padding: 12px 16px; border-radius: 8px; }
.hp { position: absolute; left: -9999px; }
.pay { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pay span { font-size: .8rem; margin-right: 4px; }
.footer-base p { margin: 0; }
.footer-grid { grid-template-columns: repeat(3, 1fr); }
.footer-grid p { margin-top: 10px; }
.no-img { min-height: 100%; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.steps li { margin-bottom: 10px; }
.buy > a:last-child { color: var(--ink-2); font-size: .92rem; }
