/* Alamo Crafting Forge — site styles.
 * Poster language: condensed capitals, thick rules, big flat fields of the brand
 * colors (Paper, White, Ink, Process Blue). Photographs shown large and whole.
 * Tokens mirror brand/tokens.css.
 */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --paper: #F4F2EE; --white: #FFFFFF; --ink: #111418; --graphite: #4F555C;
  --rule: #D9D5CE; --stone: #ECE9E3; --blue: #006FA6; --blue-dark: #004E75; --sky: #7CC8EE;
  --on-ink: #F4F2EE; --on-ink-muted: #B9BEC4; --ink-rule: #2A3036;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --bar: 4px;
  --t-hero: clamp(4.9rem, 9.3vw, 10.5rem);
  --t-h1: clamp(3rem, 7.6vw, 7.5rem);
  --t-h2: clamp(2.6rem, 6.2vw, 6rem);
  --t-h3: clamp(1.75rem, 2.7vw, 2.6rem);
  --t-lead: clamp(1.125rem, .5vw + 1rem, 1.3125rem);
  --container: 1320px; --gutter: clamp(16px, 4vw, 48px);
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: none; box-shadow: var(--focus); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .9; letter-spacing: 0; text-wrap: balance; }
h1, h2 { line-height: .86; }
.caps { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: 88px; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; font-weight: 500; }
.skip:focus { top: 12px; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--graphite); max-width: 60ch; }
.muted { color: var(--graphite); }
.small { font-size: .9rem; }
.after { margin-top: 24px; }
.tbd { background: rgba(255, 198, 0, .45); padding: 0 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 10px 24px; border: 3px solid var(--ink); background: transparent; color: var(--ink); font: 700 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: #fff; }
.btn-light { border-color: var(--on-ink); color: var(--on-ink); }
.btn-light:hover { background: var(--on-ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font: 700 1.4rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; color: inherit; }
.more:hover { color: var(--blue); }
.sec-ink .more:hover { color: #fff; }
.text-link { font-weight: 600; }

/* Header: paper, closed by a thick ink rule */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); color: var(--ink); border-bottom: var(--bar) solid var(--ink); }
.hdr { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font: 700 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; padding: 12px 12px; }
.nav a:where(:not(.btn)):hover { box-shadow: inset 0 -4px 0 var(--blue); }
.nav a:where(:not(.btn))[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--ink); }
.nav a:focus-visible { box-shadow: var(--focus); }
.nav .btn { margin-left: 14px; min-height: 46px; padding: 8px 18px; font-size: 1.2rem; color: #fff; border-color: var(--blue); }
.nav .btn:hover { border-color: var(--blue-dark); }
.menu-btn { display: none; margin-left: auto; min-height: 46px; padding: 8px 18px; border: 0; background: var(--ink); color: var(--paper); font: 700 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
@media (max-width: 1040px) {
  .js .menu-btn { display: inline-flex; align-items: center; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 80px; height: calc(100vh - 80px); height: calc(100dvh - 80px); overflow-y: auto; flex-flow: column nowrap; align-items: stretch; gap: 0; background: var(--ink); padding: 8px var(--gutter) 28px; }
  .js .nav.open { display: flex; }
  .js .nav a { flex-shrink: 0; }
  .js .nav a:not(.btn) { color: var(--paper); padding: 14px 0; border-bottom: 2px solid var(--ink-rule); font-size: clamp(2.4rem, 11vw, 3.4rem); letter-spacing: 0; box-shadow: none; }
  .js .nav a:not(.btn):focus-visible { box-shadow: var(--focus); }
  .js .nav .btn { margin: 28px 0 0; min-height: 60px; font-size: 1.5rem; }
  .nav { flex-wrap: wrap; }
  .brand img { height: 40px; }
}
@media (max-width: 1040px) and (max-height: 640px) {
  .js .nav a:not(.btn) { padding: 9px 0; font-size: 2rem; }
  .js .nav .btn { margin-top: 16px; }
}

/* Sections */
.sec { padding: clamp(64px, 9vw, 144px) 0; }
.sec-tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec-white { background: var(--white); }
.sec-rule { border-top: 1px solid var(--rule); }
.sec-ink { background: var(--ink); color: var(--on-ink); }
.sec-ink .lead, .sec-ink .muted { color: var(--on-ink-muted); }
.sec-ink a:not(.btn) { color: var(--sky); }
.sec-ink .list li::before { background: currentColor; }
.sec-blue { background: var(--blue); color: #fff; }
.sec-blue .lead { color: #fff; }
.sec-blue .btn-ink { border-color: var(--ink); }
.sec-blue .btn-light { border-color: #fff; color: #fff; }
.sec-blue .btn-light:hover { background: #fff; color: var(--ink); }
.head { margin-bottom: clamp(28px, 4vw, 56px); border-top: var(--bar) solid currentColor; padding-top: 18px; }
.head h2 { font-size: var(--t-h2); }
.head p { margin-top: 14px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); border-top: var(--bar) solid currentColor; padding-top: 18px; }
.head-row h2 { font-size: var(--t-h2); }
.head-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 56px); border-top: var(--bar) solid currentColor; padding-top: 18px; }
.head-split h2 { font-size: var(--t-h2); }
.cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(24px, 5vw, 80px); align-items: start; }
.cols-wide-first { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cols + .cols { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule); }
.cols h2 { font-size: var(--t-h2); }
h2.h-sm { font-size: var(--t-h3); line-height: .95; margin-bottom: 18px; }
@media (max-width: 860px) { .head-split, .cols, .cols-wide-first { grid-template-columns: 1fr; } }

/* Lists */
.list { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.list li { padding-left: 20px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--blue); }
.rules { list-style: none; border-bottom: 2px solid var(--ink); }
.rules li { padding: 14px 0; border-top: 2px solid var(--ink); font-size: 1.0625rem; font-weight: 500; }
.lead + .rules { margin-top: 28px; }
.sec-ink .rules, .sec-ink .rules li { border-color: var(--on-ink-muted); }

/* The press runs edge to edge. Each line of the headline carries its own ink ground. */
.floor-hero {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  background: var(--ink);
  color: var(--on-ink);
}
.floor-press { position: relative; height: clamp(320px, 29vw, 550px); margin: 0; }
.floor-press img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 80%; }
.floor-press figcaption {
  position: absolute; right: var(--edge); bottom: 16px; padding: 6px 10px;
  background: var(--paper); color: var(--ink); font: 700 1rem/1.1 var(--display);
  text-transform: uppercase; letter-spacing: .04em;
}
.floor-headline {
  position: relative; margin-top: clamp(-225px, -15.7vw, -120px);
  font-size: var(--t-hero); line-height: .86; letter-spacing: -.035em;
}
.floor-headline span { display: block; width: fit-content; max-width: 100%; background: var(--ink); padding: 0 .22em .08em var(--edge); }
.floor-headline span:first-child { padding-top: .08em; }
.floor-headline span + span { margin-top: -1px; }
.floor-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) auto;
  gap: clamp(20px, 3vw, 48px); align-items: center; padding-block: 18px 24px;
}
.floor-place { font: 700 clamp(1.35rem, 2.1vw, 2rem)/1 var(--display); text-transform: uppercase; }
.floor-intro p:not(.floor-place) { max-width: 56ch; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.5; }
@media (max-width: 700px) {
  .floor-press { height: clamp(210px, 60vw, 350px); }
  .floor-press img { object-position: 57% 60%; }
  .floor-press figcaption { inset: 12px var(--gutter) auto auto; font-size: .85rem; }
  .floor-headline { font-size: clamp(3.32rem, 15.5vw, 5.65rem); margin-top: -.72em; }
  .floor-intro { grid-template-columns: 1fr auto; gap: 10px 14px; padding-block: 12px 22px; }
  .floor-intro p:not(.floor-place) { grid-column: 1 / -1; grid-row: 2; }
  .floor-intro .btn { grid-column: 2; grid-row: 1; min-height: 46px; padding: 8px 12px; font-size: 1.12rem; }
}
@media (max-width: 520px) {
  .head-row { row-gap: 8px; }
  .head-row .more, .duo .more { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Page header: paper, the title in capitals at poster scale, closed by a thick rule */
.phead { background: var(--paper); color: var(--ink); padding: clamp(20px, 2.6vw, 36px) 0 clamp(32px, 4.4vw, 64px); border-bottom: var(--bar) solid var(--ink); }
.phead.has-photo { padding-bottom: 0; border-bottom: 0; }
.crumb { font-size: .9rem; color: var(--graphite); margin-bottom: clamp(20px, 3vw, 44px); }
.crumb a { color: var(--graphite); }
.crumb a:hover { color: var(--ink); }
.phead-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; }
.phead h1 { font-size: var(--t-h1); line-height: .84; }
.phead .lead { font-weight: 500; color: var(--ink); }
.phead .btn-row { margin-top: 24px; }
@media (max-width: 520px) { .recovery-links .btn { flex: 1 1 auto; } }
.phead-photo { margin-top: clamp(28px, 4vw, 56px); border-top: var(--bar) solid var(--ink); border-bottom: var(--bar) solid var(--ink); }
.phead-photo img { width: 100%; aspect-ratio: 21 / 9; max-height: 76vh; object-fit: cover; object-position: 50% 40%; }
.phead-low .phead-photo img { object-position: 50% 82%; }
.phead-light { background: var(--white); }
.phead-light .phead-photo img { aspect-ratio: 2 / 1; max-height: 84vh; object-position: 50% 50%; }
.phead-product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(24px, 5vw, 80px); align-items: end; }
.phead-product .lead { margin-top: 22px; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 28px; margin-top: clamp(28px, 4vw, 48px); padding-top: 14px; border-top: 2px solid var(--ink); }
.jump a { display: block; padding: 6px 0; color: var(--ink); font: 700 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.jump a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 3px; }
@media (max-width: 520px) {
  .jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-top: 0; }
  .jump li { display: grid; border-bottom: 1px solid var(--ink); }
  .jump li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .jump a { display: flex; align-items: center; min-height: 44px; padding: 9px 0; }
}
@media (max-width: 860px) {
  .phead-grid, .phead-product { grid-template-columns: 1fr; }
  .phead-photo img, .phead-light .phead-photo img { aspect-ratio: 3 / 2; }
}

