/* 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 { align-self: stretch; margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); }
.nav > a, .nav__has > 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"], .nav__has > a:hover, .nav__has > a.is-active, .nav__has:focus-within > a { border-bottom-color: var(--ink); }
/* An item with items under it (Services). It is as tall as the bar, so the pointer never leaves it on the way down to
   its menu, which opens on hover or keyboard focus, without the site's script. */
.nav__has { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav__has > a { display: inline-flex; align-items: center; gap: 5px; }
.nav__has > a svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav__has:hover > a svg, .nav__has:focus-within > a svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: -18px; top: calc(100% - 12px); min-width: 260px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(17, 20, 23, .06), 0 18px 36px -14px rgba(17, 20, 23, .38);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s .16s;
}
.nav__has:hover > .nav__sub, .nav__has:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.nav__sub a:hover { background: var(--blue-50); }
.nav__sub a[aria-current="page"] { color: var(--blue-deep); font-weight: 700; }
.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__nav a:has(+ .menu__sub) { padding-bottom: 6px; border-bottom: 0; }
.menu__sub { display: grid; padding: 0 0 10px 16px; border-bottom: 1px solid var(--line); }
.menu__nav .menu__sub a { padding: 9px 0; border-bottom: 0; color: var(--text); font-weight: 600; font-size: 1rem; }
.menu__nav .menu__sub 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; }

/* The header on the planroom (/_cms/parts/header), where it is drawn on its own inside a shadow root. None of these
   rules match anything on the site's own pages.
   The planroom's own links slot in atop the phone menu; the part's script marks the slot when something is in it.
   The planroom's pages are under Planroom, so that link is marked as the current one, the way the site marks its own.
   A planroom page that belongs elsewhere says so on its body: --planroom-current: 0 leaves Planroom unmarked (the
   Send Us Files uploads), and --supplies-current: 1 marks Supplies instead (the products pages).
   There the whole part sticks, so it sticks 46px (the charcoal bar's height, fixed here so it can be counted on)
   above the window: the blue bar stays, and the charcoal bar slides away under it, as on the site. */
