/* Riseden Systems landing page — redesign candidate r001.
 *
 * One stylesheet owns the whole landing page (index.html). The Nampa town page
 * (home.css) and the pricing page (pricing.css) load it first and add their own
 * parts, so the public pages are one piece; the legal pages keep legal.css.
 *
 * Design direction
 * - Colors are the existing brand pair: charcoal and gold, on the same warm
 *   paper tones the live page already uses for its light sections.
 * - Headings are one heavy grotesque (Bricolage Grotesque 800) on both lines;
 *   the second line is set in gold instead of a thin script. Every two-part
 *   heading in the markup is `text<br><em>text</em>`. Body text is DM Sans.
 *   This is the type of the Nampa, Idaho town page (Jason, 2026-11-23: "the font
 *   in risedensystems.com ... changed like in the nampa idaho page"); that page
 *   loads this file and home.css, which sets the same values again.
 * - Builder screenshots are framed like prints laid on the page; the founder
 *   photo and the work order tilt slightly because they are physical objects.
 * - Sections meet on shed rooflines (slopes, a gambrel, a gable); the gold
 *   closing block ends in a skyline of sheds.
 * - The finish of the signed-in Operations pages (Jason, 2026-11-24: "square the
 *   websites and make them look as amazing as the other pages you restyled"):
 *   square corners, soft text on charcoal, one rule for the space between
 *   sections (Tokens), and every control answering at once to hover, press,
 *   touch and keyboard (Buttons; Finish, near the end of this file).
 *
 * Class names and ids are unchanged from the live page because homepage.js
 * binds to them (menu, work-order viewer).
 */

/* ---------- Tokens ---------- */
:root {
  --charcoal: #202627;          /* brand surface, also meta theme-color */
  --charcoal-deep: #171c1d;     /* footer base and screenshot wells */
  --charcoal-raised: #2b3334;   /* cards and raised surfaces on charcoal */
  --gold: #e3b76e;              /* brand accent; passes AA on charcoal */
  --gold-ink: #7a5518;          /* gold for text on paper; 6:1 on --paper */
  --paper: #f1eee7;
  --paper-deep: #e8e2d5;
  --card: #fbf9f4;
  --ink: #202627;
  --muted: #53615e;
  /* Text on charcoal is soft, never bright white (Jason, 2026-11-22: "I hate how bright the font
     text is on darker background"). These are the signed-in Operations pages' colors
     (apps/account/shared/brand.css: --ink, --ink-strong, --line), so the website and the pages
     behind it are one family. Quiet text is a step brighter than those pages' #8d9894 so it
     still passes 4.5:1 on the raised charcoal cards (4.9:1 there, 5.8:1 on --charcoal). */
  --dark-ink: #b3bab5;          /* text on charcoal: 8.1:1 */
  --dark-strong: #d5d0c4;       /* headings and names on charcoal: as bright as those pages' headings (#cbcfc8), warmed to sit with the gold */
  --dark-muted: #9aa39f;        /* quiet text on charcoal */
  --line: #d3ccbd;
  --dark-line: #465251;         /* rules and outlines on charcoal */

  --font-display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  /* No longer drawn on the home page; home.css still names it in a rule it overrides. */
  --font-accent: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-text: 'DM Sans', system-ui, -apple-system, Arial, sans-serif;

  --gutter: clamp(18px, 4vw, 48px);
  /* The rule for the space between sections: a section's content sits one --band from the
     nearest edge of its ground. Where the next section rises over it on a roofline, the section
     keeps --pitch more at its foot so the slope never comes nearer than that band. */
  --band: clamp(64px, 9vw, 128px);     /* vertical rhythm of every section */
  --pitch: clamp(26px, 5vw, 76px);      /* rise of the roofline between sections */
  --skyline: clamp(120px, 17vw, 240px); /* height of the shed skyline above the footer */
  --header-h: 76px;                    /* height of the top bar */
  /* Square corners on every button, card, picture frame and tag (Jason, 2026-11-22: "I hate the
     rounded corners on everything"; 2026-11-24, of the website: "square the websites"). Round stays
     only where the thing is a true circle: the color dots of the two demonstration builders; form
     fields are rounded 6 px since 2026-11-26 (Form fields, near the end of this file). */
  --radius: 0;
  --print-shadow: 0 1px 2px rgba(23, 28, 29, .18), 0 18px 40px -18px rgba(23, 28, 29, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-text); font-synthesis: none; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
section[id] { scroll-margin-top: 16px; }

/* The keyboard ring: 3 px, 4 px clear of the control, square like everything else. */
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 4px; }
.dark-section :focus-visible, .production-section :focus-visible, .materials-section :focus-visible,
.site-header :focus-visible, .site-footer :focus-visible, .image-viewer :focus-visible { outline-color: var(--gold); }

.skip-link { position: absolute; z-index: 50; left: 20px; top: -80px; padding: 12px 20px; background: var(--card); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 12px; }

.shell { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: var(--band); }

/* ---------- Type ---------- */
/* -.03em: a little looser than tight display spacing, so the heavy letters do not touch. */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.2vw, 70px); }
h3 { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.15; }
/* The second heading line: the same heavy letters as the first line, in gold. */
h1 em, h2 em, .footer-statement em { font-family: var(--font-display); font-style: normal; font-weight: 800; letter-spacing: inherit; color: var(--gold-ink); }
.dark-section em, .production-section h2 em, .materials-section h2 em, .site-footer em { color: var(--gold); }
/* Home page: the gold line wraps as its own balanced block. The heavy face is wider
   than the old script, and on a narrow phone the line otherwise broke as
   "To a clear work / order."; now it breaks "To a clear / work order.". */
.business-home :is(h1, h2) em { display: inline-block; text-wrap: balance; }

