@import url("fonts.css");

/* Brand colour system, coordinated to the official SG mark:
   deep navy-black, silver-grey, and a small amount of bright blue.
   Product areas stay on a white / off-white ground. These tokens are a
   coordinated set for the framework, not a claim that exact logo values
   were measured. Candela purple is not used. Teal from earlier previews
   is not used. The site is not covered in metallic or glow effects. */
:root {
  --bg: #f4f5f6;
  --bg-elev: #ffffff;
  --stage: #eceeef;
  --ink: #111214;
  --ink-soft: #3c4045;
  --muted: #6a6e74;
  --line: #e1e4e7;
  --navy: #070d16;
  --navy-2: #141c28;
  --navy-soft: #eef1f4;
  --silver: #c8cbd0;
  --silver-2: #9aa0a8;
  --accent: #1e8ae0;
  --max: 1180px;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; object-fit: contain; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }

.preview-banner {
  background: var(--navy);
  color: var(--silver);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(30, 138, 224, 0.55);
}

.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(200, 203, 208, 0.14);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand-lockup {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}
.brand-logo {
  height: 56px;
  width: 56px;
  max-width: 56px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text .brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--silver);
}
.brand-text .sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-2);
  margin-top: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.nav a, .nav-drop > button {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  cursor: pointer;
}
.nav a:hover,
.nav a[aria-current="page"],
.nav-drop > button:hover,
.nav-drop.is-open > button {
  color: #fff;
  border-bottom-color: var(--accent);
}
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 0;
  z-index: 45;
}
.nav-drop.is-open .nav-drop-menu { display: block; }
/* Utility links also live in the right-hand header cluster on desktop.
   Keep the copies inside #site-nav for the mobile menu only. */
.nav .util-in-menu { display: none; }
/* Desktop Components menu sits on a white panel; do not inherit
   the silver / white header link colours or current-page white text. */
.nav .nav-drop-menu a {
  display: block;
  padding: 8px 16px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 14px;
  border: 0;
  border-bottom: none;
  color: var(--ink);
  background: #fff;
}
.nav .nav-drop-menu a:hover,
.nav .nav-drop-menu a:focus,
.nav .nav-drop-menu a:focus-visible {
  background: var(--navy-soft);
  color: var(--navy);
  border-bottom: none;
}
.nav .nav-drop-menu a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
  background: var(--navy-soft);
  border-bottom: none;
  box-shadow: inset 3px 0 0 var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.util-link {
  text-decoration: none;
  font-size: 13px;
  color: var(--silver);
  letter-spacing: 0.04em;
}
.util-link:hover, .util-link[aria-current="page"] { color: #fff; }
.search-wrap { position: relative; }
.search-wrap input {
  width: 148px;
  max-width: 26vw;
  border: 0;
  border-bottom: 1px solid rgba(200, 203, 208, 0.45);
  background: transparent;
  padding: 6px 0;
  font-size: 14px;
  color: var(--silver);
  outline: none;
}
.search-wrap input:focus { border-bottom-color: var(--accent); }
.search-wrap input::placeholder {
  color: var(--silver-2);
  opacity: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.search-results {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, 80vw);
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 0;
  z-index: 45;
}
.search-results.open { display: block; }
.search-results p.note, .search-results p.empty {
  margin: 0;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--muted);
}
.search-results a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.search-results a:hover { background: var(--navy-soft); }
.search-results a small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 11px 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
}
.btn:hover { background: var(--navy-2); }
.btn.ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.text {
  background: transparent;
  color: var(--navy);
  border: 0;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.btn.text:hover { border-bottom-color: var(--navy); }

.site-header .btn {
  background: var(--silver);
  color: var(--navy);
}
.site-header .btn:hover { background: #e6e8eb; color: var(--navy); }
.site-header .btn.ghost,
.site-header .menu-toggle {
  background: transparent;
  color: var(--silver);
  border: 1px solid var(--silver);
}
.site-header .btn.ghost:hover,
.site-header .menu-toggle:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 16px;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 22px;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 12px;
}
.lede { font-size: 19px; color: var(--ink-soft); max-width: 36rem; margin: 0 0 28px; }

/* Home */
.hero { padding: 64px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
  gap: 72px;
  align-items: center;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.fact-row {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.fact-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
}
.fact-row span { font-size: 12px; color: var(--muted); }
.hero-photo {
  margin: 0;
  background: var(--stage);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-photo img { width: 100%; height: 100%; object-fit: contain; }
.photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: linear-gradient(transparent, rgba(245,246,247,0.94) 45%);
}

.section { padding: 8px 0 80px; }
.section-head { max-width: 38rem; margin-bottom: 32px; }
.section-head h2 { font-size: 34px; }
.section-head p { margin: 0; color: var(--ink-soft); }

.featured-grid, .slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.slot, .empty-slot, .example-card {
  background: var(--bg-elev);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--line);
}
.empty-slot, .slot.pending {
  border-style: dashed;
  background: var(--bg-elev);
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 18px;
  min-height: 200px;
}
.slot .media, .example-card .media {
  background: var(--stage);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.slot .media img, .example-card .media img {
  width: auto; height: auto;
  max-width: 100%; max-height: 160px;
  object-fit: contain;
}
.slot .copy, .example-card .copy { padding: 16px 18px 20px; }
.badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.slot h3, .example-card h3, .empty-slot h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--navy);
}
.slot p, .example-card p, .empty-slot p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.range-primary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.range-card {
  text-decoration: none;
  padding-top: 8px;
  border-top: 1px solid var(--navy);
}
.range-card.quiet { border-top-color: var(--line); }
.range-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 14px 0 8px;
  color: var(--navy);
}
.range-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding-top: 8px;
}
.support-links a { color: var(--navy); text-decoration: none; }
.support-links a:hover { border-bottom: 1px solid var(--navy); }