.menu__panel > slot[data-slotted] { display: block; margin-bottom: -8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
:host([data-hosted]) .nav a[href$="stinkyplanroom.com"]:not(:hover) { border-bottom-color: color-mix(in srgb, var(--ink) calc(100% * var(--planroom-current, 1)), transparent); }
:host([data-hosted]) .nav a[href$="stinkyplanroom.com/products"]:not(:hover) { border-bottom-color: color-mix(in srgb, var(--ink) calc(100% * var(--supplies-current, 0)), transparent); }
:host([data-hosted]) .menu__nav a[href$="stinkyplanroom.com"] { color: color-mix(in srgb, var(--blue-deep) calc(100% * var(--planroom-current, 1)), var(--ink)); }
:host([data-hosted]) .menu__nav a[href$="stinkyplanroom.com/products"] { color: color-mix(in srgb, var(--blue-deep) calc(100% * var(--supplies-current, 0)), var(--ink)); }
:host { --subbar: 46px; }
:host([style*="sticky"]) { top: calc(-1 * var(--subbar)) !important; }
:host .subbar__in { height: var(--subbar); padding-block: 0; }

.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: three across, and when four or five are shown, a row of two wider ones. The drawing sits beside the
   title, and the list runs down two columns where the card has room for them. */
.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card {
  grid-column: span 4;
  display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 18px; align-items: start; padding: 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);
}
.cards[data-count="4"] .card, .cards[data-count="5"] .card:nth-child(n+4) { grid-column: span 6; }
.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: 84px; border-radius: 12px; background: var(--blue-50); }
.card__icon img { width: auto; max-width: 72%; height: auto; max-height: 50px; object-fit: contain; }
.card__title { align-self: center; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.015em; }
.card__title:first-child { grid-column: 1 / -1; }
/* Each item carries its own 9px gap (padding, which a column break keeps), taken off the list's bottom margin. */
.dots { grid-column: 1 / -1; columns: 2 256px; column-gap: 24px; margin: 20px 0 15px; color: var(--text); font-size: .95rem; line-height: 1.4; }
.dots li { position: relative; padding: 0 0 9px 20px; break-inside: avoid; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
/* The green button, then (on a card that opens its service's page) a quiet Learn More link beside it. The link comes
   first in the page, so a keyboard reaches the service's page before the upload; `order` shows it second. */
.card__btns { grid-column: 1 / -1; align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.card__btn { min-width: 150px; }
/* The Learn More link is stretched over the whole card, and the green button sits above it, so it still goes straight
   to the upload. The link must never get a transform: it would become the box its stretched area fills, and clicks
   on the card would be lost. */
.card--linked { position: relative; }
.card__more { order: 1; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; transition: color .18s var(--ease); }
.card__more::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.card__more svg { width: 16px; height: 16px; color: var(--blue-deep); transition: transform .25s var(--ease); }
.card--linked:hover .card__more { color: var(--blue-deep); }
.card--linked:hover .card__more svg { transform: translateX(4px); }
.card__more:focus-visible { outline: none; }
.card__more:focus-visible::after { outline: 3px solid var(--ink); outline-offset: 3px; }
.card--linked .card__btn { position: relative; z-index: 2; }
/* On the home page, wherever the full menu shows (from 1141px), all the cards sit in one row: a large drawing on top,
   the list in one column, then a hairline with a smaller green button and Learn More on one line. That line has to
   fit "Contact Us" beside Learn More in a fifth of the width, so below 1440px the card tightens in three steps: smaller
   type and drawing, then no arrow after Learn More (from 1319px down), then less padding (from 1239px down). At 1141px
   and at 1440px it fits with about a pixel to spare, so re-measure after changing a label, a size or a gap here. */
@media (min-width: 1141px) {
  .cards--row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .cards--row .card, .cards--row[data-count] .card:nth-child(n) { grid-column: auto; display: flex; flex-direction: column; align-items: stretch; padding: 18px 16px; }
  .cards--row .card__icon { height: 148px; margin-bottom: 22px; }
  .cards--row .card__icon img { max-width: 76%; max-height: 92px; }
  .cards--row .card__title { align-self: auto; font-size: 1.2rem; }
  .cards--row .dots { columns: auto; margin: 14px 0 11px; }
  .cards--row .card__btns { align-self: stretch; flex-wrap: nowrap; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
  /* Every green button is as wide as "Contact Us", the longest label: its words are 5.71em wide, plus the padding and border. */
  .cards--row .card__btn { flex: none; min-width: calc(5.71em + 24px); min-height: 38px; padding: 6px 10px; font-size: .875rem; white-space: nowrap; }
  .cards--row .card__more { font-size: .85rem; white-space: nowrap; }
}
@media (min-width: 1141px) and (max-width: 1439px) {
  .cards--row { gap: 14px; }
  .cards--row .card, .cards--row[data-count] .card:nth-child(n) { padding: 14px 14px 16px; }
  .cards--row .card__icon { height: 116px; margin-bottom: 18px; }
  .cards--row .card__icon img { max-height: 72px; }
  .cards--row .card__title { font-size: 1.05rem; }
  .cards--row .dots { font-size: .875rem; }
  .cards--row .card__btn { font-size: .8125rem; }
  .cards--row .card__more { gap: 4px; font-size: .8125rem; }
  .cards--row .card__more svg { width: 14px; height: 14px; }
}
@media (min-width: 1141px) and (max-width: 1319px) {
  .cards--row .card__more svg { display: none; }
}
@media (min-width: 1141px) and (max-width: 1239px) {
  .cards--row { gap: 10px; }
  .cards--row .card, .cards--row[data-count] .card:nth-child(n) { padding: 12px 12px 14px; }
  .cards--row .card__btn { min-width: calc(5.71em + 20px); padding: 6px 8px; font-size: .78rem; }
  .cards--row .card__more { font-size: .78rem; }
}

/* 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; }
/* On a service's page the key facts are on black, with the hero's grain; that page's blue band is its closing one. */
.features--dark { background: var(--black) url("textures/grain-dark.png") 0 0 / 192px; color: #fff; }
.features--dark .features__list li { border-left-color: rgba(255, 255, 255, .16); }
.features--dark .features__icon { background: rgba(255, 255, 255, .1); color: var(--blue); }
.features--dark p { color: #c3c8d1; font-weight: 400; }

/* 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); }
/* On a service's page the band sits mid-page, under the questions, and is shorter: the words at the left and the
   button at the right, without the mountains, which would run behind the button. */
.cta.cta--service { background-image: none; text-align: left; padding-block: clamp(44px, 5vw, 68px); }
.cta--service .cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; }
.cta--service h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta--service p { max-width: 56ch; margin: 10px 0 0; }
.cta--service .cta__btns { flex: none; justify-content: flex-start; margin-top: 0; }

/* 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; }

/* A page heading that ends as its own tinted band, where a white section follows (a service's page, the FAQ page). */
.page-head--band { padding-bottom: clamp(40px, 5vw, 64px); }

/* A service's own page: the heading band with the drawing on a white tile, then (in the one white section) what it
   covers and the questions, each with its heading in a narrow column that stays in view beside it. */
.crumbs { display: flex; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.crumbs a { color: var(--blue-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.service-head__in { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.service-head__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.service-head__icon { justify-self: end; display: grid; place-items: center; width: 100%; max-width: 400px; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.service-head__icon img { width: auto; max-width: 62%; height: auto; max-height: 56%; object-fit: contain; }
.features__list[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: start; gap: 24px clamp(32px, 5vw, 80px); scroll-margin-top: calc(var(--header) + 8px); }
.split + .split { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.split__head { position: sticky; top: calc(var(--header) + 32px); }
.split__head h2, .faq-group h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.02em; }
.split__head p { margin-top: 12px; color: var(--text); }
.split__head p a { color: var(--blue-deep); font-weight: 600; }
.covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.covers li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); color: var(--ink); font-weight: 600; line-height: 1.4; }
.covers svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--blue-deep); }

/* Questions and answers: each a <details>, so it opens without the site's script. */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 0; color: var(--ink); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-deep); }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin: 4px 4px 0 0; border-right: 2.5px solid var(--blue-deep); border-bottom: 2.5px solid var(--blue-deep); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.faq__answer { max-width: 48rem; padding: 0 32px 24px 0; font-size: 1rem; line-height: 1.7; }
.faqs__more { margin-top: 28px; color: var(--text); }
.faqs__more a { color: var(--blue-deep); font-weight: 600; }

/* The FAQs page: the general questions, then links to each service's questions. */
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.faq-group__text { color: var(--text); }
.faq-jump a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: border-color .18s var(--ease), color .18s var(--ease); }
.faq-jump a:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.faq-group { max-width: 60rem; }
.faq-group + .faq-group { margin-top: clamp(44px, 5vw, 64px); }
.faq-group__head { margin-bottom: 16px; }

/* 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) {
  .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: 1140px) {
  :root { --header: 68px; }
  .nav, .header__cta { display: none; }
  .menu { display: block; }
  .brand img { height: calc(var(--header) - 8px); }
  /* Two cards across; an odd last one takes the whole row. */
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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; }
}