/* Section label: sentence case, with a small square like a cut end of stock. */
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold-ink); font-size: 15px; font-weight: 700; line-height: 1.3; }
.eyebrow::before { content: ''; flex: none; width: 8px; height: 8px; background: currentColor; }
.dark-section .eyebrow, .production-section .eyebrow, .materials-section .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
/* Square and compact: 48 px tall (44 px is the least a finger needs), 22 px either side. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 22px; border: 0; font-weight: 700; font-size: 16px; line-height: 1.2; transition: background-color 70ms linear, transform 50ms linear; }
.button:is(:active, .is-pressed) { transform: translateY(1px); }
/* The main action: a gold button with charcoal letters, on charcoal and on paper
   alike. Jason, 2026-11-24, of the near-black buttons tried the day before: "i want
   them back colored. the black doesnt look right." The gold and the letters are the
   ones this page's gold buttons had before that (--gold, --charcoal).
   Two pages wear it, and both load this file:
   - this home page: "Design Your Shed" and the three pricing buttons (.button-gold);
   - the Nampa town page: its gold buttons, every other button that opens the builder
     (href="/design-your-shed") and "How to get a quote" (.build-quality-link).
     `body` in the selector lifts the rule over home.css, which loads after this file
     and sizes two of those buttons as a plain .button (.rto-reference, .contact-steps).
   - the pricing page: its three gold buttons (.button-gold).
   Corners are square, like every control on these pages (Tokens, --radius).
   Letters on the gold: 8.2:1 at rest, 9.8:1 on hover, 7.0:1 pressed (4.5:1 needed).
   Hover, press and touch answer at once, the way the Operations pages' buttons do
   (apps/account/shared/finish.css): colors in 70 ms, the press in 50 ms; with
   reduced motion every change is instant (the page-wide rule at the end of this file).
   - Hover brightens the gold. It waits for a real pointer, so a phone does not keep
     a hover look after a tap.
   - A press darkens the gold (a tenth of charcoal mixed in) and sinks it 1 px. A
     finger gets the same look the moment it touches: button-press.js sets
     .is-pressed on any link or button under a finger, because a phone shows :active
     late or not at all while the finger is down. The browser's own tap flash stays
     off (Base, above).
   - No ring, shade or glow. The one button with a border (the payment calculator's)
     keeps its 1 px border in the fill's color, so no button changes size or shape.
   - The keyboard ring is the page's own (Base, above): 3 px, 4 px clear of the
     button so it never touches the gold; gold-ink on paper (charcoal in the
     contact section), gold on charcoal. */
:is(body .button-gold, body .button[href="/design-your-shed"], body .build-quality-link) { background: var(--gold); border-color: var(--gold); color: var(--charcoal); transition: background-color 70ms linear, border-color 70ms linear, transform 50ms linear; }
@media (hover: hover) {
  :is(body .button-gold, body .button[href="/design-your-shed"], body .build-quality-link):hover { background: #efc98a; border-color: #efc98a; }
}
:is(body .button-gold, body .button[href="/design-your-shed"], body .build-quality-link):is(:active, .is-pressed) { transform: translateY(1px); background: #d0a967; border-color: #d0a967; }

/* ---------- Header: a full-width bar at the top of the page ---------- */
/* Not sticky (Jason, 2026-11-14): it scrolls away with the page. The negative
   margin lets the charcoal hero run underneath it. */
.site-header { position: relative; z-index: 30; height: var(--header-h); margin-bottom: calc(-1 * var(--header-h)); color: var(--dark-ink); }
.nav-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.site-header .brand img { width: 150px; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); font-size: 15.5px; font-weight: 600; }
.site-nav a:not(.button) { padding-block: 10px; border-bottom: 2px solid transparent; }
/* Hover, press and touch for the menu words: see Finish, near the end of this file. */
.nav-cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu-button { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: calc(var(--pitch) + clamp(28px, 4vw, 64px)); color: var(--dark-ink); background: var(--charcoal); }
.hero-layout { position: relative; }
/* Framing drawing behind the headline (decorative): a shed's gable end drawn as framing in faint
   gold, standing on the rule between the headline and the intro, to the right of the headline.
   It sits in .hero-story-side, so it follows the rule however the headline wraps, and z-index -1
   inside the isolated .hero-layout keeps every word on top. Drawing units are px at a 1440 px
   screen (the lumber is drawn at 3 px an inch) and --framing-scale shrinks it with the screen.
   The shed's ground is the top edge of the drawing's box (the drawing stands above it; the box is
   a thin strip under the rule so it never rounds away to nothing), and that edge is put on the
   rule's top edge (top: -1px), so the browser rounds both to the same screen pixel; the half-pixel
   shift then stands the shed on the center of the 1 px rule. Phones have no room beside the words
   for it, so they have none. See docs/LANDING-HERO-FRAMING.md. */
.hero-layout { isolation: isolate; }
.hero-framing {
  --framing-scale: min(1px, 100vw / 1440);
  position: absolute;
  z-index: -1;
  top: -1px;
  transform: translateY(.5px);
  /* The shed's center line is 230 units in from the right edge of the text column. */
  left: calc(100% - (230 + 170) * var(--framing-scale));
  width: calc(340 * var(--framing-scale));
  height: calc(16 * var(--framing-scale));
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  stroke-opacity: .22;
}
/* Narrow screens draw it smaller; a thicker stroke keeps its lines about 1 px wide. */
@media (max-width: 1000px) { .hero-framing { stroke-width: 1.6; } }
@media (max-width: 600px) { .hero-framing { display: none; } }
/* On a phone the line takes two rows; balance them so no word is left alone on the second. */
.hero-eyebrow { position: relative; text-wrap: balance; }
/* The headline's size, spacing and wrapping are the town page's (home.css). */
.hero h1 { position: relative; margin-top: 22px; font-size: clamp(38px, 6.7vw, 98px); line-height: 1; letter-spacing: -.035em; text-wrap: normal; color: var(--dark-strong); }
.hero-story-side { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; margin-top: clamp(28px, 4vw, 52px); padding-top: clamp(22px, 2.6vw, 32px); border-top: 1px solid var(--dark-line); }
.hero-intro { max-width: 34em; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--dark-ink); }
.hero-actions { display: grid; gap: 10px; justify-items: start; }
.hero-reassure { font-size: 14.5px; color: var(--dark-muted); }
.hero-gallery {
  --view-top: clamp(16px, 6vh, 64px);
  scroll-margin-top: var(--view-top);
  display: grid;
  /* Reading room: each picture stays stuck with its caption in full view until the page
     has scrolled this far; only then does the next picture reach the caption. At the old
     72 px one turn of the wheel covered the words (Jason, 2026-11-24: "users need to be
     able to read the text under the image before the next image covers it up so fast"). */
  gap: clamp(260px, 48vh, 460px);
  margin-top: clamp(36px, 5vw, 68px);
  isolation: isolate;
}
.hero-view {
  position: sticky;
  top: var(--view-top);
  align-self: start;
  background: var(--charcoal);
  border-radius: var(--radius);
}
.hero-view .screenshot-link { aspect-ratio: 2 / 1; }
.hero-view .screenshot-link img { width: 100%; height: 100%; object-fit: contain; }
.hero-view figcaption { position: relative; padding: 12px 0 16px; color: var(--dark-muted); font-size: 15px; min-height: 5em; }
.hero-view figcaption strong { color: var(--gold); margin-right: .45em; }
@media (min-width: 601px) {
  .hero-gallery { width: min(100%, calc((100svh - 140px) * 2)); margin-inline: auto; }
}
@media (max-width: 600px) {
  .hero-gallery { --view-top: clamp(16px, 21svh, 160px); }
  .hero-view figcaption { min-height: 7em; }
}
@media (prefers-reduced-motion: reduce), (max-height: 480px), print {
  .hero-view { position: relative; top: auto; }
}

