/* Just Us Girls, Tlaquepaque Village, Sedona.
   One stylesheet. Colors come from the shop itself: the sign, the ivy,
   the Talavera stairs, the sycamores, the love locks. */

/* ---------------------------------------------------------------- fonts */

@font-face {
  font-family: "Gloock";
  src: url("/assets/fonts/gloock-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/libre-franklin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("/assets/fonts/kalam-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --page: #F2F1EC;        /* whitewash, from the painted beams */
  --paper: #FFFEFA;       /* print borders */
  --ink: #1F1D19;         /* the sign's letters */
  --ink-2: #56524A;
  --orange: #C8491E;      /* the sign */
  --orange-ink: #A63B16;  /* orange text on the page */
  --cobalt: #2C4170;      /* the Talavera stairs */
  --ivy: #2F3B22;
  --ivy-2: #56683A;
  --sycamore: #D6CFB6;
  --brass: #B48C55;       /* the love locks */
  --brass-ink: #7A5A2A;
  --turquoise: #1D8A8F;

  --font-display: "Gloock", Georgia, "Times New Roman", serif;
  --font-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;

  --wrap: 1240px;
  --gutter: max(16px, 4vw);
  --section: clamp(64px, 9vw, 128px);
  --shadow-print:
    0 1px 1px rgb(45 32 20 / 0.12),
    0 10px 18px -10px rgb(45 32 20 / 0.45),
    0 26px 40px -26px rgb(45 32 20 / 0.4);
}

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

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

img, svg, picture { display: block; max-width: 100%; height: auto; }

/* components set display on their own elements, so hidden must always win */
[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.25rem, 2.3rem + 3.6vw, 4.9rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 1.55rem + 1.8vw, 3rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem); line-height: 1.15; }

p, ul, ol, dl, dd, figure, address { margin: 0; }
address { font-style: normal; }

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* running text stays under 65 characters */
.measure { max-width: 34em; }

/* Los Poblanos-style stitching: two dotted lines */
.rule {
  height: 6px;
  margin: 0;
  border: 0;
  border-top: 2px dotted var(--sycamore);
  border-bottom: 2px dotted var(--sycamore);
}

/* ---------------------------------------------------------------- utility bar */

.utility {
  border-bottom: 1px solid var(--sycamore);
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.utility__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.utility__where { display: none; }
@media (min-width: 720px) {
  .utility__where { display: block; }
}
.utility__phone {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.utility__phone:hover { color: var(--orange-ink); }

/* open-now line: dot plus words; the words carry the meaning */
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 500;
}
.status [data-status-text] { text-wrap: balance; }
.status .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sycamore);
}
.status[data-state="open"] .dot {
  background: var(--turquoise);
  box-shadow: 0 0 0 3px rgb(29 138 143 / 0.2);
}
.status[data-state="before"] .dot,
.status[data-state="after"] .dot,
.status[data-state="closed"] .dot { background: #9A958A; }

/* ---------------------------------------------------------------- header */

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 18px 10px;
}
.brand {
  display: inline-flex;
  color: var(--ink);
}
.brand .wordmark { width: clamp(214px, 26vw, 300px); }

.nav {
  display: flex;
  flex-wrap: wrap; /* with large text settings on a small phone, "Visit" drops to a second line */
  gap: 4px clamp(14px, 4vw, 34px);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav a {
  padding-block: 6px 3px;
  border-bottom: 1.5px solid transparent;
  color: var(--ink);
  text-decoration: none;
}
.nav a:hover { border-bottom-color: var(--sycamore); color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); }

@media (max-width: 719px) {
  .site-header__row {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 14px 4px;
  }
}

/* ---------------------------------------------------------------- buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 2px;
  background: var(--orange);
  color: #fff;
  font: 600 0.9375rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #B23F18; color: #fff; }
.btn:active { translate: 0 1px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
/* for a pair of equal choices, where an orange button would pick a favorite */
.btn--line {
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn--line:hover { background: var(--ink); color: var(--paper); }

.tel { white-space: nowrap; } /* keeps a phone number on one line without special hyphens */

.text-link {
  color: var(--cobalt);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 400;
}

/* ---------------------------------------------------------------- prints */

.print {
  position: relative;
  padding: 11px 11px 36px;
  background: var(--paper);
  box-shadow: var(--shadow-print);
  rotate: var(--tilt, 0deg);
}
.print img { width: 100%; height: auto; }
.print figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  overflow: hidden;
  color: #3A3129;
  font: 400 1.05rem/1.1 var(--font-hand);
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 719px) {
  .print { padding: 8px 8px 30px; }
  .print figcaption { left: 10px; right: 10px; bottom: 6px; font-size: 0.95rem; }
}
@media (max-width: 419px) {
  .print figcaption { font-size: 0.84rem; } /* smaller prints, smaller handwriting */
}
@media (max-width: 359px) { /* the narrowest phones: collection captions wrap onto a deeper border */
  .cluster .print { padding-bottom: 48px; }
  .cluster .print figcaption { line-height: 1.05; white-space: normal; }
}

