:root {
  --cream: #f3ead6;
  --cream-hot: #faf4e6;
  --paper: #f8f1e3;
  --paper-2: #eadfc8;
  --ink: #1a1410;
  --ink-soft: #564737;
  --ink-faint: #8a7662;
  --wood: #553a27;
  --wood-deep: #22170f;
  --ribbon: #a84336;
  --ribbon-deep: #7c3026;
  --brass: #9a7640;
  --line: #d4c5ae;
  --ok: #35553c;
  --shadow: 0 16px 42px rgba(26, 20, 16, 0.11);
  --stock:
    inset 0 1px 0 rgba(255, 252, 244, 0.92),
    0 12px 30px rgba(26, 20, 16, 0.06);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --page-max: 1080px;
  --page-gutter: clamp(1.15rem, 5.5vw, 4rem);
  --measure: min(var(--page-max), calc(100% - 2 * var(--page-gutter)));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--wood-deep);
  min-height: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 110% 48% at 50% -8%, rgba(255, 248, 232, 0.92), transparent 56%),
    radial-gradient(ellipse 52% 34% at 0% 100%, rgba(85, 58, 39, 0.055), transparent 58%),
    radial-gradient(ellipse 46% 30% at 100% 8%, rgba(154, 118, 64, 0.055), transparent 52%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(86, 71, 55, 0.024) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 13px,
      rgba(86, 71, 55, 0.012) 14px
    );
  position: relative;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 3;
  box-shadow: inset 0 0 88px rgba(34, 23, 15, 0.07);
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--wood); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ribbon-deep); }

::selection {
  background: #d9c4a0;
  color: var(--ink);
}

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ribbon);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--wood-deep);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 80;
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

/* Wood lintel — always on, always 18+ */
.age-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0;
  background-color: var(--wood-deep);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 220, 170, 0.04) 0 12px,
      rgba(0, 0, 0, 0.07) 13px 14px
    ),
    linear-gradient(180deg, rgba(255, 214, 160, 0.11), transparent 46%);
  color: #f3e6d4;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.48rem var(--page-gutter);
  border-bottom: 3px solid var(--ribbon);
}
.age-bar a {
  color: #edc4b4;
  letter-spacing: 0.08em;
}
.age-bar a:hover { color: #fff4ea; }

/* Letterhead, aligned to the same measure as the page */
.site-header {
  padding: 0;
  border: 0;
  background: transparent;
}
.mast {
  width: var(--measure);
  margin: 0 auto;
}
.site-header .mast {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem 1.6rem;
  padding: 1.35rem 0 1.05rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.site-header .mast::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--line);
  opacity: 0.55;
}
.site-header .mast::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 4.75rem;
  height: 3px;
  background: var(--ribbon);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 1px;
  box-shadow: 0 0 0 1px var(--line);
  flex: 0 0 56px;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
.brand small {
  display: block;
  margin-top: 0.22rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}
nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  display: inline-block;
  position: relative;
}
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12rem;
  height: 2px;
  background: var(--ribbon);
}

.wrap {
  width: var(--measure);
  margin: 0 auto;
}

main {
  flex: 1 0 auto;
}

.hero,
.section { padding: 3.15rem 0; }
.hero { padding-top: 2.7rem; }
.section + .section {
  border-top: 1px solid var(--line);
  padding-top: 3.05rem;
}
.atmosphere + .section {
  border-top: 0;
  padding-top: 3.05rem;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.35rem 2.8rem;
  align-items: center;
}
.split { align-items: start; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-shadow: 0 1px 0 rgba(250, 244, 230, 0.55);
}
h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 600;
  margin: 0 0 0.9rem;
}
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.15rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.35rem; }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: 0;
  margin: 0 0 1.1rem;
}
.trust {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

.hero-photo,
.frame {
  width: 100%;
  border-radius: 1px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
  background: var(--paper-2);
}
.hero-photo {
  aspect-ratio: 4 / 3;
  object-position: 50% 55%;
}
.hero-frame {
  margin: 0;
  padding: 0.55rem;
  background: var(--paper);
  background-image: linear-gradient(180deg, var(--cream-hot), var(--paper) 70%);
  border: 1px solid var(--line);
  box-shadow: var(--stock);
}
.hero-frame .hero-photo {
  border: 0;
  box-shadow: none;
  width: 100%;
}
.split .frame {
  aspect-ratio: 4 / 3;
  max-height: none;
  object-position: 50% 50%;
}
main > .frame {
  margin: 1.25rem 0 2rem;
  max-height: none;
  aspect-ratio: 3 / 2;
}

/* Mounted prints and the barn-light plate */
.plate {
  margin: 1.35rem 0 0;
  padding: 0.5rem;
  background: var(--paper);
  background-image: linear-gradient(180deg, var(--cream-hot), var(--paper) 72%);
  border: 1px solid var(--line);
  box-shadow: var(--stock);
}
.plate img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-2);
}
.plate--wide img {
  aspect-ratio: 2.15 / 1;
  object-position: 50% 48%;
}
.plate--spots img {
  aspect-ratio: 3 / 2;
  object-position: 50% 58%;
}
.plate--who {
  margin: 1.35rem 0 1.65rem;
}
.plate--who img {
  aspect-ratio: 3 / 2;
  object-position: 46% 42%;
}
.plate--wear {
  margin: 1.25rem 0 1.15rem;
}
.plate--wear img {
  aspect-ratio: 1;
  object-position: 50% 18%;
  max-height: min(72vh, 34rem);
}
.plate figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink-soft);
  padding: 0.7rem 0.2rem 0.15rem;
  margin: 0;
}