/* ---------- Screenshots as prints ---------- */
.screenshot-link { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--charcoal-deep); box-shadow: var(--print-shadow); }
.screenshot-link img { width: 100%; }
.hero .screenshot-link { border: 1px solid rgba(227, 183, 110, .45); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3); }

/* ---------- Shared section heading: title left, supporting line right ---------- */
.company-heading, .production-heading, .materials-copy, .roadmap-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px clamp(32px, 6vw, 96px); align-items: end; }
:is(.company-heading, .production-heading, .materials-copy, .roadmap-intro) > .eyebrow { grid-column: 1 / -1; }
:is(.company-heading, .production-heading, .materials-copy, .roadmap-intro) > p:last-child { max-width: 30em; padding-bottom: .4em; color: var(--muted); }
.production-heading > p:last-child, .materials-copy > p:last-child, .roadmap-intro > p:last-child { color: var(--dark-muted); }

/* ---------- Your buildings: two demonstration builders ---------- */
.company-section { padding-top: clamp(56px, 7vw, 96px); background: var(--paper); }
.company-bridge { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(32px, 4vw, 56px); padding-block: 14px; border-block: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--muted); }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(22px, 2.6vw, 32px); }
/* Each card wears its own builder's identity: Cedar light, Riseden charcoal. */
.company-example { display: grid; gap: 18px; align-content: start; padding: clamp(16px, 1.8vw, 24px); }
.company-example-cedar { background: var(--card); border: 1px solid var(--line); }
.company-example-riseden { background: var(--charcoal); color: var(--dark-ink); }
.company-example-top { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }
.company-palette { display: flex; gap: 5px; }
.company-palette i { width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 50%; }
.company-example-cedar .company-palette i:nth-child(1) { background: #f7f4e9; }
.company-example-cedar .company-palette i:nth-child(2) { background: #617961; }
.company-example-cedar .company-palette i:nth-child(3) { background: #b65e2b; }
.company-example-riseden .company-palette i:nth-child(1) { background: #202627; }
.company-example-riseden .company-palette i:nth-child(2) { background: #e6c37f; }
.company-example-riseden .company-palette i:nth-child(3) { background: #9d6f51; }
.company-example figcaption { display: grid; gap: 8px; padding: 2px 4px 6px; }
.company-example figcaption .eyebrow { font-size: 14px; font-weight: 600; }
.company-example figcaption .eyebrow::before { display: none; }
.company-example-riseden figcaption .eyebrow { color: var(--gold); }
.company-example figcaption h3 { margin-top: 4px; font-size: clamp(24px, 2.4vw, 32px); }
.company-example figcaption p { color: var(--muted); }
.company-example-riseden .company-example-top, .company-example-riseden figcaption p { color: var(--dark-muted); }
.company-example-riseden h3 { color: var(--dark-strong); }
.demo-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* ---------- Work orders: design, plan, document ---------- */
.production-section { background: var(--charcoal); color: var(--dark-ink); }
.production-section h2, .materials-section h2, .roadmap-section h2 { color: var(--dark-strong); }
/* A real 1-2-3 sequence, so the numerals stay and carry the gold. */
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 4.4vw, 60px); border-block: 1px solid var(--dark-line); }
.workflow-steps li { display: flex; align-items: baseline; gap: 16px; padding: 22px 24px 24px 0; }
.workflow-steps li + li { padding-left: 24px; border-left: 1px solid var(--dark-line); }
/* One width for 1, 2 and 3, so stacked on a phone the three step names start on one line. */
.step-number { min-width: .62em; font: 800 clamp(34px, 3.4vw, 46px)/1 var(--font-display); color: var(--gold); }
.workflow-steps h3 { color: var(--dark-strong); }
.workflow-steps p { margin-top: 4px; color: var(--dark-muted); }
.production-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.design-plan { display: grid; gap: clamp(22px, 2.6vw, 34px); }
.production-panel-label { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--dark-muted); }
.production-panel-label span:first-child { color: var(--gold); }
.design-plan figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-top: 12px; font-size: 15.5px; color: var(--dark-muted); }
.design-plan figcaption strong { color: var(--dark-strong); }
/* The work order is a sheet of paper on the bench: light, and a little askew. */
.order-preview-document { padding: clamp(10px, 1.2vw, 16px); background: var(--card); color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); transform: rotate(-1.1deg); }
.order-preview-image { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #fff; }
.order-preview-image img { width: 100%; }
.order-preview-document-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 4px 4px; }
.order-preview-document-caption div { display: grid; gap: 2px; }
.order-preview-document-caption div span { font-size: 14px; color: var(--muted); }
.order-preview-open { flex: none; min-height: 44px; padding: 10px 16px; border: 0; background: var(--charcoal); color: var(--gold); font-size: 14.5px; font-weight: 700; }
.sample-note { margin-top: 20px; font-size: 14px; color: var(--dark-muted); }

/* ---------- Siding showcase: drag to compare ----------
 * siding-showcase.js owns this section. The stage stacks two studio pictures of
 * the same cabin; --split (0%–100%, set by the script) is where the divider
 * stands. Left of it is the siding just chosen, right of it the one before.
 */
/* A deeper charcoal than the work-order section above it, so the roofline between the two dark
   sections shows and each has its own ground (on one charcoal they ran together). */
.materials-section { background: var(--charcoal-deep); color: var(--dark-ink); }
.texture-shell { display: grid; gap: clamp(22px, 2.6vw, 36px); }
.siding-compare { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: clamp(16px, 1.8vw, 24px); min-width: 0; margin-top: clamp(14px, 2vw, 28px); }
.siding-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #f4f4f3; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .8); user-select: none; -webkit-user-select: none; }
.siding-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.siding-layer-top { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
/* The divider: a gold line with a round grip. */
.siding-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 0 1px rgba(32, 38, 39, .25); pointer-events: none; }
.siding-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border: 3px solid var(--gold); background: var(--charcoal); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); transition: transform 70ms linear; }
.siding-knob svg { width: 24px; height: 24px; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.siding-stage:hover .siding-knob, .siding-range:focus-visible ~ .siding-handle .siding-knob { transform: scale(1.1); }
/* A real range input covers the stage, invisible: it gives dragging, touch and
   arrow keys for free. pan-y keeps vertical page scrolling working on phones. */
.siding-range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.siding-range::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 400px; }
.siding-range::-moz-range-thumb { width: 52px; height: 400px; border: 0; }
.siding-stage:has(.siding-range:focus-visible) { outline: 3px solid var(--gold); outline-offset: 4px; }
/* Name tags for the two sidings on stage. */
.siding-tag { position: absolute; top: 16px; z-index: 1; padding: 7px 13px; background: rgba(32, 38, 39, .9); color: var(--dark-strong); font-size: 14px; font-weight: 700; pointer-events: none; transition: opacity .2s ease; }
.siding-tag-current { left: 16px; box-shadow: inset 0 0 0 1.5px var(--gold); }
.siding-tag-previous { right: 16px; background: rgba(251, 249, 244, .92); color: var(--ink); }
.siding-tag.is-hidden { opacity: 0; }