/* Photo figures */
.ph { margin: 0; }
.ph img { width: 100%; object-fit: cover; background: var(--stone); }
.ph figcaption { margin-top: 10px; font-size: .92rem; color: var(--graphite); }
.band { margin: 0 0 clamp(28px, 4vw, 56px); }
.band img { width: 100%; }

/* Plates: each piece shown whole, with a wall-label caption. In a .jrow, plates
 * share one height because each grows in proportion to its width / height (--r). */
.jrow { display: flex; gap: 20px; align-items: flex-start; }
.jrow + .jrow { margin-top: clamp(32px, 5vw, 80px); }
.plate { display: block; margin: 0; flex: var(--r) 1 0%; min-width: 0; }
.plate img { width: 100%; height: auto; background: var(--stone); }
.plate figcaption { margin-top: 12px; font-size: .95rem; color: var(--graphite); }
.plate figcaption b { display: block; color: var(--ink); font: 700 1.6rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.sec-ink .plate img { background: var(--ink-rule); }
.sec-ink .plate figcaption { color: var(--on-ink-muted); }
.sec-ink .plate figcaption b { color: var(--on-ink); }
@media (max-width: 700px) {
  .jrow { flex-wrap: wrap; gap: 28px 12px; }
  .jrow + .jrow { margin-top: 28px; }
  .plate { flex: 1 1 100%; }
  .plate.tall { flex: 1 1 calc(50% - 6px); }
}
@media (min-width: 375px) and (max-width: 700px) {
  .jrow .plate.tall { flex-basis: 100%; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: end; }
  .jrow .plate.tall figcaption { margin: 0; }
  .jrow .plate.tall figcaption b { font-size: 1.4rem; }
}

/* Finished pieces share the dark ground with the press. */
.floor-work { padding-bottom: clamp(42px, 5vw, 80px); }
.floor-work-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 4px 16px; border-top: 1px solid var(--graphite); padding-block: 16px;
}
.floor-work-head h2 { font-size: clamp(2.25rem, 3.7vw, 4rem); }
.floor-work-head .more { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.2rem; }
@media (max-width: 700px) {
  .floor-work-head { padding-block: 8px; }
  .floor-work-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor-work-row .plate:first-child { grid-column: 1 / -1; }
  .floor-work-row .plate.tall { display: block; }
  .floor-work-row .plate.tall figcaption { margin-top: 12px; }
}

