:root {
  color-scheme: light;
  --bg: #f7f7f7;
  --paper: #ffffff;
  --ink: #0a0a0a;
  --muted: #6f6f6a;
  --line: #dedede;
  --soft: #ececec;
  --dark: #111111;
  --dark-2: #252525;
  --white: #ffffff;
  --focus: #111111;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(247, 246, 243, 0.96);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.primary-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  grid-column: 1 / -1;
  padding: 8px 18px 20px;
  background: rgba(247, 246, 243, 0.98);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.primary-nav.is-open {
  display: grid;
  gap: 8px;
}

.primary-nav a {
  display: block;
  padding: 12px 0;
  font-size: 0.9rem;
  color: inherit;
}

.nav-toggle {
  display: grid;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  place-content: center;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 1px;
  background: currentColor;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid currentColor;
}

.lang-switch button {
  min-width: 42px;
  min-height: 38px;
  border: 0;
  border-right: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.lang-switch button:last-child {
  border-right: 0;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--white);
}

.site-header.is-scrolled .lang-switch button[aria-pressed="true"],
.site-header.nav-open .lang-switch button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #101010;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.16) 34%, rgba(0, 0, 0, 0.68));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 3rem;
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.4rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

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

.button-outline {
  color: var(--ink);
  background: transparent;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip div {
  min-height: 112px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.trust-strip div:nth-child(2n) {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 0.95;
}

.trust-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: clamp(68px, 9vw, 132px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin: 0 -18px 28px;
  padding: 0 18px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-bar button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  min-width: 0;
  padding: 0;
  text-align: left;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  cursor: pointer;
}

.product-card-media {
  aspect-ratio: 3 / 4;
  background: var(--soft);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover img {
  transform: scale(1.025);
}

.product-card-body {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 13px;
}

.product-card-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.18;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.old-price {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  text-decoration: line-through;
}

.empty-state {
  margin: 24px 0 0;
  color: var(--muted);
}

.size-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.size-layout {
  display: grid;
  gap: 24px;
}

.size-assistant {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.size-assistant label,
.size-assistant fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
}

.size-assistant label span,
.size-assistant legend {
  color: var(--muted);
  font-size: 0.82rem;
}

.size-assistant input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.size-assistant fieldset {
  padding: 0;
  border: 0;
}

.radio-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.radio-row input {
  width: 18px;
  height: 18px;
}

.size-result {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.size-result strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.size-result p {
  margin: 0 0 14px;
  color: var(--muted);
}

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

.size-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--paper);
}

.size-table caption {
  padding: 18px;
  font-family: var(--serif);
  font-size: 1.35rem;
  text-align: left;
}

.size-table th,
.size-table td {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.size-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about-section {
  display: grid;
  gap: 28px;
}

.about-copy {
  max-width: 760px;
  color: var(--dark-2);
  font-size: 1.08rem;
}

.about-copy p {
  margin: 0 0 18px;
}

.about-copy .about-trust {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #e3e3e0);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--dark-3, #777);
}

.site-footer {
  display: grid;
  gap: 24px;
  padding: 44px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--dark);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer address {
  display: grid;
  gap: 9px;
  font-style: normal;
}

.site-footer address a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.copyright {
  align-self: end;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.product-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1280px);
  height: 100%;
  margin: 0 auto;
  overflow-y: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-close {
  position: fixed;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.gallery {
  min-width: 0;
  background: var(--soft);
}

.gallery-main {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 68vh;
  place-items: center;
  background: var(--soft);
}

.gallery-main img {
  width: 100%;
  height: min(78vh, 880px);
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.gallery-thumbs button {
  flex: 0 0 auto;
  width: 58px;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 1px solid transparent;
  background: var(--paper);
  cursor: pointer;
  overflow: hidden;
}

.gallery-thumbs button[aria-current="true"] {
  border-color: var(--ink);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 28px clamp(18px, 4vw, 52px) 44px;
}

.product-info h2 {
  margin-bottom: 16px;
  font-size: 2.1rem;
}

.product-price {
  margin-bottom: 22px;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-meta div {
  min-width: 0;
  padding: 14px;
  background: var(--paper);
}

.product-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.product-meta dd {
  margin: 0;
}

.product-info p {
  margin: 0 0 18px;
  color: var(--dark-2);
}

.consult-note {
  margin: 22px 0;
  padding: 15px;
  color: var(--ink);
  background: var(--bg);
  border-left: 3px solid var(--ink);
}

.modal-actions {
  display: grid;
  gap: 10px;
}

.customer-photos {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.customer-photos h3 {
  margin-bottom: 16px;
}

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

.customer-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--soft);
}

@media (min-width: 720px) {
  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 4rem;
  }

  .trust-strip strong {
    font-size: 3.6rem;
  }

  .about-copy {
    font-size: 1.28rem;
  }

  .product-info h2 {
    font-size: 3.4rem;
  }

  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-strip div,
  .trust-strip div:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-right: 0;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .size-layout {
    grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
    align-items: start;
  }

  .site-footer {
    grid-template-columns: 1.3fr 1fr auto;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    color: inherit;
  }

  .primary-nav a {
    padding: 0;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-copy {
    width: min(1120px, calc(100% - 112px));
    margin: 0;
    padding-left: clamp(28px, 6vw, 92px);
  }

  .hero-image {
    object-position: 62% 18%;
  }

  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-card-body {
    min-height: 122px;
    padding: 18px;
  }

  .about-section {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .product-dialog {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.78fr);
    height: min(92vh, 980px);
    margin-top: 4vh;
  }

  .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
  }

  .gallery-main {
    min-height: calc(min(92vh, 980px) - 94px);
  }

  .product-info {
    overflow-y: auto;
    padding-top: 58px;
  }

  .modal-actions {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1280px) {
  h1 {
    font-size: 7.2rem;
  }

  h2 {
    font-size: 4.8rem;
  }

  .trust-strip strong {
    font-size: 4.2rem;
  }

  .about-copy {
    font-size: 1.45rem;
  }

  .product-info h2 {
    font-size: 4.4rem;
  }

  .catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