/* Category layout: left rail + products */
.page-hero { padding: 44px 0 8px; }
.page-hero h1 { font-size: clamp(34px, 4.8vw, 54px); margin-bottom: 14px; }
.page-intro { max-width: 40rem; color: var(--ink-soft); margin: 0 0 12px; }
.crumb {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumb a { text-decoration: none; }
.notice {
  border-left: 1px solid var(--accent);
  padding: 2px 0 2px 16px;
  color: var(--ink-soft);
  max-width: 40rem;
  font-size: 15px;
}

.catalog {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
  align-items: start;
  padding: 24px 0 96px;
}
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding-top: 4px;
}
.sidebar h2 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 12px;
}
.cat-nav { list-style: none; margin: 0 0 28px; padding: 0; }
.cat-nav a {
  display: block;
  text-decoration: none;
  padding: 6px 0 6px 12px;
  border-left: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 14px;
}
.cat-nav a:hover { color: var(--navy); }
.cat-nav a[aria-current="page"] {
  color: var(--navy);
  border-left-color: var(--accent);
  font-weight: 600;
}
.cat-nav .sub {
  list-style: none;
  margin: 0 0 6px;
  padding: 0 0 0 12px;
}
.cat-nav .sub a { font-size: 13px; padding: 3px 0 3px 12px; }
.cat-nav .group-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 6px 12px;
}

.filter-group { margin-bottom: 22px; }
.filter-group .label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.filter-group button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-left: 1px solid transparent;
  padding: 5px 0 5px 12px;
  margin-left: -1px;
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
}
.filter-group button:hover { color: var(--navy); }
.filter-group button[aria-pressed="true"] {
  color: var(--navy);
  border-left-color: var(--accent);
}
.filter-note { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }
.filter-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 10px 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.product-list { display: flex; flex-direction: column; gap: 16px; }
.product-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.product-row .media {
  background: var(--stage);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.product-row .media img {
  width: auto; height: auto;
  max-width: 100%; max-height: 200px;
  object-fit: contain;
}
.product-row h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--navy);
}
.product-row p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.is-hidden { display: none !important; }

/* Detail template */
.detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 12px 0 40px;
}
.detail .stage {
  background: var(--stage);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.detail .stage img {
  width: auto; height: auto;
  max-width: 100%; max-height: 420px;
  object-fit: contain;
}
.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.gallery .thumb, .gallery .thumb-empty {
  width: 72px;
  height: 72px;
  background: var(--stage);
  border: 1px dashed var(--line);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 24px 0;
}
.field dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.field dd { margin: 0; color: var(--ink); }
.specs { width: 100%; border-collapse: collapse; margin: 8px 0 28px; }
.specs th, .specs td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.specs th { color: var(--muted); width: 40%; font-size: 14px; }
.pending-text { color: var(--muted); font-style: normal; }

/* About / contact */
.prose { max-width: 40rem; padding: 48px 0 96px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); }
.prose p { color: var(--ink-soft); }
.form { max-width: 32rem; margin-top: 28px; }
.form label { display: block; font-size: 13px; margin: 0 0 6px; color: var(--navy); }
.form input, .form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 0;
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.form input:focus, .form textarea:focus { border-bottom-color: var(--navy); }
.form textarea { min-height: 120px; resize: vertical; }
.form-notice {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}
.form-notice[hidden] { display: none; }