@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) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__head { position: static; }
  .features__list[data-count="3"] { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .features__list[data-count="3"] li { padding-inline: 0; border-left: 0; }
  .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; }
  :host { --subbar: 66px; }
  .subbar__places { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 700px) {
  .service-head__in { grid-template-columns: minmax(0, 1fr); }
  .service-head__icon { display: none; }
  /* 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) {
  /* One card across. */
  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .card__icon { height: 72px; }
  .card__icon img { max-height: 44px; }
  .card__title { font-size: 1.2rem; }
  .dots { margin: 16px 0 11px; }
  .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) {
  .service-head__btns .btn { width: 100%; }
  .cta--service .cta__btns { flex: 1 1 100%; }
  .cta--service .cta__btns .btn { flex: 1 1 100%; }
  .covers { grid-template-columns: minmax(0, 1fr); }
  .faq__answer { padding-right: 0; }
  .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) {
  /* On the narrowest phones the green button gives up some width, so Learn More stays beside it. Its least width here
     and below is the width of "Contact Us", so every card's button is the same size. */
  .card__btn { min-width: 139px; }
  .subbar { font-size: .8125rem; }
  .subbar .subbar__places svg { display: none; }
}

@media (max-width: 350px) {
  .card__btns { column-gap: 12px; }
  .card__btn { min-width: 119px; padding-inline: 14px; }
  /* 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; }
}
