/* Azar Kids — black on white, one serif, room to breathe */

:root {
  --ink: #111;
  --ink-soft: #444;
  --ink-faint: #8a8a8a;
  --line: #d9d9d9;
  --paper: #fff;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(6rem, 14vh, 11rem);
  --measure: 34em;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }   /* author rules must never defeat the hidden attribute */
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -.005em; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* type scale */
.h-large { font-size: clamp(2.25rem, 1.6rem + 3.2vw, 4.25rem); font-weight: 300; }
.h-medium { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 400; }
.eyebrow, .section-num, .stage__num, .faq__num {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}
.section-num { margin-bottom: 2.25rem; }
.section-num::after { content: ''; display: block; width: 2.5rem; height: 1px; background: var(--ink); margin-top: 1rem; }

/* layout */
.container { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.container--narrow > * { max-width: 46rem; }   /* one shared left edge; narrow measure inside */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section--statement { text-align: left; }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.25em; }
.prose--lead { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); line-height: 1.45; font-weight: 300; margin-top: 2.5rem; }
.prose--lead p + p { margin-top: 1em; }
.prose--lead + .prose { margin-top: 1.75rem; }
.prose__aside { font-style: italic; }

/* calls to action — outlined, right-angled, unmistakably a button */
.cta {
  display: inline-block;
  margin-top: 3rem;
  font: inherit;
  font-size: 1.05em;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 1em 1.9em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.cta:hover, .cta:focus-visible { background: var(--ink); color: var(--paper); }
.cta--large { font-size: 1.2em; padding: 1.05em 2.4em; }
.cta--button { margin-top: 2.5rem; }

/* WhatsApp — a quiet text link, never a floating bubble */
.whatsapp { margin-top: 1.5rem; font-size: .95em; color: var(--ink-soft); }
.whatsapp__link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); }
.whatsapp__link:hover { border-color: var(--ink); }

/* discreet header: hidden until the hero has scrolled away */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: calc(.9rem + env(safe-area-inset-top, 0px)) var(--gutter) .9rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.site-header.is-visible { transform: none; }
.site-header__logo img { width: 96px; height: auto; }