.siding-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(18px, 2vw, 26px); background: var(--charcoal-raised); }
.siding-card-copy { display: grid; gap: 4px; }
.siding-card-label { font-size: 14px; font-weight: 600; color: var(--dark-muted); }
.siding-card-label span { margin-left: 8px; color: var(--gold); font-variant-numeric: tabular-nums; }
.siding-card-copy strong { font: 800 clamp(26px, 2.8vw, 40px)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--dark-strong); }
.siding-card-copy > span:last-child { color: var(--dark-muted); }
/* Close-up: under a mouse, or a finger held on it, the picture grows and follows
   the pointer (siding-showcase.js). pan-y: a finger moving up or down still
   scrolls the page; only a sideways drag inspects. pinch-zoom keeps the page's
   own zoom. The picture takes no touches itself, so a held finger never opens
   the phone's save-image menu. */
.siding-detail-link { position: relative; display: block; flex: 1; min-height: 170px; overflow: hidden; background: var(--charcoal-deep); touch-action: pan-y pinch-zoom; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.siding-detail-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; pointer-events: none; -webkit-user-drag: none; }
.siding-detail-link.is-zoomed .siding-detail-image { transform: scale(2.2); }
.siding-card-hint { font-size: 14px; color: var(--dark-muted); }
/* The hint names the way this screen inspects: a mouse moves, a finger drags. */
.siding-hint-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .siding-hint-mouse { display: none; }
  .siding-hint-touch { display: inline; }
}

