/* Stinky Prints
   The 2026 site, tidied: the same blue header with the mountain logo, black hero, service cards, story and blue
   call to action, on one spacing scale and one type scale.
   The colour rule: green words never sit on blue. Green (--green) is the action colour on white and on black. On blue,
   text and buttons are black (--ink), because white on this blue is too faint to read (2.8:1). Blue text on
   white uses the deeper --blue-deep for the same reason. The one exception is the client's: the button in the
   closing blue band is green with black words. */

/* Montserrat (variable, latin), from Fontsource (SIL Open Font License). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/montserrat-latin-wght-italic.woff2") format("woff2"); }

:root {
  --blue: #31a4dd;
  --blue-deep: #15719f;   /* blue for text on white */
  --blue-50: #edf6fc;
  --green: #a4dd31;
  --green-light: #b9e85a;
  --ink: #111417;
  --black: #080808;
  --charcoal: #1b1e22;    /* the bar under the header, a touch lighter than the hero below it */
  --text: #3f4552;
  --muted: #626a78;
  --line: #e1e5ea;
  --tint: #f4f6f8;
  --on-blue: #0b2433;     /* running text on blue */

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(56px, 7vw, 96px);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 20, 23, .04), 0 10px 28px -14px rgba(17, 20, 23, .18);
  --header: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .subbar :focus-visible, .footer :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.s-tint { background: var(--tint); }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: clamp(28px, 4vw, 48px); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--text); max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 8px 24px;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding-inline: 30px; font-size: 1rem; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: var(--green-light); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #fff; color: var(--ink); }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: #fff; color: var(--ink); }