/* 01 hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(100svh, 60rem); }
.hero__image { position: relative; overflow: hidden; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 12%; }   /* keep the balloon in frame on wide screens */
.hero__panel { display: flex; align-items: center; padding: clamp(3rem, 8vh, 6rem) var(--gutter); }
.hero__inner { width: min(100%, 28rem); margin-inline: auto; }
.hero__logo { display: inline-block; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero__logo img { width: 140px; height: auto; }
.hero__title { font-size: clamp(2.1rem, 1.7rem + 1.6vw, 3.1rem); font-weight: 300; margin: .6rem 0 0; }

.enquiry { margin-top: 2.75rem; }
.steps { display: flex; gap: .45rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.steps li { width: 2.25rem; height: 1px; background: var(--line); transition: background-color .45s var(--ease); }
.steps li.is-done { background: var(--ink-faint); }
.steps li.is-current { background: var(--ink); }
.step__label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.step .field:first-of-type { margin-top: 1.25rem; }
.step__back {
  display: block; margin-top: 1.5rem;
  font: inherit; font-size: .95em; color: var(--ink-soft);
  background: none; border: 0; padding: .25rem 0; cursor: pointer;
}
.step__back span { display: inline-block; margin-right: .3em; transition: transform .35s var(--ease); }
.step__back:hover { color: var(--ink); }
.step__back:hover span { transform: translateX(-.25em); }
.field { position: relative; margin-top: 1.6rem; }
.field label {
  display: block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .35rem;
}
.field input {
  width: 100%;
  font: inherit;
  font-size: 1.05em;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: .35rem 0 .5rem;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus { outline: none; border-color: var(--ink); }
.field input[type="date"], .field input[type="time"] { min-height: 2.6rem; cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator, .field input[type="time"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.field.is-invalid input { border-color: var(--ink); }
.field.is-invalid label::after { content: ' — required'; text-transform: none; letter-spacing: 0; font-style: italic; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }   /* honeypot */
.form__error { margin-top: 1.5rem; font-style: italic; color: var(--ink-soft); }
.enquiry__thanks { margin-top: 2.75rem; max-width: 26rem; }
.enquiry__thanks .h-medium { margin: .5rem 0 1rem; }

/* 02 — words on the left, the superhero on the right */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split__image img { width: 100%; }
.split .h-large { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.3rem); }

/* subpages (neighbourhoods) */
.breadcrumb { font-size: .8rem; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 2rem; }
.breadcrumb a { text-decoration: none; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-hidden] { margin: 0 .4em; }
.hero--sub .hero__inner { width: min(100%, 30rem); }
.sub__lead { margin-top: 1.5rem; font-size: 1.1em; line-height: 1.5; max-width: 30em; }
.hero--sub .cta { margin-top: 2.25rem; }
.notes { margin-top: 2.5rem; max-width: var(--measure); display: grid; gap: 1.1rem; }
.notes li { padding-left: 1.5rem; position: relative; }
.notes li::before { content: ''; position: absolute; left: 0; top: .78em; width: .6rem; height: 1px; background: var(--ink); }
.notes strong { font-weight: 500; }
.textlink { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); }
.textlink:hover { border-color: var(--ink); }

/* party RSVP pages (party/<slug>/) — the invitation, then the card it prints */
.party__logo { width: 110px; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.party__when { margin-top: 1.25rem; font-size: 1.1em; line-height: 1.5; color: var(--ink-soft); }
.rsvp { margin-top: 2.5rem; }
.choice { margin: 2rem 0 0; padding: 0; border: 0; }
.choice legend {
  padding: 0; margin-bottom: .6rem;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
}
.choice__option { display: flex; align-items: center; gap: .8rem; padding: .45rem 0; cursor: pointer; font-size: 1.1em; }
.choice__option input {
  -webkit-appearance: none; appearance: none; margin: 0; flex: none;
  width: 1.05rem; height: 1.05rem; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-content: center; cursor: pointer;
}
.choice__option input::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease); }
.choice__option input:checked::before { transform: scale(1); }
.choice__option input:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.ticket { text-align: center; padding-top: clamp(3rem, 8vh, 6rem); }
.ticket:focus { outline: none; }
.ticket__card {
  width: min(100%, 26rem); margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -18px rgba(0,0,0,.22);
  padding: clamp(.75rem, 2.5vw, 1rem);
  animation: card-in 1s var(--ease) both;
}
.ticket__card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 55% 12%; }
.ticket__text { padding: 1.75rem 1rem 1.25rem; }
.ticket__lead { text-wrap: balance; margin-top: .75rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); line-height: 1.3; font-weight: 300; }
.ticket__when { margin-top: 1rem; color: var(--ink-soft); }
.ticket__again { margin: clamp(2.5rem, 6vh, 3.5rem) auto 0; }
.party__footer { padding: 2.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: .9rem; color: var(--ink-faint); border-top: 1px solid var(--line); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) rotate(-.6deg); } to { opacity: 1; transform: none; } }
@media print {
  .party__footer, .ticket__again, .consent { display: none !important; }
  .ticket__card { box-shadow: none; animation: none; }
}

/* 03 experience — alternating rows, picture a third, text two thirds */
.stages { display: grid; gap: clamp(4rem, 9vh, 7rem); margin-top: 3.5rem; }
.stage { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.stage--flip { grid-template-columns: 2fr 1fr; }
.stage__image img { width: 100%; max-width: 22rem; margin-inline: auto; }
.stage__num { margin-bottom: .9rem; }
.stage .h-medium { margin-bottom: 1rem; }

/* 04 unique */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 3rem;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  line-height: 1.45;
  font-weight: 300;
}

/* 05 gallery — a feed, seen all at once */
.lede { margin-top: 1.5rem; max-width: var(--measure); font-size: 1.1em; font-weight: 300; color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.5rem, 1.2vw, 1.25rem); margin-top: 3.5rem; }
.gallery figure { aspect-ratio: 4 / 5; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.035); }

/* 06 about */
.about {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  grid-template-areas: 'photo head' 'photo text';
  column-gap: clamp(2.5rem, 6vw, 7rem); row-gap: 2.5rem;
}
.about__photo { grid-area: photo; }
.about__head { grid-area: head; align-self: end; }
.about__text { grid-area: text; align-self: start; }
.about__photo img { width: 100%; }

/* 07 faq — block centred on the page */
#questions .container > * { margin-inline: auto; }
#questions .section-num, #questions .h-large { text-align: center; }
#questions .section-num { display: table; }
.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: grid;
  grid-template-columns: 3rem 1fr 1.5rem;
  align-items: baseline;
  gap: .75rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  justify-self: end;
  font-size: 1.3em;
  font-weight: 300;
  line-height: 1;
  transition: transform .4s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.75rem 3.75rem; max-width: var(--measure); color: var(--ink-soft); }