/* Materials on the home page link directly to each stock guide. */
.floor-materials { padding-block: clamp(44px, 6vw, 96px); border-top: var(--bar) solid var(--ink); }
.floor-materials .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px clamp(40px, 9vw, 144px); }
.floor-materials h2 { font-size: var(--t-h2); }
.floor-materials p { margin-top: 18px; max-width: 40ch; color: var(--graphite); font-size: var(--t-lead); }
.floor-material-links { list-style: none; border-top: 2px solid var(--ink); }
.floor-material-links a {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 8px 2px;
  border-bottom: 1px solid var(--ink); color: var(--ink); text-decoration: none;
  font: 700 clamp(1.6rem, 2.6vw, 2.8rem)/1 var(--display); text-transform: uppercase;
}
.floor-material-links a::after { content: "↗" / ""; font: 1.2rem/1 var(--sans); }
.floor-material-links a:hover { color: var(--blue); }
@media (max-width: 700px) {
  .floor-materials .wrap { grid-template-columns: 1fr; }
}

/* Material plates (materials page): whole photos, the name set large beneath */
.matcard { color: var(--ink); text-decoration: none; }
.matcard h2, .matcard h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: .9; margin-top: 16px; }
.matcard p { color: var(--graphite); margin-top: 6px; max-width: 40ch; }
.matcard:hover h2, .matcard:hover h3 { color: var(--blue); }
.note-strip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 6vw, 88px); padding: clamp(28px, 4vw, 48px); background: var(--blue); color: #fff; text-decoration: none; }
.note-strip b { font: 700 var(--t-h2)/.86 var(--display); text-transform: uppercase; }
.note-strip span { color: #fff; font-size: var(--t-lead); font-weight: 500; }
.note-strip:hover { background: var(--blue-dark); color: #fff; }
.namelist { list-style: none; display: flex; flex-wrap: wrap; gap: 6px clamp(20px, 3vw, 44px); }
.namelist a { display: block; padding: 4px 0; font: 700 clamp(2rem, 3.6vw, 3.4rem)/.95 var(--display); text-transform: uppercase; color: var(--ink); text-decoration: none; }
.namelist a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 4px; }
@media (max-width: 860px) { .note-strip { grid-template-columns: 1fr; } }

/* A continuous strip of printing, cutting and finishing details. */
.floor-process { padding-block: clamp(40px, 5.5vw, 88px); background: var(--ink); color: var(--on-ink); }
.floor-process .head-row { margin-bottom: clamp(20px, 2.5vw, 40px); }
.floor-process .more { color: var(--sky); }
.floor-process .more:hover { color: var(--white); }
.floor-process .stair { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: clamp(12px, 1.5vw, 28px); }
.floor-process .ph img { height: clamp(180px, 20vw, 380px); }
.floor-process h3 { margin-top: 18px; font-size: clamp(2rem, 3.3vw, 4rem); }
.floor-process p { color: var(--on-ink-muted); margin-top: 10px; max-width: 40ch; }
@media (max-width: 700px) {
  .floor-process .stair { grid-template-columns: 1fr; gap: 22px; }
  .floor-process .ph { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: start; gap: 8px 16px; }
  .floor-process .ph img { grid-row: 1 / 3; height: 100%; min-height: 136px; }
  .floor-process h3 { margin: 0; align-self: end; }
  .floor-process p { margin: 0; font-size: .94rem; }
}

/* Duo: two details either side of the text */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.duo h2 { font-size: var(--t-h2); }
.duo .lead { margin-top: 16px; }
.duo .ph img { aspect-ratio: 1; }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr 1fr; gap: 12px; }
  .duo > div { grid-column: 1 / -1; grid-row: 1; margin-bottom: 24px; }
}

