:root {
  --bg: #f6f2ea;
  --ink: #111111;
  --muted: #756f66;
  --panel: #fffaf1;
  --line: rgba(17,17,17,.12);
  --accent: #111111;
  --olive: #68735a;
  --sand: #d8c7aa;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(30,24,18,.12);
  --container: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at 15% 0%, #efe0c7, transparent 28rem), var(--bg);
  color: var(--ink);
  opacity: 0;
  animation: pageIn .55s ease forwards;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 86px;
  margin: 0;
  padding: 0 max(16px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(246,242,234,.92);
  backdrop-filter: blur(16px);
  box-shadow: none;
  animation: headerIn .65s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  letter-spacing: 0;
}
.brand strong {
  font-size: 1.25rem;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.main-nav a, .cart-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border-radius: 0;
  color: var(--muted);
  font-weight: 800;
  transition: .22s ease;
}

.main-nav a {
  position: relative;
  font-size: .86rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.cart-link {
  position: relative;
  width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.cart-link svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-link span {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}
.cart-link.bump svg { animation: cartBump .5s ease; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 0; background: transparent; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero {
  position: relative;
  min-height: clamp(630px, 86vh, 820px);
  margin-top: -100px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowZoom 9s ease-in-out infinite alternate; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,242,234,.92), rgba(246,242,234,.62) 43%, rgba(246,242,234,.08)); }
.hero-copy { position: relative; width: var(--container); max-width: 620px; margin: 0 auto; padding-top: 110px; animation: heroText .75s ease both; }
.eyebrow { display: inline-flex; margin-bottom: 12px; color: var(--olive); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); line-height: .96; margin-bottom: 18px; letter-spacing: -.04em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: 1; margin-bottom: 14px; letter-spacing: -.035em; }
h3 { margin-bottom: 8px; }
p { color: var(--muted); line-height: 1.75; }
.hero-copy p { max-width: 540px; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.ghost { background: rgba(255,255,255,.68); }

.section { width: var(--container); margin: 0 auto; padding: 74px 0; }
.feature-row, .product-grid, .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature, .product-card, .split-copy, .look-card, .value, .checkout-form, .cart-panel, .product-info, .product-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,250,241,.82);
  box-shadow: var(--shadow);
}
.feature { min-height: 130px; padding: 24px; display: grid; align-content: end; }
.feature strong { font-size: 1.35rem; }
.feature span { color: var(--muted); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.text-link { font-weight: 900; color: var(--olive); }

.product-card { overflow: hidden; display: grid; grid-template-rows: 320px 1fr; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(30,24,18,.18); }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.06); }
.product-body { padding: 18px; display: grid; gap: 14px; }
.product-meta { color: var(--muted); font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-add { border: 0; border-radius: 999px; padding: 9px 13px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 900; }

.split, .product-layout, .checkout-layout, .contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.88fr); gap: 26px; align-items: stretch; }
.split-copy, .product-info, .checkout-form, .cart-panel { padding: clamp(24px, 4vw, 44px); display: grid; align-content: center; }
.look-card, .product-media { overflow: hidden; min-height: 480px; }
.look-card img, .product-media img { width: 100%; height: 100%; object-fit: cover; }