.siding-controls-heading { display: flex; justify-content: space-between; padding-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--dark-muted); }
.siding-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.siding-option { position: relative; display: grid; gap: 12px; align-content: start; padding: 10px 10px 14px; border: 1px solid var(--dark-line); background: transparent; color: var(--dark-ink); text-align: left; transition: background-color 70ms linear, border-color 70ms linear, transform 50ms linear; }
.siding-option.is-active { border-color: var(--gold); background: var(--charcoal-raised); box-shadow: 0 0 0 1px var(--gold); }
/* The siding on the right of the divider is marked so the pair is clear. */
.siding-option.is-previous { border-color: rgba(251, 249, 244, .55); }
.siding-option.is-active::after, .siding-option.is-previous::after { position: absolute; top: 18px; left: 18px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.siding-option.is-active::after { content: 'Left'; background: var(--charcoal); color: var(--gold); }
.siding-option.is-previous::after { content: 'Right'; background: rgba(251, 249, 244, .92); color: var(--ink); }
/* Each swatch is cut from that siding's own close-up, across the wainscot line. */
.siding-swatch { width: 100%; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.siding-swatch-board { background-image: url('assets/showcase-studio-board-swatch-r002.webp'); }
.siding-swatch-panel { background-image: url('assets/showcase-studio-panel-swatch-r002.webp'); }
.siding-swatch-lap { background-image: url('assets/showcase-studio-lap-swatch-r002.webp'); }
.siding-swatch-fir { background-image: url('assets/showcase-studio-fir-swatch-r002.webp'); }
.siding-swatch-log { background-image: url('assets/showcase-studio-log-swatch-r002.webp'); }
.siding-swatch-metal { background-image: url('assets/showcase-studio-metal-swatch-r002.webp'); }
.siding-option-copy { display: grid; min-width: 0; padding-inline: 4px; line-height: 1.25; }
.siding-option-copy strong { font-weight: 700; color: var(--dark-strong); }
.siding-option-copy small { font-size: 14px; color: var(--dark-muted); }

/* ---------- Founder ---------- */
.founder-section { background: var(--paper-deep); }
.founder-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.founder-heading h2 { margin-top: 14px; }
/* A snapshot pinned to the page: white border, slight tilt, a plain caption. */
.founder-photo { width: min(100%, 520px); margin-top: clamp(28px, 3.6vw, 48px); padding: 12px 12px 0; background: #fffdf8; box-shadow: var(--print-shadow); transform: rotate(-1.6deg); }
.founder-photo img { width: 100%; }
.founder-photo figcaption { padding: 12px 4px 14px; font: 400 17px/1.3 var(--font-text); color: var(--muted); }
.founder-copy { display: grid; gap: 16px; max-width: 30em; padding-bottom: 8px; }
.founder-index { font-size: 14.5px; font-weight: 700; color: var(--gold-ink); }
/* A lead line: the heading face at 700, 22 px, exactly the town page's lead line
   (home.css .local-delivery .delivery-heading p). At the old 42 px the heavy face
   outweighed the section heading beside it. */
.founder-lead { font: 700 22px/1.3 var(--font-display); color: var(--ink); }
.founder-copy > p:not(.founder-lead) { color: var(--muted); }
.founder-signoff { display: grid; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); font: 800 22px/1.2 var(--font-display); }
.founder-signoff span { font: 400 14.5px/1.4 var(--font-text); color: var(--muted); }

/* ---------- Pricing summary ---------- */
.plans-section { background: var(--paper); }
.plans-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.plans-copy h2 { margin-top: 14px; }
.plans-copy > p:not([class]) { margin-top: 18px; max-width: 30em; color: var(--muted); }
.subscription-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(26px, 3vw, 40px); }
.subscription-option { display: grid; gap: 8px; align-content: start; padding: clamp(20px, 2.2vw, 28px); border: 1px solid var(--line); background: var(--card); }
.subscription-option h3 { font-size: 18px; letter-spacing: -.01em; }
.subscription-price { font: 800 clamp(40px, 4.6vw, 62px)/1 var(--font-display); letter-spacing: -.04em; }
.subscription-price span { font: 500 16px/1 var(--font-text); letter-spacing: 0; color: var(--muted); }
.subscription-option > p:not(.subscription-price) { min-height: 3.2em; color: var(--muted); }
.subscription-option .button { justify-self: start; margin-top: 6px; }
/* Yearly is the charcoal card, matching the live page's emphasis. */
.subscription-option:nth-child(2) { border-color: var(--charcoal); background: var(--charcoal); color: var(--dark-ink); }
.subscription-option:nth-child(2) h3 { color: var(--gold); }
.subscription-option:nth-child(2) .subscription-price { color: var(--dark-strong); }
.subscription-option:nth-child(2) :is(p:not(.subscription-price), .subscription-price span) { color: var(--dark-muted); }
.subscription-option:nth-child(2) :focus-visible { outline-color: var(--gold); }
.pricing-setup-summary { margin-top: 16px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.pricing-setup-summary p { margin-top: 6px; max-width: 38em; color: var(--muted); }
.pricing-note { margin-top: 14px; max-width: 44em; font-size: 14.5px; color: var(--muted); }
.pricing-details-link { margin-top: 24px; }
/* The label's first line sits level with "The investment" across the page (it sat 13 px lower). */
.plan-inclusions { padding-top: 0; }
.plan-label { padding-bottom: 12px; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--gold-ink); }
.plan-inclusions li { display: flex; gap: 14px; padding-block: 20px; border-top: 1px solid var(--line); }
.plan-inclusions li > span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; background: var(--charcoal); color: var(--gold); font-size: 14px; font-weight: 700; }
/* Only the three items' lines; the label above them keeps its own place and its gold-ink (this
   rule named every p, so the label took 4 px more and the gray). */
.plan-inclusions li p { margin-top: 4px; color: var(--muted); }

/* ---------- Platform: ready today, and what is planned ---------- */
.roadmap-section { background: var(--charcoal); color: var(--dark-ink); }
.roadmap-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 4.4vw, 64px) clamp(32px, 5vw, 80px); }
.roadmap-intro { grid-column: 1 / -1; }
.roadmap-current-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-bottom: 14px; }
.roadmap-current-label > span { font-size: 14.5px; font-weight: 700; color: var(--gold); }
.roadmap-current-label strong { display: none; }  /* "01—03" repeats the list numbering below */
.roadmap-current-label p { margin-left: auto; font-size: 14.5px; line-height: 1.35; text-align: right; color: var(--dark-muted); }
.roadmap-stack li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding-block: 22px; border-top: 1px solid var(--dark-line); }
.roadmap-stack li:last-child { border-bottom: 1px solid var(--dark-line); }
/* One width for 01, 02 and 03, so the three step names start on one line (the narrower 01 put
   its name 10 px left of the other two). */
.roadmap-step-number { min-width: 1.32em; font: 800 clamp(30px, 3vw, 40px)/1 var(--font-display); color: var(--gold); }
.roadmap-stack h3 { color: var(--dark-strong); }
.roadmap-stack p { margin-top: 4px; color: var(--dark-muted); }
.roadmap-step-tag { padding: 5px 12px; background: var(--charcoal-raised); font-size: 13.5px; font-weight: 600; color: var(--dark-ink); }
.roadmap-horizon-heading span { font-size: 14.5px; font-weight: 700; color: var(--gold); }
.roadmap-horizon-heading p { margin-top: 6px; padding-bottom: 14px; font-size: 14.5px; color: var(--dark-muted); }
/* Dashed outlines mark these as planned, not shipped. */
.roadmap-horizon ul { display: grid; gap: 8px; }
.roadmap-horizon li { padding: 13px 16px; border: 1px dashed #5d6a69; color: var(--dark-ink); }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-intro h2 { margin-top: 14px; }
/* Home page: the FAQ heading takes the town page's FAQ heading size (home.css
   .home-faq h2). At the full section size its narrow column broke the heavy
   first line as "Good / questions.". */
.business-home .faq-intro h2 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.05; }
.faq-intro > p:not(.eyebrow) { margin-top: 18px; max-width: 26em; color: var(--muted); }
.faq-note { display: grid; gap: 8px; margin-top: 28px; padding: 22px; background: var(--paper-deep); }
.faq-note-label { font: 800 20px/1.2 var(--font-display); letter-spacing: -.02em; }
.faq-note p { color: var(--muted); }
.faq-note a, .faq-answer a, .email-link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) 24px; align-items: baseline; gap: 8px; padding-block: 22px; cursor: pointer; list-style: none; font: 800 clamp(19px, 1.8vw, 24px)/1.2 var(--font-display); letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-number { font: 500 15px/1 var(--font-text); letter-spacing: 0; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
/* Plus when closed, minus when open. */
.faq-toggle { position: relative; align-self: center; width: 24px; height: 24px; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; top: 11px; left: 4px; width: 16px; height: 2px; background: currentColor; transition: transform .2s ease; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0); }
.faq-answer { display: grid; gap: 12px; padding: 0 32px 26px calc(2.4em + 8px); max-width: 44em; color: var(--muted); }
.faq-answer strong { color: var(--ink); }