/* Wide + side: a large whole photo with a narrow column of text hung at its foot */
.wide-side { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px clamp(24px, 4vw, 64px); align-items: end; }
.wide-side h2 { font-size: var(--t-h2); }
.wide-side .lead { margin-top: 16px; }
@media (max-width: 860px) { .wide-side { grid-template-columns: 1fr; } }

/* Bleed: text in the grid, the photo running off the edge of the page */
.bleed { display: grid; grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, calc(var(--container) * .5)) minmax(0, calc(var(--container) * .5)) minmax(var(--gutter), 1fr); align-items: center; }
.bleed-text { grid-column: 2; padding: clamp(48px, 7vw, 112px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 112px) 0; }
.bleed-photo { grid-column: 3 / 5; margin: 0; }
.bleed.flip .bleed-photo { grid-column: 1 / 3; grid-row: 1; }
.bleed.flip .bleed-text { grid-column: 3; padding-left: clamp(24px, 5vw, 80px); padding-right: 0; }
.bleed-photo img { width: 100%; height: auto; }
.bleed h2 { font-size: var(--t-h2); }
.bleed .lead { margin-top: 16px; }
@media (max-width: 860px) {
  .bleed { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .bleed-text, .bleed.flip .bleed-text { padding: 36px var(--gutter) 56px; }
}

/* Industries: one entry per industry, the photo at its own shape */
.ind { padding: clamp(48px, 8vw, 128px) 0; border-top: 1px solid var(--rule); }
.ind:first-of-type { border-top: 0; }
.ind-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: 28px; align-items: end; }
.ind-grid .ph { grid-column: 1 / span 7; grid-row: 1; }
.ind-text { grid-column: 9 / span 4; grid-row: 1; }
.ind.tall .ph { grid-column: 2 / span 4; }
.ind.tall .ind-text { grid-column: 7 / span 5; }
.ind.flip .ph { grid-column: 6 / span 7; }
.ind.flip .ind-text { grid-column: 1 / span 4; }
.ind.tall.flip .ph { grid-column: 8 / span 4; }
.ind.tall.flip .ind-text { grid-column: 1 / span 5; }
.ind h2 { font-size: var(--t-h2); }
.ind .lead { margin-top: 16px; }
@media (max-width: 860px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-grid .ph, .ind-grid .ind-text { grid-column: 1 !important; grid-row: auto; }
  .ind.tall .ph { max-width: 78%; }
}

