@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT@9..144,300..600,50..100&display=swap');

:root {
  --paper: #f5f0e7;
  --cream: #fff8ec;
  --ink: #292a22;
  --muted: #6f6d61;
  --moss: #344034;
  --clay: #7f3528;
  --rust: #a84f35;
  --gold: #d69a58;
  --line: #d8cfc0;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 4.5rem; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body, input, textarea, button { font-family: var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { line-height: 1.7; }
::selection { color: var(--cream); background: var(--clay); }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .75rem 1rem; transform: translateY(-180%); background: var(--cream); color: var(--ink); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; z-index: 5; top: 0; left: 0; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1.25rem var(--gutter); color: var(--cream); }
.wordmark { text-decoration: none; font: 500 1.15rem var(--display); }
.site-header nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.4rem); }
.site-header nav a { text-decoration: none; font-size: .78rem; font-weight: 600; }
.nav-share { padding: .65rem 1rem; border: 1px solid color-mix(in srgb, var(--cream) 55%, transparent); border-radius: 100px; }
.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--cream); background: #273126; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-scale 1.8s var(--ease) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,24,20,.82) 0%, rgba(18,24,20,.48) 35%, rgba(18,24,20,.04) 75%), linear-gradient(0deg, rgba(18,20,16,.42), transparent 45%); }
.hero-content { position: relative; z-index: 1; display: flex; min-height: 100svh; width: min(55rem, 100%); flex-direction: column; justify-content: center; padding: 7rem var(--gutter) 6rem; }
.hero-kicker, .kicker { margin: 0 0 1rem; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 8em; margin: 0; font: 400 clamp(5rem, 13vw, 11rem)/.74 var(--display); letter-spacing: -.055em; animation: hero-rise 1s .15s var(--ease) both; }
.dates { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2.5rem 0 0; font: 500 clamp(.85rem, 1.5vw, 1rem) var(--body); letter-spacing: .04em; animation: hero-rise .9s .35s var(--ease) both; }
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: 2.2rem; display: flex; gap: 1rem; text-decoration: none; font-size: .75rem; font-weight: 700; }
.scroll-cue span { transition: transform .25s; }
.scroll-cue:hover span { transform: translateY(.25rem); }
.success-banner { padding: 1.1rem var(--gutter); color: var(--cream); background: var(--moss); text-align: center; }
.story-section { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(6rem, 12vw, 11rem) var(--gutter); overflow: hidden; }
.story-heading { grid-column: 1 / -1; }
.story-heading h2 { max-width: 9em; margin: 0; font: 400 clamp(3.6rem, 8.5vw, 8rem)/.92 var(--display); letter-spacing: -.045em; }
.story-copy { grid-column: 1 / -1; max-width: 42rem; }
.story-copy .lead { font: 400 clamp(1.45rem, 3vw, 2.1rem)/1.45 var(--display); }
.story-copy p:not(.lead) { color: var(--muted); }
.story-photo { margin: 2rem 0 0; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo figcaption { margin-top: .75rem; color: var(--muted); font-size: .75rem; }
.photo-one { grid-column: 1 / 9; aspect-ratio: 4 / 5; }
.photo-two { grid-column: 8 / -1; align-self: end; aspect-ratio: 3 / 4; transform: translateY(10%); }
.quote-section { padding: clamp(7rem, 15vw, 14rem) var(--gutter); color: var(--cream); background: var(--moss); text-align: center; }
.quote-section p { max-width: 20em; margin: 0 auto 2rem; font: 300 clamp(2.5rem, 6vw, 5.5rem)/1.18 var(--display); }
.quote-section span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.site-footer { display: grid; gap: 1rem; padding: 3rem var(--gutter); color: var(--cream); background: #24251f; text-align: center; }
.site-footer p { margin: 0; color: #aaa99f; font-size: .78rem; }
.reveal { opacity: 0; transform: translateY(2.25rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-scale { from { transform: scale(1.05); opacity: .65; } to { transform: scale(1); opacity: 1; } }
@keyframes hero-rise { from { transform: translateY(2rem); opacity: 0; } to { transform: none; opacity: 1; } }

.moderation-page { background: var(--paper); }
.moderation-shell { width: min(54rem, calc(100% - 2.5rem)); margin: auto; padding: clamp(3rem, 8vw, 7rem) 0; }
.moderation-shell h1 { margin: .5rem 0 2rem; font: 400 clamp(2.5rem, 7vw, 5rem)/1 var(--display); }
.moderation-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.status { padding: .45rem .75rem; border-radius: 100px; background: #e4dbcb; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.status-approved { color: #22462c; background: #cee1cf; }
.status-rejected { color: #7b2f24; background: #efd1ca; }
.moderation-message { padding: 1rem; border-left: 3px solid var(--moss); background: #e9e4d9; }
.moderation-shell dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; color: var(--muted); }
.moderation-shell dt { font-weight: 700; }
.moderation-shell dd { margin: 0; }
.moderation-story { margin: 3rem 0; padding-block: 2rem; border-block: 1px solid var(--line); font: 400 1.25rem/1.7 var(--body); }
.moderation-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .75rem; margin-bottom: 2rem; }
.moderation-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.moderation-shell form { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.moderation-shell button, .moderation-shell form a { border: 0; border-radius: 100px; padding: .9rem 1.2rem; text-decoration: none; font-weight: 700; cursor: pointer; }
.moderation-shell .approve { color: white; background: var(--moss); }
.moderation-shell .reject { color: var(--clay); background: #eadbd3; }

@media (min-width: 750px) {
  .story-heading { grid-column: 1 / 8; }
  .story-copy { grid-column: 8 / -1; padding-top: 10vw; }
  .photo-one { grid-column: 2 / 7; }
  .photo-two { grid-column: 8 / 12; }
  .site-footer { grid-template-columns: 1fr 1fr 1fr; text-align: left; }
  .site-footer p:nth-child(2) { text-align: center; }
  .site-footer p:last-child { text-align: right; }
}
@media (max-width: 620px) {
  .site-header nav a:not(.nav-share) { display: none; }
  .hero-content { justify-content: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(20,25,20,.85), rgba(20,25,20,.02) 75%); }
  .photo-one { grid-column: 1 / 10; }
  .photo-two { grid-column: 7 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