/* ---------- Closing invitation: the one gold block ---------- */
.contact-section { background: var(--gold); color: var(--charcoal); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.contact-section .eyebrow, .contact-section h2 em { color: var(--charcoal); }
.contact-copy h2 { margin-top: 14px; font-size: clamp(40px, 6.4vw, 88px); }
/* The home page's closing heading is longer ("Make it feel like / your shed company.").
   In the heavy face at 88 px its second line broke as "your shed / company.", so here
   it takes the page's section heading size (h2 above), which keeps it on two lines. */
.business-home .contact-copy h2 { font-size: clamp(36px, 5.2vw, 70px); }
.contact-copy > p:last-child { margin-top: 20px; max-width: 30em; font-size: 18px; color: #3b3a2c; }
.contact-actions { display: grid; gap: 12px; justify-items: start; }
.contact-stage, .contact-or { font-size: 14.5px; font-weight: 700; }
.contact-or { margin-top: 14px; }
.contact-actions p { max-width: 24em; color: #3b3a2c; }
.email-link { font-size: clamp(18px, 1.8vw, 22px); text-decoration-color: var(--charcoal); overflow-wrap: anywhere; }
.contact-section :focus-visible { outline-color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(56px, 7vw, 96px) 32px; background: var(--charcoal-deep); color: var(--dark-ink); }
.footer-statement { display: grid; gap: 14px; }
.footer-statement > span { font-size: 15px; font-weight: 600; color: var(--dark-muted); }
.footer-statement strong { font: 800 clamp(40px, 7vw, 96px)/.95 var(--font-display); letter-spacing: -.04em; color: var(--dark-strong); }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: clamp(40px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--dark-line); }
.site-footer .brand img { width: 170px; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15.5px; font-weight: 600; }
.footer-main nav a { padding-block: 10px; border-bottom: 2px solid transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; font-size: 14px; color: var(--dark-muted); }

/* ---------- Section dividers ----------
 * Sections meet on shed rooflines instead of straight rules: single slopes
 * (lean-to) alternating direction, one gambrel and one gable. --pitch is the
 * rise of the roofline. A shaped section slides up over the one before it by
 * --pitch and is clipped to the roofline; the section before it gains the same
 * bottom padding, so no content is ever covered.
 * Founder -> pricing is paper on paper and carries a tape measure.
 * The footer rises over the gold block as a skyline of sheds.
 */
:is(.company-section, .production-section, .materials-section, .plans-section, .roadmap-section, .faq-section) { padding-bottom: calc(var(--band) + var(--pitch)); }
:is(.company-section, .production-section, .materials-section, .founder-section, .roadmap-section, .faq-section, .contact-section) { margin-top: calc(-1 * var(--pitch)); padding-top: calc(var(--band) + var(--pitch) * .7); }
/* Single slopes alternate direction down the page. */
.production-section, .founder-section, .faq-section { clip-path: polygon(0 var(--pitch), 100% 0, 100% 100%, 0 100%); }
.materials-section, .roadmap-section { clip-path: polygon(0 0, 100% var(--pitch), 100% 100%, 0 100%); }
/* Gambrel: steep lower slopes, shallow upper slopes, like the barn-style cabins. */
.company-section { clip-path: polygon(0 var(--pitch), 9% calc(var(--pitch) * .38), 50% 0, 91% calc(var(--pitch) * .38), 100% var(--pitch), 100% 100%, 0 100%); }
/* Gable over the closing invitation. */
.contact-section { clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%); }
/* Tape measure across the founder -> pricing join (Jason, 2026-11-23: "make it a
 * tap measurer. a detailed one whos colors match the page"). The drawing is inline
 * in index.html, 64 units to the inch: a gold blade with charcoal marks, a charcoal
 * hook at the left, and the blade running off the right edge of the page.
 * - Scale: 64 px to the inch (a real 1 in blade); 48 px on phones, so the blade
 *   keeps clear of the text above and below it. --tape-scale sets both.
 * - No cut numeral at the right edge: each numeral (and its 32 px stud box) needs
 *   18 px either side of its inch line. The hook moves right by the least that puts
 *   the page edge between two numerals, so 0 to 36 px (27 on phones):
 *   left = max(0, (W - 21) mod 64 - 28), all times the scale; 21 = the 3 px lip
 *   plus 18, 28 = 64 - 2 x 18. A browser without mod() keeps the hook at the edge.
 * - Marks are snapped to whole screen pixels (crispEdges) so the 1/16 lines stay sharp.
 * The Nampa page loads this file too; its FAQ band is also a .plans-section but has
 * no .tape-measure in its markup, so it draws nothing there. */
.plans-section { position: relative; }
.tape-measure { --tape-scale: 1; --tape-shift: 0px; position: absolute; left: 0; right: 0; top: calc(-37px * var(--tape-scale)); height: calc(74px * var(--tape-scale)); overflow-x: clip; pointer-events: none; }
@supports (left: mod(1px, 1px)) {
  .tape-measure { --tape-shift: max(0px, mod(100% - 21px * var(--tape-scale), 64px * var(--tape-scale)) - 28px * var(--tape-scale)); }
}
.tape-blade { position: absolute; top: 0; left: var(--tape-shift); width: calc(6403px * var(--tape-scale)); height: 100%; overflow: visible; }
/* The blade's shadow on the paper: a plain box under the visible part of the blade, cheaper than a filter on a 6400 px drawing. */
.tape-measure::before { content: ''; position: absolute; top: calc(5px * var(--tape-scale)); right: 0; left: calc(var(--tape-shift) + 3px * var(--tape-scale)); height: calc(64px * var(--tape-scale)); box-shadow: 0 10px 16px -10px rgba(23, 28, 29, .55), 0 2px 3px -1px rgba(23, 28, 29, .2); }
.tape-face { fill: var(--gold); }
.tape-cup { fill: url(#tape-cup); }              /* the blade's curve: a little shade along both edges */
#tape-cup stop { stop-color: var(--charcoal); }
.tape-ticks { fill: url(#tape-graduations); }
#tape-graduations rect, .tape-boxes rect { fill: var(--charcoal); shape-rendering: crispEdges; }
.tape-edge { fill: none; stroke: var(--charcoal); stroke-opacity: .35; stroke-width: 1; shape-rendering: crispEdges; }
.tape-numerals text, .tape-feet text { font-family: var(--font-display); font-weight: 800; text-anchor: middle; fill: var(--charcoal); }
.tape-numerals text { font-size: 20px; }
.tape-numerals .tape-stud { fill: var(--paper); }   /* a stud mark: light numeral in a dark box, like the red box on a real tape */
.tape-feet text { font-size: 11px; letter-spacing: .02em; }
.tape-hook rect { fill: var(--charcoal); }
.tape-hook circle { fill: var(--muted); stroke: var(--dark-muted); stroke-opacity: .45; stroke-width: 1.5; }
@media (max-width: 600px) { .tape-measure { --tape-scale: .75; } }
.contact-section { padding-bottom: calc(var(--band) * .6 + var(--skyline)); }
.site-footer { position: relative; z-index: 1; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--skyline); background: url('assets/dividers/skyline-footer.svg') 50% 100% / auto 100% repeat-x; pointer-events: none; }

/* ---------- Work-order viewer (native dialog, opened by homepage.js) ---------- */
html.image-viewer-open { overflow: hidden; }
.image-viewer { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--charcoal-deep); color: var(--dark-ink); }
.image-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.image-viewer::backdrop { background: var(--charcoal-deep); }
.image-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 22px; border-bottom: 1px solid var(--dark-line); }
.image-viewer-toolbar h2 { font-size: 18px; letter-spacing: -.015em; line-height: 1.4; }
.image-viewer-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--dark-line); background: transparent; color: var(--dark-ink); }
.image-viewer-close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.image-viewer-stage { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; padding: clamp(12px, 2vw, 28px); padding-bottom: max(12px, env(safe-area-inset-bottom)); overflow: hidden; }
.image-viewer-stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.work-order-viewer iframe { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: #f4f6f4; }

/* ---------- Tablet and compact navigation (homepage.js closes the menu above 900px) ---------- */
@media (max-width: 900px) {
  .menu-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--dark-line); background: transparent; color: var(--dark-ink); }
  .menu-button span { width: 20px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 20px; border-bottom: 1px solid var(--dark-line); background: var(--charcoal); font-size: 17px; box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .7); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.button) { padding-block: 14px; border-bottom: 1px solid var(--dark-line); }
  .nav-cta { margin-top: 16px; min-height: 52px; }

  :is(.company-heading, .production-heading, .materials-copy, .roadmap-intro),
  .production-grid, .siding-compare, .founder-layout, .plans-layout, .roadmap-layout, .faq-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .founder-layout, .contact-layout { align-items: start; }
  .hero-story-side { grid-template-columns: minmax(0, 1fr); }
  .order-preview-stage { max-width: 560px; }
  .siding-detail-link { flex: none; aspect-ratio: 3 / 2; }
  .siding-option-copy { font-size: 15px; }
  .roadmap-current-label p { margin-left: 0; text-align: left; }
  /* Three siding choices a row on a tablet: six in a row left about 100 px each and broke the
     wainscot names into four and five lines. */
  .siding-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header .brand img { width: 132px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .company-bridge { flex-direction: column; gap: 2px; }
  .comparison-grid, .subscription-options { grid-template-columns: minmax(0, 1fr); }
  .workflow-steps { grid-template-columns: minmax(0, 1fr); }
  .workflow-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--dark-line); }
  .order-preview-document-caption { flex-direction: column; align-items: flex-start; }
  .siding-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .siding-knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .siding-tag { top: 10px; font-size: 12.5px; padding: 5px 10px; }
  .siding-tag-current { left: 10px; }
  .siding-tag-previous { right: 10px; }
  .subscription-option > p:not(.subscription-price) { min-height: 0; }
  .roadmap-stack li { grid-template-columns: auto minmax(0, 1fr); }
  .roadmap-step-tag { display: none; }
  .faq-item summary { grid-template-columns: 2em minmax(0, 1fr) 24px; }
  .faq-answer { padding: 0 0 22px; }
  .contact-actions .button { width: 100%; }
  .footer-main { flex-direction: column; align-items: flex-start; }
}

