:root {
  --bg: #C7C2BB;
  --fg: #F4F1EC;
  --accent: #B82E26;
  --muted: #D2CCC4;
  --ink: #16110E;
  --surface: #D9A87E;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: var(--accent); color: var(--fg); }

/* ─── Magazine masthead ─────────────────────────── */

.cover-strip {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--pad);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  border-bottom: 1px solid rgba(22, 17, 14, 0.1);
}

.strip-left, .strip-right {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Hero: type-as-mask knockout ────────────────── */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 94vh;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blur {
  position: absolute;
  inset: -60px;
  background-image: url('./assets/hero-lifestyle.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(55px) saturate(0.55) brightness(0.9);
  transform: scale(1.18);
  animation: drift 22s ease-in-out infinite;
  z-index: 1;
}

.hero-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, transparent 0%, rgba(22, 17, 14, 0.35) 100%),
    linear-gradient(180deg, rgba(199, 194, 187, 0.12) 0%, rgba(199, 194, 187, 0.28) 100%);
  pointer-events: none;
}

.hero-mask-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2vh 0;
  font-family: var(--display);
  font-size: clamp(72px, 23vw, 290px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  background-image: url('./assets/hero-lifestyle.jpg');
  background-size: cover;
  background-position: center 45%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: contrast(1.08) saturate(1.25) brightness(1.02);
  text-shadow: 0 0 0 transparent;
  user-select: none;
}

.word-row {
  display: block;
  text-align: center;
  width: 100%;
  animation: rise 1.1s var(--easing) both;
}
.word-row:nth-child(1) { animation-delay: 0.05s; }
.word-row:nth-child(2) { animation-delay: 0.18s; }
.word-row:nth-child(3) { animation-delay: 0.31s; }

.hero-corner {
  position: absolute;
  z-index: 3;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  text-shadow: 0 1px 4px rgba(22, 17, 14, 0.6);
  pointer-events: none;
}
.hero-corner-tl { top: 28px; left: var(--pad); }
.hero-corner-tr { top: 28px; right: var(--pad); text-align: right; }
.hero-corner-bl { bottom: 28px; left: var(--pad); }

.hero-cta {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  right: var(--pad);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  background: rgba(244, 241, 236, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.35s var(--easing), color 0.35s var(--easing), transform 0.35s var(--easing);
}
.hero-cta .cta-arrow { transition: transform 0.35s var(--easing); display: inline-block; }
.hero-cta:hover {
  background: var(--accent);
  color: var(--fg);
  transform: translateY(-2px);
}
.hero-cta:hover .cta-arrow { transform: translateX(4px); }

@keyframes drift {
  0%, 100% { transform: scale(1.18) translate(0, 0); }
  50% { transform: scale(1.22) translate(-1.2%, -1.2%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Manifesto ──────────────────────────────────── */

.manifesto {
  padding: 96px var(--pad) 72px;
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid rgba(22, 17, 14, 0.08);
  position: relative;
}

.manifesto::before {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  background: var(--accent);
  margin: 0 auto 36px;
}

.kicker {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fade-up 1s var(--easing) 0.4s both;
}

.manifesto-body {
  font-family: var(--body);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.32;
  color: var(--ink);
  max-width: 780px;
  margin: 0 auto;
  letter-spacing: -0.005em;
  animation: fade-up 1s var(--easing) 0.55s both;
}

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

/* ─── Section titles (shared) ────────────────────── */

.section-title {
  font-family: var(--display);
  font-size: clamp(48px, 8.4vw, 116px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-sub {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(22, 17, 14, 0.68);
  max-width: 560px;
}

/* ─── Scale / Lineup ─────────────────────────────── */

.scale {
  padding: 110px var(--pad);
  background: var(--bg);
  border-bottom: 1px solid rgba(22, 17, 14, 0.08);
}

.scale-head { margin-bottom: 56px; }
.scale-head .section-sub { margin-top: 4px; }

.scale-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.scale-item {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.5s var(--easing);
}

.scale-item:hover { transform: translateY(-8px); }

.scale-image {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, var(--muted) 0%, var(--bg) 100%);
  margin-bottom: 18px;
  overflow: hidden;
}
.scale-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(22, 17, 14, 0.08) 100%);
  pointer-events: none;
}

.scale-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 0.7s var(--easing), filter 0.5s var(--easing);
}
.scale-item:hover .scale-image img {
  transform: scale(1.07);
  filter: contrast(1.08) saturate(1.15);
}

/* per-SKU under-glow (the visual identity per item) */
.scale-item[data-sku="micro"]    .scale-image { box-shadow: 0 36px 70px -32px rgba(184, 46, 38, 0.55), 0 14px 28px -16px rgba(184, 46, 38, 0.3); }
.scale-item[data-sku="classic"]  .scale-image { box-shadow: 0 36px 70px -32px rgba(22, 17, 14, 0.28); }
.scale-item[data-sku="designer"] .scale-image { box-shadow: 0 36px 70px -32px rgba(217, 168, 126, 0.75), 0 14px 28px -16px rgba(217, 168, 126, 0.4); }
.scale-item[data-sku="mega"]     .scale-image { box-shadow: 0 40px 80px -28px rgba(184, 46, 38, 0.7), 0 16px 30px -14px rgba(184, 46, 38, 0.35); }
.scale-item[data-sku="architect"] .scale-image { box-shadow: 0 44px 90px -26px rgba(22, 17, 14, 0.55), 0 18px 32px -14px rgba(22, 17, 14, 0.3); }

/* per-SKU accent bar on hover */
.scale-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--easing), background 0.5s var(--easing);
}
.scale-item:hover::before { transform: scaleX(1); }
.scale-item[data-sku="micro"]:hover::before,
.scale-item[data-sku="mega"]:hover::before { background: var(--accent); }
.scale-item[data-sku="designer"]:hover::before { background: var(--surface); }