/* Ordering steps */
.order { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.order li { list-style: none; border-top: var(--bar) solid var(--ink); padding-top: 16px; }
.order h3 { font-size: clamp(1.8rem, 2.9vw, 2.8rem); }
.order p { color: var(--graphite); margin-top: 8px; font-size: .97rem; }
@media (max-width: 860px) { .order { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .order { grid-template-columns: 1fr; } }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); }
.spec-table th { width: 34%; font-weight: 500; color: var(--graphite); }
.spec-table td { font-weight: 500; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: var(--bar) solid var(--ink); }
.spec-table th a { font-weight: 600; }
@media (max-width: 560px) { .spec-table { font-size: .97rem; } .spec-table th { width: 38%; } }

/* CTA band: the one blue field on a page */
.cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(3.3rem, 10vw, 10rem); max-width: 12ch; line-height: .84; }
.cta p { margin-top: 22px; font-weight: 500; }
.cta .btn { min-height: 62px; padding: 12px 30px; font-size: 1.5rem; }

/* FAQ */
.faq { border-top: var(--bar) solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-weight: 600; font-size: 1.2rem; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 0 24px; color: var(--graphite); max-width: 68ch; font-size: 1.0625rem; }
.faq .ans p + p { margin-top: 12px; }
.faq-mt { margin-top: 44px; }
.faq-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(24px, 5vw, 80px); align-items: start; }
.faq-group + .faq-group { margin-top: clamp(56px, 7vw, 104px); }
.faq-group h2 { font-size: var(--t-h2); position: sticky; top: 108px; }
@media (max-width: 860px) {
  .faq-group { grid-template-columns: 1fr; }
  .faq-group h2 { position: static; }
  .faq-group summary { padding: 14px 0; }
}