.site-footer {
  border-top: 0;
  padding: 40px 0 56px;
  background: var(--navy);
  color: var(--silver-2);
  font-size: 14px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(150px, 1fr) minmax(180px, 0.95fr) minmax(130px, 0.7fr);
  gap: 36px 40px;
  align-items: flex-start;
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-logo {
  height: 72px;
  width: 72px;
  max-width: 72px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.site-footer strong { color: var(--silver); font-weight: 600; }
.site-footer p { margin: 8px 0 0; }
.footer-col h2 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; }
.footer-col a,
.footer-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--silver-2);
  padding: 3px 0;
}
.footer-col a:hover,
.footer-links a:hover {
  color: #fff;
  border-bottom: 1px solid var(--accent);
}
.footer-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--silver-2);
  max-width: 16rem;
}
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

.dialog { border: 0; padding: 0; max-width: 460px; width: calc(100% - 32px); }
.dialog::backdrop { background: rgba(12, 28, 46, 0.45); }
.dialog-body { padding: 36px; background: #fff; }
.dialog-body h2 { font-size: 32px; }
.dialog-body p { color: var(--ink-soft); }
.dialog-actions { display: flex; gap: 10px; margin-top: 22px; }

.menu-toggle { display: none; }
.header-utils { display: flex; align-items: center; gap: 14px; }

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .nav, .header-utils .util-link { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 5;
    width: 100%;
    gap: 0;
  }
  .nav.open a, .nav.open .nav-drop > button { padding: 10px 0; border-bottom: 1px solid rgba(200, 203, 208, 0.18); color: var(--silver); }
  .nav.open .header-utils-mobile { display: flex; flex-direction: column; }
  .nav-drop-menu { position: static; border: 0; padding: 0 0 0 12px; display: none; }
  .nav-drop.is-open .nav-drop-menu { display: block; }
  .menu-toggle { display: inline-flex; }
  .search-wrap input { width: 96px; max-width: 28vw; }
  .hero { padding: 36px 0 48px; }
  .hero-grid, .featured-grid, .slot-grid, .range-primary, .catalog, .detail, .product-row, .field-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 16px; }
  h1 { font-size: 38px; }
  .sidebar {
    position: static;
    display: none;
    border: 1px solid var(--line);
    padding: 16px;
    margin-bottom: 8px;
    background: #fff;
  }
  .sidebar.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .catalog { gap: 8px; padding-top: 16px; }
  .fact-row { flex-direction: column; gap: 14px; }
  .header-utils .util-link.mobile-show { display: none; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.open-items { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.open-items h2 { font-size: 26px; }
.open-items h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--navy); margin: 20px 0 6px; }
.open-items p { margin: 0; }