.scale-label { border-top: 2px solid var(--ink); padding-top: 12px; }

.scale-name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.scale-size {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.size-equiv {
  display: block;
  font-weight: 400;
  font-style: italic;
  color: rgba(22, 17, 14, 0.6);
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
}

.scale-price {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
  letter-spacing: -0.005em;
}

.scale-price span {
  display: inline;
  font-weight: 400;
  font-size: 11px;
  color: rgba(22, 17, 14, 0.6);
  margin-left: 4px;
  letter-spacing: 0;
}

.scale-ships {
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scale-foot {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(22, 17, 14, 0.55);
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(22, 17, 14, 0.1);
}

/* ─── Production: dark editorial spread ──────────── */

.production {
  padding: 120px var(--pad);
  background: var(--ink);
  color: var(--fg);
  position: relative;
  overflow: hidden;
}

.production::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.prod-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244, 241, 236, 0.14);
}

.prod-title { color: var(--fg); margin-bottom: 0; }

.prod-lede {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: rgba(244, 241, 236, 0.78);
  max-width: 520px;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 72px;
  max-width: 1100px;
}

.prod-block {
  position: relative;
  padding-left: 80px;
}

.prod-num {
  position: absolute;
  left: 0;
  top: -10px;
  font-family: var(--display);
  font-size: 52px;
  color: var(--accent);
  line-height: 1;
}

.prod-h {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--fg);
}

.prod-block p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 241, 236, 0.74);
}

/* ─── B2B / Custom ───────────────────────────────── */

.b2b {
  padding: 120px var(--pad);
  background: var(--bg);
}

.b2b-head { margin-bottom: 56px; max-width: 780px; }

.b2b-lede {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.45;
  color: rgba(22, 17, 14, 0.78);
  margin-top: 16px;
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.b2b-card {
  background: var(--fg);
  padding: 36px 30px 30px;
  border-top: 3px solid var(--accent);
  position: relative;
  transition: transform 0.45s var(--easing), box-shadow 0.45s var(--easing);
  box-shadow: 0 1px 0 rgba(22, 17, 14, 0.06);
}
.b2b-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -28px rgba(22, 17, 14, 0.4);
}

.b2b-card h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.b2b-card p {
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(22, 17, 14, 0.74);
  margin-bottom: 20px;
}

.b2b-meta {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 14px;
  border-top: 1px solid rgba(22, 17, 14, 0.12);
}

.b2b-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--ink);
  padding: 24px 52px;
  text-decoration: none;
  transition: background 0.35s var(--easing), transform 0.35s var(--easing);
  position: relative;
}
.b2b-cta::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(244, 241, 236, 0.18);
  pointer-events: none;
  transition: inset 0.35s var(--easing), border-color 0.35s var(--easing);
}
.b2b-cta:hover { background: var(--accent); transform: translateY(-2px); }
.b2b-cta:hover::after { inset: 2px; border-color: rgba(244, 241, 236, 0.35); }

/* ─── Colophon ───────────────────────────────────── */

.cover-foot {
  background: var(--ink);
  color: var(--fg);
  padding: 96px var(--pad) 40px;
  position: relative;
}
.cover-foot::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 241, 236, 0.14);
}

.foot-k {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.foot-block p {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(244, 241, 236, 0.65);
}

.foot-bar {
  font-family: var(--body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.4);
  text-align: center;
}

/* ─── Mobile ─────────────────────────────────────── */

@media (max-width: 980px) {
  .scale-rail { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .scale-rail .scale-item:nth-child(5) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .prod-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .b2b-grid { grid-template-columns: 1fr; gap: 16px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 720px) {
  :root { --pad: 18px; }

  .cover-strip {
    padding: 11px var(--pad);
    font-size: 9px;
    letter-spacing: 0.18em;
  }
  .strip-left, .strip-right { max-width: 50%; }

  .hero { aspect-ratio: 3 / 5; }
  .hero-mask-text { font-size: clamp(60px, 28vw, 200px); }

  .hero-corner { font-size: 9px; letter-spacing: 0.16em; }
  .hero-corner-tl, .hero-corner-tr { top: 18px; }
  .hero-corner-bl { bottom: 22px; }
  .hero-cta {
    bottom: 18px;
    font-size: 11px;
    padding: 11px 16px;
    letter-spacing: 0.18em;
  }
  .hero-corner-tr { display: none; }

  .manifesto { padding: 64px var(--pad) 48px; }
  .manifesto::before { height: 40px; margin-bottom: 28px; }

  .scale { padding: 72px var(--pad); }
  .scale-head { margin-bottom: 36px; }
  .scale-rail { grid-template-columns: 1fr; gap: 28px; }
  .scale-rail .scale-item:nth-child(5) { max-width: 100%; }
  .scale-image { aspect-ratio: 4 / 3; }

  .production { padding: 80px var(--pad); }
  .prod-head { margin-bottom: 48px; padding-bottom: 36px; gap: 18px; }
  .prod-grid { grid-template-columns: 1fr; gap: 40px; }
  .prod-block { padding-left: 0; padding-top: 56px; }
  .prod-num { font-size: 40px; top: 0; }

  .b2b { padding: 80px var(--pad); }
  .b2b-head { margin-bottom: 36px; }
  .b2b-cta { padding: 20px 32px; font-size: 14px; }

  .cover-foot { padding: 64px var(--pad) 32px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; padding-bottom: 32px; }
}

/* ─── Reduced motion ─────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-blur { animation: none; }
}