/* ---------- Finish: every control answers at once ----------
 * The signed-in Operations pages' finish (apps/account/shared/finish.css), on the website, for
 * every link, menu word, question row and button that is not a gold main action (Buttons, above,
 * has those). Jason, 2026-11-22: "i hate how the buttons do not have instant animation when hover
 * and clicked or touched."
 * - Colors change in 70 ms and a press sinks 1 px in 50 ms; with reduced motion, at once.
 * - Hover waits for a real pointer, so a phone does not keep a hover look after a tap.
 * - A finger gets the pressed look the moment it touches: button-press.js sets .is-pressed on
 *   any link, button or question row under a finger, because a phone shows :active late or not
 *   at all while the finger is down.
 * - The keyboard ring is the page's own (Base): 3 px, square, 4 px clear.
 */
:is(.site-nav a, .footer-main nav a, .brand, .faq-item summary, .faq-note a, .faq-answer a, .email-link, .order-preview-open, .image-viewer-close, .menu-button) {
  transition: color 70ms linear, background-color 70ms linear, border-color 70ms linear, text-decoration-color 70ms linear, opacity 70ms linear, transform 50ms linear;
}
/* Menu words in the header and footer: gold under the pointer with a gold rule beneath; a press
   lightens the gold and sinks the word. */