.page-hero { width: var(--container); margin: 34px auto 0; padding: 84px 0 28px; max-width: 880px; text-align: center; }
.toolbar { padding-top: 14px; padding-bottom: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pill { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: #fff; color: var(--muted); cursor: pointer; font-weight: 850; }
.pill.active, .pill:hover { background: var(--ink); color: #fff; }

.size-row, .qty-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.size-chip { min-width: 48px; min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 900; }
.size-chip.active { background: var(--ink); color: #fff; }
.qty-stepper { display: grid; grid-template-columns: 42px 58px 42px; gap: 8px; align-items: center; }
.qty-stepper button, .qty-stepper input { height: 42px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; font-weight: 900; }
.qty-stepper button { cursor: pointer; }

label { display: grid; gap: 8px; font-weight: 850; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 14px; outline: none; }
.checkout-form { gap: 16px; }
.cart-panel { gap: 14px; }
.cart-item { display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; animation: itemIn .3s ease both; }
.cart-item img { width: 86px; height: 86px; object-fit: cover; border-radius: 15px; }
.cart-item h3 { margin-bottom: 4px; font-size: 1rem; }
.cart-side { display: grid; justify-items: end; gap: 8px; }
.cart-side button { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-weight: 850; }
.summary-line, .summary-total { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.summary-total { font-size: 1.25rem; font-weight: 900; }
.success { display: grid; gap: 14px; }
.success-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--olive); color: #fff; font-size: 1.7rem; font-weight: 900; animation: pop .55s ease both; }
.form-note { min-height: 26px; margin: 0; color: var(--olive); font-weight: 850; }

.site-footer {
  width: 100%;
  margin: 56px 0 0;
  padding: clamp(30px, 6vw, 58px) 0 24px;
  display: grid;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(216,199,170,.22));
  color: var(--muted);
}

.footer-main {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(130px, .75fr)) minmax(240px, 1fr);
  gap: clamp(18px, 4vw, 38px);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.site-footer strong,
.footer-column h3,
.footer-news h3 {
  color: var(--ink);
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.footer-column,
.footer-news {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h3,
.footer-news h3 {
  margin: 0 0 7px;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-column a,
.footer-bottom a {
  color: var(--muted);
  font-weight: 850;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--ink);
}

.footer-news form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.footer-news input {
  min-width: 0;
}

.footer-news button {
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.footer-bottom {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-bottom div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.product-grid .reveal:nth-child(2), .values .reveal:nth-child(2) { transition-delay: .08s; }
.product-grid .reveal:nth-child(3), .values .reveal:nth-child(3) { transition-delay: .16s; }

@keyframes pageIn { to { opacity: 1; } }
@keyframes headerIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroText { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slowZoom { to { transform: scale(1.04); } }
@keyframes cartBump { 35% { transform: translateY(-4px) rotate(-8deg); } 70% { transform: translateY(1px) rotate(5deg); } }
@keyframes itemIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.65); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto auto; min-height: 76px; }
  .nav-toggle { display: block; grid-column: 3; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; display: grid; gap: 0; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .25s ease; border: 0; border-bottom: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
  .main-nav a { justify-content: flex-start; padding: 18px max(16px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .cart-link { grid-column: 2; grid-row: 1; }
  .hero { min-height: 740px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(246,242,234,.28), rgba(246,242,234,.92) 62%, var(--bg)); }
  .hero-copy { align-self: end; padding-bottom: 60px; }
  .feature-row, .product-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .split, .product-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 22px, 1180px); }
  .brand strong { display: none; }
  h1 { font-size: clamp(2.4rem, 13vw, 4rem); }
  .hero-actions, .section-head, .product-bottom { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .section { padding: 54px 0; }
  .feature-row, .values { grid-template-columns: 1fr; }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-card {
    grid-template-rows: 210px 1fr;
    border-radius: 18px;
  }
  .product-body {
    padding: 12px;
    gap: 10px;
  }
  .product-body h3 {
    font-size: .98rem;
  }
  .product-body p {
    font-size: .78rem;
    line-height: 1.5;
  }
  .product-meta {
    font-size: .65rem;
  }
  .product-bottom {
    gap: 8px;
  }
  .product-bottom strong,
  .mini-add {
    font-size: .78rem;
  }
  .mini-add {
    padding: 8px 10px;
  }
  .cart-item { grid-template-columns: 74px 1fr; }
  .cart-item img { width: 74px; height: 74px; }
  .cart-side { grid-column: 1 / -1; display: flex; justify-content: space-between; }
  .footer-main { grid-template-columns: 1fr; }
  .site-footer {
    margin-top: 44px;
    padding-top: 34px;
  }
  .footer-brand {
    display: grid;
    gap: 12px;
  }
  .footer-brand span {
    width: 48px;
    height: 48px;
  }
  .footer-column,
  .footer-news {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .footer-news form { grid-template-columns: 1fr; }
  .footer-news button { min-height: 46px; }
  .footer-bottom {
    display: grid;
    gap: 12px;
  }
  .footer-bottom div {
    display: grid;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  body, .reveal { opacity: 1; transform: none; }
}
