@import url("/assets/fonts/inter.css");

:root {
  color-scheme: light;
  --page: #fff;
  --subtle: #f7f7f8;
  --panel: #f2f2f4;
  --ink: #171719;
  --muted: #606066;
  --line: #e6e6e9;
  --accent: #d91126;
  --accent-dark: #ae0b20;
  --accent-soft: #fff0f1;
  --rail: #ececef;
  --head: 66px;
  --side: 251px;
  --rail-width: 60px;
  --radius: 11px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button, input, select, textarea { min-width: 0; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.at-skip { position: fixed; left: 10px; top: -100px; z-index: 1000; background: var(--ink); color: #fff; border-radius: 6px; padding: 10px 14px; }
.at-skip:focus { top: 10px; }
.at-wrap { width: min(100%, 1580px); margin: auto; padding-inline: clamp(20px, 3.2vw, 54px); }

.at-top { min-height: var(--head); background: var(--page); position: sticky; inset-block-start: 0; z-index: 30; border-bottom: 1px solid var(--line); }
.at-top-inner { min-height: var(--head); display: grid; grid-template-columns: var(--side) minmax(200px, 670px) 1fr; gap: clamp(12px, 2vw, 36px); align-items: center; padding: 0 25px 0 19px; }
.at-brand { display: inline-flex; gap: 9px; align-items: center; white-space: nowrap; width: fit-content; font-size: 16px; font-weight: 630; letter-spacing: -.052em; }
.at-brand b { font-weight: 790; }
.at-brand img { flex: 0 0 auto; }
.at-controls, .at-switch { display: flex; align-items: center; }
.at-controls { gap: 8px; justify-content: flex-end; }
.at-switch { gap: 3px; border: 1px solid var(--line); background: var(--page); border-radius: 8px; padding: 0 6px; }
.at-switch svg { color: var(--muted); flex: none; }
.at-switch select { height: 34px; border: 0; color: var(--ink); background: transparent; font-size: 12px; padding: 0 4px; max-width: 123px; }
.at-account, .at-menu-toggle { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); background: var(--page); }
.at-account:hover, .at-menu-toggle:hover { background: var(--panel); }
.at-menu-toggle { display: none; }
.at-mobile-nav { padding: 12px 15px; max-height: 70vh; overflow: auto; }
.at-locales-fallback { padding: 12px 16px; }

.at-shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
.at-sidebar { background: var(--subtle); border-inline-end: 1px solid var(--line); }
.at-sidebar-inner { display: grid; grid-template-columns: var(--rail-width) minmax(0, 1fr); position: sticky; inset-block-start: var(--head); height: calc(100vh - var(--head)); }
.at-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 13px 7px; background: var(--rail); }
.at-rail a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #49494e; background: #fff; transition: border-radius .16s ease, background .16s ease, color .16s ease; }
.at-rail a:hover { border-radius: 10px; color: var(--accent); background: var(--accent-soft); }
.at-rail .at-rail-logo { background: #232326; margin-bottom: 9px; position: relative; }
.at-rail-logo::after { content: ""; position: absolute; width: 17px; height: 1px; background: #d2d2d7; bottom: -10px; }
.at-channels { padding: 14px 9px 15px; display: flex; flex-direction: column; min-width: 0; overflow-y: auto; }
.at-nav-group + .at-nav-group { margin-top: 19px; }
.at-nav-group p { padding: 5px 8px; margin: 0 0 3px; color: var(--muted); font-weight: 720; text-transform: uppercase; letter-spacing: .075em; font-size: 9px; overflow-wrap: anywhere; }
.at-nav-group a { display: flex; align-items: center; gap: 7px; padding: 9px 7px; color: #4d4d54; font-weight: 580; font-size: 12px; border-radius: 6px; line-height: 1.2; min-height: 36px; }
.at-nav-group a svg { flex: none; }
.at-nav-group a:hover { background: var(--panel); color: var(--ink); }
.at-nav-group a[aria-current] { background: #fce4e8; color: #a00c20; font-weight: 710; }
.at-side-help { margin-top: auto; padding: 18px 2px 0; display: grid; gap: 8px; color: var(--muted); font-size: 11px; }
.at-side-help > span { display: flex; align-items: center; gap: 5px; }
.at-side-help .at-btn-outline { padding: 6px; min-height: 34px; font-size: 11px; justify-content: center; width: 100%; }

.at-workspace { min-width: 0; display: flex; flex-direction: column; }
.at-main { padding-top: 27px; padding-bottom: 55px; min-height: calc(100vh - var(--head) - 115px); flex: 1 0 auto; }
.at-search-form { display: flex; align-items: center; gap: 9px; max-width: 600px; }
.at-search-form input { flex: 1; width: 100%; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: var(--page); color: var(--ink); padding: 0 12px; }
.at-search-top { width: 100%; max-width: 670px; gap: 0; }
.at-search-top input { border-radius: 24px 0 0 24px; padding-left: 15px; }
.at-search-top button { width: 54px; height: 42px; border-radius: 0 24px 24px 0; border: 1px solid var(--line); border-inline-start: 0; background: var(--subtle); color: var(--ink); }
.at-search-top button:hover { background: var(--panel); }

.at-btn, .at-btn-outline, .at-chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; min-height: 40px; padding: 8px 13px; border-radius: 8px; font-weight: 650; font-size: 12px; line-height: 1.25; text-align: center; }
.at-btn { background: var(--accent); color: #fff; }
.at-btn:hover { background: var(--accent-dark); }
.at-btn-outline { background: var(--page); border-color: #d9d9dd; color: var(--ink); }
.at-btn-outline:hover { background: var(--subtle); border-color: #bcbcc2; }
.at-link { display: inline-flex; align-items: center; gap: 5px; color: #a60e21; font-size: 12px; font-weight: 690; }
.at-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.at-chips { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 15px; }
.at-chip { color: #2e2e33; background: var(--panel); min-height: 30px; padding: 6px 10px; white-space: nowrap; }
.at-chip:hover { background: #e8e8ea; }
.at-chip[aria-current] { color: #fff; background: #202024; }
.at-home-chips { margin-bottom: 18px; }
.at-eyebrow { display: flex; align-items: center; gap: 7px; color: #a40d20; text-transform: uppercase; letter-spacing: .1em; font-weight: 760; font-size: 10px; line-height: 1.4; }
.at-signal { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.at-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); min-height: 306px; background: #f8f8f9; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.at-hero-copy { padding: clamp(20px, 3vw, 43px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.at-hero h1 { color: var(--ink); font-size: clamp(31px, 4vw, 61px); line-height: .98; font-weight: 820; letter-spacing: -.073em; margin: 13px 0 14px; }
.at-hero-copy > p:not(.at-eyebrow) { color: var(--muted); max-width: 35em; line-height: 1.6; font-size: 14px; }
.at-hero-actions, .at-product-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.at-hero-image, .at-hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 250px; background: #202024; color: #fff; overflow: hidden; }
.at-hero-image img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.at-hero-image::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(transparent 45%, rgb(0 0 0 / 82%)); }
.at-hero-play { display: grid; place-items: center; width: 60px; height: 44px; border-radius: 12px; background: #d90d24; z-index: 2; transition: transform .18s ease; }
.at-hero-image:hover .at-hero-play { transform: scale(1.08); }
.at-hero-feature { position: absolute; z-index: 2; display: flex; gap: 10px; justify-content: space-between; align-items: end; inset-inline: 18px; bottom: 15px; }
.at-hero-feature span { display: grid; gap: 4px; }
.at-hero-feature small { color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .075em; font-weight: 720; }
.at-hero-feature strong { font-size: clamp(12px, 1.45vw, 20px); line-height: 1.25; font-weight: 680; }
.at-hero-feature svg { flex: none; }

.at-section { margin-top: 33px; }
.at-section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.at-section-head .at-link { flex-shrink: 0; text-align: right; }
.at-section h2, .at-pane h2, .at-article h2 { font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -.04em; line-height: 1.2; font-weight: 745; }
.at-section-head p, .at-split-strip p:not(.at-eyebrow) { color: var(--muted); margin-top: 5px; line-height: 1.45; font-size: 12px; }
.at-split-strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: clamp(16px, 2.5vw, 30px); background: var(--accent-soft); border: 1px solid #f5d5db; border-radius: var(--radius); }
.at-split-strip .at-eyebrow { margin-bottom: 6px; }
.at-split-strip .at-btn { flex-shrink: 0; }

.at-grid, .at-guide-grid, .at-video-grid, .at-directory-grid { display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.at-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.at-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--page); }
.at-card:hover { border-color: #cfcfd4; }
.at-card h3 { font-size: 13px; letter-spacing: -.018em; line-height: 1.35; font-weight: 680; overflow-wrap: anywhere; }
.at-card h3 a:hover { color: #b30b20; }
.at-card-media, .at-guide-media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; background: var(--panel); color: #8c8c92; overflow: hidden; }
.at-card-media img, .at-guide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-video-media, .at-guide-media { aspect-ratio: 16 / 9; }
.at-card-body { padding: 10px 10px 12px; }
.at-card-body p { font-size: 11px; line-height: 1.4; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.at-card-body .at-card-kicker { color: #a11123; margin: 0 0 4px; font-weight: 700; }
.at-card-body .at-card-price { color: var(--ink); font-weight: 720; font-size: 12px; }
.at-tag { display: inline-flex; gap: 4px; align-items: center; background: var(--panel); padding: 4px 6px; border-radius: 5px; font-size: 10px; font-weight: 700; color: #33333a; line-height: 1.2; width: fit-content; }
.at-tag-ai { background: #fff0f1; color: #9e1020; }
.at-card-media > .at-tag { position: absolute; bottom: 7px; left: 7px; }
.at-play { position: absolute; display: grid; place-items: center; left: 7px; bottom: 7px; width: 30px; height: 23px; color: #fff; background: #d21128; border-radius: 5px; }
.at-duration { position: absolute; right: 7px; bottom: 7px; background: rgb(0 0 0 / 80%); color: #fff; font-size: 10px; font-weight: 640; padding: 3px 5px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.at-directory-card { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; min-height: 58px; }
.at-directory-card:hover { background: var(--subtle); border-color: #d2d2d7; }
.at-directory-card img, .at-directory-mark { width: 40px; height: 40px; flex: none; border-radius: 7px; object-fit: contain; }
.at-directory-mark { display: grid; place-items: center; background: #242428; color: #fff; font-weight: 820; }
.at-directory-card > div { min-width: 0; flex: 1; }
.at-directory-card > svg { color: var(--muted); flex: none; }
.at-directory-card h3 { overflow-wrap: anywhere; font-size: 11px; font-weight: 710; }
.at-directory-card p { font-size: 10px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }

.at-breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 15px; color: var(--muted); font-size: 11px; flex-wrap: wrap; }
.at-breadcrumb a:hover { color: var(--accent-dark); }
.at-crumb-current { color: var(--ink); }
.at-heading { margin-bottom: 18px; }
.at-heading h1, .at-product-info h1 { font-size: clamp(29px, 4vw, 53px); line-height: 1.04; letter-spacing: -.058em; font-weight: 800; overflow-wrap: anywhere; }
.at-heading > .at-eyebrow { margin-bottom: 7px; }
.at-heading > p:not(.at-eyebrow), .at-product-intro { color: var(--muted); margin-top: 8px; font-size: 14px; line-height: 1.6; max-width: 70ch; }
.at-results { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; margin: 15px 0 10px; }
.at-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; padding: 14px; background: var(--subtle); border: 1px solid var(--line); border-radius: var(--radius); }
.at-filter input, .at-filter select, .at-field input, .at-field textarea { height: 40px; border-radius: 7px; border: 1px solid #dadade; padding: 7px 8px; background: var(--page); color: var(--ink); max-width: 100%; }
.at-filter label, .at-field { display: grid; gap: 4px; color: var(--muted); font-size: 12px; }
.at-filter select { max-width: 170px; }
.at-pagination { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.at-pagination > * { border: 1px solid var(--line); padding: 7px 9px; border-radius: 6px; }
.at-pagination [aria-current] { background: #232326; color: #fff; }
.at-empty { border: 1px dashed #dddde1; border-radius: var(--radius); padding: 20px; color: var(--muted); }
.at-empty h2 { font-size: 16px; color: var(--ink); }

.at-detail, .at-topic-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: clamp(12px, 2vw, 28px); align-items: start; }
.at-topic-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); }
.at-gallery { min-width: 0; }
.at-gallery-main { width: 100%; aspect-ratio: 1.2; overflow: hidden; display: grid; place-items: center; color: #83838a; background: var(--subtle); border: 1px solid var(--line); border-radius: 12px; }
.at-gallery-main img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.at-gallery-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 6px 0; }
.at-gallery-thumbs a { flex: none; border: 2px solid transparent; padding: 2px; border-radius: 8px; }
.at-gallery-thumbs a[aria-current] { border-color: var(--accent); }
.at-gallery-thumbs img { width: 55px; height: 55px; object-fit: cover; border-radius: 4px; }
.at-product-info h1 { margin-top: 9px; font-size: clamp(25px, 3vw, 45px); }
.at-price-line { display: grid; gap: 3px; margin: 16px 0; }
.at-price-line strong { font-size: 22px; letter-spacing: -.035em; }
.at-price-line small, .at-note, .at-review-note { color: var(--muted); line-height: 1.5; font-size: 12px; }
.at-review-note { margin-top: 15px; }
.at-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 13px 0; }
.at-spec { padding: 8px; background: var(--subtle); border-radius: 6px; font-size: 12px; }
.at-spec dt { color: var(--muted); }
.at-spec dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.at-pane, .at-article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--page); padding: clamp(14px, 2vw, 24px); overflow-wrap: anywhere; }
.at-pane + .at-pane { margin-top: 10px; }
.at-pane h2 { font-size: 17px; }
.at-pane p { margin: 8px 0; line-height: 1.5; }
.at-pane > .at-btn, .at-pane > .at-btn-outline { margin-top: 8px; }
.at-topic-figure { margin: 0 0 14px; }
.at-topic-figure img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: contain; border-radius: 8px; }
.at-topic-cover { padding: 8px; background: var(--subtle); border: 1px solid var(--line); border-radius: 8px; }
.at-topic-cover img { max-height: 115px; }
.at-review-callout { background: var(--accent-soft); border-color: #f2d2d8; }
.at-review-callout > p { color: var(--muted); font-size: 12px; }
.at-topic-name { display: flex; gap: 14px; align-items: flex-start; }
.at-topic-name img, .at-topic-name .at-directory-mark { width: 60px; height: 60px; border: 1px solid var(--line); object-fit: contain; border-radius: 10px; }
.at-topic-name .at-heading { min-width: 0; }
.at-longform { width: 100%; max-width: 82ch; line-height: 1.7; font-size: 14px; }
.at-longform p, .at-longform ul, .at-longform ol { margin: 0 0 14px; }
.at-longform h2, .at-longform h3, .at-longform h4 { margin: 14px 0 6px; }
.at-longform a { color: #a40d20; text-decoration: underline; text-underline-offset: 3px; }
.at-longform img { height: auto; }
.at-longform > :last-child { margin-bottom: 0; }
.at-player { position: relative; aspect-ratio: 16 / 9; min-height: 145px; background: #202024; overflow: hidden; border-radius: 11px; color: #fff; display: grid; place-items: center; margin: 0 0 13px; }
.at-player > img, .at-player > iframe, .at-player > video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.at-player > img { object-fit: cover; filter: brightness(.77); }
.at-player > button, .at-player > a { position: relative; z-index: 1; }
.at-form { display: grid; gap: 10px; max-width: 54ch; }
.at-form .at-btn { width: fit-content; }
.at-field textarea { min-height: 115px; resize: vertical; }
.at-consent { color: var(--muted); font-size: 12px; }
.at-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.at-notice { padding: 9px; border-radius: 5px; color: #0a542e; background: #e4f8ed; }
.at-notice-error { color: #a41122; background: #fff0f1; }

.at-footer { border-top: 1px solid var(--line); background: var(--subtle); padding-block: 19px 28px; }
.at-foot-inner { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.at-foot-inner p { color: var(--muted); font-size: 11px; margin-top: 7px; }
.at-foot-links { display: flex; flex-wrap: wrap; gap: 8px 13px; color: var(--muted); font-size: 11px; }
.at-foot-links a:hover { color: var(--accent-dark); }

@media (min-width: 1310px) {
  .at-grid, .at-guide-grid, .at-directory-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .at-video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1580px) {
  .at-grid, .at-guide-grid, .at-directory-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .at-video-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1090px) {
  :root { --side: 208px; --rail-width: 52px; }
  .at-top-inner { padding-inline: 12px; }
  .at-rail a { width: 36px; height: 36px; }
  .at-grid, .at-guide-grid, .at-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .at-topic-layout { grid-template-columns: minmax(0, 1fr) minmax(190px, .56fr); }
}
@media (max-width: 860px) {
  :root { --head: 60px; --side: 0px; }
  .at-top-inner { grid-template-columns: auto minmax(100px, 1fr) auto; gap: 11px; }
  .at-sidebar { display: none; }
  .at-shell { display: block; }
  .at-menu-toggle { display: grid; }
  .at-main { padding-top: 17px; }
  .at-mobile-nav:not([hidden]) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line); }
  .at-mobile-nav .at-nav-group + .at-nav-group { margin-top: 0; }
}
@media (max-width: 580px) {
  .at-wrap { padding-inline: 12px; }
  .at-top-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; padding: 8px 10px; }
  .at-brand { font-size: 13px; gap: 5px; }
  .at-brand img { width: 27px; height: 27px; }
  .at-controls { gap: 4px; }
  .at-switch { padding-inline: 3px; }
  .at-switch svg { display: none; }
  .at-switch select { font-size: 10px; height: 30px; max-width: 74px; }
  .at-menu-toggle, .at-account { width: 31px; height: 31px; }
  .at-search-top { grid-row: 2; grid-column: span 2; }
  .at-search-top input, .at-search-top button { height: 35px; }
  .at-home-chips { flex-wrap: nowrap; overflow-x: auto; padding: 3px 3px 6px; margin-inline: -3px; }
  .at-hero { grid-template-columns: minmax(0, 1fr); }
  .at-hero h1 { margin: 9px 0; }
  .at-hero-copy { padding: 16px; }
  .at-hero-image, .at-hero-art { min-height: 0; aspect-ratio: 16 / 9; }
  .at-section { margin-top: 25px; }
  .at-grid, .at-guide-grid, .at-video-grid, .at-directory-grid { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .at-card-body { padding: 7px; }
  .at-card h3 { font-size: 12px; }
  .at-topic-layout, .at-detail { grid-template-columns: minmax(0, 1fr); }
  .at-foot-inner { display: grid; }
  .at-footer { padding-bottom: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
.at-topic-body { margin-top: 12px; }
.at-video-chips { margin-top: 13px; }
@media (max-width: 390px) {
  .at-top-inner .at-account { display: none; }
}
@media (max-width: 330px) {
  .at-brand { font-size: 11px; }
  .at-switch select { max-width: 66px; }
  .at-mobile-nav:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .at-split-strip { align-items: start; flex-direction: column; }
}