@media (hover: hover) {
  :is(.site-nav a:not(.button), .footer-main nav a):hover { color: var(--gold); border-bottom-color: var(--gold); }
  .brand:hover { opacity: .85; }
}
:is(.site-nav a:not(.button), .footer-main nav a):is(:active, .is-pressed) { color: #f1ca88; border-bottom-color: #f1ca88; transform: translateY(1px); }
.brand:is(:active, .is-pressed) { opacity: .7; }
/* A question row: its words and the plus turn gold-ink; a press darkens them and sinks the row. */
@media (hover: hover) {
  .faq-item summary:hover { color: var(--gold-ink); }
}
.faq-item summary:is(:active, .is-pressed) { color: #5e4112; transform: translateY(1px); }
/* Links inside text: the gold underline takes the letters' color; a press turns the words gold-ink. */
@media (hover: hover) {
  :is(.faq-note a, .faq-answer a):hover { text-decoration-color: currentColor; }
  /* On the gold block the underline is already the letters' color, so it thickens instead. */
  .email-link:hover { text-decoration-thickness: 4px; }
}
:is(.faq-note a, .faq-answer a):is(:active, .is-pressed) { color: var(--gold-ink); }
.email-link:is(:active, .is-pressed) { opacity: .75; }
/* The work order's charcoal button and the viewer's close button: lighter under the pointer,
   darker and 1 px lower when pressed. */
@media (hover: hover) {
  .order-preview-open:hover { background: var(--charcoal-raised); }
  .image-viewer-close:hover { border-color: var(--gold); background: var(--charcoal-raised); color: var(--dark-strong); }
  .menu-button:hover { border-color: var(--gold); background: var(--charcoal-raised); }
}
:is(.order-preview-open, .image-viewer-close, .menu-button):is(:active, .is-pressed) { background: var(--charcoal-deep); transform: translateY(1px); }
/* The six siding choices lift under the pointer and sink when pressed. */
@media (hover: hover) {
  .siding-option:hover { background: rgba(255, 255, 255, .05); border-color: var(--dark-muted); transform: translateY(-2px); }
  .siding-option.is-active:hover { border-color: var(--gold); }
}
.siding-option:is(:active, .is-pressed) { background: var(--charcoal-deep); transform: translateY(0); }

/* ---------- Privacy choices (visitor-insights.css, added to the home page and the town page) ----------
 * The optional-analytics box and its "Privacy choices" button, in the page's own charcoal and gold
 * instead of a cream panel with bright white buttons: square, soft text, the Operations section
 * edge (1 px rule, 3 px gold-brown top). Its two answers keep equal weight, outlined alike, so
 * neither is pushed. `body` lifts these rules over visitor-insights.css, which loads after this
 * file and also dresses the box inside the builder (left as it is there). */
body #visitor-privacy {
  right: 16px; bottom: 64px; padding: 4px 16px 16px; max-height: calc(100dvh - 80px);
  border: 1px solid var(--dark-line); border-top: 3px solid #7d6a45; border-radius: 0;
  background: var(--charcoal-raised); color: var(--dark-ink);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); font: 400 14.5px/1.5 var(--font-text);
}
body #visitor-privacy strong { font: 700 15px/1.3 var(--font-text); color: var(--dark-strong); }
body #visitor-privacy p { color: var(--dark-ink); }
body #visitor-privacy summary { color: var(--gold); text-decoration-color: rgba(227, 183, 110, .55); text-underline-offset: 3px; }
body #visitor-privacy a { color: var(--gold); text-underline-offset: 3px; }
body #visitor-privacy .privacy-actions { gap: 12px; margin-top: 4px; }
body #visitor-privacy button { border-radius: 0; }
body #visitor-privacy .privacy-actions button {
  min-height: 44px; border: 1px solid var(--dark-line); background: var(--charcoal); color: var(--dark-strong);
  font: 700 14.5px/1.3 var(--font-text);
}
body #visitor-privacy .privacy-close { color: var(--dark-ink); border: 1px solid transparent; }
body #visitor-privacy-toggle {
  right: 12px; bottom: 12px; min-height: 34px; padding: 6px 12px; border: 1px solid var(--dark-line); border-radius: 0;
  background: var(--charcoal); color: var(--dark-ink); font: 600 13px/1.2 var(--font-text); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .55);
}
body :is(#visitor-privacy-toggle, #visitor-privacy button, #visitor-privacy summary, #visitor-privacy a) {
  transition: color 70ms linear, background-color 70ms linear, border-color 70ms linear, transform 50ms linear;
}
body :is(#visitor-privacy button, #visitor-privacy summary, #visitor-privacy a, #visitor-privacy-toggle):focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) {
  body :is(#visitor-privacy .privacy-actions button, #visitor-privacy-toggle):hover:not(:disabled) { border-color: var(--gold); background: var(--charcoal-raised); color: var(--dark-strong); }
  body #visitor-privacy-toggle:hover { background: var(--charcoal-deep); }
  body #visitor-privacy .privacy-close:hover { border-color: var(--dark-line); color: var(--gold); }
  body #visitor-privacy :is(summary, a):hover { color: #f1ca88; text-decoration-color: currentColor; }
}
body :is(#visitor-privacy button, #visitor-privacy-toggle):is(:active, .is-pressed):not(:disabled) { background: var(--charcoal-deep); border-color: #f1ca88; transform: translateY(1px); }
body #visitor-privacy :is(summary, a):is(:active, .is-pressed) { color: #f1ca88; }
@media (pointer: coarse) {
  body #visitor-privacy-toggle { min-height: 44px; }
}

/* ---------- Form fields ----------
   Rounded 6 px, the one exception to the square corners (Jason, 2026-11-26: "I want form inputs in sign
   in and in 3d builder and in any page to have rounded borders"): the Nampa page's cash price box and any
   typed box, drop-down or text area of these pages. The same rule as the account pages'
   (apps/account/shared/finish.css, section 4, which says why it is `!important`); the choice chips
   (Payment term) are buttons and stay square. */
:is(select, textarea, input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"], [type="button"], [type="submit"], [type="reset"], [type="image"], [type="hidden"])) { border-radius: 6px !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
