@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --ink: #24372f;
  --muted: #64665c;
  --rust: #9c5338;
  --line: #dcdcd0;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
::selection { background: #e9d8c9; color: var(--ink); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; touch-action: manipulation; }
a:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
a:hover { color: var(--rust); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure { margin: 0; }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: white; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 24px; }
.wordmark img { width: 32px; height: 32px; border-radius: 25%; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 32px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: 14px; transition: color 160ms ease; }
.hero { padding-block: 63px 64px; text-align: center; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 24px; }
h1 { font-family: var(--serif); font-size: clamp(56px, 6.4vw, 88px); font-weight: 400; line-height: 1.06; }
h1 em { color: var(--rust); font-weight: 400; }
.hero-description { margin-top: 25px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 29px; }
/* Availability labels have no link or button behavior until store URLs exist. */
.store-badge { display: flex; align-items: center; gap: 13px; min-height: 61px; width: 183px; padding: 10px 17px; background: var(--ink); color: var(--paper); border-radius: 9px; text-align: left; }
.store-badge svg { flex: 0 0 24px; }
.store-badge small { display: block; font-size: 12px; line-height: 1.3; }
.store-name { display: block; font-size: 20px; line-height: 1.25; }
.collection { max-width: 1080px; padding-bottom: 68px; }
.collection-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.collection-heading span:first-child { letter-spacing: .13em; text-transform: uppercase; }
.portrait-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: start; gap: 24px; }
.portrait { min-width: 0; }
.portrait--side { padding-top: 35px; }
.artwork { padding: 12px; background: #fdfbf6; border: 1px solid #e4e1d7; box-shadow: 0 8px 22px -17px #423a303d; }
.artwork img { width: 100%; aspect-ratio: 1; object-fit: contain; }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 2px 0; }
figcaption h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; }
figcaption p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.portrait-index { color: var(--rust); font-size: 12px; font-variant-numeric: tabular-nums; }
.how-it-works { display: grid; grid-template-columns: .85fr 3fr; align-items: start; gap: 48px; padding-block: 38px 44px; border-top: 1px solid var(--line); }
.section-note { font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.section-note em { color: var(--rust); }
.how-it-works ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0; margin: 0; list-style: none; }
.how-it-works li { display: flex; align-items: baseline; gap: 13px; }
.step-number { color: var(--rust); font-size: 12px; }
.how-it-works h2 { font-size: 15px; font-weight: 400; margin-bottom: 7px; }
.how-it-works li p { color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 24ch; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 98px; border-top: 1px solid var(--line); color: var(--muted); }
.copyright { font-size: 13px; }
.site-footer nav { gap: 8px 25px; }
.site-footer nav a { font-size: 13px; }

@media (min-width: 1600px) { .hero { padding-top: 80px; } }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { padding-block: 52px; }
  .portrait-grid { gap: 16px; }
  .artwork { padding: 8px; }
  figcaption h2 { font-size: 19px; }
  .portrait-index { display: none; }
  .how-it-works { grid-template-columns: 1fr; gap: 28px; }
  .section-note br { display: none; }
  .how-it-works ol { gap: 24px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 84px; gap: 16px; }
  .wordmark { font-size: 23px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 13px; }
  .site-header nav a:first-child { display: none; }
  .hero { padding-block: 43px 40px; }
  .eyebrow { font-size: 12px; margin-bottom: 24px; }
  h1 { font-size: clamp(40px, 9.7vw, 58px); line-height: 1.1; }
  .hero-description { max-width: 30ch; margin: 23px auto 0; font-size: 16px; }
  .desktop-break { display: none; }
  .store-badges { gap: 10px; margin-top: 25px; }
  .store-badge { width: 159px; gap: 10px; padding: 10px 13px; }
  .store-name { font-size: 18px; }
  .store-badge small { font-size: 12px; }
  .collection { padding-bottom: 40px; }
  .collection-heading { justify-content: center; margin-bottom: 21px; }
  .collection-heading span:last-child { display: none; }
  .portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; }
  .portrait--main { grid-column: 1 / -1; grid-row: 1; width: min(100%, 400px); margin-inline: auto; }
  .portrait--side { padding-top: 0; }
  .portrait--main .artwork { padding: 14px; }
  .portrait--main figcaption h2 { font-size: 25px; }
  figcaption { padding-top: 12px; }
  figcaption h2 { font-size: 20px; }
  figcaption p { font-size: 12px; }
  .how-it-works { padding-block: 31px; }
  .section-note { font-size: 28px; }
  .how-it-works ol { grid-template-columns: 1fr; gap: 23px; }
  .how-it-works li { gap: 18px; }
  .how-it-works h2 { font-size: 16px; margin-bottom: 3px; }
  .how-it-works li p { max-width: none; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 23px; }
  .site-footer nav { gap: 0 20px; }
}
@media (max-width: 374px) {
  .store-badge { width: 100%; max-width: 220px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
