@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&family=Outfit:wght@300;400;500&display=swap");

:root {
  --ink: #20201d;
  --paper: #f4f0e9;
  --white: #fff;
  --line: rgba(32, 32, 29, .18);
  --muted: #77736b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-weight: 300;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.announcement {
  height: 32px;
  padding: 0 4.2vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #eee9e0;
  letter-spacing: .13em;
  font-size: 10px;
}
.announcement p { margin: 0; }
.announcement button {
  position: absolute;
  right: 4.2vw;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
}
.announcement.is-hidden { display: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 32px;
  left: 0;
  width: 100%;
  height: 96px;
  padding: 0 4.2vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--ink);
}
.announcement.is-hidden + .site-header { top: 0; }
.logo { display: inline-flex; width: max-content; flex-direction: column; line-height: 1; }
.logo span { font-size: 29px; font-weight: 500; letter-spacing: .2em; }
.logo small { margin-top: 7px; font-family: "Noto Serif SC", serif; font-size: 9px; letter-spacing: .58em; }
.desktop-nav { display: flex; gap: 48px; font-size: 14px; letter-spacing: .1em; }
.desktop-nav a, .text-link { position: relative; }
.desktop-nav a::after, .text-link::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.desktop-nav a:hover::after, .text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: .1em; }
.cart-count { display: inline-block; min-width: 10px; text-align: center; }
.menu-toggle { display: none; position: relative; z-index: 2; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 1px; margin: 6px 0; background: currentColor; transition: .3s; }
.mobile-nav { display: none; }

.hero { position: relative; height: min(900px, 100vh); min-height: 680px; overflow: hidden; background: #ddd3c3; }
.hero > img { height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(238,231,220,.2), transparent 58%); }
.hero-copy { position: absolute; left: 8.5vw; top: 50%; transform: translateY(-42%); }
.eyebrow, .kicker, .section-index { font-size: 10px; letter-spacing: .23em; text-transform: uppercase; }
.eyebrow { margin: 0 0 28px; }
h1, h2, h3 { font-family: "Noto Serif SC", serif; font-weight: 400; margin: 0; }
h1 { font-size: clamp(54px, 6vw, 94px); line-height: 1.19; letter-spacing: .13em; }
.hero-subtitle { margin: 30px 0 36px; font-family: "Noto Serif SC", serif; font-size: 14px; letter-spacing: .16em; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between;
  min-width: 194px; padding: 16px 20px; font-size: 11px; letter-spacing: .12em; transition: .3s;
}
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #4d463e; transform: translateY(-2px); }
.scroll-cue {
  position: absolute; left: 4.2vw; bottom: 30px; display: flex; align-items: center; gap: 14px;
  font-size: 8px; letter-spacing: .25em; writing-mode: vertical-rl;
}
.scroll-cue i { display: block; width: 1px; height: 47px; background: currentColor; opacity: .6; }