/* 08 final invitation — the reply */
.section--final .container { text-align: center; }
.section--final .container > * { margin-inline: auto; }
.section--final .section-num { display: inline-block; }
.section--final .section-num::after { margin-inline: auto; }
.reply { width: min(100%, 34rem); margin: 1.5rem auto 0; }
.reply img { width: 100%; }
.section--final .cta { margin-top: 2.5rem; }

/* footer — the plain statement of who, what and where */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 7vh, 5rem) 0 calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; color: var(--ink-soft); }
.footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.footer__brand img { width: 100px; margin-bottom: 1.25rem; }
.footer__about { max-width: 30em; line-height: 1.55; }
.footer__address { font-style: normal; margin-top: 1rem; }
.footer__heading { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink); margin-bottom: 1rem; }
.footer__col li + li { margin-top: .45rem; }
.footer__col a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.footer__col a:hover { border-color: var(--ink); }
.footer__bottom { margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; }
.site-footer .whatsapp { margin-top: .45rem; font-size: inherit; }


/* enquiry modal — full page, image left, form right, like a checkout */
.modal {
  position: fixed; inset: 0; z-index: 40; background: var(--paper);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.modal.is-open { opacity: 1; }
.modal__panel { transform: translateY(28px); transition: transform .55s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__image img { transform: scale(1.06); transition: transform 1.2s var(--ease); }
.modal.is-open .modal__image img { transform: none; }
.modal__body > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease) .25s, transform .5s var(--ease) .25s; }
.modal.is-open .modal__body > * { opacity: 1; transform: none; }
.modal__back {
  position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); left: var(--gutter); z-index: 2;
  font: inherit; font-size: 1rem; letter-spacing: .02em;
  background: none; border: 0; cursor: pointer; padding: .4rem 0;
  color: var(--paper); text-shadow: 0 1px 14px rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.modal__back span { display: inline-block; margin-right: .3em; transition: transform .35s var(--ease); }
.modal__back:hover span { transform: translateX(-.25em); }
.modal__backdrop { display: none; }
.modal__panel { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.modal__image { position: relative; }
.modal__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 12%; transform-origin: 50% 30%; }
.modal__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vh, 5rem) var(--gutter); overflow-y: auto; }
.modal__body > *, .modal__body .enquiry, .modal__body .enquiry__thanks { width: min(100%, 28rem); margin-inline: auto; }
.modal__logo { width: 120px; margin-bottom: clamp(1.5rem, 4vh, 3rem); }
.modal__body .h-medium { margin-top: .4rem; }
.modal__body .enquiry { margin-top: 1.75rem; }
.modal__body .cta--button { margin-top: 2.25rem; }
.modal__close {
  position: absolute; top: calc(.75rem + env(safe-area-inset-top, 0px)); right: 1rem; z-index: 2;
  font: inherit; font-size: 2.2rem; line-height: 1; font-weight: 300;
  background: none; border: 0; color: var(--ink); cursor: pointer; padding: .25rem .5rem;
}
body.modal-open { overflow: hidden; }

/* consent — only shown when analytics is configured */
.consent {
  position: fixed;
  left: var(--gutter); right: var(--gutter);
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  max-width: 34rem;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 1.25rem 1.5rem;
  z-index: 30;
  font-size: .95rem;
}
.consent__actions { display: flex; gap: 1.5rem; margin-top: .9rem; }
.consent__btn { font: inherit; background: none; border: 0; border-bottom: 1px solid var(--ink); padding: 0 0 .1em; cursor: pointer; color: inherit; }
.consent__btn--quiet { border-color: transparent; color: var(--ink-soft); }