.atmosphere {
  position: relative;
  margin: 0.2rem 0 0;
  padding: 0;
  width: 100%;
  background-color: var(--wood-deep);
  background-image:
    linear-gradient(180deg, rgba(255, 214, 160, 0.1), transparent 44%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 220, 170, 0.04) 0 12px,
      rgba(0, 0, 0, 0.07) 13px 14px
    );
  border-top: 3px solid var(--ribbon);
  border-bottom: 1px solid #3a281c;
}
.atmosphere::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 16px 34px rgba(0, 0, 0, 0.22);
}
.atmosphere img {
  display: block;
  width: 100%;
  height: min(68vh, 580px);
  object-fit: cover;
  object-position: 50% 40%;
}

/* Quiet week of object stills (kept if a strip is reused) */
.day-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  list-style: none;
  margin: 1.15rem 0 1.45rem;
  padding: 0;
}
.day-strip li { margin: 0; }
.day-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 42% 50%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: var(--stock);
}

/* Tracker: each day is a stamp you press, not a caption under a strip */
.day-path {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 1.15rem 0 1.55rem;
}
.day-path button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  box-shadow: var(--stock);
  overflow: hidden;
  min-height: 2.6rem;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}
.day-path img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 42% 50%;
  background: var(--paper-2);
}
.day-path span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.42rem 0.2rem 0.48rem;
  color: var(--ink-soft);
  background: var(--cream-hot);
}
.day-path button.is-on {
  border-color: var(--wood);
  box-shadow: 0 0 0 2px var(--ribbon);
}
.day-path button.is-on span {
  background: var(--wood);
  color: var(--paper);
}
.day-path button:focus-visible {
  outline-offset: 2px;
}

.day-stage {
  margin: 0;
  padding: 0.5rem;
  background: var(--paper);
  background-image: linear-gradient(180deg, var(--cream-hot), var(--paper) 72%);
  border: 1px solid var(--line);
  box-shadow: var(--stock);
}
.day-stage .frame {
  border: 0;
  box-shadow: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-position: 40% 50%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  align-items: center;
  margin: 1.5rem 0 0.85rem;
}

.btn {
  display: inline-block;
  background: var(--ribbon);
  color: var(--cream-hot);
  text-decoration: none;
  padding: 0.82rem 1.35rem;
  border-radius: 1px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 248, 240, 0.18);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.btn { color: var(--cream-hot); }
.btn:hover,
a.btn:hover {
  background: var(--ribbon-deep);
  color: var(--cream-hot);
  filter: none;
}
.btn-ghost {
  background: transparent;
  color: var(--wood);
  border: 1px solid var(--wood);
  box-shadow: none;
  padding: 0.82rem 1.35rem;
}
a.btn-ghost,
.btn-ghost { color: var(--wood); }
.btn-ghost:hover,
a.btn-ghost:hover {
  background: var(--wood);
  color: var(--paper);
  border-color: var(--wood);
}
.text-link {
  color: var(--wood);
  font-weight: 600;
}