.sticker {
  position: absolute;
  top: -12px;
  right: -14px;
  z-index: 2;
  padding: 6px 11px 4px;
  background: var(--cobalt);
  color: #fff;
  font: 400 1.05rem/1.1 var(--font-hand);
  white-space: nowrap;
  rotate: 7deg;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.18);
}

/* ---------------------------------------------------------------- facts still waiting on Shea */

mark.todo {
  padding: 0 1px;
  border-bottom: 1.5px dashed var(--orange);
  background: none;
  color: var(--orange-ink);
  font-style: italic;
}

/* ---------------------------------------------------------------- hours list */

.hours { display: grid; gap: 2px; }
.hours__row { display: flex; flex-wrap: wrap; gap: 0 12px; }
.hours dt { font-weight: 500; }

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

/* sections carry their own bottom padding; the rocks' clear sky gives the rest of the gap */
.site-footer { margin-top: 0; }
.site-footer__rocks {
  width: 100%;
  height: auto;
  margin-bottom: -2px; /* no hairline between the rocks' base and the ivy */
}
.site-footer__body {
  padding-block: 44px 28px;
  background: var(--ivy);
  color: #ECEAE2;
}
.site-footer a { color: #F3E9D2; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--paper); } /* the cobalt ring disappears on ivy */
.site-footer mark.todo { border-bottom-color: #F4C7A3; color: #F4C7A3; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 859px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__sign { width: min(100%, 320px); }
.footer__note {
  margin-top: 14px;
  color: #D9D5C6;
  font: 400 1.15rem/1.3 var(--font-hand);
}
.footer__col { display: grid; gap: 12px; }
.footer__heading {
  color: #E6C08E;
  font: 400 1.4rem/1.1 var(--font-hand);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 6px;
}
.footer__small {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  color: #C9C6B8;
  font-size: 0.8125rem;
}

/* ---------------------------------------------------------------- shared page pieces */

.section { padding-block: var(--section); }

.ornament { width: 64px; height: 64px; }

/* ---------------------------------------------------------------- home: hero */

.hero {
  padding-block: clamp(20px, 3vw, 40px) clamp(48px, 6vw, 88px);
  overflow-x: clip; /* the wash bleeds past the gutter on phones; never let it scroll the page */
}
.hero__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
}
.hero__copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}
.hero__sub {
  display: block;
  max-width: 26em;
  margin-top: 18px;
  color: var(--ink);
  font: 500 clamp(1.05rem, 1rem + 0.3vw, 1.2rem)/1.4 var(--font-body);
  letter-spacing: 0;
}
.hero__lede { max-width: 30em; color: var(--ink-2); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.hero__aside {
  max-width: 17em;
  margin-top: 6px;
  color: var(--orange-ink);
  font-size: 1.3rem;
  line-height: 1.25;
  rotate: -2deg;
}
@media (max-width: 999px) {
  .hero__aside { display: none; }
}

/* the table the prints lie on; positions come from the approved comp */
.table { position: relative; }
.table__wash {
  position: absolute;
  top: -7%;
  left: -9%;
  width: 118%;
  max-width: none;
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  z-index: -1; /* the wash is opaque (flattened onto the page color), so it stays under all text */
}
.hero__table {
  width: min(100%, 700px);
  justify-self: center;
  aspect-ratio: 698 / 560;
}
.hero__table .print { position: absolute; }
.print--main { top: 5.4%; left: 17.2%; z-index: 2; width: 71.6%; }
.print--left { top: 44.6%; left: 0; z-index: 3; width: 31.8%; }
.print--right { top: 37.5%; right: -1.4%; z-index: 3; width: 32.7%; }
.print--left .sticker { top: -16px; right: -26px; }

@media (max-width: 719px) {
  .hero__table { aspect-ratio: 354 / 470; }
  .print--main { top: 1.7%; left: 16.4%; width: 70.6%; }
  .print--left { top: 55.7%; left: -1.1%; width: 42.4%; }
  .print--right { top: 50.2%; right: -1.1%; width: 42.4%; }
  .print--left .sticker { top: -14px; right: -10px; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .print { animation: settle 0.9s cubic-bezier(0.2, 0.8, 0.25, 1) both; }
  .hero .print--left { animation-delay: 0.12s; }
  .hero .print--right { animation-delay: 0.24s; }
}
@keyframes settle {
  from { translate: 0 -18px; scale: 1.04; }
  to { translate: 0 0; scale: 1; }
}

/* ---------------------------------------------------------------- home: facts strip */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  border-block: 2px dotted var(--sycamore);
}
.facts li {
  padding: 18px 16px;
  text-align: center;
  font: 400 clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem)/1.25 var(--font-display);
  text-wrap: balance;
}
.facts li + li { border-left: 2px dotted var(--sycamore); }
@media (max-width: 719px) {
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 2px dotted var(--sycamore); }
}

