:root {
  color-scheme: light;
  --bg: #f6f1e8;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --text: #171513;
  --muted: #6f675d;
  --line: #ded4c6;
  --accent: #176b5b;
  --accent-strong: #0f4f44;
  --warm: #d96c3a;
  --ink: #2d3440;
  --shadow: 0 18px 60px rgba(39, 31, 22, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151719;
  --surface: #202327;
  --surface-strong: #282c31;
  --text: #f4efe7;
  --muted: #b6ada3;
  --line: #3b4148;
  --accent: #69c5aa;
  --accent-strong: #9be3cd;
  --warm: #f09a66;
  --ink: #d7dde4;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.metrics,
.visual-toolbar,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
}

.nav {
  justify-content: center;
  gap: 8px;
}

.nav a,
.select,
.icon-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
}

.nav a {
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 650;
}

.header-actions {
  justify-self: start;
  margin-left: 18px;
  gap: 8px;
}

.select,
.icon-button {
  height: 38px;
}

.select {
  padding: 0 9px;
}

.icon-button {
  min-width: 48px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 6vw, 72px) 36px;
}

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

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text,
.split p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.metrics {
  flex-wrap: wrap;
  gap: clamp(26px, 5vw, 58px);
  margin: 0;
}

.metrics div {
  min-width: 120px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.metrics dt {
  color: #0b9854;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 0.95;
  font-weight: 900;
}

.metrics dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.15;
  font-weight: 850;
}

.hero-visual {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--text);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lookbook-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1100&q=80") center /
      cover;
}

.lookbook-card span,
.lookbook-note small {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lookbook-card strong {
  max-width: 520px;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 0.98;
}

.lookbook-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  padding: 0 14px 14px;
}

.lookbook-small {
  min-height: 170px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1552346154-21d32810aba3?auto=format&fit=crop&w=700&q=80") center / cover;
  border-radius: 8px;
}

.lookbook-small strong {
  font-size: 22px;
  line-height: 1.05;
}

.lookbook-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
  background: var(--text);
  border-radius: 8px;
}

.lookbook-note p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.marquee-band {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  padding: 14px clamp(18px, 6vw, 72px);
  color: var(--text);
  background: var(--warm);
  border-block: 1px solid var(--text);
}

.marquee-band span {
  flex: 0 0 auto;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: 78px clamp(18px, 6vw, 72px);
}

.tinted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.product-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
}

.category-card,
.product-card,
details,
.steps li {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-card {
  position: relative;
  min-height: 156px;
  padding: 20px;
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.category-card::after {
  content: "Open";
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card:hover {
  border-color: var(--text);
  transform: translateY(-3px);
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 900;
}

.category-card small,
.product-card p,
details p {
  color: var(--muted);
  line-height: 1.55;
}

.product-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.product-card:nth-child(1),
.product-card:nth-child(4) {
  grid-row: span 2;
}

.product-media {
  position: relative;
  display: grid;
  place-items: end start;
  aspect-ratio: 4 / 3;
  padding: 14px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.58));
  z-index: 1;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media span {
  position: relative;
  z-index: 2;
  font-weight: 900;
}

.product-card h3 {
  margin: 0;
  font-size: 20px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  padding: 5px 8px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 36px;
  align-items: start;
}

.notes {
  padding-top: 0;
}

.notes-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
}

.notes-grid article {
  min-height: 280px;
  padding: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notes-grid .note-feature {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.78)),
    url("https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=900&q=80") center / cover;
  border-color: var(--text);
}

.notes-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.note-feature span {
  color: #fff;
}

.notes-grid h3 {
  margin: 42px 0 14px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.notes-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.note-feature p {
  color: rgba(255, 255, 255, 0.84);
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.steps li {
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
}

details {
  max-width: 900px;
  margin-bottom: 12px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 900;
}

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

  .header-actions {
    justify-self: end;
    margin-left: 0;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .split,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

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

  .product-card:nth-child(1),
  .product-card:nth-child(4) {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero,
  .section {
    padding-inline: 14px;
  }

  h1 {
    font-size: 42px;
  }

  .category-grid,
  .product-grid,
  .lookbook-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
