:root {
  color-scheme: light;
  --paper: #f4efe3;
  --ink: #253126;
  --muted: #536050;
  --line: #cdcbb9;
  --lime: #d9ee91;
  --warm: #a14d34;
  --display: Georgia, "Times New Roman", serif;
  --text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--text);
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a04a31; outline-offset: 4px; }
.wrap { width: min(1340px, calc(100% - 120px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 3; inset: .75rem auto auto .75rem;
  padding: .7rem 1rem; background: var(--lime); transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header, .site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.15rem; border-bottom: 1px solid var(--line);
}
.site-header nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.25rem); }
.site-header nav > a:first-child { text-underline-offset: .24em; font-size: .9rem; }
.brand {
  display: inline-flex; align-items: center; gap: .625rem;
  text-decoration: none; line-height: 1.05; font-family: var(--display);
  font-size: clamp(1rem, 1.85vw, 1.4rem); font-weight: 700;
}
.brand small {
  display: block; margin-top: .32rem; font: 700 .59rem/1 var(--text); letter-spacing: .22em;
}
.brand-mark {
  align-self: center; display: block; width: 3rem; height: 3rem;
  flex: none; object-fit: contain;
}
.pill {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  gap: .65rem; border: 1px solid var(--ink); border-radius: 999px; padding: .65rem 1rem;
  font-size: .88rem; font-weight: 700; text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.pill-primary { padding-inline: 1.2rem; background: var(--lime); }
.pill:hover { background: var(--ink); color: var(--paper); }

.hero {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6.5rem);
  align-items: center; min-height: min(700px, calc(100svh - 5rem)); padding-block: 4rem 4.5rem;
}
.hero-copy { animation: arrive .65s cubic-bezier(.2,.75,.2,1) both; }
.eyebrow {
  margin: 0 0 .85rem; font-weight: 750; font-size: .76rem;
  letter-spacing: .15em; line-height: 1.35;
}
.indicator {
  display: inline-block; width: .62rem; height: .62rem; border-radius: 50%;
  margin-right: .45rem; background: var(--warm);
}
h1, h2 { font-family: var(--display); font-weight: 500; line-height: .97; letter-spacing: -.05em; margin: 0; }
h1 { font-size: clamp(3.25rem, 6.85vw, 7.2rem); }
h1 em { font-weight: 500; color: var(--warm); white-space: nowrap; }
.lead {
  max-width: 26rem; margin: 1.6rem 0; font-size: clamp(1rem, 1.65vw, 1.2rem);
  color: var(--muted); line-height: 1.55;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.25rem; }
.text-button {
  background: none; border: 0; min-height: 44px; padding: .4rem .15rem; cursor: pointer;
  font-size: .87rem; font-weight: 700; text-decoration: underline;
  text-underline-offset: .22em;
}
.text-button span { margin-left: .25rem; }
.reel { position: relative; animation: arrive .75s .08s cubic-bezier(.2,.75,.2,1) both; }
.reel-main {
  appearance: none; border: 0; display: block; width: 100%; aspect-ratio: 5 / 4;
  overflow: hidden; padding: 0; cursor: pointer; background: #d9d4c5; position: relative;
  border-radius: 50% 50% .6rem .6rem / 29% 29% .6rem .6rem;
}
.reel-main img, .pick img, .media-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-main img { transition: transform .5s cubic-bezier(.2,.75,.2,1); }
.reel-main:hover img { transform: scale(1.035); }
.cover-caption {
  position: absolute; inset: auto .85rem 1rem; display: flex; gap: 1rem;
  align-items: center; justify-content: space-between; text-align: left;
  background: var(--paper); color: var(--ink); border-radius: .35rem; padding: .65rem .8rem;
  font-size: .88rem; font-weight: 700;
}
.reel-strip { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; margin-top: .75rem; }
.pick {
  padding: 0; overflow: hidden; position: relative; width: clamp(48px, 11%, 74px); aspect-ratio: 1;
  border-radius: .3rem; cursor: pointer; border: 2px solid transparent; background: #d9d4c5;
}
.pick:hover, .pick[aria-pressed="true"] { border-color: var(--ink); }