/* ---------------------------------------------------------------- home: about */

.about__grid {
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.about__copy {
  display: grid;
  gap: 18px;
  max-width: 34em;
}
.about__copy .ornament { margin-bottom: -8px; }
.about__print { width: min(100%, 380px); justify-self: center; }

/* ---------------------------------------------------------------- home: collections */

.collections__head {
  display: grid;
  gap: 14px;
  max-width: 34em;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.collections__head p { color: var(--ink-2); }
.collections__grid {
  display: grid;
  gap: clamp(56px, 7vw, 88px) clamp(36px, 6vw, 80px);
}
@media (min-width: 720px) {
  .collections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cluster:nth-child(even) { margin-top: 80px; } /* staggered, like prints dropped on a table */
}
.cluster {
  display: grid;
  gap: 12px;
  align-content: start;
}
.cluster__prints { position: relative; margin-bottom: 14px; }
.cluster__prints--pair { padding-right: 16%; margin-bottom: 40px; }
.cluster__second {
  position: absolute;
  right: 0;
  bottom: -30px;
  z-index: 2;
  width: 42%;
}
@media (min-width: 720px) and (max-width: 899px) { /* two narrow columns: give the small print room for its caption */
  .cluster__second { width: 50%; }
  .cluster figcaption { font-size: 0.84rem; }
}
.cluster h3 { margin-top: 10px; }
.cluster p { max-width: 32em; color: var(--ink-2); }

/* ---------------------------------------------------------------- home: love-locks band */

.band--locks {
  padding-block: var(--section);
  background: #EAE0CB;
}
.band__grid {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) {
  .band__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.band__print { width: min(100%, 320px); justify-self: center; }
.band__copy {
  display: grid;
  gap: 16px;
  justify-items: start;
  max-width: 32em;
}

/* ---------------------------------------------------------------- find us, and the map */

.find-us__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
@media (min-width: 900px) {
  .find-us__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.find-us__copy {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 30em;
}
.find-us__copy .btn { margin-top: 8px; }

.map {
  border: 6px solid var(--ivy);
  background: #F7F6F1;
  box-shadow: var(--shadow-print);
}
.map__art { position: relative; } /* the overlay covers the painting only, never the caption */
.map--route { width: min(100%, 460px); justify-self: center; }
.map--village { width: min(100%, 760px); }
@media (max-width: 719px) { .map--wide-only { display: none; } }
@media (min-width: 720px) { .map--narrow-only { display: none; } }
.map img { width: 100%; height: auto; }
.map__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.map__label {
  fill: var(--ink);
  font-family: var(--font-hand);
  font-size: 24px;
  paint-order: stroke;
  stroke: #F7F6F1;
  stroke-width: 6px;
  stroke-linejoin: round;
}
.map__label--minor { fill: var(--ink-2); font-size: 20px; }
.map__label--lane { fill: var(--ink-2); font-size: 21px; }
.map__label--shop { fill: var(--orange-ink); font-size: 34px; }
.map__label--start { fill: var(--orange-ink); }
.map__label--brass { fill: var(--brass-ink); }
.map__route {
  stroke: var(--orange);
  stroke-width: 4.5;
  stroke-dasharray: 10 8;
  stroke-linecap: round;
}
.map__reveal { stroke-dasharray: 1; stroke-dashoffset: 0; }
/* site.js adds .will-draw (never under reduced motion), then .is-drawn once the map is in view */
.map.will-draw .map__reveal { stroke-dashoffset: 1; }
.map.will-draw.is-drawn .map__reveal {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.6s ease-in-out;
}
.map__start { fill: var(--orange); }
.map__heart { fill: var(--orange); stroke: var(--paper); stroke-width: 1.5; }
.map__lock path { stroke: #8A6A3A; stroke-width: 2.2; }
.map__lock rect { fill: var(--brass); stroke: #8A6A3A; stroke-width: 1.2; }
.map__north path { fill: var(--ink); }
.map__north text { fill: var(--ink); font-family: var(--font-hand); font-size: 22px; }
.map__caption {
  padding: 10px 12px 12px;
  background: var(--ivy);
  color: #ECEAE2;
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------- inner page hero */

.page-hero { padding-block: clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px); }
.page-hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.page-hero__copy {
  display: grid;
  gap: 20px;
  max-width: 32em;
}
.page-hero__lede { color: var(--ink-2); font-size: 1.125em; }
.page-hero__prints {
  position: relative;
  width: min(100%, 560px);
  justify-self: center;
  padding: 0 14% 22% 0;
}
.page-hero__main { width: 100%; }
.page-hero__second {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 54%;
}

/* ---------------------------------------------------------------- love locks: steps */

.how h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.steps {
  display: grid;
  gap: 32px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
}
.steps li {
  display: grid;
  gap: 8px;
  align-content: start;
  counter-increment: step;
  color: var(--ink-2);
}
.steps li::before {
  content: counter(step);
  color: var(--orange);
  font: 400 3.4rem/1 var(--font-display);
}
.steps strong {
  display: block;
  color: var(--ink);
  font: 400 1.5rem/1.15 var(--font-display);
}

/* ---------------------------------------------------------------- love locks: engraving preview */

.engrave { background: var(--paper); border-block: 2px dotted var(--sycamore); }
.engrave__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 720px) {
  .engrave__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.engrave__intro {
  display: grid;
  gap: 12px;
  max-width: 30em;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.engrave__intro p { color: var(--ink-2); }
.engrave__form { display: grid; gap: 18px; max-width: 30em; }
.engrave__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.engrave__status { min-height: 1.6em; font-weight: 500; }
.engrave__after { display: grid; gap: 10px; justify-items: start; }
.engrave__real { color: var(--orange-ink); font-size: 1.5rem; }
.engrave__lock { width: min(100%, 360px); justify-self: center; }
/* on phones the lock sits above the inputs, so it stays in view while typing */
@media (max-width: 719px) {
  .engrave__lock { order: -1; width: min(60%, 200px); }
}
.lock__shackle {
  transform: translateY(-26px);
  transition: transform 220ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.engrave.is-locked .lock__shackle { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lock__shackle { transition: none; }
}

/* form fields, shared by the engraving tool and the contact form */
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field__optional { color: var(--ink-2); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--ink-2);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.4 var(--font-body);
}
.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--cobalt);
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
}
.field input[readonly] { background: #F7F3EA; }
.field__count { color: var(--ink-2); font-size: 0.8125rem; }

.text-button {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--cobalt);
  font: 600 0.9375rem/1.2 var(--font-body);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* ---------------------------------------------------------------- love locks: who it's for, questions */

.who__inner {
  display: grid;
  gap: 16px;
  max-width: 40em;
}
.who__inner p { color: var(--ink-2); font-size: 1.125em; }

.questions h2 { margin-bottom: 24px; }
.qa {
  max-width: 46em;
  border-top: 2px dotted var(--sycamore);
}
.qa details {
  padding-block: 16px;
  border-bottom: 2px dotted var(--sycamore);
}
.qa summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 400 1.25rem/1.3 var(--font-display);
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  flex: none;
  color: var(--orange);
  font: 600 1.4rem/1 var(--font-body);
}
.qa details[open] summary::after { content: "\2212"; }
.qa details p { margin-top: 10px; color: var(--ink-2); }

/* ---------------------------------------------------------------- visit band */

.visit-band {
  padding-block: 26px;
  border-block: 2px dotted var(--sycamore);
  background: var(--paper);
}
.visit-band__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}
.visit-band__where { color: var(--ink-2); }

/* ---------------------------------------------------------------- visit: hours, phone, address */

.page-hero__prints--single { width: min(80%, 400px); padding: 0; }

.visit-info {
  padding-block: clamp(40px, 6vw, 64px);
  border-block: 2px dotted var(--sycamore);
  background: var(--paper);
}
.visit-info__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .visit-info__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
}
.visit-info__block {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: start;
}
.visit-info h2 { font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.1rem); }
.visit-info__phone {
  color: var(--ink);
  font: 400 1.75rem/1.2 var(--font-display);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.visit-info__note { color: var(--ink-2); font-size: 0.9375rem; }
.visit-info__maps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------------------------------------------------------------- visit: directions and map */

.directions-section__grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 900px) {
  .directions-section__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .directions-section__copy { position: sticky; top: 32px; } /* stays beside the tall map */
}
.directions-section h2 { margin-bottom: 28px; }
.directions {
  display: grid;
  gap: 22px;
  max-width: 30em;
  padding: 0;
  list-style: none;
  counter-reset: direction;
}
.directions li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 12px;
  counter-increment: direction;
}
.directions li::before {
  content: counter(direction);
  color: var(--orange);
  font: 400 2.75rem/0.85 var(--font-display);
}

/* ---------------------------------------------------------------- visit: getting here */

.getting-here {
  border-block: 2px dotted var(--sycamore);
  background: var(--paper);
}
.getting-here__head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.getting-here__grid {
  display: grid;
  gap: 22px 56px;
  max-width: 64rem;
}
@media (min-width: 900px) {
  .getting-here__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.getting-here__grid p { color: var(--ink-2); }
.getting-here__grid strong { color: var(--ink); }

/* ---------------------------------------------------------------- visit: contact form */

.contact-section__grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-section__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.contact-section__copy { display: grid; gap: 14px; max-width: 26em; }
.contact-section__copy p { color: var(--ink-2); font-size: 1.125em; }
.contact,
.contact__thanks {
  width: min(100%, 36em);
  padding: clamp(20px, 4vw, 36px);
  background: var(--paper);
  box-shadow: var(--shadow-print);
}
.contact { display: grid; gap: 20px; }
/* Turnstile's widget needs 300px. On the narrowest phones the card runs edge to edge so it fits. */
@media (max-width: 371px) {
  .contact,
  .contact__thanks {
    width: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: min(var(--gutter), calc((100vw - 300px) / 2));
  }
}
.contact .btn { justify-self: start; }
.contact__status { min-height: 1.6em; font-weight: 500; }
.contact__status:empty { min-height: 0; }
.contact__thanks { display: grid; gap: 10px; }
.contact__thanks h3 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); }
.contact__thanks:focus { outline: none; }
.contact__thanks:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; }
.field__error { color: var(--orange-ink); font-size: 0.9375rem; font-weight: 500; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--orange-ink);
  box-shadow: inset 0 0 0 1px var(--orange-ink);
}
.field textarea { min-height: 9.5em; resize: vertical; }
/* The honeypot is display: none rather than off-screen: browsers autofill a visible field
   named "company", which would silently drop a real person's message. */
