*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #111111;
  --ink-soft: #3d3d3d;
  --ink-muted: #757575;
  --accent: #e78247;
  --accent-soft: #fceee5;
  --line: #ececec;
  --surface: #f7f7f7;
  --white: #ffffff;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --max: 1200px;
  --narrow: 680px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--narrow), 100% - 48px);
  margin-inline: auto;
}

/* ── Header: simple bar, no centered tagline ── */
.site-header {
  padding: 20px 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo-word span {
  font-weight: 400;
  color: var(--ink-muted);
}

.header-tagline {
  display: none;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav ul {
  display: flex;
  gap: 22px;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
}

/* ── Home: asymmetric hero (brand + product), not stacked title block ── */
.home-hero {
  padding: clamp(40px, 8vw, 72px) 0 clamp(48px, 7vw, 80px);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
  min-height: min(72vh, 640px);
}

.home-hero__copy {
  padding-bottom: clamp(8px, 2vw, 24px);
  animation: fade-up 0.7s var(--ease) both;
}

.home-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.75rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 0 0 28px;
}

.home-hero__brand em {
  font-style: normal;
  font-weight: 300;
  color: var(--ink-muted);
}

.home-hero__lead {
  max-width: 34ch;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 36px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.home-hero__meta span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1px;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.home-hero__cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.home-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  animation: fade-up 0.7s var(--ease) 0.12s both;
}

.home-hero__visual::before {
  content: '';
  position: absolute;
  inset: 12% 8%;
  background: var(--surface);
  border-radius: 50%;
  transform: scale(1);
  animation: soft-pulse 6s var(--ease) infinite alternate;
  z-index: 0;
}

.home-hero__visual img {
  position: relative;
  z-index: 1;
  max-height: min(460px, 55vh);
  width: auto;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.home-hero__visual:hover img {
  transform: translateY(-6px);
}

.home-hero__caption {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  background: var(--white);
  padding: 4px 12px;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes soft-pulse {
  from { opacity: 0.7; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

/* ── Category rail (horizontal), not numbered vertical list ── */
.category-rail {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.category-rail__label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.category-rail__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.category-rail__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.category-rail__list a:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.category-rail__list small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-muted);
}

/* ── Spotlight as featured strip (text left / image right row), not 50/50 bordered panel ── */
.featured-strip {
  padding: clamp(56px, 8vw, 96px) 0;
}

.featured-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.featured-strip__label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.featured-strip__model {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.featured-strip__text {
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 20px;
}

.featured-strip__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.featured-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.featured-strip__actions .btn-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.featured-strip__actions .btn-text:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.featured-strip__actions .btn-ghost {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.featured-strip__actions .btn-ghost:hover {
  color: var(--ink);
}

.featured-strip__media {
  background: var(--surface);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.featured-strip__media img {
  max-height: 360px;
  object-fit: contain;
}

/* Legacy class aliases used by older markup — keep harmless */
.spotlight,
.spec-strip,
.category-index,
.category-list {
  display: none;
}

/* ── Catalog: open grid with gap, not 1px border mosaic ── */
.catalog {
  padding: clamp(48px, 7vw, 88px) 0;
}

.catalog__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
  gap: 16px;
}

.catalog__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.catalog__head a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.catalog__head a:hover {
  color: var(--ink);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  background: transparent;
  border: none;
}

.product-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.product-card__image {
  aspect-ratio: 1;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--white);
  overflow: hidden;
  transition: background 0.3s var(--ease);
}

.product-card:hover .product-card__image {
  background: var(--white);
}

.product-card__image img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

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

.product-card__badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  order: -1;
  margin-bottom: -6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--white);
  padding: 0 2px 2px;
}

.product-card__body {
  padding: 0 2px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card__model {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
}

.product-card__spec {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin: 0;
  flex: 1;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.product-card__price del {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 400;
  margin-left: 6px;
}

.product-card__arrow {
  font-size: 1rem;
  color: var(--ink-muted);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.product-card:hover .product-card__arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* ── Page headers ── */
.page-head {
  padding: clamp(40px, 6vw, 64px) 0 8px;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.page-head p {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 1rem;
}

.page-head__intro {
  color: var(--ink-soft) !important;
  max-width: 42rem;
  line-height: 1.65;
}

.page-head__count {
  margin-top: 8px;
}

.category-cross {
  max-width: 42rem;
  line-height: 1.65;
  margin-top: 12px;
}

.category-cross a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

.category-cross a:hover {
  color: var(--ink);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: none;
  margin-bottom: 32px;
  padding-bottom: 0;
}

.filter-tabs a {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-tabs a:hover,
.filter-tabs a.active {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--surface);
}

/* ── Product page ── */
.product-page {
  padding-bottom: clamp(64px, 8vw, 96px);
}

.product-hero {
  background: var(--white);
  padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 7vw, 72px);
  border-bottom: 1px solid var(--line);
}

.product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.product-hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  background: var(--white);
  padding: 40px;
}

.product-hero__image img {
  max-height: min(420px, 55vh);
  object-fit: contain;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.product-gallery__main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  padding: 40px;
  background: var(--white);
}

.product-gallery__main img {
  width: 100%;
  max-height: min(420px, 55vh);
  object-fit: contain;
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.product-gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.product-hero__model {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.product-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.product-hero__desc {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 42ch;
  margin-bottom: 24px;
}

.product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

.product-hero__meta .rating {
  color: var(--ink);
}

.product-hero__meta a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

.product-buy {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-buy__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-buy__price del {
  font-size: 1rem;
  color: var(--ink-muted);
  font-weight: 400;
  margin-left: 8px;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease);
}

.btn-buy:hover {
  background: var(--accent);
}

.product-buy-sticky {
  display: none;
}

.product-buy-sticky__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.product-details {
  padding: clamp(48px, 6vw, 72px) 0;
}

.product-details .prose h2 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 36px 0 14px;
}

.product-details .prose h2:first-child {
  margin-top: 0;
}

.product-details .prose p,
.product-details .prose li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.product-details .prose a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

.product-details .prose ul {
  list-style: none;
  padding: 0;
}

.product-details .prose li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  padding-left: 0;
}

.product-details .prose li::before {
  content: none;
}

.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  padding: 16px 0 8px;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs span {
  margin: 0 8px;
  opacity: 0.35;
}

/* ── About ── */
.about-block {
  padding: clamp(48px, 8vw, 88px) 0;
}

.about-block h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.about-block h2 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 40px 0 12px;
}

.about-block p {
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 560px;
  font-size: 1.0625rem;
}

.about-block a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  margin-top: auto;
  background: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  justify-self: start;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  justify-self: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
}

.footer-social a:hover {
  color: var(--ink);
}

.footer-nav {
  justify-self: end;
}

.footer-nav ul {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.footer-nav a:hover {
  color: var(--ink);
}

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 36px;
  }

  .home-hero__visual {
    order: -1;
    min-height: 260px;
  }

  .featured-strip__inner {
    grid-template-columns: 1fr;
  }

  .featured-strip__media {
    order: -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-meta,
  .footer-social,
  .footer-nav {
    justify-self: center;
  }

  .menu-toggle {
    display: block;
  }

  .header-end .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 61px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
    z-index: 99;
  }

  .header-end .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 18px;
  }

  .product-hero__inner {
    grid-template-columns: 1fr;
  }

  .product-buy-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    transform: translateY(100%);
    transition: transform 0.25s var(--ease);
    pointer-events: none;
  }

  .product-buy-sticky.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }

  .product-buy-sticky .btn-buy {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
