:root {
  --paper: #e9e5dc;
  --paper-2: #d7d0c3;
  --ink: #11100e;
  --muted: #6f6a61;
  --wine: #551d24;
  --acid: #c8ff45;
  --line: rgba(17, 16, 14, .18);
  --ease: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI Variable Text", "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { display: block; width: 100%; }
button, input { font: inherit; }

.site-header {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 14px;
  color: #f7f3eb;
  background: rgba(14, 13, 11, .82);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 70px rgba(0,0,0,.14);
  backdrop-filter: blur(18px);
}
.brand {
  justify-self: center;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: .16em;
  text-decoration: none;
  white-space: nowrap;
}
.nav, .utilities { display: flex; align-items: center; gap: 20px; }
.utilities { justify-self: end; }
.nav a, .utilities a, .menu-toggle {
  color: inherit;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  transition: opacity .55s var(--ease);
}
.nav a:hover, .utilities a:hover { opacity: .55; }
.menu-toggle { display: none; }
.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  padding: 0 5px;
  color: #111;
  background: var(--acid);
  border-radius: 999px;
}

.hero {
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 130px 5vw 58px;
  color: #fff;
  background: #161511 url("hero-editorial.webp") center 34% / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.09) 45%, rgba(0,0,0,.76)); }
.hero-copy { position: relative; width: 100%; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 40px; }
.kicker { display: inline-block; margin-bottom: 20px; font-size: 9px; letter-spacing: .28em; text-transform: uppercase; }
h1, .display {
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .76;
}
.hero-side { max-width: 360px; justify-self: end; }
.hero-side p { margin: 0 0 24px; font-family: "Iowan Old Style", serif; font-size: 18px; line-height: 1.35; }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 9px 9px 9px 18px;
  border-radius: 999px;
  background: #f2eee5;
  color: #111;
  font-size: 10px;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .7s var(--ease), background .7s var(--ease);
}
.arrow-link span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.08); transition: transform .7s var(--ease); }
.arrow-link:hover { transform: translateY(-3px); background: #fff; }
.arrow-link:hover span { transform: translate(3px,-2px) rotate(-8deg); }

.section { padding: 120px max(24px, 5vw); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.eyebrow { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
h2 { margin: 8px 0 0; font-family: "Iowan Old Style", "Baskerville", serif; font-size: clamp(46px, 7vw, 98px); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
.text-link { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; text-underline-offset: 5px; }
.product-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 14px; align-items: start; }
.product-card { color: inherit; text-decoration: none; }
.frame { padding: 5px; background: rgba(17,16,14,.045); border: 1px solid rgba(17,16,14,.09); border-radius: 28px; overflow: hidden; }
.product-media { position: relative; overflow: hidden; border-radius: 23px; background: #c9c3b8; aspect-ratio: 4 / 5; }
.product-card:first-child .product-media { aspect-ratio: 5 / 6; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 1.1s var(--ease); }
.product-card:hover img { transform: scale(1.025); filter: contrast(1.04); }
.product-meta { display: flex; justify-content: space-between; gap: 18px; padding: 16px 7px 5px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.product-meta span:last-child { color: var(--muted); }
.flag { position: absolute; top: 14px; left: 14px; padding: 7px 10px; background: rgba(15,14,12,.86); color: white; border-radius: 999px; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }

.manifesto { background: #151411; color: #f0ece4; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; }
.manifesto .display { font-size: clamp(70px, 10vw, 148px); }
.manifesto-copy { max-width: 500px; }
.manifesto-copy p { font-family: "Iowan Old Style", serif; font-size: clamp(22px, 3vw, 38px); line-height: 1.15; }
.manifesto small { color: #918c83; letter-spacing: .16em; text-transform: uppercase; }

.editorial-strip { padding: 8px; background: var(--wine); }
.editorial-inner { min-height: 75dvh; display: flex; align-items: flex-end; padding: 50px; border-radius: 26px; color: white; background: url("editorial-duo.webp") center / cover no-repeat; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.editorial-inner h2 { max-width: 780px; font-size: clamp(60px, 10vw, 145px); }

.page-hero { padding: 170px max(24px,5vw) 70px; border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 550px; color: var(--muted); font-family: "Iowan Old Style", serif; font-size: 20px; }
.page-title { font-size: clamp(70px, 13vw, 178px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; }
.filter { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.filter.active { background: var(--ink); color: var(--paper); }
.catalog { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px 14px; }

.product-page { min-height: 100dvh; padding: 130px max(24px,5vw) 80px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 7vw; align-items: start; }
.product-gallery .frame { position: sticky; top: 110px; }
.product-gallery .product-media { aspect-ratio: 4/5; }
.product-info { padding-top: 6vw; }
.product-info h1 { font-size: clamp(52px, 7vw, 100px); line-height: .88; }
.price { display: block; margin: 24px 0 48px; color: var(--muted); font-size: 13px; letter-spacing: .12em; }
.option-label { margin: 25px 0 12px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.sizes { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.size { padding: 15px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background .5s var(--ease), color .5s var(--ease); }
.size.selected { background: var(--ink); color: var(--paper); }
.add-button { width: 100%; margin-top: 18px; padding: 19px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); text-transform: uppercase; letter-spacing: .16em; cursor: pointer; transition: transform .7s var(--ease), background .7s var(--ease); }
.add-button:hover { transform: translateY(-3px); background: var(--wine); }
.details { margin-top: 44px; border-top: 1px solid var(--line); }
.details details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.details summary { cursor: pointer; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.details p { color: var(--muted); max-width: 540px; }

.story { padding: 160px max(24px,5vw) 80px; }
.story-lead { display: grid; grid-template-columns: 1fr .8fr; gap: 7vw; align-items: end; margin-bottom: 90px; }
.story-lead p { max-width: 540px; font-family: "Iowan Old Style", serif; font-size: clamp(22px,3vw,38px); line-height: 1.18; }
.story-image { border-radius: 28px; overflow: hidden; }
.story-image img { max-height: 78dvh; object-fit: cover; }
.prose { max-width: 820px; margin: 100px auto; font-family: "Iowan Old Style", serif; font-size: clamp(28px,4vw,56px); line-height: 1.12; text-align: center; }

.footer { padding: 90px max(24px,5vw) 34px; background: #11100e; color: #e9e5dc; }
.footer-mark { font-family: "Iowan Old Style", serif; font-size: clamp(60px,12vw,170px); letter-spacing: -.065em; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; color: #8e8981; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.footer a { color: inherit; }

.toast { position: fixed; z-index: 14; left: 50%; bottom: 28px; transform: translate(-50%,30px); opacity: 0; padding: 14px 18px; border-radius: 999px; color: white; background: rgba(15,14,12,.94); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; pointer-events: none; transition: transform .65s var(--ease), opacity .65s var(--ease); }
.toast.show { transform: translate(-50%,0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(42px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .nav { display: none; position: fixed; inset: 58px 0 auto; margin: 0 16px; padding: 24px; flex-direction: column; align-items: flex-start; border-radius: 24px; background: rgba(14,13,11,.98); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; justify-self: start; }
  .utilities a:first-child { display: none; }
  .hero { padding: 120px 18px 38px; min-height: 92dvh; background-position: 62% center; }
  .hero-copy, .manifesto-grid, .story-lead, .product-page { grid-template-columns: 1fr; }
  .hero-side { justify-self: start; }
  .product-grid, .catalog { grid-template-columns: 1fr 1fr; }
  .product-grid .product-card:first-child { grid-column: span 2; }
  .section { padding: 82px 16px; }
  .section-head { align-items: start; flex-direction: column; }
  .manifesto-grid { gap: 50px; }
  .editorial-inner { min-height: 70dvh; padding: 28px 22px; }
  .product-page { padding: 110px 16px 70px; gap: 30px; }
  .product-gallery .frame { position: static; }
  .product-info { padding-top: 20px; }
  .story { padding: 130px 16px 60px; }
}

@media (max-width: 520px) {
  .brand { font-size: 15px; }
  .product-grid, .catalog { grid-template-columns: 1fr; }
  .product-grid .product-card:first-child { grid-column: auto; }
  .footer-row { flex-direction: column; }
  .page-hero { padding: 140px 16px 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-media img, .arrow-link, .arrow-link span, .add-button { transition: none; }
}