/* Prose */
.reading-section { padding: clamp(36px, 4.5vw, 72px) 0 clamp(52px, 6vw, 96px); }
.prose { max-width: 72ch; font-size: 1.0625rem; }
.prose h2 { font-size: var(--t-h3); line-height: .95; margin: 56px 0 14px; padding-top: 14px; border-top: var(--bar) solid var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose > :first-child { margin-top: 0; }
.prose-lg p { font-size: var(--t-lead); line-height: 1.55; }
.side-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(24px, 5vw, 80px); align-items: start; }
.side-nav { position: sticky; top: 108px; display: grid; border-top: var(--bar) solid var(--ink); }
.side-nav a { color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 2px solid var(--ink); font: 700 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.side-nav a:hover { color: var(--blue); }
@media (max-width: 860px) { .side-layout { grid-template-columns: 1fr; } .side-nav { position: static; } }
@media (min-width: 360px) and (max-width: 860px) {
  .side-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .side-nav a { display: flex; align-items: center; min-height: 46px; padding: 8px 0; font-size: 1.125rem; }
  .side-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Policy topics pair each heading with one short passage. */
.policy-topic { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 10px clamp(24px, 5vw, 80px); align-items: start; padding: clamp(18px, 2vw, 30px) 0 clamp(24px, 2.5vw, 40px); border-top: 1px solid var(--ink); }
.policy-topic:first-child { border-top-width: var(--bar); }
.policy-topic h2 { font-size: var(--t-h3); line-height: .96; }
.policy-topic p { max-width: 66ch; font-size: 1.0625rem; }
.policy-date { border-top: 1px solid var(--ink); padding-top: 16px; font-size: .9rem; color: var(--graphite); }
@media (max-width: 700px) { .policy-topic { grid-template-columns: 1fr; } }

/* Forms */
.contact-intro .lead a { white-space: nowrap; }
.contact-email { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; margin-top: 12px; }
.contact-email b { font-size: 1.3rem; }
.contact-email a { display: inline-block; padding: 10px 0; overflow-wrap: anywhere; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form { background: var(--white); border: var(--bar) solid var(--ink); padding: clamp(20px, 4vw, 48px); }
.fset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fset + .fset { margin-top: 40px; padding-top: 28px; border-top: var(--bar) solid var(--ink); }
.fset legend { float: left; width: 100%; padding: 0; margin-bottom: 20px; font: 700 clamp(2rem, 3.2vw, 3rem)/.9 var(--display); text-transform: uppercase; }
.fset legend + * { clear: both; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.frow-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .frow { grid-template-columns: 1fr; }
  .frow-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .frow-3 > :last-child { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field + .field, .frow + .field, .field + .frow, .frow + .frow { margin-top: 18px; }
.frow > .field + .field { margin-top: 0; }
.field label, .field .flabel { font-weight: 500; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--graphite); font-size: .875rem; }
.field input[type=text], .field input[type=url], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font: 400 1.0625rem/1.4 var(--sans); border-radius: 0; }
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue); }
.field [aria-invalid=true] { border-color: #B3261E; }
.hint { font-size: .875rem; color: var(--graphite); }
.ferr { font-size: .9rem; color: #B3261E; font-weight: 500; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.check span b { display: block; font-weight: 500; }
.check span small { display: block; color: var(--graphite); font-size: .85rem; margin-top: 2px; }
.check:has(input:checked) { border-color: var(--blue); background: #F2F8FB; }
.check:has(input:focus-visible) { box-shadow: var(--focus); }
.drop { position: relative; border: 2px dashed var(--ink); background: var(--paper); padding: 28px 24px; text-align: center; }
.drop.over { border-color: var(--blue); background: #F2F8FB; }
.drop:focus-within { box-shadow: var(--focus); }
.drop input[type=file] { width: 100%; font: inherit; }
.js .drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .drop-ui { display: none; }
.js .drop .drop-ui { display: block; }
.drop-ui b { display: block; font-weight: 600; font-size: 1.0625rem; }
.drop-ui span { font-size: .9rem; color: var(--graphite); }
.file-list { list-style: none; margin-top: 12px; display: grid; gap: 6px; font-size: .9rem; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; background: var(--paper); border: 1px solid var(--rule); }
.file-list li.bad { border-color: #B3261E; color: #B3261E; }
.feedback { border: 1px solid #B3261E; border-left-width: 4px; background: #FDF3F2; padding: 18px 20px; margin-bottom: 28px; }
.feedback h2, .feedback h3 { font: 600 1.15rem/1.2 var(--sans); text-transform: none; margin-bottom: 8px; }
.feedback ul { padding-left: 18px; margin-top: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.form-actions .btn { width: 100%; min-height: 64px; font-size: 1.6rem; }
aside .aside-blk { padding: 18px 0 24px; border-top: var(--bar) solid var(--ink); }
.aside-blk h2, .aside-blk h3 { font-size: 2rem; line-height: .95; margin-bottom: 10px; }
.aside-blk p, .aside-blk li { color: var(--graphite); }
.aside-blk .list { margin-top: 10px; }
.aside-photo { margin: 0 0 28px; }
.aside-photo img { width: 100%; }
.response { max-width: 900px; padding: clamp(64px, 8vw, 120px) 0; }
.response h1 { font-size: var(--t-h1); line-height: .84; margin: 0 0 24px; }
.response .btn-row { margin-top: 32px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 64px 0 32px; }
.ftop { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-rule); }
.ftop .flogo { display: inline-block; }
.ftop .flogo img { height: 56px; width: auto; }
.ftop p { color: var(--on-ink-muted); margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.fcol h2 { font-size: 1.6rem; line-height: 1; letter-spacing: .03em; color: var(--on-ink); margin-bottom: 12px; padding-top: 12px; border-top: var(--bar) solid var(--on-ink); }
.fcol ul { list-style: none; display: grid; gap: 4px; }
.fcol a, .fcol span { display: inline-block; padding: 4px 0; color: var(--on-ink-muted); text-decoration: none; font-size: .95rem; }
.fcol a:hover { color: #fff; text-decoration: underline; }
.fbot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: .85rem; color: var(--on-ink-muted); }
.fbot a { color: var(--on-ink-muted); }
.fbot a:hover { color: #fff; }
.fbot nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) { .ftop { grid-template-columns: 1fr 1fr; } .ftop > :first-child { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .site-footer { padding: 44px 0 20px; }
  .ftop { gap: 32px 20px; padding-bottom: 32px; }
  .ftop > :last-child { grid-column: 1 / -1; }
  .fcol ul { gap: 0; }
  .fcol h2 { margin-bottom: 6px; }
  .fcol a, .fbot a { display: flex; align-items: center; min-height: 44px; min-width: 44px; }
  .fbot { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
