:root {
  color-scheme: light;
  --bg: #efefec;
  --surface: #e1e1dd;
  --text: #141516;
  --muted: #66686a;
  --line: #c5c6c3;
  --accent: #b62f2d;
  --accent-ink: #f4f2ee;
  --font-ui: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #111214;
    --surface: #1a1c1f;
    --text: #f0efeb;
    --muted: #aaa9a5;
    --line: #353638;
    --accent: #d75a52;
    --accent-ink: #111214;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100dvh; overflow-x: clip; color: var(--text); background: var(--bg); font-family: var(--font-ui); }
button, input { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
a { color: inherit; }
.shell { width: min(1440px, calc(100% - 56px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 12px max(28px, calc((100vw - 1440px) / 2)); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 91%, transparent); backdrop-filter: blur(16px); }
.brand { width: fit-content; font-size: 15px; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
nav { display: flex; gap: 30px; white-space: nowrap; }
nav a { color: var(--muted); font-size: 14px; font-weight: 750; text-decoration: none; }
nav a:hover { color: var(--text); }
.bag-button { justify-self: end; border: 0; color: var(--text); background: transparent; cursor: pointer; font-weight: 800; }

.hero { min-height: calc(100dvh - 70px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; gap: 0; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(42px, 7vw, 100px); padding-left: clamp(0px, 5vw, 76px); }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.065em; text-wrap: balance; }
h1 { max-width: 8ch; margin-bottom: 24px; font-size: clamp(58px, 7.5vw, 112px); line-height: .9; }
.hero-copy > p:not(.eyebrow) { max-width: 21ch; margin-bottom: 30px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.button { min-height: 48px; width: fit-content; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--accent); color: var(--accent-ink); background: var(--accent); text-decoration: none; font-weight: 850; white-space: nowrap; transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.98); }
.hero-media { min-height: 720px; background: var(--surface); }
.hero-media img { object-position: center 38%; }

.section { padding-block: clamp(100px, 13vw, 180px); content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section-heading { max-width: 870px; margin-bottom: clamp(50px, 8vw, 96px); }
.section-heading h2, .notes-copy h2, .signup h2 { margin-bottom: 20px; font-size: clamp(46px, 6vw, 88px); line-height: .92; }
.section-heading p, .notes-copy p, .signup-copy p { max-width: 54ch; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.look-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(360px, auto) minmax(360px, auto); gap: 18px; }
.look { grid-column: span 5; position: relative; overflow: visible; }
.look-tall { grid-column: span 7; grid-row: span 2; min-height: 900px; }
.look-wide { grid-column: span 5; }
.look:not(.look-tall) { min-height: 430px; }
.look img { min-height: inherit; }
.look figcaption { padding-top: 12px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.collection { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; gap: clamp(38px, 7vw, 100px); }
.collection-list { align-self: center; border-top: 1px solid var(--line); }
.collection-item { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 26px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; text-align: left; transition: color .2s ease, padding-left .25s ease; }
.collection-item span:first-child { font-size: clamp(30px, 4.5vw, 62px); font-weight: 760; letter-spacing: -.06em; }
.collection-item span:last-child { font-size: 14px; font-weight: 750; }
.collection-item:hover, .collection-item.is-active { padding-left: 14px; color: var(--text); }
.collection-item.is-active span:first-child { color: var(--accent); }
.collection-preview { min-height: 780px; background: var(--surface); }
.collection-preview img { transition: opacity .3s ease; }

.notes { display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); align-items: end; gap: clamp(42px, 8vw, 120px); }
.notes-media { min-height: 700px; }
.notes-copy { padding-bottom: 20px; }
.notes-copy a { display: inline-block; margin-top: 28px; color: var(--accent); font-weight: 850; text-underline-offset: 6px; }
.signup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; gap: clamp(50px, 10vw, 150px); border-top: 1px solid var(--line); }
.signup-form { display: grid; gap: 10px; }
.signup-form label { font-size: 14px; font-weight: 800; }
.signup-form > div { display: grid; grid-template-columns: 1fr auto; }
.signup-form input { min-height: 52px; width: 100%; padding: 0 15px; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.signup-form button { min-height: 52px; padding: 0 24px; border: 1px solid var(--accent); color: var(--accent-ink); background: var(--accent); cursor: pointer; font-weight: 850; }
.form-status { min-height: 22px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.form-status.is-error { color: var(--accent); }
.form-status.is-success { color: var(--accent); }
.site-footer { min-height: 150px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-weight: 850; letter-spacing: .06em; }
.site-footer a { color: var(--muted); text-decoration: none; letter-spacing: 0; }

.media { position: relative; overflow: hidden; }
.media img { transition: opacity .35s ease, transform .85s cubic-bezier(.16, 1, .3, 1); }
.media:hover img { transform: scale(1.02); }
.media.is-loading::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, var(--surface) 20%, color-mix(in srgb, var(--surface) 72%, var(--text)) 45%, var(--surface) 70%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.media.is-loading img { opacity: 0; }
.media.is-error::after { content: attr(data-error); position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: var(--muted); background: var(--surface); text-align: center; }
@keyframes shimmer { to { background-position: -220% 0; } }
.has-js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 72%, transparent); outline-offset: 3px; }

@media (max-width: 940px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 58dvh; padding-left: 0; }
  .hero-media { min-height: 68dvh; }
  .look-tall, .look, .look-wide { grid-column: span 6; grid-row: auto; min-height: 560px; }
  .collection, .notes, .signup { grid-template-columns: 1fr; }
  .collection-preview { min-height: 680px; }
}
@media (max-width: 767px) {
  .shell { width: min(100% - 30px, 680px); }
  .site-header { min-height: 64px; padding: 10px 15px; }
  .hero { min-height: calc(100dvh - 64px); }
  .hero-copy { min-height: 52dvh; padding-block: 34px; }
  h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-media { min-height: 62dvh; }
  .section { padding-block: 92px; }
  .look-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .look-tall, .look, .look-wide { grid-column: auto; min-height: 520px; }
  .collection-preview { min-height: 580px; }
  .notes-media { min-height: 540px; }
  .signup-form > div { grid-template-columns: 1fr; gap: 10px; }
  .bag-button { min-height: 44px; }
  .signup-form input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-js .reveal { opacity: 1; transform: none; }
  .media:hover img { transform: none; }
}

/* NOMA: fashion magazine cover */
:root {
  color-scheme: light;
  --bg: #f4f3f0;
  --surface: #dfdfdb;
  --text: #111315;
  --muted: #53575a;
  --line: #b9bab7;
  --accent: #b72f2c;
  --accent-ink: #f7f5f1;
}
body { font-family: var(--font-ui); }
.site-header { background: rgb(244 243 240 / .94); }
.hero {
  min-height: calc(100dvh - 92px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  margin-top: 22px;
  border: 1px solid var(--text);
  background: #e9edf0;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: 0;
  min-height: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f4f3f0 0, rgb(244 243 240 / .7) 14%, transparent 44%);
  pointer-events: none;
}
.hero-media img { object-position: center 28%; }
.hero-copy {
  width: 48%;
  min-height: calc(100dvh - 92px);
  position: relative;
  z-index: 2;
  justify-content: flex-end;
  padding: clamp(42px, 6vw, 88px);
  padding-left: clamp(32px, 5vw, 76px);
}
.hero h1,
.section-heading h2,
.notes-copy h2,
.signup h2 {
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: -.075em;
}
.hero h1 { max-width: 6ch; font-size: clamp(86px, 10.5vw, 158px); line-height: .76; }
.hero-copy > p:not(.eyebrow) { max-width: 19ch; }
.button { border-radius: 0; }
.look figcaption { font-family: var(--font-ui); }

@media (max-width: 940px) {
  .hero { display: grid; grid-template-rows: auto minmax(52dvh, 1fr); }
  .hero-copy { width: 100%; min-height: 42dvh; padding: 38px 32px; }
  .hero-media { position: relative; inset: auto; min-height: 58dvh; z-index: 0; }
  .hero-media::after { background: linear-gradient(0deg, transparent 74%, #f4f3f0); }
}

@media (max-width: 767px) {
  .hero { min-height: calc(100dvh - 78px); grid-template-rows: auto minmax(50dvh, 1fr); margin-top: 14px; }
  .hero-copy { min-height: 38dvh; padding: 30px 24px; }
  .hero h1 { max-width: 6ch; font-size: clamp(64px, 19vw, 86px); }
  .hero-media { min-height: 52dvh; }
}
