/*
 * Parkland — parkland.cool
 *
 * The design has two shapes and one rule about colour:
 *
 *   arch   999px 999px 20px 20px   every photograph, every "Everything" card,
 *                                  both wordmark marks
 *   14px                           anything interactive or labelling
 *   20px                           panels
 *   999px                          call-to-action buttons and dots, nothing else
 *
 * Corduroy is only ever a button, cobalt is only ever a link or a live date.
 * Neither is used as a surface, so gold always means "click this". There are no
 * shadows and no coloured borders anywhere — shapes are defined by fill against
 * their band, and the only strokes are neutral hairlines.
 */

/* ---------------------------------------------------------------- tokens -- */

:root {
  --daylight: #f3f0e9;
  --card: #faf8f3;
  --ink: #17171b;
  --cobalt: #3a31d8;
  --citron: #e5d013;
  --corduroy: #ce882c;
  --corduroy-hover: #b87722;
  --palm: #4e7b3c;
  --walnut: #7a4a2c;
  --iris: #714daa;
  --orchid: #ccaccc;
  --sprout: #c4e0a0;
  --oak: #ccb27a;

  --on-dark: rgba(243, 240, 233, 0.86);
  --on-dark-quiet: rgba(243, 240, 233, 0.82);
  --on-dark-caption: rgba(243, 240, 233, 0.85);
  --hairline-dark: rgba(243, 240, 233, 0.26);
  --on-light: rgba(23, 23, 27, 0.82);
  --hairline-light: rgba(23, 23, 27, 0.25);

  --arch: 999px 999px 20px 20px;
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 28px);
  --arc-height: clamp(48px, 7vw, 88px);

  --display: Fraunces, Georgia, serif;
  --wonk: "SOFT" 100, "WONK" 1;
  --sans: "DM Sans", system-ui, sans-serif;
}

/* ------------------------------------------------------------------ base -- */

* {
  box-sizing: border-box;
}

/* Any class here that sets `display` outranks the browser's own `[hidden]`
 * rule, which would leave hidden panels on screen. Say it once, loudly. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--daylight);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cobalt);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--walnut);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Dark bands need a light focus ring to stay visible against the fill. */
.band--dark :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--daylight);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--daylight);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
}

/* --------------------------------------------------------------- shells --- */

.section {
  padding: 24px var(--gutter) clamp(56px, 8vw, 92px);
}

.section--tall {
  padding-bottom: clamp(60px, 8vw, 96px);
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
}

/* A shallow arc sits between every section: the outgoing colour is the parent,
 * the incoming colour rises into it. Because the arc carries the top of the
 * next section, each section's own top padding drops to 24px. */
.arc {
  position: relative;
  height: var(--arc-height);
}

.arc > span {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.band--daylight { background: var(--daylight); }
.band--cobalt { background: var(--cobalt); }
.band--orchid { background: var(--orchid); }
.band--walnut { background: var(--walnut); }
.band--palm { background: var(--palm); }
.band--iris { background: var(--iris); }

.band--dark {
  color: var(--daylight);
}

/* ------------------------------------------------------------ type roles -- */

.h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.04;
  text-align: center;
  margin: 0 auto 40px;
}

.h2--wide {
  font-size: clamp(30px, 3.4vw, 44px);
}

.h2--park {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.03;
  margin-bottom: 0;
}

/* Inside .prose the gap handles the spacing, so the heading drops its margin. */
.h2--flush {
  margin-bottom: 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  text-decoration: none;
  color: inherit;
}

.wordmark__mark {
  display: block;
  width: 24px;
  height: 30px;
  border-radius: 999px 999px 5px 5px;
  background: var(--cobalt);
}