.hp { display: none; }

/* ---------------------------------------------------------------- long-form text: policies, future posts */

.policy-page { padding-block: clamp(20px, 3vw, 40px) var(--section); }
.policy-page h1 { margin-bottom: clamp(24px, 4vw, 40px); }
.prose { max-width: 65ch; }
.prose :is(p, ul, ol, table, blockquote, figure) { margin-block: 0 1em; }
.prose :is(h2, h3) {
  margin-block: 1.6em 0.5em;
  font-family: var(--font-display);
  font-weight: 400;
}
.prose h2 { font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem); }
.prose h3 { font-size: 1.3rem; }
.prose :is(ul, ol) { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--cobalt); text-underline-offset: 3px; }
.prose blockquote {
  padding-left: 1em;
  border-left: 3px solid var(--cobalt);
  color: var(--ink-2);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose :is(th, td) {
  padding: 8px 10px;
  border-bottom: 1px solid var(--sycamore);
  text-align: left;
  vertical-align: top;
}
.prose th { border-bottom-width: 2px; }
.prose img {
  padding: 8px 8px 24px;
  background: var(--paper);
  box-shadow: var(--shadow-print);
}

/* ---------------------------------------------------------------- 404 */

.notfound { padding-block: clamp(20px, 3vw, 40px) var(--section); }
.notfound__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .notfound__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.notfound__copy { display: grid; gap: 20px; max-width: 32em; }
.notfound h1 { font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem); line-height: 1.02; }
.notfound__lede { color: var(--ink-2); font-size: 1.125em; }
.notfound__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
/* the sign as a print on the table, with two ornaments set down beside it */
.notfound__table {
  position: relative;
  width: min(100%, 480px);
  justify-self: center;
  padding: 26px 22px;
}
.notfound__sign { width: 100%; }
.notfound__leaf { position: absolute; top: -6px; left: -4px; z-index: 2; rotate: -16deg; }
.notfound__rosette { position: absolute; right: -2px; bottom: 2px; z-index: 2; rotate: 12deg; }
.page-404 .footer__sign { display: none; } /* the page already shows the sign */