.about-logo {
  height: 160px;
  width: 160px;
  max-width: 160px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  margin: 0 0 28px;
}
.header-utils .util-link[aria-current="page"] { color: #fff; }
@media (max-width: 960px) {
  .brand-logo { height: 44px; width: 44px; max-width: 44px; }
  .brand-text .brand { font-size: 15px; }
  .nav.open a, .nav.open .nav-drop > button {
    color: var(--silver);
    border-bottom-color: rgba(200, 203, 208, 0.18);
  }
  .nav.open a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
  .nav.open .util-in-menu {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(200, 203, 208, 0.18);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--silver);
  }
  .nav.open .util-in-menu[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
  /* Mobile Components list is inside the dark header, not a white panel. */
  .nav.open .nav-drop-menu { background: transparent; }
  .nav.open .nav-drop-menu a,
  .nav.open .nav-drop-menu a:hover,
  .nav.open .nav-drop-menu a:focus,
  .nav.open .nav-drop-menu a:focus-visible,
  .nav.open .nav-drop-menu a[aria-current="page"] {
    background: transparent;
    color: var(--silver);
    box-shadow: none;
    font-weight: 400;
    border-bottom: 1px solid rgba(200, 203, 208, 0.18);
  }
  .nav.open .nav-drop-menu a:hover,
  .nav.open .nav-drop-menu a:focus,
  .nav.open .nav-drop-menu a:focus-visible {
    color: #fff;
  }
  .nav.open .nav-drop-menu a[aria-current="page"] {
    color: #fff;
    font-weight: 600;
    border-bottom-color: var(--accent);
  }
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 960px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* Homepage banner carousel. The slide image is shown whole, including its type. */
.banner { background: var(--navy); }
.banner-viewport { overflow: hidden; outline: none; }
.banner-viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.banner-track { display: flex; transition: transform 0.45s ease; }
.banner-slide { min-width: 100%; margin: 0; position: relative; background: var(--navy); }
.banner-slide img { width: 100%; height: auto; object-fit: contain; background: var(--navy); }
.banner-fallback { display: none; }
.banner-slide img.is-broken { display: none; }
.banner-slide img.is-broken + .banner-fallback,
.banner-slide.is-missing .banner-fallback { display: flex; }
.banner-fallback {
  min-height: 42vw;
  margin: 0;
  padding: 48px 8vw;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: #fff;
}
.banner-kicker { letter-spacing: 0.18em; font-size: 14px; color: var(--silver); }
.banner-fallback strong { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; }
.banner-fallback em { font-style: italic; color: var(--silver); font-size: 20px; }
.banner-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 16px 16px;
  background: var(--navy);
}
.banner-arrow {
  background: transparent;
  color: var(--silver);
  border: 1px solid rgba(200, 203, 208, 0.35);
  padding: 8px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}
.banner-arrow:disabled { opacity: 0.35; cursor: default; }
.banner-arrow:hover:not(:disabled),
.banner-arrow:focus-visible:not(:disabled) { color: #fff; border-color: var(--accent); }
.banner-dots { display: flex; gap: 8px; }
.banner-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(200, 203, 208, 0.4);
  padding: 0;
  cursor: pointer;
}
.banner-dots button[aria-selected="true"] { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .banner-track { transition: none; }
}

.media-spec {
  background: var(--stage);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px;
  gap: 6px;
}
.media-spec strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.2;
}
.media-spec span { color: var(--ink-soft); font-size: 14px; }
.stage-spec { min-height: 280px; width: 100%; }
.price-line { color: var(--navy); font-weight: 600; margin: 8px 0 0; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.quote { width: 100%; border-collapse: collapse; min-width: 720px; }
.quote th, .quote td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.quote th { background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.quote tbody tr:nth-child(even) { background: var(--navy-soft); }
.quote a { color: var(--navy); font-weight: 600; }
.quote-note { color: var(--ink-soft); font-size: 14px; max-width: 46rem; }

.housing-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.housing-grid li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 110px;
}
.housing-grid strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); }
.housing-grid span { color: var(--ink-soft); font-size: 13px; }

.stack-block { margin-top: 48px; }
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.info-panel h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--navy); margin: 0 0 8px; }
.info-panel p { margin: 0; color: var(--ink-soft); }

.configure-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.configure-list li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 16px 16px 18px;
}
.configure-list span { display: block; color: var(--accent); font-size: 12px; letter-spacing: 0.12em; }
.configure-list strong { display: block; color: var(--navy); margin: 4px 0; }
.configure-list p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 700px) {
  .configure-list, .featured-grid { grid-template-columns: 1fr; }
}

.slot .media img { max-height: 240px; }
.cover-scene { margin: 0 0 28px; background: #fff; border: 1px solid var(--line); }
.cover-scene img { width: 100%; height: auto; }
.cover-scene figcaption { padding: 10px 14px 14px; color: var(--ink-soft); font-size: 14px; }
.housing-grid img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 160px;
  margin: 0 auto 10px;
  object-fit: contain;
}
.gallery .thumb {
  width: 120px;
  height: 96px;
  border-style: solid;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.gallery .thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.menu-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); }
.menu-grid img { width: 100%; height: auto; }
.menu-grid figcaption { padding: 8px 12px; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 700px) {
  .menu-grid { grid-template-columns: 1fr; }
}