.wordmark__text {
  display: flex;
  align-items: center;
  height: 30px;
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- motion -- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sections start hidden and are revealed by IntersectionObserver. The
 * .js class is set by the script, so with JavaScript off everything is
 * simply visible rather than permanently blank. */
.js .reveal {
  opacity: 0;
}

.js .reveal.is-visible {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* ------------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
}

.nav__bar {
  background: var(--citron);
}

.nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.nav__wordmark {
  margin-right: auto;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px 0 14px;
  border-radius: 14px;
  background: var(--daylight);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s;
}

.pill:hover {
  background: #ffffff;
  color: var(--ink);
}

.pill--cta {
  padding: 0 18px 0 20px;
  border-radius: 999px;
  background: var(--corduroy);
}

.pill--cta:hover {
  background: var(--corduroy-hover);
}

/* The dome is an inverted radial mask, so every band scrolls under a curve and
 * no straight edge is ever visible below the bar. */
.nav__dome {
  height: 44px;
  background: var(--citron);
  -webkit-mask-image: radial-gradient(50% 100% at 50% 100%, transparent 100%, #000 100%);
  mask-image: radial-gradient(50% 100% at 50% 100%, transparent 100%, #000 100%);
}

/* --------------------------------------------------------------- buttons -- */

.cta {
  display: block;
  text-align: center;
  background: var(--corduroy);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 34px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
}

.cta:hover {
  background: var(--corduroy-hover);
  color: var(--ink);
}

.cta--panel {
  font-size: 13px;
  padding: 16px;
}

.cta--form {
  font-size: 13px;
  padding: 18px;
}

.cta[disabled] {
  cursor: progress;
  opacity: 0.75;
}

/* ------------------------------------------------------------------ hero -- */

.hero__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 56px) var(--gutter) clamp(60px, 8vw, 96px);
  display: grid;
  /* min() guards the track floor: without it a 320px phone gets a 300px column
   * it cannot fit and the whole page scrolls sideways. */
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.hero__title {
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 0.98;
}

.hero__title em {
  font-style: normal;
  color: var(--cobalt);
}

.hero__body {
  margin-top: 24px;
  font-size: 19px;
  max-width: 46ch;
  color: var(--on-light);
}

.hero__cta {
  margin-top: 36px;
}

.hero__photo {
  height: 100%;
  min-height: clamp(320px, 46vw, 520px);
}

/* --------------------------------------------------------------- gallery -- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 22px;
}

.shot {
  all: unset;
  display: block;
  cursor: pointer;
}

.shot__caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  /* Fixed height so every photo's bottom edge lines up across rows. The
   * captions are written to fit three lines at the narrowest column. */
  height: 66px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  color: var(--on-dark-caption);
}

.shot .arch {
  transition: transform 0.18s ease;
}

.shot:hover .arch,
.shot:focus-visible .arch {
  transform: translateY(-5px) rotate(-0.6deg);
}

/* An arch is a photo frame. Until real photography lands it carries a diagonal
 * stripe fill and a chip naming the shot; swapping in an <img> is all that
 * changes. */
.arch {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  border-radius: var(--arch);
  background-image: repeating-linear-gradient(135deg, var(--tint-a) 0 12px, var(--tint-b) 12px 24px);
}

.arch > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch--photo {
  aspect-ratio: 3 / 4;
}

.chip {
  position: relative;
  border-radius: 14px;
  padding: 7px 10px;
  background: rgba(243, 240, 233, 0.93);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* Placeholder tints. Only orchid, palm, walnut, sprout, oak and neutral stones
 * appear as surfaces — never corduroy or cobalt. */
[data-tint="orchid"] { --tint-a: #ccaccc; --tint-b: #d9bfd9; }
[data-tint="palm"] { --tint-a: #4e7b3c; --tint-b: #5c8c48; }
[data-tint="oak"] { --tint-a: #ccb27a; --tint-b: #dcc694; }
[data-tint="walnut"] { --tint-a: #7a4a2c; --tint-b: #8e5a38; }
[data-tint="sprout"] { --tint-a: #c4e0a0; --tint-b: #d3e9b7; }
[data-tint="stone"] { --tint-a: #dad3c4; --tint-b: #e9e4d9; }
[data-tint="stone-mid"] { --tint-a: #b4a992; --tint-b: #c3baa6; }
[data-tint="stone-warm"] { --tint-a: #c8c1b0; --tint-b: #d9d3c6; }

/* -------------------------------------------------------------- lightbox -- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 32px;
  background: rgba(23, 23, 27, 0.94);
}

.lightbox__arch {
  width: min(420px, 72vw);
  aspect-ratio: 3 / 4;
  padding: 18px;
}

/* Fixed row height so the photo never shifts between slides. Above 700px the
 * caption is one line; below, it wraps inside the same row. */
.lightbox__caption-row {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 74px;
}

.lightbox__caption {
  max-width: 92vw;
  overflow: hidden;
  color: var(--daylight);
  font-size: clamp(12px, 1.3vw, 17px);
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .lightbox__caption {
    white-space: normal;
  }
}

.lightbox__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.lightbox__button {
  padding: 11px 20px;
  border: 2px solid rgba(243, 240, 233, 0.6);
  border-radius: 999px;
  background: none;
  color: var(--daylight);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox__button--close {
  padding: 13px 22px;
  border: none;
  background: var(--corduroy);
  color: var(--ink);
  transition: background 0.15s;
}

.lightbox__button--close:hover {
  background: var(--corduroy-hover);
}

.lightbox__counter {
  color: rgba(243, 240, 233, 0.6);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------- layout -- */

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 44px);
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  text-align: center;
}

.prose p {
  font-size: 17px;
  color: var(--on-light);
}

.band--dark .prose p {
  color: var(--on-dark);
}

.floorplan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #ccb27a 0 14px, #dcc694 14px 28px);
}

.floorplan > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floorplan .chip {
  background: rgba(243, 240, 233, 0.94);
  letter-spacing: 0.12em;
  padding: 9px 12px;
}

/* ----------------------------------------------------------- everything --- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 26px;
  border-radius: var(--arch);
  background: var(--daylight);
  color: var(--ink);
  text-align: center;
}

.card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
}

.card__title {
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.card__list li {
  position: relative;
  padding-left: 17px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(23, 23, 27, 0.85);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cobalt);
}

/* Each badge holds one small geometric glyph — no icon font, no SVG sprite. */
.glyph {
  display: block;
}

.glyph--dot { width: 20px; height: 20px; border-radius: 999px; }
.glyph--dome { width: 24px; height: 12px; border-radius: 12px 12px 2px 2px; }
.glyph--arch { width: 18px; height: 22px; border-radius: 999px 999px 3px 3px; }
.glyph--slab { width: 22px; height: 16px; border-radius: 3px; }
.glyph--ring { width: 20px; height: 20px; border-radius: 999px; border: 5px solid var(--palm); }
.glyph--diamond { width: 20px; height: 20px; border-radius: 4px; transform: rotate(45deg); }
.glyph--bar { width: 26px; height: 10px; border-radius: 999px; }
.glyph--outline-arch { width: 22px; height: 22px; border: 5px solid var(--cobalt); border-radius: 999px 999px 3px 3px; }

/* ------------------------------------------------------------------- map -- */

/* The map is its own band: the same 88px arc curve is masked into the top and
 * bottom of the frame, and the section behind it is split walnut/palm so the
 * exposed corners match the bands above and below. */
.mapband {
  padding: 0;
  background: linear-gradient(to bottom, #7a4a2c 0 50%, #4e7b3c 50% 100%);
}

.mapband__frame {
  position: relative;
  width: 100%;
  height: clamp(460px, 58vw, 680px);
  -webkit-mask-image: radial-gradient(50% 88px at 50% 88px, #000 99.5%, transparent 100%),
    linear-gradient(#000, #000), radial-gradient(50% 88px at 50% 0, #000 99.5%, transparent 100%);
  -webkit-mask-size: 100% 88px, 100% calc(100% - 176px), 100% 88px;
  -webkit-mask-position: top center, center, bottom center;
  -webkit-mask-repeat: no-repeat;
  mask-image: radial-gradient(50% 88px at 50% 88px, #000 99.5%, transparent 100%),
    linear-gradient(#000, #000), radial-gradient(50% 88px at 50% 0, #000 99.5%, transparent 100%);
  mask-size: 100% 88px, 100% calc(100% - 176px), 100% 88px;
  mask-position: top center, center, bottom center;
  mask-repeat: no-repeat;
}

.mapband__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mapband__link {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

/* ------------------------------------------------------------------ area -- */

.walklist {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
}

.walklist__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.walklist__place {
  font-size: 17px;
}

.walklist__time {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.25;
  color: var(--orchid);
  text-align: right;
  white-space: nowrap;
}

/* ----------------------------------------------------------------- dates -- */

.dates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: 20px;
  background: var(--cobalt);
  color: var(--daylight);
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar__step {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(243, 240, 233, 0.45);
  border-radius: 999px;
  background: none;
  color: var(--daylight);
  font-size: 16px;
  cursor: pointer;
}

.calendar__step[disabled] {
  opacity: 0.35;
  cursor: default;
}

.calendar__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar__daynames {
  margin-bottom: 8px;
}

.calendar__daynames p {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  color: rgba(243, 240, 233, 0.7);
}

.calendar__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
}

.calendar__cell--open {
  background: var(--daylight);
  color: var(--ink);
  font-weight: 700;
}

.calendar__cell--peak {
  background: var(--orchid);
  color: var(--ink);
  font-weight: 700;
}

.calendar__cell--booked {
  background: rgba(243, 240, 233, 0.18);
  color: rgba(243, 240, 233, 0.55);
  text-decoration: line-through;
}

.calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calendar__legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.swatch--standard { background: var(--daylight); }
.swatch--peak { background: var(--orchid); }
.swatch--booked { background: rgba(243, 240, 233, 0.28); }

.rate__line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.rate__figure {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
}

.rate__figure--peak {
  font-size: 32px;
  color: var(--orchid);
}

.rate__unit {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rate__note {
  font-size: 14px;
  line-height: 1.45;
  color: var(--on-dark-quiet);
}

.rate__note--gap {
  margin-bottom: 14px;
}

.rate__rule {
  height: 1px;
  margin: 18px 0;
  background: rgba(243, 240, 233, 0.28);
}

.rate__fees {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  font-size: 15px;
}

.rate__fee {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rate__fee dd {
  margin: 0;
  font-weight: 500;
}

.rate__deposit {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(243, 240, 233, 0.78);
}

.rate__cta {
  margin-top: 18px;
}

/* ------------------------------------------------------------------- faq -- */

.faq {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.faq__item {
  border-bottom: 1px solid var(--hairline-dark);
}

.faq__trigger {
  all: unset;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  cursor: pointer;
}

.faq__question {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.25;
}

.faq__glyph {
  flex-shrink: 0;
  display: block;
  font-size: 26px;
  line-height: 1;
  color: var(--citron);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.faq__trigger[aria-expanded="true"] .faq__glyph {
  transform: rotate(135deg);
}

.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.faq__body > div {
  overflow: hidden;
}

.faq__body p {
  max-width: 62ch;
  padding-bottom: 24px;
  font-size: 17px;
  color: var(--on-dark);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq__item.is-open .faq__body {
  grid-template-rows: 1fr;
}

.faq__item.is-open .faq__body p {
  opacity: 1;
}

/* --------------------------------------------------------------- contact -- */

/* Two equal columns, matching every other two-column section on the page:
 * Name and Email sit side by side and the rest span both. Explicit rather than
 * auto-fit, which at this width resolves to three columns and leaves a hole. */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 20px;
  background: var(--card);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--wide,
.form > .cta,
.form > .form__note,
.form > .form__status {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 23, 27, 0.65);
}

.field input,
.field textarea {
  padding: 13px 15px;
  border: 1.5px solid var(--hairline-light);
  border-radius: 14px;
  background: var(--daylight);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}

.field textarea {
  resize: vertical;
}

/* Honeypot: off-screen and out of the tab order, so only a bot fills it. */
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note {
  margin-top: 4px;
  font-size: 16px;
  text-align: center;
  color: rgba(23, 23, 27, 0.75);
}

.form__status {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.form__status:empty {
  display: none;
}

.form__status--error {
  color: #8c2f16;
}

/* Below this the two halves are too narrow to type in comfortably. */
@media (max-width: 560px) {
  .form {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- footer -- */

.footer {
  padding: 24px var(--gutter) 40px;
  background: var(--walnut);
  color: var(--daylight);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  max-width: var(--shell);
  margin: 0 auto;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__wordmark {
  justify-content: center;
}

.footer .wordmark__mark {
  background: var(--sprout);
}

.footer__address {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 240, 233, 0.72);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__links a {
  color: rgba(243, 240, 233, 0.88);
}

.footer__links a:hover {
  color: var(--citron);
}

.footer__fine {
  max-width: var(--shell);
  margin: 34px auto 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(243, 240, 233, 0.5);
}

/* --------------------------------------------------------------- reduced -- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  .js .reveal.is-visible {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
  }
}
