/*
VOICE   warm, dignified, plainspoken: a family dinner, never a charity ad
IDEA    the place card: at this table a seat is already saved for everyone
PICTURE real Sunday photos, with one hand-lettered place card laid on the hero
COLOUR  the logo's own: pot orange and script black, on white and warm sand
TYPE    Hanken Grotesk to speak plainly, Newsreader to tell stories, Caveat on the card
*/

/* ---------- Tokens (change the look here) ---------- */
:root {
  --ink: #231f20;
  --ink-2: #3a332d;
  --muted: #5e554d;
  --paper: #ffffff;
  --sand: #f4ede4;
  --sand-2: #e7dccd;
  --line: #e3d9cc;
  --brand: #fe7211;      /* logo orange: fills and big shapes, with ink text */
  --brand-hover: #e86200;
  --brand-text: #a84a00; /* orange that reads as text on white and sand */
  --on-dark: #f6f1ea;
  --on-dark-2: #d6cbbf;

  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Bradley Hand", cursive;

  --wrap: 1200px;
  --radius: 14px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, blockquote, ul, ol { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 3px; border-radius: 4px; }
.band--ink :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(5vw, 20px); }
.band { padding-block: clamp(64px, 8vw, 112px); }
.band--tight { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px); }
.band--sand { background: var(--sand); }
.band--ink { background: var(--ink); color: var(--on-dark); }
.band--brand { background: var(--brand); color: var(--ink); }
.band--brand :focus-visible { outline-color: var(--ink); }

