:root {
  --ink: #171717;
  --muted: #626262;
  --line: #dddddd;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --dark: #101010;
  --accent: #b32025;
  --accent-dark: #8f171b;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 270px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: white;
  background: var(--dark);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 250px;
  max-width: 48vw;
  height: auto;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 18px;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  background: white;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero,
.page-hero,
.detail-layout,
.two-column,
.listing-band,
.contact-page,
.text-page {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  min-height: 520px;
  padding: 30px 0 42px;
}

.hero-content h1,
.page-hero h1,
.detail-layout h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-content p,
.page-hero p,
.detail-layout p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.summary {
  color: var(--ink);
  font-weight: 700;
}

.hero-actions,
.cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: white;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.button.primary:hover {
  background: var(--accent-dark);
  color: white;
}

.hero-panel {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.hero-panel h2 {
  margin: 22px 0 8px;
  font-size: 28px;
}

.bravia-feature-hero {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.bravia-feature-hero > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.bravia-feature-copy {
  position: absolute;
  z-index: 1;
  top: clamp(32px, 6vw, 86px);
  right: clamp(28px, 6vw, 90px);
  width: min(36%, 430px);
  color: #000000;
}

.bravia-feature-copy .eyebrow,
.bravia-feature-copy p {
  color: #000000;
}

.bravia-feature-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
}

.bravia-feature-copy p:not(.eyebrow) {
  font-size: clamp(16px, 1.5vw, 20px);
}

.bravia-feature-copy .button {
  border: black 2px solid;
  background: linear-gradient(160deg, #ff684d 0.000%, #ff5c51 11.111%, #ff5154 22.222%, #ff4857 33.333%, #ff405b 44.444%, #ff3a5e 55.556%, #fb3662 66.667%, #dc3365 77.778%, #bc3369 88.889%, #9d356c 100.000%);
  border-radius: 3px;
  color: black;
}

.content-band {
  padding: 0 0 64px;
  border-top: 1px solid var(--line);
}

.brand-band {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}

.section-heading {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
}

.section-heading.centered {
  text-align: center;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 32px 0;
  border: 0;
  border-bottom: 1px solid gray;
}

.product-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.product-copy p {
  color: var(--muted);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  overflow: hidden;
  background: linear-gradient(135deg, #efefed 0%, #ffffff 55%, #d8d8d4 100%);
  border: 1px solid var(--line);
}

.image-visual {
  min-height: 0;
  margin: 0;
  padding: 16px;
  background: white;
}

.image-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-panel .image-visual {
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
}

.hero-panel .image-visual img {
  height: 100%;
  object-fit: cover;
}

.product-card .image-visual {
  aspect-ratio: 16 / 9;
  padding: 0;
  background: transparent;
  border: 0;
}

.product-card .image-visual img,
.product-section .image-visual img,
.detail-layout .image-visual img {
  height: 100%;
  object-fit: contain;
}

.product-card .image-visual img {
  object-fit: cover;
}

.product-section .image-visual,
.detail-layout .image-visual {
  padding: 0;
  background: transparent;
  border: 0;
}

.home-product-visual {
  aspect-ratio: 16 / 9;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.content-band .product-section .home-product-visual {
  width: 100%;
}

.home-product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-device {
  position: relative;
  width: 74%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #111111, #343434);
  border: 10px solid #0b0b0b;
  box-shadow: 0 22px 35px rgba(0, 0, 0, 0.24);
}

.product-device::after {
  content: "";
  position: absolute;
  left: 42%;
  right: 42%;
  bottom: -30px;
  height: 30px;
  background: #151515;
}

.screen-glow {
  position: absolute;
  inset: 32px;
  background: radial-gradient(circle at 32% 35%, rgba(179, 32, 37, 0.24), transparent 34%),
    radial-gradient(circle at 70% 65%, rgba(63, 88, 122, 0.24), transparent 36%);
}

.product-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.product-visual-receiver .product-device,
.product-visual-speaker .product-device,
.product-visual-workshop .product-device,
.product-visual-installation .product-device {
  aspect-ratio: 5 / 2;
}

.product-visual-receiver .product-device::before,
.product-visual-speaker .product-device::before {
  content: "";
  position: absolute;
  top: 38%;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 3px solid #777777;
  border-radius: 50%;
}

.price-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table th,
.price-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.price-table a {
  color: var(--ink);
  font-weight: 700;
}

.specs-hero {
  padding-bottom: 34px;
}

.specs-page {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 76px;
}

.specs-toolbar {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.specs-toolbar label,
.segmented-control {
  display: grid;
  gap: 7px;
}

.specs-toolbar label span,
.segmented-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.specs-toolbar em {
  font-style: normal;
  text-transform: none;
}

.specs-toolbar select,
.specs-toolbar input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--ink);
  background: white;
  border: 1px solid #c9c9c6;
  border-radius: 0;
  font: inherit;
}

.segmented-control {
  grid-template-columns: 1fr 1fr;
}

.segmented-control span {
  grid-column: 1 / -1;
}

.segmented-control button,
.specs-table th button {
  min-height: 40px;
  border: 1px solid #c9c9c6;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.segmented-control button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.specs-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 14px;
}

.specs-summary h2,
.specs-summary p {
  margin: 0;
}

.specs-summary h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
}

.specs-summary p {
  color: var(--muted);
  font-weight: 700;
}

.specs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.specs-table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table th,
.specs-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.specs-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #ececea;
  vertical-align: bottom;
}

.specs-table th button {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 0 16px 0 0;
  border: 0;
  background: transparent;
  color: #444444;
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
}

.specs-table th button::after {
  content: "";
  position: absolute;
  right: 0;
  color: #777777;
  font-size: 10px;
}

.specs-table th button[aria-sort="asc"]::after {
  content: "^";
  color: var(--accent);
}

.specs-table th button[aria-sort="desc"]::after {
  content: "v";
  color: var(--accent);
}

.specs-table tbody tr:nth-child(odd) {
  background: #fbfbfa;
}

.specs-table tbody tr:nth-child(even) {
  background: #f3f3f0;
}

.specs-table tbody tr:hover {
  background: #fff5f5;
}

.specs-table a {
  color: var(--accent-dark);
  font-weight: 800;
}

.specs-price {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}

.specs-link-band {
  padding: 54px 0 0;
}

.specs-link-band p {
  max-width: 620px;
  margin: 12px auto 20px;
  color: var(--muted);
}

.stock {
  display: inline-flex;
  padding: 3px 8px;
  color: #555555;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.stock.In.Stock {
  color: #146c2e;
  background: #dff3e5;
  border-color: #a7d8b5;
}

.stock.Limited {
  color: #7a5700;
  background: #fff1bf;
  border-color: #e3c45e;
}

.stock.Out.of.Stock,
.stock.Sold.Out {
  color: #8f171b;
  background: #f8d6d7;
  border-color: #e2a3a6;
}

.stock.Special.Order,
.stock.Order {
  color: #5d287c;
  background: #ead9f5;
  border-color: #c8a5dc;
}

.stock.Contact {
  color: #555555;
  background: var(--soft);
  border-color: var(--line);
}

.regular-price {
  color: var(--muted);
}

.price-group {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.price-group:has(.sale-price:not(:empty)) .regular-price {
  text-decoration: line-through;
}

.price-group.single-price .regular-price {
  color: #000000;
}

.sale-price {
  color: var(--accent);
  font-weight: 800;
}

.sale-price:empty {
  display: none;
}

.contact-price {
  font-weight: 700;
}

.brand-band {
  background: var(--soft);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.brand-grid span,
.brand-grid a {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.brand-grid img {
  display: block;
  width: min(210px, 78%);
  max-height: 84px;
  object-fit: contain;
}

.page-hero {
  padding: 36px 0 38px;
}

.page-hero.slim {
  max-width: 860px;
}

.listing-band {
  padding: 20px 0 70px;
}

.product-brands {
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none;
}

.product-card:hover {
  border-color: var(--accent);
}

.product-card .product-visual {
  min-height: 170px;
}

.product-card strong {
  font-size: 22px;
  line-height: 1.15;
}

.product-card span:last-child {
  color: var(--muted);
}

.detail-layout,
.two-column {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: 36px 0 60px;
}

.detail-layout .product-visual {
  min-height: 380px;
}

.cta-panel {
  display: block;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.cta-panel h2 {
  margin: 0 0 8px;
}

.cta-panel .button {
  margin-top: 12px;
  margin-right: 8px;
}

.model-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.model-facts div {
  padding: 16px;
  border: 1px solid var(--line);
}

.model-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.model-facts dd {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 800;
}

.check-list {
  padding-left: 20px;
  font-size: 18px;
}

.check-list li {
  margin-bottom: 12px;
}

.contact-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 80px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none;
}

.contact-card strong {
  color: var(--accent);
  text-transform: uppercase;
}

.text-page {
  max-width: 780px;
  padding: 0 0 80px;
}

.site-footer {
  color: white;
  background: var(--dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 38px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.site-footer p {
  color: #cfcfcf;
}

.contact-grid {
  display: grid;
  grid-template-columns: max-content max-content max-content max-content;
  gap: 28px;
  justify-content: end;
  font-style: normal;
}

.contact-grid span {
  display: grid;
  align-content: start;
  gap: 6px;
}

.contact-grid strong {
  color: #d9d9d9;
  font-size: 12px;
  text-transform: uppercase;
}

.contact-grid a,
.contact-grid em {
  color: white;
  font-style: normal;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 18px 18px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero,
  .product-section,
  .detail-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .brand-grid,
  .product-grid,
  .contact-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specs-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-logo {
    width: 205px;
    max-width: 62vw;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    display: none;
  }

  .site-nav {
    top: 100%;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-layout h1 {
    font-size: 42px;
  }

  .bravia-feature-hero > img {
    min-height: 520px;
    aspect-ratio: auto;
    object-position: 56% center;
  }

  .bravia-feature-copy {
    top: 28px;
    right: 22px;
    width: 46%;
  }

  .bravia-feature-copy h2 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .bravia-feature-copy p:not(.eyebrow) {
    font-size: 14px;
  }

  .bravia-feature-copy .button {
    padding-inline: 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .brand-grid,
  .product-grid,
  .contact-page,
  .model-facts {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .specs-page {
    width: min(100% - 24px, 1480px);
  }

  .specs-toolbar,
  .specs-summary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .specs-summary {
    align-items: start;
  }

  .price-table {
    table-layout: fixed;
    font-size: 13px;
  }

  .price-table th,
  .price-table td {
    padding: 10px 5px;
    vertical-align: middle;
  }

  .price-table th:nth-child(1) { width: 12%; }
  .price-table th:nth-child(2) { width: 28%; }
  .price-table th:nth-child(3) { width: 29%; }
  .price-table th:nth-child(4) { width: 31%; }

  .price-table td::before {
    content: none;
  }

  .price-table td:nth-child(2) a {
    font-size: 12px;
    white-space: nowrap;
  }

  .price-table .stock {
    padding: 3px 5px;
    font-size: 10px;
    white-space: nowrap;
  }

  .price-table .price-group {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    white-space: normal;
  }

  .price-table .regular-price {
    font-size: 13px;
  }

  .price-table .sale-price {
    font-size: 13px;
  }

  .footer-inner {
    padding-bottom: 34px;
  }
}