.intro { min-height: 640px; padding: 120px 8.5vw; display: grid; grid-template-columns: 33% 1fr; }
.section-index { color: var(--muted); }
.intro-content { max-width: 690px; }
.kicker { color: var(--muted); margin: 0 0 28px; }
.intro h2, .manifesto h2, .newsletter h2 { font-size: clamp(34px, 4vw, 62px); line-height: 1.45; letter-spacing: .05em; }
.body-copy { max-width: 520px; margin: 38px 0; color: #625f59; font-family: "Noto Serif SC", serif; font-size: 14px; line-height: 2.2; letter-spacing: .08em; }
.arrow-link { display: inline-flex; gap: 45px; align-items: center; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 11px; letter-spacing: .15em; }
.arrow-link span { transition: transform .3s; }
.arrow-link:hover span { transform: translateX(6px); }

.collections { padding: 120px 4.2vw; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.collection-card { position: relative; height: 760px; overflow: hidden; }
.collection-card img { height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.collection-card:hover img { transform: scale(1.025); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.42), transparent 45%); }
.card-copy { position: absolute; left: 45px; right: 45px; bottom: 42px; color: white; }
.card-copy p { margin: 0 0 12px; font-size: 9px; letter-spacing: .25em; }
.card-copy h3 { font-size: 33px; letter-spacing: .12em; }
.card-copy a { position: absolute; right: 0; bottom: 7px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 10px; letter-spacing: .16em; }
.dark-copy { color: #282620; }

.products { padding: 115px 4.2vw 140px; background: #f8f5f0; }
.products-heading {
  margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.products-heading .kicker { margin-bottom: 17px; }
.products-heading h2 { font-size: clamp(36px, 4vw, 58px); letter-spacing: .08em; }
.products-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 10px; letter-spacing: .15em; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 58px 18px; }
.product-card { position: relative; min-width: 0; }
.product-image {
  display: block; width: 100%; aspect-ratio: 1 / 1;
  background-image: url("assets/product-grid.png");
  background-repeat: no-repeat;
  background-size: 400% 300%;
  overflow: hidden;
  transition: filter .35s ease;
}
.product-image:hover { filter: brightness(.96); }
.product-01 { background-position: 0 0; }
.product-02 { background-position: 33.333% 0; }
.product-03 { background-position: 66.666% 0; }
.product-04 { background-position: 100% 0; }
.product-05 { background-position: 0 50%; }
.product-06 { background-position: 33.333% 50%; }
.product-07 { background-position: 66.666% 50%; }
.product-08 { background-position: 100% 50%; }
.product-09 { background-position: 0 100%; }
.product-10 { background-position: 33.333% 100%; }
.product-11 { background-position: 66.666% 100%; }
.product-12 { background-position: 100% 100%; }
.favorite {
  position: absolute; top: 13px; right: 14px; z-index: 2; width: 32px; height: 32px;
  padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.84);
  color: #322f2a; cursor: pointer; font-family: Arial, sans-serif; font-size: 19px; line-height: 32px;
  transition: transform .25s, background .25s;
}
.favorite:hover { transform: scale(1.08); background: #fff; }
.favorite.is-active { color: #7b3d35; }
.product-badge {
  position: absolute; top: 15px; left: 15px; z-index: 2; padding: 7px 9px;
  background: var(--ink); color: white; font-size: 8px; letter-spacing: .18em;
}
.product-info { padding-top: 17px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.product-info h3 { margin: 0 0 8px; font-family: "Noto Serif SC", serif; font-size: 14px; letter-spacing: .08em; }
.product-info p { margin: 0; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.product-info > span { flex: none; padding-top: 2px; font-size: 11px; letter-spacing: .05em; }
.add-cart {
  width: 100%; margin-top: 16px; padding: 11px 12px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer; font-size: 9px; letter-spacing: .16em;
  transition: background .25s, color .25s;
}
.add-cart:hover, .add-cart.is-added { background: var(--ink); color: white; }
.cart-toast {
  position: fixed; z-index: 100; top: 24px; right: 24px; width: min(360px, calc(100vw - 32px));
  padding: 19px 48px 19px 20px; background: var(--ink); color: white;
  box-shadow: 0 14px 45px rgba(0,0,0,.2); opacity: 0; transform: translateY(-16px);
  pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.cart-toast.is-visible { opacity: 1; transform: none; }
.cart-toast strong { display: block; margin-bottom: 7px; font-family: "Noto Serif SC", serif; font-size: 13px; font-weight: 400; letter-spacing: .08em; }
.cart-toast span { color: #cfc9c0; font-size: 9px; letter-spacing: .1em; }
.cart-toast::after { content: "✓"; position: absolute; top: 20px; right: 20px; font-size: 16px; }

.manifesto {
  min-height: 700px; padding: 100px 8.5vw; display: grid; grid-template-columns: 42% 1fr; align-items: center;
  background: #24231f; color: #f3efe7; overflow: hidden;
}
.manifesto-mark {
  font-family: "Noto Serif SC", serif; font-size: clamp(240px, 32vw, 490px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(243,239,231,.17); transform: translateX(-5%);
}
.manifesto-copy { max-width: 650px; }
.manifesto-copy .kicker { color: #a9a399; }
.manifesto-copy > p:not(.kicker) { max-width: 520px; margin: 35px 0; color: #c7c1b7; font-family: "Noto Serif SC", serif; line-height: 2.1; font-size: 14px; letter-spacing: .08em; }
.manifesto .arrow-link { border-color: #f3efe7; }

.newsletter { padding: 95px 8.5vw; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: end; }
.newsletter h2 { font-size: 38px; }
.newsletter > div > p:last-child { margin: 16px 0 0; color: var(--muted); font-family: "Noto Serif SC", serif; font-size: 13px; }
.subscribe-form { position: relative; display: flex; border-bottom: 1px solid var(--ink); }
.subscribe-form input { flex: 1; min-width: 0; padding: 17px 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 12px; letter-spacing: .06em; }
.subscribe-form button { border: 0; background: transparent; cursor: pointer; font-size: 11px; letter-spacing: .15em; }
.subscribe-form button span { margin-left: 25px; }
.form-message { position: absolute; top: 52px; left: 0; margin: 0; color: #615a50; font-size: 11px; }

footer { padding: 80px 8.5vw 30px; background: #e9e3da; }
.footer-brand { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-brand > p { margin: 0; font-family: "Noto Serif SC", serif; font-size: 17px; letter-spacing: .2em; }
.footer-links { padding: 50px 0 70px; display: grid; grid-template-columns: 1fr 1fr; max-width: 520px; margin-left: auto; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; font-size: 11px; letter-spacing: .08em; }
.footer-links p { margin: 0 0 12px; color: var(--muted); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.footer-links span { color: var(--muted); }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr 1fr; height: 74px; }
  .desktop-nav, .text-link { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav {
    display: flex; position: fixed; top: 0; right: 0; width: min(82vw, 420px); height: 100vh; padding: 130px 45px;
    flex-direction: column; gap: 30px; background: var(--paper); box-shadow: -15px 0 40px rgba(0,0,0,.08);
    font-family: "Noto Serif SC", serif; font-size: 24px; transform: translateX(105%); transition: transform .45s ease;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .hero { height: 87vh; min-height: 650px; }
  .hero > img { object-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(241,235,225,.72), transparent 75%); }
  .hero-copy { left: 6vw; top: 56%; }
  .intro { padding: 90px 6vw; grid-template-columns: 1fr; gap: 55px; }
  .collections { padding: 80px 3vw; grid-template-columns: 1fr 1fr; gap: 8px; }
  .collection-card { height: 68vw; }
  .card-copy { left: 24px; right: 24px; bottom: 25px; }
  .card-copy h3 { font-size: 25px; }
  .card-copy a { position: static; display: inline-block; margin-top: 18px; }
  .products { padding: 90px 3vw 110px; }
  .product-grid { gap: 45px 12px; }
  .manifesto { padding: 90px 7vw; grid-template-columns: 34% 1fr; }
  .newsletter { padding: 75px 7vw; }
}

@media (max-width: 620px) {
  .announcement { justify-content: flex-start; padding-left: 5vw; letter-spacing: .08em; }
  .site-header { padding: 0 5vw; }
  .logo span { font-size: 25px; }
  .hero { min-height: 690px; }
  .hero > img { object-position: 66% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(244,240,233,.88) 0, rgba(244,240,233,.55) 42%, transparent 78%); }
  .hero-copy { left: 7vw; top: 60%; }
  .eyebrow { margin-bottom: 20px; }
  h1 { font-size: 48px; }
  .hero-subtitle { max-width: 210px; font-size: 12px; line-height: 1.9; }
  .scroll-cue { display: none; }
  .intro { min-height: auto; padding: 80px 7vw 90px; gap: 45px; }
  .intro h2, .manifesto h2 { font-size: 34px; }
  .body-copy { font-size: 13px; }
  .collections { padding: 70px 4vw; grid-template-columns: 1fr; gap: 12px; }
  .collection-card { height: 125vw; max-height: 690px; }
  .card-copy { left: 28px; right: 28px; bottom: 30px; }
  .card-copy h3 { font-size: 29px; }
  .products { padding: 75px 4vw 90px; }
  .products-heading { margin-bottom: 30px; }
  .products-heading h2 { font-size: 34px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 8px; }
  .product-info { display: block; padding: 13px 3px 0; }
  .product-info h3 { font-size: 13px; }
  .product-info > span { display: block; margin-top: 9px; }
  .add-cart { margin-top: 12px; }
  .cart-toast { top: auto; right: 16px; bottom: 16px; }
  .favorite { top: 9px; right: 9px; }
  .manifesto { min-height: 720px; padding: 80px 7vw; display: block; position: relative; }
  .manifesto-mark { position: absolute; top: 85px; right: -20px; font-size: 250px; }
  .manifesto-copy { position: relative; padding-top: 230px; }
  .newsletter { padding: 70px 7vw 90px; grid-template-columns: 1fr; gap: 45px; }
  .newsletter h2 { font-size: 32px; }
  footer { padding: 65px 7vw 28px; }
  .footer-brand { align-items: flex-start; flex-direction: column; gap: 35px; }
  .footer-links { margin: 0; width: 100%; padding-bottom: 55px; }
  .footer-bottom { gap: 20px; flex-direction: column; }
}

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