/* Header: the blue bar stays at the top of the window and casts a soft shadow on the page that scrolls under it. */
.header { position: sticky; top: 0; z-index: 50; background: var(--blue); box-shadow: 0 1px 0 rgba(8, 8, 8, .1), 0 8px 24px -6px rgba(8, 8, 8, .28); }
.header__in { position: relative; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); height: var(--header); }
.brand { align-self: flex-end; flex: none; display: block; }
.brand img { display: block; width: auto; height: calc(var(--header) - 10px); }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); }
.nav a { padding-block: 6px; border-bottom: 2px solid transparent; color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: border-color .18s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.header__cta { flex: none; }

.menu { display: none; margin-left: auto; }
.menu summary { display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px; border-radius: var(--radius-sm); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu__icon { position: relative; display: block; width: 24px; height: 18px; }
.menu__icon::before, .menu__icon::after, .menu__icon i { content: ""; position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.menu__icon::before { top: 0; }
.menu__icon i { top: 50%; margin-top: -1.25px; }
.menu__icon::after { bottom: 0; }
.menu[open] .menu__icon::before { transform: translateY(7.75px) rotate(45deg); }
.menu[open] .menu__icon i { opacity: 0; }
.menu[open] .menu__icon::after { transform: translateY(-7.75px) rotate(-45deg); }
.menu__panel {
  position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
  max-height: calc(100vh - var(--header)); max-height: calc(100dvh - var(--header)); overflow-y: auto;
  display: grid; gap: 20px; padding: 12px var(--gutter) 28px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(17, 20, 23, .35);
}
.menu__nav { display: grid; }
.menu__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.menu__nav a[aria-current="page"] { color: var(--blue-deep); }
.menu__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; color: var(--text); }
.menu__links a { text-decoration: none; }
.menu__links a:hover { text-decoration: underline; }

.subbar { background: var(--charcoal); color: #fff; font-size: .875rem; }
.subbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; }
.subbar__places, .subbar__links { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.subbar__place { display: flex; align-items: center; gap: 8px; }
.subbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.subbar svg { width: 18px; height: 18px; flex: none; }
.subbar__city { font-weight: 700; }
.subbar__phone { font-weight: 400; }
.subbar__places svg { color: var(--blue); }
.subbar__places a:hover { color: var(--blue); }
.subbar__social { padding: 4px; opacity: .9; }
.subbar__social:hover { opacity: 1; color: var(--blue); }
.subbar__review { padding: 6px 14px; border-radius: 8px; background: var(--blue); color: var(--ink); font-weight: 700; font-size: .8125rem; transition: background-color .18s var(--ease); }
.subbar__review svg { width: 14px; height: 14px; }
.subbar__review:hover { background: #fff; }

/* Hero */
/* The grain is the photo's own (the same brightness and coarseness as its dark paper), carried across the whole hero. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black) url("textures/grain-dark.png") 0 0 / 192px; color: #fff; }
.hero__in { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(460px, 44vw, 620px); padding-block: clamp(56px, 7vw, 96px); }
.hero__copy { max-width: 640px; }
.hero__eyebrow { margin-bottom: 18px; color: var(--blue); font-weight: 700; font-size: clamp(1rem, 1.3vw, 1.125rem); letter-spacing: .01em; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: initial; }
.hero__accent { display: block; color: var(--blue); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3.4vw, 40px); }
.hero__media {
  position: absolute; z-index: 0; top: 0; bottom: 0; right: max(0px, (100vw - 1440px) / 2); width: min(58%, 880px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24%); mask-image: linear-gradient(to right, transparent, #000 24%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (min-width: 1500px) {
  .hero__media { -webkit-mask-image: linear-gradient(to right, transparent, #000 24%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 24%, #000 90%, transparent); }
}

/* Where the cards follow the hero directly (the home page), they rise over its foot. On phones they stay under it. */
@media (min-width: 701px) {
  .hero:has(+ .services > .wrap > .cards:first-child) .hero__in { padding-bottom: calc(clamp(56px, 7vw, 96px) + 72px); }
  .hero + .services:has(> .wrap > .cards:first-child) { padding-top: 0; }
  .hero + .services:has(> .wrap > .cards:first-child) > .wrap { display: flow-root; }
  .hero + .services:has(> .wrap > .cards:first-child) .cards { position: relative; z-index: 1; margin-top: -72px; }
}

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; padding: 20px 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(17, 20, 23, .04), 0 18px 36px -16px rgba(17, 20, 23, .26); }
.card__icon { display: grid; place-items: center; height: 148px; margin-bottom: 22px; border-radius: 12px; background: var(--blue-50); }
.card__icon img { width: auto; max-width: 76%; height: auto; max-height: 92px; object-fit: contain; }
.card__title { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.015em; }
.dots { display: grid; gap: 9px; margin: 14px 0 26px; color: var(--text); font-size: .95rem; line-height: 1.4; }
.dots li { position: relative; padding-left: 20px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.card__btn { width: 100%; margin-top: auto; }

/* Highlights, on blue */
.features { background: var(--blue); color: var(--ink); padding-block: clamp(32px, 4vw, 44px); }
.features__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features__list li { display: flex; align-items: flex-start; gap: 14px; padding-inline: clamp(14px, 1.6vw, 24px); border-left: 1px solid rgba(17, 20, 23, .2); }
.features__list li:first-child { padding-left: 0; border-left: 0; }
.features__list li:last-child { padding-right: 0; }
/* The icon discs are a lighter blue, not white: white, blue and black side by side was too sharp. */
.features__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .26); color: var(--on-blue); }
.features__icon svg { width: 26px; height: 26px; }
.features h2 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.01em; }
.features p { margin-top: 4px; color: var(--on-blue); font-size: .95rem; font-weight: 500; line-height: 1.5; }

/* Story */
/* The mountains at the foot of the story are the skyline of the tinted section that follows: the picture only
   gives their shape, and --tint gives the colour, so the two always match. */
.story { position: relative; isolation: isolate; overflow: clip; background: #fff; }
.story::after {
  content: ""; position: absolute; z-index: -1; right: 3rem; bottom: 0; width: 65%; aspect-ratio: 1903 / 712; pointer-events: none;
  background: var(--tint);
  -webkit-mask: url("textures/paper-gray.png") no-repeat center bottom / 100% auto; mask: url("textures/paper-gray.png") no-repeat center bottom / 100% auto;
}
.story__title { text-align: center; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; }
.story__title::after { content: ""; display: block; width: 72px; height: 6px; margin: clamp(18px, 2vw, 26px) auto 0; border-radius: 3px; background: var(--blue); }
.story__grid { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); }
.story__grid--plain { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.story__pic { position: sticky; top: calc(var(--header) + 40px); }
.story__pic img { width: 100%; }
/* The chapters hang on a timeline: a line down the left with a ring at each chapter's heading. */
.story__chapters { --rail: 40px; position: relative; max-width: calc(46rem + var(--rail)); padding-left: var(--rail); }
.story__chapters::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 0; width: 2px; background: linear-gradient(#d5dde5 calc(100% - 72px), rgba(213, 221, 229, 0)); }
.chapter + .chapter { margin-top: clamp(32px, 3.5vw, 44px); }
.chapter h3 { position: relative; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.chapter h3::before { content: ""; position: absolute; left: calc(-1 * var(--rail)); top: calc(.56em - 8px); width: 16px; height: 16px; border: 4px solid var(--blue); border-radius: 50%; background: #fff; }
.chapter p { margin-top: 12px; color: var(--text); font-size: 1.0625rem; line-height: 1.75; }
.chapter em { color: var(--blue-deep); font-weight: 700; }

/* Locations */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.place { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header) + 24px); }
.place__map { display: block; width: 100%; height: clamp(220px, 24vw, 300px); border: 0; background: #e6eaee; }
.place__body { padding: clamp(20px, 2.4vw, 30px); }
.place__info { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 40px; }
/* On the Contact page: where the shop is at the left, its hours at the right. */
.place--detailed .place__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 3vw, 40px); }
.place--detailed .place__info { display: block; }
.place__name { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.place address { margin-top: 6px; color: var(--text); }
.place__note { margin-top: 8px; color: var(--muted); font-style: italic; }
.place__contact { display: grid; gap: 8px; }
.place--detailed .place__contact { margin-top: 16px; }
.place__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.place__contact a:hover { color: var(--blue-deep); text-decoration: underline; }
.place__contact svg { flex: none; width: 20px; height: 20px; color: var(--blue-deep); }
.place__phone { font-size: 1.125rem; font-weight: 800; }
.hours { padding-left: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); }
.hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.hours__title, .facts dt { color: var(--blue-deep); font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hours table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { width: 45%; font-weight: 600; }
.hours td { color: var(--text); }
.hours__note { margin-top: 8px; color: var(--muted); font-size: .9rem; font-style: italic; }
/* On the home page: the hours run under the address, and Directions and Call sit at the foot of each card,
   level with each other however many rows the hours take. */
.place--compact { display: flex; flex-direction: column; }
.place--compact .place__body { flex: 1; display: flex; flex-direction: column; }
.place--compact .place__where { flex: 1 1 240px; max-width: 320px; }
.place--compact .hours { margin-top: 22px; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
.place--compact .hours th { width: 50%; padding-right: 12px; }
.place__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 22px; }
.place__btns .btn { white-space: nowrap; }
/* Open now or Closed now, filled in by site.js. */
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.chip[data-state="open"] { background: #eef9d7; color: var(--ink); }
.chip[data-state="open"]::before { background: #6aa50f; }
.chip[data-state="closed"] { background: var(--tint); color: var(--muted); }
.chip[data-state="closed"]::before { background: #9aa3ae; }

/* Call to action, on blue */
.cta { background: var(--blue) url("textures/mountains-white.png") no-repeat right 3rem bottom / 65% auto; color: var(--ink); text-align: center; padding-block: clamp(56px, 7vw, 92px); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.03em; }
.cta p { max-width: 62ch; margin: 18px auto 0; color: var(--on-blue); font-size: clamp(1.05rem, 1.3vw, 1.175rem); font-weight: 500; line-height: 1.6; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(26px, 3vw, 36px); }

/* Page headings (Send Us Files, added pages, 404) */
.page-head { background: var(--tint); padding-top: clamp(48px, 6vw, 84px); }
.page-head h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); letter-spacing: -.03em; }
.page-head .lead { margin-top: 18px; }
.page-head + .services { padding-top: clamp(32px, 4vw, 48px); }
.page-head--alone { padding-bottom: var(--section); }
.page-head--alone .btn { margin-top: 28px; }

/* Contact */
.contact { padding-top: clamp(32px, 4vw, 56px); padding-bottom: 0; }
.contact + .locations { padding-top: clamp(32px, 4vw, 56px); }
.panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(32px, 5vw, 72px); padding: clamp(24px, 4vw, 56px); border-radius: 20px; background: var(--tint); }
.contact h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); letter-spacing: -.03em; }
.contact .lead { margin-top: 18px; font-size: 1.0625rem; line-height: 1.7; }
.facts { display: grid; gap: 20px; margin: 30px 0 0; }
.facts dd { margin: 4px 0 0; color: var(--text); overflow-wrap: anywhere; }
.facts a { color: var(--ink); font-weight: 600; }
.facts a:hover { color: var(--blue-deep); }

.cms-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cms-field { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; }
.cms-field[data-width="1/2"] { grid-column: auto; }
.cms-field label { font-weight: 700; font-size: .875rem; }
.cms-required { color: #c0271c; }
.cms-field p { font-size: .875rem; color: var(--muted); }
.cms-form input:not([type="checkbox"]), .cms-form textarea, .cms-form select {
  width: 100%; padding: 12px 14px; border: 1px solid #c9cfd7; border-radius: var(--radius-sm); background: #fff;
  color: var(--ink); font: inherit; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.cms-form textarea { min-height: 150px; resize: vertical; }
.cms-form input:hover, .cms-form textarea:hover, .cms-form select:hover { border-color: #9aa3ae; }
.cms-form input:focus-visible, .cms-form textarea:focus-visible, .cms-form select:focus-visible { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(49, 164, 221, .3); }
.cms-form [aria-invalid="true"] { border-color: #c0271c; }
.cms-form .cms-error { color: #c0271c; font-weight: 600; }
.cms-form-status { grid-column: 1 / -1; padding: 12px 16px; border-radius: var(--radius-sm); background: #fdecea; color: #8f1d15; font-weight: 600; }
.cms-form-status ul { margin-top: 6px; list-style: disc; padding-left: 20px; }
.cms-form-status a { color: inherit; }
.cms-form-sent .cms-form-status { background: #eef9d7; color: var(--ink); font-size: 1.125rem; font-weight: 700; }
.cms-form > div:has(> .cf-turnstile), .cms-form .cf-turnstile { grid-column: 1 / -1; }
.cms-form button[type="submit"] {
  grid-column: 1 / -1; justify-self: end; min-height: 50px; padding: 8px 34px;
  border: 0; border-radius: var(--radius-sm); background: var(--green); color: var(--ink);
  font-weight: 700; font-size: 1rem; cursor: pointer; transition: background-color .18s var(--ease);
}
.cms-form button[type="submit"]:hover { background: var(--green-light); }

/* Text sections on added pages */
.prose { max-width: 46rem; color: var(--text); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 1.6em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { font-size: 1.3rem; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--blue-deep); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 4px solid var(--blue); color: var(--ink); font-weight: 500; }
.prose figure.photo { margin: 1.5rem 0; }
.prose figure.photo img { width: 100%; border-radius: 12px; }
.prose figure.photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
@media (min-width: 48rem) { .prose figure.photo.size-small { float: right; width: 40%; margin: .25rem 0 1rem 1.5rem; } }

/* Footer */
.footer { background: var(--black); color: #c3c8d1; font-size: .95rem; padding-top: clamp(48px, 6vw, 72px); }
.footer__grid { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto; gap: 40px clamp(28px, 4vw, 64px); }
.footer__brand img { width: auto; height: 160px; }
.footer h2 { color: #fff; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
.footer ul { display: grid; gap: 10px; margin-top: 14px; }
.footer__nav ul { margin-top: 2px; }
.footer a { text-decoration: none; transition: color .15s var(--ease); }
.footer a:hover { color: #fff; }
.footer__email { color: var(--blue); overflow-wrap: anywhere; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #34383e; border-radius: 50%; color: #fff; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.footer__social a:hover { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.footer__social svg { width: 20px; height: 20px; }
.footer__legal { margin-top: clamp(40px, 5vw, 64px); padding-block: 22px; border-top: 1px solid #23262b; color: #9aa1ac; font-size: .85rem; }

/* Narrower screens */
@media (max-width: 1240px) {
  /* Three cards, then two centered under them. */
  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card { grid-column: span 2; }
  .cards[data-count="5"] .card:nth-child(4) { grid-column: 2 / span 2; }
  .cards[data-count="4"] .card:nth-child(4) { grid-column: 3 / span 2; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-row: span 2; }
  .footer__nav { grid-column: 3; }
}

@media (max-width: 1100px) {
  .features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .features__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .features__list li:nth-child(even) { padding-right: 0; }
}

@media (max-width: 1160px) {
  .place--detailed .place__body { grid-template-columns: minmax(0, 1fr); }
  .hours { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .place--detailed .hours table { max-width: 380px; }
}

@media (max-width: 1020px) {
  :root { --header: 68px; }
  .nav, .header__cta { display: none; }
  .menu { display: block; }
  .brand img { height: calc(var(--header) - 8px); }
}

@media (max-width: 960px) {
  .panel { grid-template-columns: minmax(0, 1fr); }
  .story__grid { grid-template-columns: minmax(0, 1fr); }
  .story__pic { position: static; width: min(100%, 320px); margin-inline: auto; }
  .story__chapters { max-width: none; }
}

@media (max-width: 860px) {
  .places { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 740px) {
  /* The two locations stack, each with its phone number beside it. */
  .subbar__in { padding-block: 9px; }
  .subbar__places { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 700px) {
  /* On a phone the photo sits behind the words, dimmed and faded into the black at the left, as it did on the
     old site, so the hero stays short. It is set a little to the right, so the skunk mark shows whole beside the headline. */
  .hero__in { min-height: 0; }
  .hero__media { right: -20%; width: 120%; opacity: .38; -webkit-mask-image: none; mask-image: none; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--black) 34%, rgba(8, 8, 8, .75) 54%, rgba(8, 8, 8, 0)); }
}

@media (max-width: 760px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cards .card, .cards[data-count] .card:nth-child(n) { grid-column: auto; }
  .cards[data-count="5"] .card:last-child, .cards[data-count="3"] .card:last-child { grid-column: 1 / -1; }
  .card__icon { height: 120px; }
  .card__icon img { max-height: 76px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-row: auto; grid-column: 1 / -1; }
  .footer__brand img { height: 120px; }
  .footer__nav { grid-column: auto; }
  .cta { background-size: 110% auto; background-position: right -1rem bottom; }
  .story::after { right: -1rem; width: 110%; }
  .story__chapters { --rail: 30px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cards .card, .cards[data-count] .card:last-child { grid-column: auto; }
  .card { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 18px; }
  .card__icon { grid-row: span 2; height: 96px; margin-bottom: 0; }
  .card__icon img { max-width: 72%; max-height: 56px; }
  .card__title { align-self: center; grid-row: span 2; font-size: 1.15rem; }
  .dots { grid-column: 1 / -1; margin: 16px 0 20px; }
  .card__btn { grid-column: 1 / -1; }
  .features__list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .features__list li, .features__list li:nth-child(n) { padding-inline: 0; border-left: 0; }
  .cms-form { grid-template-columns: minmax(0, 1fr); }
  .cms-field[data-width="1/2"] { grid-column: 1 / -1; }
  .cms-form button[type="submit"] { justify-self: stretch; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero__cta .btn, .cta__btns .btn { width: 100%; }
  .subbar .subbar__social { display: none; }
  .place__btns .btn { flex: 1 1 120px; padding-inline: 12px; }
}

@media (max-width: 400px) {
  .subbar { font-size: .8125rem; }
  .subbar .subbar__places svg { display: none; }
}

@media (max-width: 350px) {
  /* No room beside the phone numbers; Review Us is still in the menu. */
  .subbar .subbar__review { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .card:hover { transform: none; }
}