.days {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0 0 1.45rem;
  list-style: none;
  counter-reset: none;
}
.days li {
  list-style: none;
  margin: 0;
}
.day-card {
  display: grid;
  grid-template-columns: 6.85rem minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background-color: var(--paper);
  background-image: linear-gradient(180deg, var(--cream-hot), var(--paper) 48%);
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 0;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--stock);
  min-height: 6.85rem;
}
a.day-card,
a.day-card:hover { color: var(--ink); }
.day-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ribbon);
  opacity: 0.9;
  z-index: 1;
}
.day-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 42% 50%;
  background: var(--paper-2);
}
.day-card span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.8rem 1rem 0.8rem 1.15rem;
  font-size: 1.02rem;
  line-height: 1.45;
}
.day-card strong {
  font-family: var(--serif);
  font-weight: 600;
  display: inline;
}

.obj-grid,
.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}
.obj-card {
  background-color: var(--paper);
  background-image: linear-gradient(180deg, var(--cream-hot), var(--paper) 42%);
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 0 0 1.15rem;
  overflow: hidden;
  box-shadow: var(--stock);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.obj-card img {
  border-radius: 0;
  margin: 0 0 0.95rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}
.obj-card h3,
.obj-card p { padding: 0 1.1rem; margin-top: 0; }
.obj-card p { color: var(--ink-soft); margin-bottom: 0; }

.resume {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 1.4rem 1.6rem;
  align-items: start;
  background-color: var(--paper);
  background-image: linear-gradient(180deg, var(--cream-hot), var(--paper) 36%);
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 1.15rem;
  box-shadow: var(--stock);
}
.resume img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 38% 42%;
  border-radius: 1px;
  border: 1px solid var(--line);
}
.resume .lede { margin-bottom: 0.9rem; }
.resume dl { margin: 0; }
.resume dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 600;
}
.resume dd { margin: 0 0 0.75rem; }
.ink-soft { color: var(--ink-soft); font-weight: 400; }

.timeline {
  padding-left: 1.35rem;
  border-left: 2px solid var(--line);
  margin: 0 0 1.8rem;
}
.timeline li { margin: 0 0 0.85rem; }

.site-footer {
  margin-top: auto;
  padding: 0 0 0.35rem;
  border-top: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  background: transparent;
}
.site-footer .mast {
  padding: 2.15rem 0 2.35rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.site-footer .mast::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 4.75rem;
  height: 3px;
  background: var(--ribbon);
}
.site-footer .mast::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 1px;
  background: var(--line);
  opacity: 0.55;
}
.colophon {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.site-footer nav { margin-bottom: 0.75rem; }
.site-footer nav ul { justify-content: flex-start; gap: 0.15rem 1.05rem; }
.site-footer nav a { font-size: 0.9rem; }
.site-footer p { margin: 0.35rem 0 0; max-width: 42rem; }

.gate {
  position: fixed;
  inset: 0;
  background: rgba(34, 23, 15, 0.82);
  display: none;
  place-items: center;
  z-index: 50;
  padding: 1.5rem;
}
.gate.is-open { display: grid; }
.gate-card {
  width: min(520px, 100%);
  background-color: var(--paper);
  background-image: linear-gradient(180deg, var(--cream-hot), var(--paper) 40%);
  padding: 1.7rem 1.6rem 1.5rem;
  border-radius: 1px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ribbon);
  position: relative;
}
.gate-card::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  opacity: 0.5;
}
.gate-card h2 { margin-top: 0; }
.gate-card p { color: var(--ink-soft); }

label {
  display: block;
  font-weight: 600;
  margin: 0.95rem 0 0.3rem;
  letter-spacing: 0.01em;
}
input,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-bottom-color: var(--wood);
  border-radius: 1px;
  background: var(--cream-hot);
  color: var(--ink);
  caret-color: var(--ink);
}
input::placeholder,
textarea::placeholder { color: var(--ink-faint); }
input:focus,
textarea:focus {
  border-color: var(--wood);
  box-shadow: 0 0 0 3px rgba(85, 58, 39, 0.14);
}
textarea { min-height: 140px; }
textarea.note {
  min-height: 200px;
  line-height: 1.7;
  background-image: repeating-linear-gradient(
    var(--cream-hot) 0,
    var(--cream-hot) 1.7em,
    rgba(212, 197, 174, 0.8) 1.7em,
    rgba(212, 197, 174, 0.8) calc(1.7em + 1px)
  );
  background-attachment: local;
}
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
}
.check input { width: auto; margin-top: 0.35rem; }

form { max-width: 34rem; }

.tracker-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.5rem;
}
.tracker-nav button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.78rem;
  border-radius: 1px;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  min-height: 2.6rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tracker-nav button:hover { border-color: var(--wood); }
.tracker-nav button.is-on {
  background: var(--wood);
  color: var(--paper);
  border-color: var(--wood);
}