/* admin (admin/) — private: create a party page, get its link and QR code */
.admin__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: calc(1.25rem + env(safe-area-inset-top, 0px)); }
.admin__logo { width: 110px; height: auto; }
.admin__quiet {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  font: inherit; font-size: .95em; color: var(--ink-soft);
  background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em;
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
.admin__quiet:hover { color: var(--ink); text-decoration-color: var(--ink); }
.admin__quiet:disabled { opacity: .5; cursor: default; }
.admin__login { max-width: 28rem; margin-inline: auto; padding-block: clamp(3.5rem, 12vh, 7rem) 4rem; }
.admin__login .hero__title { margin-bottom: .5rem; }
.admin__main { display: grid; grid-template-columns: 1fr; gap: clamp(4rem, 10vh, 6rem); padding-block: clamp(2.5rem, 7vh, 4.5rem) calc(5rem + env(safe-area-inset-bottom, 0px)); }
.admin__section { min-width: 0; }
.admin__section .h-medium { margin-top: .4rem; }
.admin__section > .h-medium:first-child { margin-top: 0; }
.admin__empty { margin-top: 1.5rem; font-style: italic; color: var(--ink-soft); }
.admin__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.5rem; }
.admin__actions .cta { margin-top: 0; }
.admin__open { display: inline-flex; align-items: center; min-height: 44px; }
.field__hint { margin-top: .45rem; font-size: .9em; font-style: italic; color: var(--ink-soft); }
.field--short input { max-width: 7rem; }
.field[data-error].is-invalid label::after { content: ' — ' attr(data-error); }
.result { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.result:focus { outline: none; }
.result__title { margin-top: .5rem; }
.result__when { margin-top: .75rem; color: var(--ink-soft); }
.share { margin-top: 2rem; }
.share__link { margin-top: .4rem; font-size: 1.1em; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.share .admin__actions { margin-top: 1.25rem; }
.qr { margin-top: 2rem; }
.qr svg { display: block; width: min(100%, 17rem); height: auto; border: 1px solid var(--line); }
.qr__downloads { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin-top: .5rem; }
.celebrations { margin-top: 2rem; border-top: 1px solid var(--line); }
.celebration { border-bottom: 1px solid var(--line); }
.celebration summary {
  display: grid; grid-template-columns: 1fr 1.5rem; align-items: baseline; gap: .75rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
}
.celebration summary::-webkit-details-marker { display: none; }
.celebration summary::after { content: '+'; justify-self: end; font-size: 1.6em; font-weight: 300; line-height: 1; transition: transform .4s var(--ease); }
.celebration[open] summary::after { transform: rotate(45deg); }
.celebration__head { display: grid; gap: .2rem; min-width: 0; }
.celebration__title { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); line-height: 1.25; }
.celebration__meta, .celebration__place { color: var(--ink-soft); }
.celebration__count { font-size: .95em; font-style: italic; color: var(--ink-soft); }
.celebration__body { padding: 0 0 2.5rem; }
.celebration__body .share { margin-top: 0; }
.celebration__place + .share { margin-top: 1.5rem; }
.guests { margin-top: 2.5rem; }
.guests__list { margin-top: .6rem; border-top: 1px solid var(--line); }
.guest { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.guest__name { flex: 1 1 auto; overflow-wrap: anywhere; }
.guest__reply { color: var(--ink-soft); }
@media (min-width: 64rem) {
  .admin__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(4rem, 8vw, 8rem); align-items: start; }
  .admin__main > .admin__section:last-child { padding-top: 1.75rem; }
}

/* reveal on scroll — gentle */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticket__card { animation: none !important; }
  .gallery img, .cta, .modal, .modal__panel, .modal__image img, .modal__body > *, .modal__back span, .steps li, .step__back span { transition: none; }
}

/* tablet */
@media (max-width: 64rem) {
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  /* Mobile reading order: heading first, then the photograph, then the text. */
  .about { grid-template-columns: 1fr; grid-template-areas: 'head' 'photo' 'text'; }
  .about__head { align-self: auto; }
  .about__photo { max-width: 40rem; margin-inline: auto; }
}

/* phone */
@media (max-width: 46rem) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__image { aspect-ratio: 1; }
  .hero__panel { padding-block: 3rem 1.5rem; }
  .hero__logo { margin-bottom: 2rem; }
  .eyebrow { font-size: .7rem; letter-spacing: .15em; }
  .h-large br { display: none; }
  .triptych { grid-template-columns: 1fr; gap: 1.75rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .faq__item summary { grid-template-columns: 2.25rem 1fr 1.25rem; }
  .faq__a { padding-left: 3rem; }
  .cta { margin-top: 2.25rem; }
  .modal { overflow-y: auto; }
  .modal__panel { height: auto; min-height: 100%; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .modal__image { aspect-ratio: 16 / 9; }
  .modal__body { justify-content: flex-start; padding-top: 1.75rem; overflow: visible; }
  .modal__close { color: var(--paper); text-shadow: 0 0 12px rgba(0,0,0,.5); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split__image { max-width: 20rem; margin-inline: auto; }
  .stage, .stage--flip { grid-template-columns: 1fr; gap: 1.5rem; }
  .stage--flip .stage__image { order: -1; }
  .stage__image:empty { display: none; }
  .stage__image img { max-width: 14rem; margin-inline: auto; }
  .footer { grid-template-columns: 1fr; gap: 2.25rem; }
}