.collection { padding-block: 1.6rem 4.75rem; border-top: 1px solid var(--line); scroll-margin-top: 1.25rem; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head > p, .invitation p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.5; }
.section-head h2, .invitation h2 { font-size: clamp(2.45rem, 5.2vw, 5rem); }
.media-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.7rem 1rem; }
.media-tile {
  appearance: none; background: transparent; border: 0; text-align: left; cursor: pointer; padding: 0;
  min-width: 0; grid-column: span 4;
}
.media-tile:nth-child(5n + 1), .media-tile:nth-child(5n + 2) { grid-column: span 6; }
.media-frame {
  display: block; width: 100%; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: #d9d4c5; border-radius: .5rem;
}
.media-frame img { transition: transform .4s cubic-bezier(.2,.75,.2,1); }
.media-tile:hover img { transform: scale(1.045); }
.media-tile:focus-visible { border-radius: .5rem; }
.media-label {
  display: flex; justify-content: space-between; gap: .5rem; margin: .55rem .1rem 0;
  font-size: .87rem; font-weight: 670;
}
.media-badge {
  position: absolute; inset: auto .75rem .75rem auto; padding: .45rem .7rem; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: .72rem; font-weight: 730;
}
.media-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink); }
.invitation {
  padding: clamp(1.45rem, 5vw, 3.7rem); background: #e2e6cb; border-radius: .75rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
}
.invitation h2 { margin-bottom: .7rem; }
.site-footer { border: 0; padding-block: 1.7rem; color: var(--muted); font-size: .85rem; }
.site-footer a { text-underline-offset: .2em; }

dialog {
  width: min(1100px, calc(100% - 1.5rem)); max-width: 100%; max-height: calc(100dvh - 1.5rem);
  border: 1px solid #b6b7a677; border-radius: .65rem; background: var(--ink); color: var(--paper);
  padding: 0; overflow: auto;
}
dialog::backdrop { background: #19211be8; }
dialog[open] { animation: arrive .2s ease-out both; }
.viewer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .85rem clamp(.65rem, 3vw, 1.5rem);
}
.viewer-bar p { margin: 0 0 .25rem; color: #dfe0d2; font-size: .75rem; }
.viewer-bar h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.025em; }
.viewer-stage {
  display: grid; place-items: center; background: #161d17; min-height: 10rem;
  margin-inline: clamp(.35rem, 2vw, 1rem); border-radius: .35rem; overflow: hidden;
}
.viewer-stage > img, .viewer-stage > video {
  display: block; width: auto; height: auto; max-width: 100%; max-height: min(68dvh, 760px);
  object-fit: contain;
}
.viewer-button {
  border: 1px solid #e2e4d1; background: transparent; color: var(--paper); border-radius: 50%;
  width: 44px; height: 44px; flex: none; cursor: pointer; font-size: 1.55rem; line-height: 1;
}
.viewer-button:hover { background: var(--lime); color: var(--ink); }
.viewer-button:focus-visible { outline-color: var(--lime); }
.viewer-controls { display: flex; justify-content: center; gap: 1rem; padding: .8rem 1rem; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes frame-reveal {
  from { clip-path: inset(0 0 12% 0 round .35rem); }
  to { clip-path: inset(0 0 0 0 round .35rem); }
}
.viewer-stage > img { animation: frame-reveal .28s ease-out; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 2.2rem; min-height: 0; }
  h1 { font-size: clamp(3.25rem, 6.85vw, 6rem); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 34px); }
  .site-header { gap: .45rem; padding-block: .85rem; }
  .site-header nav { gap: .55rem; }
  .site-header nav > a:first-child { display: none; }
  .site-header .pill { padding-inline: .7rem; font-size: .76rem; }
  .brand { gap: .4rem; }
  .brand-mark { width: 2.4rem; height: 2.4rem; }
  .hero { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 2.3rem 2.55rem; }
  h1 { font-size: clamp(3rem, 13.5vw, 5.5rem); }
  .lead { margin: .95rem 0 1.1rem; }
  .reel-main { aspect-ratio: 5 / 4; }
  .cover-caption { inset: auto .5rem .55rem; }
  .reel-strip { margin-top: .55rem; justify-content: flex-start; }
  .section-head, .invitation { align-items: flex-start; flex-direction: column; }
  .section-head { gap: .7rem; }
  .collection { padding-block: 1.6rem 3rem; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .6rem; }
  .media-tile, .media-tile:nth-child(5n + 1), .media-tile:nth-child(5n + 2) { grid-column: span 1; }
  .media-label { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reel-main:hover img, .media-tile:hover img { transform: none; }
}