/* ---------- Type ---------- */
.display { font-size: clamp(46px, 7vw, 92px); font-weight: 800; line-height: 0.96; letter-spacing: -0.04em; }
.display--hero { font-size: clamp(42px, 5.8vw, 80px); }
.display--hero span { display: block; }
.h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.kicker { font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--brand-text); }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.band--ink .lede { color: var(--on-dark-2); }
.prose { font-family: var(--serif); font-size: 20px; line-height: 1.65; color: var(--ink-2); max-width: 34em; }
.prose p + p { margin-top: 1em; }
.quote { font-family: var(--serif); font-size: clamp(27px, 3.4vw, 44px); line-height: 1.28; letter-spacing: -0.01em; max-width: 25em; }
.quote--small { font-size: clamp(22px, 2.4vw, 28px); margin-top: 32px; color: var(--on-dark); }
.textlink { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--brand); }
.textlink:hover { color: var(--brand-text); }
.note { margin-top: 24px; color: var(--muted); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--stack { flex-direction: column; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--brand); color: var(--ink); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.site-header__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 104px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 84px; width: auto; }
@media (max-width: 520px) { .logo img { height: 64px; } }
.logo__mark { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--ink); display: grid; place-items: center; flex: none; }
.logo__mark .icon { width: 26px; height: 26px; }
.logo__text { font-weight: 800; font-size: 19px; line-height: 1.05; letter-spacing: -0.02em; }
.logo__text small { display: block; font-size: 15px; font-weight: 700; color: var(--brand-text); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-weight: 600; text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px var(--brand); }
.nav .btn { min-height: 46px; padding: 0 24px; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px;
    background: none; border: 2px solid var(--ink); border-radius: 999px; font: 700 16px var(--sans); color: var(--ink); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav {
    display: none; position: absolute; top: 100%; left: calc(-1 * max(5vw, 20px)); right: calc(-1 * max(5vw, 20px));
    flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 4px max(5vw, 20px) 24px; box-shadow: 0 24px 40px -24px rgba(27, 23, 20, 0.35);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { box-shadow: none; color: var(--brand-text); }
  .nav .btn { margin-top: 20px; min-height: 54px; }
}

/* ---------- Photos ---------- */
.photo { width: 100%; object-fit: cover; object-position: center 30%; border-radius: var(--radius); background: var(--sand-2); }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--square { aspect-ratio: 1; }
.photo--landscape { aspect-ratio: 3 / 2; }
.photo--empty { display: grid; place-items: center; color: #c5b39d; }
.photo--empty svg { width: 42%; max-width: 200px; height: auto; }

/* ---------- Home: hero + place card ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__media { position: relative; padding: 0 0 32px 32px; }
.placecard {
  position: absolute; left: 0; bottom: 0; min-width: 210px; padding: 22px 28px 16px;
  display: flex; flex-direction: column; background: #fff; border-radius: 6px;
  box-shadow: 0 1px 0 var(--line), 0 22px 44px -20px rgba(27, 23, 20, 0.5);
  transform: rotate(-4deg); animation: settle .9s cubic-bezier(.2, .8, .2, 1) .25s both;
}
.placecard::before { content: ""; position: absolute; left: 14px; right: 14px; top: 12px; border-top: 1px dashed var(--sand-2); }
.placecard__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.placecard__name { font-family: var(--hand); font-size: 46px; line-height: 1; color: var(--brand-text); }
@keyframes settle { from { opacity: 0; transform: translateY(14px) rotate(-11deg); } }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 520px; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.stat { border-top: 2px solid #4a413a; padding-top: 22px; }
.stat__num { font-size: clamp(46px, 6vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.stat__label { margin-top: 10px; color: var(--on-dark-2); }
@media (max-width: 700px) { .stats { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Sections ---------- */
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 44em; }
.mission { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.motto { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 72px); margin-bottom: clamp(16px, 3vw, 40px); }
.motto__part { border-top: 4px solid var(--brand); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.motto__title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.motto__part p { font-size: 19px; color: var(--ink-2); max-width: 30em; }
.motto__foot { width: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.motto__quote { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.page-head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 760px) { .motto { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .motto__foot, .page-head--split { grid-template-columns: minmax(0, 1fr); }
  .motto__foot > .photo, .page-head--split > .photo { max-width: 460px; }
}
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-head .lede { margin-top: 20px; }
.page-head__actions { margin-top: 32px; }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature--flip > :first-child { order: 2; }
.feature--text { align-items: start; }
.feature__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.split__head { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) {
  .feature, .split { grid-template-columns: minmax(0, 1fr); }
  .feature--flip > :first-child { order: 0; }
  .feature > .photo { max-width: 520px; }
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.card { background: var(--paper); border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--muted); }
.card__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--sand); color: var(--brand-text); display: grid; place-items: center; margin-bottom: 6px; }
.card__icon .icon { width: 26px; height: 26px; }
.card__link { margin-top: auto; padding-top: 10px; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.step { border-top: 3px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.step__n { font-weight: 700; color: var(--brand-text); }
.step p { color: var(--muted); }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1px solid #4a413a; border-radius: 999px; font-weight: 600; }

.checklist { list-style: none; padding: 0; display: grid; gap: 14px; font-size: 19px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .icon { flex: none; width: 26px; height: 26px; color: var(--brand-text); margin-top: 1px; }
.checklist--light .icon { color: var(--brand); }

/* ---------- Give ---------- */
.give-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.give-box { background: var(--sand); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.give-box__title { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.give-box__text { color: var(--ink-2); }
.give-box__fine { font-size: 14px; color: var(--muted); }
.embed { background: #fff; border-radius: var(--radius); padding: 8px; }
@media (max-width: 860px) { .give-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Events ---------- */
.events-list { display: grid; gap: 64px; }
.event { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: end; border-top: 6px solid var(--ink); padding-top: 32px; }
.event__copy { display: flex; flex-direction: column; gap: 14px; }
.event__when { font-weight: 700; font-size: 19px; color: var(--brand-text); }
.event__meta { font-weight: 600; }
.event__summary { color: var(--ink-2); max-width: 38em; font-size: 19px; }
.empty { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 40px; background: var(--sand); border-radius: var(--radius); }
@media (max-width: 760px) { .event { grid-template-columns: minmax(0, 1fr); } }

.press { list-style: none; padding: 0; display: grid; gap: 12px; }
.press a { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: #fff; border-radius: var(--radius); text-decoration: none; }
.press__outlet { font-weight: 700; color: var(--brand-text); font-size: 15px; }
.press__title { font-size: 20px; font-weight: 600; }

/* ---------- Closing call to action ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 88px); align-items: center; }
.cta__side { display: flex; flex-direction: column; gap: 20px; font-size: 19px; }
.cta__small { font-size: 15px; color: var(--ink); }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-block: 64px 40px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-name { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.site-footer h2 { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid #3a332d; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: #b8ada2; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

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