.summary {
  white-space: pre-wrap;
  background-color: var(--paper);
  background-image: linear-gradient(180deg, var(--cream-hot), var(--paper) 48%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ribbon);
  padding: 1.05rem 1.15rem;
  border-radius: 1px;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  box-shadow: var(--stock);
}
.status { color: var(--ok); min-height: 1.4em; }
.status:has(+ form) { color: var(--ribbon-deep); }

main ul:not(.days):not(.day-strip):not(.day-path) {
  padding-left: 1.15rem;
}
main ul:not(.days):not(.day-strip):not(.day-path) li { margin: 0.4rem 0; }

@media (hover: hover) and (pointer: fine) {
  .obj-card:hover,
  a.day-card:hover {
    border-color: var(--brass);
    box-shadow: var(--shadow);
  }
  .day-strip img,
  .day-path img,
  .day-card img {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }
  .day-strip li:hover img,
  .day-path button:hover img,
  a.day-card:hover img {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(26, 20, 16, 0.12);
  }
  .day-path button:hover { border-color: var(--wood); }
  .hero-frame .hero-photo,
  .plate img,
  .frame,
  .obj-card img,
  .day-stage .frame {
    transition: filter 0.28s ease;
  }
  .hero-frame:hover .hero-photo,
  .plate:hover img,
  .obj-card:hover img,
  .day-stage:hover .frame {
    filter: brightness(1.03);
  }
}

@media (max-width: 800px) {
  .hero-grid,
  .split,
  .obj-grid,
  .resume { grid-template-columns: 1fr; }
  .site-header .mast {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 0 0.9rem;
  }
  nav ul { justify-content: flex-start; gap: 0.1rem 0.85rem; }
  nav a { padding: 0.45rem 0.1rem; }
  .hero, .section { padding: 2.25rem 0; }
  .hero { padding-top: 1.9rem; }
  .section + .section,
  .atmosphere + .section { padding-top: 2.15rem; }
  .resume img { max-width: 18rem; }
  .split .frame,
  main > .frame { max-height: none; }
  .age-bar { letter-spacing: 0.06em; font-size: 0.7rem; }
  .atmosphere img {
    height: min(46vh, 340px);
    object-position: 50% 36%;
  }
  .plate--wide img { aspect-ratio: 16 / 9; }
  .hero-frame,
  .day-stage { padding: 0.4rem; }
  .day-card {
    grid-template-columns: 5.6rem minmax(0, 1fr);
    min-height: 5.6rem;
  }
  .day-card span { padding: 0.7rem 0.85rem 0.7rem 0.95rem; font-size: 0.98rem; }
  .plate--who img { aspect-ratio: 4 / 3; object-position: 42% 40%; }
  .plate--wear img {
    aspect-ratio: 1;
    max-height: min(58vh, 26rem);
    object-position: 50% 16%;
  }
  .day-strip,
  .day-path {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    margin-right: calc(var(--page-gutter) * -1);
    padding-right: var(--page-gutter);
  }
  .day-strip li,
  .day-path button {
    flex: 0 0 5.15rem;
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  :root { --page-gutter: 1.05rem; }
  .brand img { width: 48px; height: 48px; flex-basis: 48px; }
  .btn, .btn-ghost { width: 100%; text-align: center; }
  .actions .text-link { padding: 0.2rem 0; }
  .tracker-nav button { flex: 1 1 calc(25% - 0.4rem); }
  .day-strip li,
  .day-path button { flex-basis: 4.7rem; }
  .day-card {
    grid-template-columns: 4.85rem minmax(0, 1fr);
    min-height: 4.85rem;
  }
  .day-card span { font-size: 0.95rem; padding: 0.6rem 0.75rem 0.6rem 0.85rem; }
  .atmosphere img { height: min(40vh, 280px); }
  .plate--wear img { max-height: min(52vh, 22rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  html, body { background: #fff; }
  body::before { display: none; }
  .age-bar,
  .site-header nav,
  .gate,
  .actions,
  .tracker-nav { display: none !important; }
  .hero-photo, .frame, .obj-card img, .resume img,
  .plate, .hero-frame, .day-stage, .day-strip img, .day-path img, .day-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  .atmosphere { background: #fff; border: 0; }
  .atmosphere::after { display: none; }
  .atmosphere img { height: auto; max-height: 12rem; }
  .day-strip,
  .day-path { overflow: visible; }
  h1, h2, h3 { text-shadow: none; }
  a { color: #000; }
}
