@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f7f5ef;
  --ink: #292821;
  --surface: #efede5;
  --orange: #f7941e;
  --muted: #6b685f;
  --border: #d9d5ca;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 "Instrument Sans", Arial, sans-serif;
  font-variation-settings: "wdth" 100;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .3; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
em { font: 400 1.08em "Instrument Serif", Georgia, serif; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.wrap { max-width: 1480px; padding-inline: 56px; margin-inline: auto; }
.surface { background: var(--surface); border-radius: 28px; }
.skip-link {
  position: fixed; left: 20px; top: 12px; z-index: 100;
  padding: 12px 20px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { height: 128px; display: flex; align-items: center; position: relative; }
.brand { flex-shrink: 0; }
.brand img { width: 70px; height: 98px; object-fit: contain; }
.main-nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 36px; font-size: 14px;
}
.main-nav a { padding-block: 12px; transition: color .2s; white-space: nowrap; }
.main-nav a:hover { color: #a65c08; }
.home-main { padding-top: 40px; }
.hero {
  position: relative; width: 100%; aspect-ratio: 2.44; min-height: 290px;
  overflow: hidden; border-radius: 28px; background: var(--surface); isolation: isolate;
}
.hero-track {
  position: absolute; top: 0; left: 0; width: 300%; height: 100%; display: flex;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.hero-slide { position: relative; width: calc(100% / 3); height: 100%; flex-shrink: 0; }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 176px;
  background: linear-gradient(0deg, #292821cc, transparent); pointer-events: none;
}
.hero-caption {
  position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; color: white;
}
.hero-caption p { font-size: 11px; letter-spacing: .12em; margin-bottom: 8px; }
.hero-caption p span { margin-left: 12px; color: #ffffffb3; }
.hero-caption h1, .hero-caption h2 {
  width: fit-content; max-width: 100%; font: 400 28px/1 "Instrument Serif", Georgia, serif;
}
.hero-arrow {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  border: 1px solid #ffffff80; border-radius: 50%; transition: background .2s;
}
.hero-arrow svg { transform: rotate(-45deg); }
.hero-arrow:hover { background: #ffffff33; }
.hero-arrow:focus-visible { outline-color: white; }
.intro { margin-top: 64px; padding: 64px 56px; font-size: 20px; line-height: 1.9; }
.intro p + p { margin-top: 8px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  padding: 16px 28px; background: var(--orange); color: var(--ink); border: 0;
  border-radius: 14px; font-size: 14px; font-weight: 600; line-height: 1.5;
  transition: background .2s, transform .2s;
}
.button:hover { background: #e98812; }
.button:active { transform: translateY(1px); }
.intro .button { margin-top: 32px; }
.collection { padding-top: 80px; scroll-margin-top: 32px; }
.collection > h2 { font-size: 48px; font-weight: 500; line-height: 1.25; letter-spacing: -.8px; }
.collections { display: flex; gap: 12px; height: 475px; margin-top: 32px; }
.collection-card {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  background: var(--orange); color: var(--ink); border-radius: 26px;
  transition: flex-grow .7s cubic-bezier(.22, 1, .36, 1), background-color .7s, height .7s;
}
.collection-card.is-expanded { flex-grow: 3.25; background: var(--ink); color: var(--orange); }
.collection-toggle {
  position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0;
  border: 0; border-radius: 26px; background: transparent; color: inherit; text-align: left;
}
.collection-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.card-number { position: absolute; top: 24px; left: 28px; font-size: 11px; }
.collection-name {
  position: absolute; top: 96px; left: 28px; writing-mode: vertical-rl;
  font-size: 38px; font-weight: 500; line-height: 1.25;
}
.expand-icon { position: absolute; top: 24px; right: 28px; font-size: 25px; line-height: 1; }
.collapsed-caption { position: absolute; bottom: 28px; left: 28px; font-size: 12px; line-height: 16px; }
.is-expanded .collection-toggle { bottom: auto; height: 112px; }
.is-expanded .collection-name {
  top: 56px; left: 28px; writing-mode: horizontal-tb; white-space: nowrap;
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
}
.is-expanded .expand-icon { font-size: 0; }
.is-expanded .expand-icon::after { content: "→"; font-size: 24px; }
.is-expanded .collapsed-caption { display: none; }
.collection-panel {
  position: absolute; inset: 112px 24px 24px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 20px; opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.is-expanded .collection-panel { opacity: 1; visibility: visible; transition: opacity .35s .25s, visibility .35s .25s; }
.collection-image { height: 258px; overflow: hidden; border-radius: 12px; flex-shrink: 0; background: var(--surface); }
.collection-image img { width: 100%; height: 100%; object-fit: cover; }
.collection-description { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.collection-description h3 { font-size: 15px; font-weight: 500; line-height: 1.5; }
.collection-description p { margin-top: 4px; font-size: 11px; line-height: 1.625; }
.circle-link, .circle-control {
  width: 40px; height: 40px; flex-shrink: 0; border: 1px solid currentColor;
  border-radius: 50%; display: grid; place-items: center; background: transparent;
  color: inherit; transition: background .2s;
}
.circle-link:hover { background: #f7941e26; }
.collection-controls { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 20px; }
.circle-control { width: 32px; height: 32px; border-color: var(--border); }
.circle-control:hover:enabled { background: var(--surface); }
.circle-control[data-prev] svg { transform: rotate(180deg); }
.circle-control svg { width: 18px; height: 18px; }
.collection-count { font-size: 10px; min-width: 44px; text-align: center; }
.story {
  margin-block: 64px; padding: 80px 56px; display: grid;
  grid-template-columns: .8fr 1fr; gap: 80px; scroll-margin-top: 32px;
}
.story h2 { font-size: 36px; font-weight: 500; line-height: 1.18; letter-spacing: -1px; }
.story > div { align-self: center; }
.story p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.story p + p { margin-top: 16px; }
.story strong { font-weight: 600; }
.site-footer { background: var(--ink); color: var(--paper); padding-block: 64px; scroll-margin-top: 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 64px; }
.footer-brand { font-size: 36px; color: var(--orange); font-weight: 400; line-height: 1.25; letter-spacing: -.7px; }
.footer-top > div > p { font-size: 14px; color: #f7f5efa6; margin-top: 8px; }
.newsletter-form { align-self: center; min-width: 0; }
.newsletter-form label { display: block; font-size: 14px; margin-bottom: 12px; }
.newsletter-form label em { font-size: 16px; }
.newsletter-fields { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid #f7f5ef66; padding-bottom: 12px; }
.newsletter-fields input {
  min-width: 0; flex: 1; max-width: 376px; height: 36px; padding: 0 12px;
  border: 1px solid #f7f5ef80; border-radius: 8px; background: transparent;
  color: var(--paper); font-size: 12px;
}
.newsletter-fields input::placeholder { color: #f7f5efa6; }
.newsletter-fields button {
  height: 36px; padding: 0 24px; border: 0; border-radius: 8px;
  background: var(--orange); color: var(--ink); font-size: 12px; transition: background .2s;
}
.newsletter-fields button:hover { background: #e98812; }
.newsletter-status { margin-top: 8px; color: var(--orange); font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #f7f5ef33; padding-top: 28px; }
.footer-bottom img { width: 22px; height: 31px; object-fit: contain; }
.footer-bottom small { font-size: 10px; color: #f7f5efa6; }
.site-footer :focus-visible { outline-color: var(--orange); }
.collection-dialog {
  position: fixed; width: calc(100% - 48px); max-width: 576px; max-height: calc(100dvh - 48px);
  overflow-y: auto; border: 0; border-radius: 28px; padding: 32px;
  background: var(--paper); color: var(--ink); margin: auto;
}
.collection-dialog::backdrop { background: #00000099; }
.collection-dialog[open] { animation: dialog-enter .25s ease-out; }
.dialog-close { position: absolute; right: 20px; top: 16px; border: 0; background: transparent; color: var(--ink); font-size: 24px; line-height: 1; width: 32px; height: 32px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.collection-dialog .eyebrow { margin-bottom: 16px; padding-right: 32px; }
.collection-dialog > img { width: 100%; height: 256px; border-radius: 12px; object-fit: cover; }
.collection-dialog h2 { font: 400 36px/1.1 "Instrument Serif", Georgia, serif; margin-top: 24px; }
.detail-description { margin-top: 12px; color: var(--muted); }
.collection-dialog .button { margin-top: 24px; border-radius: 12px; font-weight: 400; padding: 12px 24px; }
.error-page { padding-block: 100px 140px; }
.error-page h1 { font-size: clamp(36px, 6vw, 80px); font-weight: 500; line-height: 1.2; letter-spacing: -1px; }
.error-page p { margin-block: 24px; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1024px) { .story h2 { font-size: 52px; } }
@media (min-width: 768px) and (max-width: 1100px) {
  .main-nav { gap: 24px; font-size: 13px; }
  .story { gap: 48px; }
}
@media (max-width: 767px) {
  .wrap { padding-inline: 24px; }
  .main-nav { position: static; transform: none; margin-left: auto; gap: 16px; font-size: 11px; }
  .main-nav a { white-space: normal; line-height: 1.5; }
  .home-main { padding-top: 20px; }
  .hero-caption h1, .hero-caption h2 { font-size: 24px; }
  .intro { margin-top: 40px; padding: 40px 28px; font-size: 16px; }
  .collection { padding-top: 56px; }
  .collection > h2 { font-size: 32px; }
  .collections { flex-direction: column; height: auto; }
  .collection-card { flex: auto; height: 86px; }
  .collection-card.is-expanded { flex: auto; height: 400px; }
  .collection-name { top: 24px; left: 64px; font-size: 30px; writing-mode: horizontal-tb; }
  .collapsed-caption { display: none; }
  .is-expanded .collection-name { font-size: 30px; }
  .collection-image { height: 200px; }
  .story { margin-block: 64px; padding: 48px 28px; grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-block: 56px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .newsletter-fields input { font-size: 16px; }
  .newsletter-fields input::placeholder { font-size: 12px; }
  .collection-dialog { padding: 28px 24px; }
  .collection-dialog > img { height: 220px; }
  .error-page { padding-block: 60px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
