/* C. Amy Custom Welding Inc. — "Concept to Creation".
   Warm ivory ground, graphite bands, steel-grey hairlines; signal red only for action, urgency and one decisive panel.
   Barlow Condensed 700/800 + Manrope 500/700. Photos sit in 12px corners inside 1px rules that meet at square joints;
   one red seam runs down the page's left gutter and every section heading joins it. */

:root {
  --ivory: #f4efe6; --ivory-2: #e9e2d4; --paper: #fbf8f3; --white: #fff;
  --graphite: #222124; --graphite-2: #2e2d31; --ink: #222124; --ink-2: #4b4d53;
  --steel: #8d9298; --line: #222124; --line-soft: rgba(34, 33, 36, .2); --line-dark: rgba(244, 239, 230, .24);
  --red: #c8141c; --red-2: #a30f15; --red-hi: #ff7a7a; --on-dark: #f4efe6; --on-dark-2: #cdc7bc; --on-red: #fff; --on-red-2: #ffe3e1;
  --display: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif;
  --body: 'Manrope', 'Manrope Fallback', Arial, sans-serif;
  --max: 1320px; --gut: clamp(16px, 4vw, 64px); --band: clamp(64px, 8.5vw, 128px);
  --r-photo: 12px; --r-ctl: 3px; --hdr: 64px; --seam-off: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 1100px) { :root { --hdr: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ivory); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); scrollbar-gutter: stable; scrollbar-color: var(--graphite) var(--ivory-2); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 500 1rem/1.6 var(--body); font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 700px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
p, li, dd, figcaption, .lede { text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, figure, dl, dd, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
input, textarea { caret-color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
main:focus { outline: 0; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--graphite); color: var(--on-dark); padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h1, .h2, .h3, .ph-t, .aud-n, .sx-n, .pc-t, .pl-q, .mx-h, .office-h, .faq-q, .jump-h, .ft-h, .trust-h, .sheet-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .94; letter-spacing: -.005em; text-wrap: balance; }
.h1 { font-size: clamp(3.1rem, 1.9rem + 4.2vw, 5.4rem); line-height: .9; letter-spacing: -.012em; }
.h1 > span { display: block; }
.h1-b { color: var(--red); }
.h1--page { font-size: clamp(2.8rem, 1.8rem + 4.4vw, 5.6rem); }
.h2 { font-size: clamp(2.2rem, 1.5rem + 2.7vw, 4rem); }
.h2--xl { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5.6rem); line-height: .9; }
.h2--md { font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.8rem); }
.h3 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); }
.h3--xl { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); line-height: .92; }
.h3--feat { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); line-height: .94; }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; max-width: 38em; }
.big { font-size: clamp(1.125rem, 1.02rem + .4vw, 1.35rem); line-height: 1.5; }
.hint { font-weight: 500; color: var(--ink-2); }

/* ---------- layout ---------- */
.frame { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; position: relative; }
.band { padding-block: var(--band); }
.band--alt { background: var(--ivory-2); }
.band--paper { background: var(--ivory-2); }
.band--graphite { background: var(--graphite); color: var(--on-dark); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- links + buttons ---------- */
.ln { display: inline-flex; align-items: center; min-height: 44px; position: relative; font-weight: 700; text-decoration: none; color: var(--ink); transition: color .2s; }
.ln::before, .ln::after { content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; pointer-events: none; }
.ln::after { height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ln:hover::after { transform: scaleX(1); }
.ln--sm { font-size: .9375rem; }
.ln--light { color: var(--on-dark); }
.ln--light::after { background: currentColor; }
.ln--muted { color: var(--ink-2); }
p a:not(.btn):not(.ln), dd a:not(.ln), td a { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
p a:not(.btn):not(.ln):hover { color: var(--red); }
.band--graphite p a:not(.btn):not(.ln):hover, .close p a:not(.btn):not(.ln):hover { color: inherit; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: var(--r-ctl);
  font: 700 1.125rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.25rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--line { border-color: var(--graphite); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--graphite); color: var(--on-dark); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--line-light { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn--line-light:hover { background: var(--on-dark); color: var(--ink); }
.btn--ghost { color: var(--ink-2); background: transparent; padding-inline: 8px; }
.btn--ghost:hover { color: var(--red); }
.btn[disabled] { opacity: .55; cursor: progress; }
.band--graphite :focus-visible, .close :focus-visible, .porter :focus-visible, .feat-copy :focus-visible, .mbar :focus-visible, .site-footer :focus-visible, .plan-urgent :focus-visible, .sv--em :focus-visible { outline-color: var(--on-dark); }

/* the emergency line: a scoped tel link, never a banner */
.em { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: .9375rem; text-decoration: none; color: var(--ink); }
.em-dot { width: 9px; height: 9px; background: var(--red); flex: none; }
.em-n { color: var(--red); white-space: nowrap; }
.em:hover .em-t { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.em--hero { display: block; margin-top: 18px; padding-block: 10px; line-height: 1.45; }
.em--hero .em-dot { display: inline-block; margin-right: 10px; vertical-align: .05em; }
.em--menu { margin-top: 8px; color: var(--ink); }
.em--box { display: flex; align-items: flex-start; padding: 16px 18px; background: var(--graphite); color: var(--on-dark); border-radius: var(--r-ctl); margin: 8px 0 32px; }
.em--box .em-dot { margin-top: .5em; }
.em--box .em-n { color: var(--red-hi); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ivory); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--graphite); box-shadow: 0 6px 18px -12px rgba(34, 33, 36, .35); }
.hdr { display: flex; align-items: center; gap: 20px; height: var(--hdr); }
.brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.logo { width: 156px; height: auto; }
@media (min-width: 1100px) { .logo { width: 202px; } }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 11px; font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; position: relative; }
.nav a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-call { display: none; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; line-height: 1.2; padding-left: 18px; border-left: 1px solid var(--line-soft); }
.hdr-em { font-size: .75rem; font-weight: 700; line-height: 1.25; color: var(--ink-2); max-width: 14.5em; }
.hdr-num { display: inline-flex; align-items: center; gap: 6px; font: 800 1.3rem/1.1 var(--display); letter-spacing: .02em; color: var(--red); white-space: nowrap; }
.hdr-num .i { width: 16px; height: 16px; }
.hdr-call:hover .hdr-em { color: var(--ink); }
.hdr-plan { display: none; }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--graphite); border-radius: var(--r-ctl); font: 700 1.0625rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
@media (min-width: 700px) { .hdr-plan { display: inline-flex; margin-left: auto; } .menu-btn { margin-left: 0; } }
@media (min-width: 1100px) { .hdr-call { display: flex; } }
@media (min-width: 1240px) { .nav { display: block; } .hdr-plan { margin-left: 0; } .menu-btn { display: none; } }
@media (min-width: 1100px) and (max-width: 1239px) { .hdr-call { margin-left: auto; } .hdr-plan { margin-left: 0; } }

/* ---------- the motif: rules meeting at joints ---------- */
.fr { position: relative; --ext: 10px; --off: 7px; }
@media (min-width: 700px) { .fr { --ext: 18px; --off: 10px; } }
.fr--sm { --ext: 6px; --off: 5px; }
.fr::before, .fr::after { content: ''; position: absolute; background: var(--line); pointer-events: none; }
.fr::before { left: calc(-1 * var(--ext)); right: calc(-1 * var(--ext)); top: calc(-1 * var(--off)); height: 1px; transform-origin: left; }
.fr::after { top: calc(-1 * var(--ext)); bottom: calc(-1 * var(--ext)); left: calc(-1 * var(--off)); width: 1px; transform-origin: top; }
.fr > .j { position: absolute; z-index: 1; left: calc(-1 * var(--off) - 3px); top: calc(-1 * var(--off) - 3px); width: 7px; height: 7px; background: var(--graphite); }
.fr-im { display: block; overflow: hidden; border-radius: var(--r-photo); background: var(--ivory-2); }
.fr-im img { width: 100%; }
.fr figcaption { margin-top: 10px; font-size: .8125rem; line-height: 1.35; color: var(--ink-2); }
.fr figcaption strong { display: block; font-weight: 700; color: var(--ink); font-size: .875rem; }
.band--graphite .fr::before, .band--graphite .fr::after { background: var(--line-dark); }
.band--graphite .fr > .j { background: var(--red); }

/* the seam: one red line down the page in the left gutter, at every width; JS sets where it starts and where each heading joins it */
.seam-on main { position: relative; }
.seam-on main::before { content: ''; position: absolute; z-index: 2; top: var(--seam-top, 0px); bottom: var(--seam-bottom, 0px); left: var(--seam-x, 30px); width: 2px; background: var(--red); pointer-events: none; }
.seam-on .sj { position: relative; }
.seam-on .sj::before { content: ''; position: absolute; left: calc(-1 * var(--dx, 0px) - 5.5px); top: .32em; width: 11px; height: 11px; background: var(--red); }
.seam-on .sj::after { content: ''; position: absolute; left: calc(-1 * var(--dx, 0px) + 10px); width: calc(var(--dx, 0px) - 22px); top: calc(.32em + 5px); height: 1px; background: currentColor; opacity: .55; }
.seam-on .sj.sj--far::after, .seam-on .sj.sj--near::after { display: none; }
@media (max-width: 699px) { .seam-on .sj::before { width: 9px; height: 9px; left: calc(-1 * var(--dx, 0px) - 4.5px); top: .3em; } }

/* ---------- hero: copy on ivory, the work on a graphite slab that runs to the page edge ---------- */
.hero { --bleed: calc((100vw - min(100vw - 2 * var(--gut), var(--max))) / 2); padding-top: clamp(28px, 4vw, 56px); }
.hero-grid { display: grid; gap: 36px; }
.hero-copy .lede { margin-top: 22px; }
.hero-copy .acts { margin-top: 28px; }
.hero-art { position: relative; isolation: isolate; background: var(--graphite); display: grid; grid-template-columns: 1.12fr 1fr; gap: 26px 22px; align-items: start; padding: 30px 0 34px 12px; }
.hero-art::before { content: ''; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--gut)); background: var(--graphite); }
.hero-ph { display: block; text-decoration: none; color: inherit; }
.hero-ph--tall { grid-row: span 2; }
.hero-ph--tall .fr-im img { aspect-ratio: 3 / 4; object-fit: cover; }
.hero-ph--a .fr-im img, .hero-ph--b .fr-im img { aspect-ratio: 4 / 3; object-fit: cover; }
.on-dark .fr::before, .on-dark .fr::after { background: rgba(244, 239, 230, .38); }
.on-dark .fr > .j { background: var(--red); }
.on-dark .fr figcaption { color: var(--on-dark-2); }
.on-dark .fr figcaption strong { color: var(--on-dark); }
.on-dark :focus-visible { outline-color: var(--on-dark); }
@media (max-width: 699px) {
  .hero { padding-top: 20px; }
  .hero-grid { gap: 26px; }
  .hero-copy .lede { margin-top: 16px; }
  .hero-copy .acts { margin-top: 20px; gap: 10px; }
  .hero-copy .acts .btn { flex: 1 1 auto; min-height: 52px; padding-inline: 14px; font-size: 1.125rem; }
  .hero-copy .acts .btn .i { display: none; }
  .hero-copy .em--hero { margin-top: 10px; }
  .hero-art { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 24px 0 30px 12px; }
  .hero-ph--tall { grid-column: 1 / -1; grid-row: auto; }
  .hero-ph--tall .fr-im img { aspect-ratio: 4 / 3; object-position: 50% 60%; }
  .hero-art .fr figcaption { font-size: .75rem; }
  .hero-art .fr figcaption strong { font-size: .8125rem; }
}
@media (min-width: 700px) and (max-width: 1099px) { .hero-art { grid-template-columns: 1.2fr 1fr; padding: 40px 0 44px 18px; } }
@media (min-width: 1100px) {
  .hero { padding-top: 0; }
  .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
  .hero-copy { grid-column: 1 / span 6; align-self: center; padding-block: 56px 72px; }
  .hero-art { grid-column: 7 / -1; grid-template-columns: 1.45fr 1fr; gap: 30px 30px; align-content: center; padding: 44px 0 44px 46px; }
  .hero-ph--tall .fr-im img { aspect-ratio: 5 / 7; }
  .hero-art { border-radius: var(--r-ctl) 0 0 var(--r-ctl); }
  .hero-art::before { inset: 0 calc(-1 * var(--bleed)) 0 24px; }
}

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--graphite); }
.trust-row { display: grid; }
.trust-h { font-size: 1.6rem; padding: 22px 0 6px; }
.trust-i { padding: 18px 0; border-top: 1px solid var(--line-soft); font-size: .9375rem; line-height: 1.5; display: flex; gap: 16px; align-items: center; }
.trust-i:first-of-type { border-top: 0; }
.badge { flex: none; width: 50px; height: 80px; background: #fff; }
@media (min-width: 900px) {
  .trust-row { grid-template-columns: .7fr 1.4fr 1fr 1fr; }
  .trust-h, .trust-i { padding: 26px 24px; border-top: 0; border-left: 1px solid var(--line-soft); }
  .trust-h { border-left: 0; padding-left: 0; align-self: center; }
}

/* ---------- intro ---------- */
.intro-grid { display: grid; gap: 32px; }
.intro-ph { display: block; color: inherit; text-decoration: none; padding: 12px 0 0 12px; }
.intro-ph .fr-im img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; }
@media (min-width: 700px) and (max-width: 1099px) { .intro-ph { padding-left: 18px; } .intro-ph .fr-im img { aspect-ratio: 16 / 10; } }
.intro-copy { max-width: 36em; }
.intro-copy .big { margin-bottom: 1em; }
@media (min-width: 1100px) { .intro-grid { grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr auto auto 1fr; gap: 0 24px; } .intro-grid .h2 { grid-column: 1 / span 6; grid-row: 2; } .intro-copy { grid-column: 1 / span 5; grid-row: 3; margin-top: 32px; } .intro-ph { grid-column: 7 / -1; grid-row: 1 / -1; padding: 8px 0 0 28px; } }

/* ---------- services index (home) ---------- */
.svx-grid { display: grid; gap: 40px; }
.svx-head p { margin-top: 18px; max-width: 34em; }
.sx-list { border-bottom: 1px solid var(--graphite); }
.sx { display: grid; gap: 4px; padding: 18px 30px 18px 24px; border-top: 1px solid var(--graphite); text-decoration: none; position: relative; }
.sx::before { content: ''; position: absolute; left: 0; top: 28px; width: 7px; height: 7px; background: var(--graphite); transition: background-color .25s; }
.sx::after { content: ''; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease), color .25s; }
.sx:hover::after { color: var(--red); transform: translateX(3px) rotate(45deg); }
.sx-n { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.4rem); transition: color .25s; }
.sx-d { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.sx:hover::before { background: var(--red); }
.sx:hover .sx-n { color: var(--red); }
.svx-art { display: grid; gap: 32px; padding-left: 12px; }
.svx-all { justify-self: start; }
@media (min-width: 1100px) {
  .svx-grid { grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
  .svx-head { grid-column: 1 / span 6; }
  .sx-list { grid-column: 1 / span 7; margin-top: 40px; }
  .sx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 24px; }
  .svx-art { grid-column: 9 / -1; grid-row: 1 / span 3; align-content: start; align-self: start; position: sticky; top: calc(var(--hdr) + 40px); padding: 24px 0 0 20px; }
  .fr--offset { margin-left: 18%; }
  .svx-all { grid-column: 1 / span 7; margin-top: 32px; }
}

/* ---------- featured work (home) ---------- */
.work-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.work-head .h2 { max-width: 14em; }
.feat { display: grid; gap: 48px 24px; }
.feat-main { display: grid; padding-left: 12px; }
.feat-main .fr-im img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 64% 50%; }
.feat-copy { background: var(--red); color: var(--on-red); padding: clamp(28px, 4vw, 56px); border-radius: 0 0 var(--r-photo) var(--r-photo); margin-top: -12px; position: relative; }
.feat-copy p { color: var(--on-red); margin-top: 18px; max-width: 30em; }
.feat-acts { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 22px; }
.feat-side { padding-left: 12px; }
.feat-side .h3 { margin-top: 18px; }
.feat-side p { margin-top: 10px; color: var(--ink-2); }
.feat-side .feat-acts { margin-top: 8px; }
@media (min-width: 700px) and (max-width: 1099px) { .feat { grid-template-columns: 1fr 1fr; } .feat-main { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } .feat-copy { margin: 0 0 0 -12px; border-radius: 0 var(--r-photo) var(--r-photo) 0; align-self: center; } }
@media (min-width: 1100px) {
  .feat { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .feat-main { grid-column: 1 / span 6; display: block; }
  .feat-main .fr-im img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
  .feat-copy { margin: -64px 0 0 48px; border-radius: var(--r-ctl); z-index: 1; }
  .feat-copy .h3--feat { font-size: clamp(2rem, 1.2rem + 1.1vw, 2.5rem); }
  .feat-side { grid-column: span 3; }
  .feat-side .fr-im img { aspect-ratio: 3 / 4; object-fit: cover; }
  .feat-side:last-child { padding-left: 20px; }
  .feat-side:nth-child(2) .fr-im img { object-position: 30% 50%; }
}

/* ---------- audiences ---------- */
.aud-row { display: grid; margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line-dark); }
.aud { padding: 28px 0 32px; border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 14px; }
.aud-n { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); display: flex; align-items: center; gap: 14px; }
.aud-j { width: 11px; height: 11px; background: var(--red); flex: none; }
.aud p { color: var(--on-dark-2); }
.aud-l a { display: flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; border-top: 1px solid var(--line-dark); }
.aud-l a:hover { color: var(--red-hi); }
.aud-b { margin-top: auto; align-self: flex-start; }
.aud-em { font-weight: 700; }
.aud-em a { color: var(--red-hi) !important; text-decoration-color: currentColor !important; }
@media (min-width: 700px) { .aud-row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1280px) { .aud-row { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-top: 0; } .aud { padding: 8px 28px 8px; border-bottom: 0; border-left: 1px solid var(--line-dark); } .aud:first-child { border-left: 0; padding-left: 0; } }

/* ---------- planner ---------- */
.plan-grid { display: grid; gap: 32px; }
.plan-intro p { margin-top: 16px; max-width: 32em; }
.plan-fine, .pl-fine { font-size: .875rem; color: var(--ink-2); }
.plan-urgent { margin-top: 16px; padding: 22px; background: var(--red); color: var(--on-red); border-radius: var(--r-ctl); }
.plan-urgent p { margin: 0 0 14px; }
.planner { position: relative; background: var(--paper); border: 1px solid var(--graphite); padding: clamp(18px, 3vw, 40px); min-width: 0; }
.pl-j { position: absolute; width: 11px; height: 11px; background: var(--red); }
.pl-j--tl { left: -6px; top: -6px; }
.pl-j--br { right: -6px; bottom: -6px; }
.pl-steps { display: none; }
.js .pl-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 28px; border-bottom: 1px solid var(--graphite); }
.pl-steps button { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; min-height: 56px; padding: 0 4px 12px 0; border: 0; background: none; font: 700 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); text-align: left; position: relative; }
.pl-steps button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.ps-j { width: 11px; height: 11px; border: 1.5px solid var(--graphite); }
.pl-steps button.is-done { color: var(--ink); }
.pl-steps button.is-done .ps-j { background: var(--graphite); }
.pl-steps button[aria-current="step"] { color: var(--ink); }
.pl-steps button[aria-current="step"] .ps-j { background: var(--red); border-color: var(--red); }
.pl-steps button[aria-current="step"]::after { background: var(--red); }
.pl-steps button:disabled { cursor: not-allowed; }
.pl-step + .pl-step { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.js .pl-step { display: none; margin: 0; padding: 0; border: 0; }
.js .pl-step.is-on { display: block; }
.pl-step:focus { outline: 0; }
.pl-sum { display: none; }
.pl-q { display: block; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem); margin-bottom: 20px; }
.pl-sub { display: block; font-weight: 700; font-size: .9375rem; margin: 22px 0 10px; }
.opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.opts--3, .opts--4, .opts--5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt-b { display: flex; align-items: center; gap: 12px; min-height: 54px; height: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-ctl); font-weight: 700; font-size: .9375rem; line-height: 1.3; transition: background-color .2s, border-color .2s, color .2s; }
.opt-j { width: 11px; height: 11px; flex: none; border: 1.5px solid var(--graphite); transition: background-color .2s, border-color .2s; }
.opt:hover .opt-b { border-color: var(--graphite); }
.opt input:checked + .opt-b { background: var(--graphite); border-color: var(--graphite); color: var(--on-dark); }
.opt input:checked + .opt-b .opt-j { background: var(--red); border-color: var(--red); }
.opt input:focus-visible + .opt-b { outline: 3px solid var(--red); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field input, .field select, .field textarea, .pl-summary { width: 100%; min-height: 48px; padding: 11px 13px; background: #fff; border: 1px solid var(--graphite); border-radius: var(--r-ctl); font-size: 1rem; }
.field textarea, .pl-summary { resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6b6c70; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .pl-summary:focus-visible { outline-offset: 1px; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.pl-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 28px; }
.pl-nav .btn--red { margin-left: auto; }
.pl-nav { display: none; }
.js .pl-nav { display: flex; }
.pl-summary { margin-top: 4px; font-size: .9375rem; background: #fff; }
.pl-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pl-copied { min-height: 1.5em; margin: 10px 0 0; font-weight: 700; font-size: .875rem; }
.pl-fine { margin-top: 4px; }
.pl-nojs { margin-top: 24px; font-weight: 700; }
.pl-need { margin: 14px 0 0; font-weight: 700; color: var(--red-2); }
.pl-stale { margin: 6px 0 0; font-size: .875rem; color: var(--ink-2); }
.pl-stale .btn { min-height: 44px; font-size: 1rem; padding-inline: 4px; }
.js .pl-nojs { display: none; }
.pl-match { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.pl-match h4 { font: 800 1.35rem/1 var(--display); text-transform: uppercase; margin: 0 0 8px; }
.pl-match ul { display: grid; gap: 0; margin-bottom: 18px; }
.pl-match li a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-decoration: none; border-top: 1px solid var(--line-soft); }
.pl-match li a::before { content: ''; width: 9px; height: 9px; background: var(--red); flex: none; }
.pl-match li a:hover { color: var(--red); }
.pl-match .mx-thumbs { gap: 14px 12px; }
.pl-match .mx-thumbs a { display: block; min-height: 0; border-top: 0; }
.pl-match .mx-thumbs a::before { display: none; }
.matches { display: none; }
.mx-h { font-size: 1.5rem; margin-bottom: 8px; }
.mx-note { font-size: .875rem; color: var(--ink-2); margin-bottom: 14px; }
.mx-list li a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 4px 8px 4px 10px; border-top: 1px solid var(--line-soft); font: 700 1.0625rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); text-decoration: none; transition: color .3s, background-color .3s; }
.mx-j { width: 9px; height: 9px; border: 1.5px solid var(--steel); flex: none; transition: background-color .3s, border-color .3s; }
.mx-list li.on a { color: var(--ink); background: #fff; }
.mx-list li.on .mx-j { background: var(--red); border-color: var(--red); }
.mx-list li a:hover { color: var(--red); }
.mx-proj { margin-top: 28px; }
.mx-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mx-thumbs li { min-width: 0; overflow-wrap: anywhere; }
.mx-thumbs a { display: block; text-decoration: none; font-size: .8125rem; font-weight: 700; line-height: 1.3; }
.mx-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.mx-thumbs li:first-child:nth-last-child(odd) { grid-column: span 2; }
.mx-thumbs li:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 10; }
@media (min-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(12, 1fr); gap: 48px 24px; align-items: start; }
  .plan-intro { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; }
  .plan-intro .h2 { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .plan-intro p { grid-column: 8 / -1; }
  .planner { grid-column: 1 / span 8; }
  .js .matches { display: block; grid-column: 9 / -1; position: sticky; top: calc(var(--hdr) + 24px); padding-top: 4px; }
  .pl-match { display: none; }
}

/* ---------- home: about teaser, area, close ---------- */
.abt-grid { display: grid; gap: 40px; align-items: center; }
.abt-grid > .fr { margin-left: 12px; }
.abt-copy p { margin-top: 16px; max-width: 32em; }
.abt-copy .ln { margin-top: 8px; }
@media (min-width: 1100px) { .abt-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; } .abt-grid > .fr { grid-column: 1 / span 6; margin-left: 0; } .abt-copy { grid-column: 8 / -1; } }
.area { padding-block: clamp(56px, 6vw, 88px); }
.area-grid { display: grid; gap: 20px 24px; }
.cities { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font: 700 1.25rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.cities li { display: flex; align-items: center; gap: 10px; }
.cities li::before { content: ''; width: 6px; height: 6px; background: var(--steel); }
.cities li:nth-child(5)::before { background: var(--red); }
@media (min-width: 1100px) { .area-grid { grid-template-columns: repeat(12, 1fr); } .area-grid > .h2 { grid-column: 1 / span 4; } .area-grid > div { grid-column: 5 / -1; } }
.close { background: var(--red); color: var(--on-red); padding-block: clamp(64px, 8vw, 120px); }
.close-grid { display: grid; gap: 28px; }
.close-copy p { color: var(--on-red); max-width: 30em; }
.close-copy .acts { margin-top: 24px; }
.close-mail { margin-top: 16px; font-weight: 700; }
.close--alt { background: var(--ivory-2); color: var(--ink); }
.close--alt .close-copy p { color: var(--ink); }
@media (min-width: 1100px) { .close-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; } .close-grid > .h2 { grid-column: 1 / span 7; } .close-copy { grid-column: 9 / -1; } }

/* ---------- inner page head ---------- */
.phead { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--graphite); }
.phead-grid { display: grid; gap: 24px; }
.phead-copy .acts { margin-top: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; margin-bottom: 14px; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ''; width: 6px; height: 6px; background: var(--red); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (min-width: 1100px) { .phead-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; } .phead-grid > div:first-child { grid-column: 1 / span 7; } .phead-copy { grid-column: 8 / -1; } }
.nf-list { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 16px 0 8px; }

/* ---------- services page ---------- */
.sv-wrap { display: grid; gap: 0 24px; padding-bottom: var(--band); }
.jump { padding: 28px 0 8px; }
.jump-h { font-size: 1.35rem; margin-bottom: 10px; }
.jump ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.jump a { display: flex; align-items: center; min-height: 44px; font-weight: 700; font-size: .9375rem; line-height: 1.25; text-decoration: none; border-top: 1px solid var(--line-soft); }
.jump a:hover, .jump a.is-here { color: var(--red); }
.sv { display: grid; gap: 28px; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--graphite); }
.sv-copy p { max-width: 36em; }
.sv-copy .h2 { margin-bottom: 18px; }
.covers { display: grid; gap: 0; margin: 22px 0; max-width: 36em; border-bottom: 1px solid var(--line-soft); }
.covers li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-weight: 700; font-size: .9375rem; }
.covers li::before { content: ''; width: 8px; height: 8px; background: var(--graphite); flex: none; }
.sv-proj { font-size: .9375rem; color: var(--ink-2); }
.sv-plan { margin-top: 6px; }
.sv-media { padding-left: 12px; }
.sv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 26px; }
.sv-pair .fr-im img { aspect-ratio: 3 / 4; object-fit: cover; }
.sv--text .covers { grid-template-columns: 1fr; }
@media (min-width: 700px) { .sv--text .covers { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.sv--em { border-top: 0; padding: 0; margin-top: clamp(24px, 3vw, 40px); }
.sv--em .sv-em-in { grid-column: 1 / -1; }
.sv-em-in { background: var(--red); color: var(--on-red); padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-ctl); display: grid; gap: 20px; }
.sv-em-in p { color: var(--on-red); max-width: 34em; }
.sv-em-copy .acts { margin-top: 20px; }
@media (min-width: 1100px) {
  .sv-wrap { grid-template-columns: repeat(12, 1fr); }
  .jump { grid-column: 1 / span 3; position: sticky; top: calc(var(--hdr) + 12px); align-self: start; max-height: calc(100vh - var(--hdr) - 24px); overflow: auto; padding: 36px 8px 24px 0; }
  .jump ul { grid-template-columns: 1fr; }
  .jump a { min-height: 40px; }
  .sv-list { grid-column: 4 / -1; }
  .sv { grid-template-columns: repeat(9, 1fr); gap: 24px; align-items: start; }
  .sv-copy { grid-column: 1 / span 5; }
  .sv-media { grid-column: 6 / -1; padding: 10px 0 0 24px; }
  .sv--text .sv-copy { grid-column: 1 / span 8; }
  .sv-list > .sv:first-child { border-top: 0; }
  .sv-em-in { grid-template-columns: 2fr 3fr; align-items: start; gap: 32px; }
}

/* ---------- projects page ---------- */
.porter { background: var(--red); color: var(--on-red); padding-block: clamp(56px, 7vw, 104px); }
.porter-grid { display: grid; gap: 36px; align-items: center; }
.porter .fr { margin-left: 12px; }
.porter .fr::before, .porter .fr::after { background: rgba(255, 255, 255, .55); }
.porter .fr > .j { background: #fff; }
.porter .fr-im img { aspect-ratio: 3 / 4; object-fit: cover; }
.porter-copy .big { margin: 22px 0 0; color: var(--on-red); max-width: 26em; }
.porter-copy .acts { margin-top: 28px; gap: 12px 24px; }
@media (min-width: 1100px) { .porter-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; } .porter .fr { grid-column: 1 / span 5; margin-left: 0; } .porter-copy { grid-column: 7 / -1; } }
.gal-head { display: grid; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--graphite); border-radius: var(--r-ctl); background: transparent; font-weight: 700; font-size: .9375rem; white-space: nowrap; transition: background-color .2s, color .2s; }
.chip-n { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip:hover { background: #fff; }
.chip[aria-pressed="true"] { background: var(--graphite); color: var(--on-dark); }
.chip[aria-pressed="true"] .chip-n { color: var(--on-dark-2); }
.gal-count { margin: 22px 0 18px; font-size: .9375rem; font-weight: 700; color: var(--ink-2); }
.gal-grid { --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 32px 16px; }
.gal-grid:not(.is-set) > .pc:first-child { grid-column: span 2; }
.pc.is-wide { grid-column: span 2; }
@media (min-width: 700px) { .gal-grid { --cols: 3; gap: 40px 24px; } .gal-grid:not(.is-set) > .pc:first-child { grid-column: auto; } }
@media (min-width: 1100px) { .gal-grid { --cols: 4; gap: 48px 28px; } }
.pc { min-width: 0; }
.pc-ph { display: block; width: 100%; padding: 0; border: 0; background: var(--ivory-2); border-radius: var(--r-photo); overflow: hidden; position: relative; }
.pc-ph img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pc.is-wide .pc-ph img { aspect-ratio: 16 / 10; }
.pc-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; background: rgba(34, 33, 36, .82); color: #fff; border-radius: var(--r-ctl); }
.pc-zoom .i { width: 16px; height: 16px; }
.pc-t { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); margin-top: 14px; }
.pc-s { margin-top: 6px; font-size: .9375rem; line-height: 1.45; }
.pc-pl { display: block; color: var(--ink-2); font-size: .875rem; }
.pc-plan { margin-top: 2px; }
.pc-ph[data-view] img[src*="toronto"] { object-position: 50% 20%; }

/* ---------- about page ---------- */
.philo-row { display: grid; gap: 0; margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line-dark); }
.ph { padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.ph-t { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.75rem); display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ph p { color: var(--on-dark-2); max-width: 30em; }
@media (min-width: 1100px) { .philo-row { grid-template-columns: repeat(3, 1fr); border-top: 0; } .ph { padding: 8px 32px; border-bottom: 0; border-left: 1px solid var(--line-dark); } .ph:first-child { padding-left: 0; border-left: 0; } }
.cert-grid { display: grid; gap: 28px; align-items: center; }
.cert-badge { display: flex; justify-content: flex-start; }
.badge--lg { width: 50px; height: 80px; outline: 1px solid var(--line-soft); outline-offset: 10px; }
.cert-copy p { margin-top: 16px; max-width: 34em; }
@media (min-width: 1100px) { .cert-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; } .cert-badge { grid-column: 1 / span 2; } .cert-copy { grid-column: 3 / span 8; } }
.trio { display: grid; gap: 36px 24px; padding-left: 12px; }
.trio-i { display: block; text-decoration: none; color: inherit; }
.trio .fr-im img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 700px) { .trio { grid-template-columns: repeat(3, 1fr); } }

/* ---------- contact page ---------- */
.ct-grid { display: grid; gap: 48px; }
.ct-phone { display: inline-flex; align-items: center; min-height: 56px; font: 800 clamp(2.6rem, 1.8rem + 3vw, 4.4rem)/1 var(--display); color: var(--red); text-decoration: none; letter-spacing: .01em; }
.ct-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.ct-dl { display: grid; gap: 0; margin: 18px 0 18px; border-bottom: 1px solid var(--line-soft); }
.ct-dl > div { display: grid; grid-template-columns: 5.5em 1fr; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--line-soft); }
.ct-dl dt { font-weight: 700; font-size: .875rem; color: var(--ink-2); }
.ct-dl dd { font-weight: 700; word-break: break-word; }
.ct-offices { display: grid; gap: 28px; }
@media (min-width: 560px) { .ct-offices { grid-template-columns: 1fr 1fr; } }
.office-h { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.adr { display: block; line-height: 1.5; }
.ct-hours { margin-top: 32px; }
.hours { width: 100%; max-width: 360px; font-size: .9375rem; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.hours th { font-weight: 700; width: 4.5em; }
.ct-fine { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
.ct-g { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 24px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.ct-g:hover { color: var(--red); }
.ct-form { background: var(--paper); border: 1px solid var(--graphite); padding: clamp(20px, 3.5vw, 44px); position: relative; scroll-margin-top: calc(var(--hdr) + 16px); }
.ct-form::before { content: ''; position: absolute; left: -6px; top: -6px; width: 11px; height: 11px; background: var(--red); }
.ct-form > p { margin-top: 12px; max-width: 34em; }
.ct-plan { margin-top: 18px !important; font-size: .9375rem; }
@media (min-width: 1100px) { .ct-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; } .ct-main { grid-column: 1 / span 5; } .ct-form { grid-column: 7 / -1; align-self: start; } }
.faq-grid { display: grid; gap: 0 48px; margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--graphite); }
.faq-i { padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.faq-q { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); margin-bottom: 10px; }
.faq-i p { max-width: 36em; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--graphite); color: var(--on-dark); padding: clamp(48px, 6vw, 80px) 0 0; }
.ft { display: grid; gap: 36px 24px; }
.ft-logo { display: inline-block; background: var(--paper); padding: 14px 18px; border-radius: var(--r-ctl); }
.ft-logo .logo { width: 204px; }
.ft-line { margin-top: 18px; font: 700 1.35rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; max-width: 16em; }
.badge--ft { margin-top: 18px; }
.ft-h { font-size: 1.25rem; margin-bottom: 8px; color: var(--on-dark); }
.ft-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: .9375rem; }
.ft-col a:hover { color: var(--red-hi); }
.ft-col li { font-size: .9375rem; color: var(--on-dark-2); }
.ft-contact li { padding: 4px 0; }
.ft-contact li:has(> a) { padding: 0; }
.ft-contact .adr { color: var(--on-dark-2); }
.ft-g .i { width: 18px; height: 18px; margin-right: 8px; }
.ft-col ul { columns: 1; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: clamp(40px, 5vw, 64px); padding: 18px 0 22px; border-top: 1px solid var(--line-dark); font-size: .875rem; color: var(--on-dark-2); }
.kcredit a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--on-dark); font-weight: 700; }
.kcredit__logo { height: 15px; width: auto; }
@media (min-width: 700px) { .ft { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ft { grid-template-columns: 4fr 3fr 2fr 3fr; } }

/* ---------- phone action bar ---------- */
.mbar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 2fr 3fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--graphite); }
.mbar .btn { min-height: 48px; padding: 0 10px; font-size: 1.0625rem; }
@media (max-width: 699px) { body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }
@media (min-width: 700px) { .mbar { display: none; } }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(34, 33, 36, .62); }
.sheet { width: min(580px, 100% - 24px); max-height: calc(100dvh - 24px); overflow: auto; background: var(--paper); border: 1px solid var(--graphite); border-radius: var(--r-ctl); padding: clamp(18px, 4vw, 32px); overscroll-behavior: contain; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sheet-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); padding-top: 6px; }
.sheet-lede { margin-top: 10px; color: var(--ink-2); }
.icon-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--graphite); border-radius: var(--r-ctl); background: transparent; color: inherit; text-decoration: none; }
.icon-btn:hover { background: var(--graphite); color: var(--on-dark); }
.icon-btn--dark { border-color: var(--line-dark); color: var(--on-dark); }
.icon-btn--dark:hover { background: var(--on-dark); color: var(--ink); }
.form { margin-top: 4px; }
.form .btn { margin-top: 22px; }
.form-note { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
.kf-sent { padding: 22px 22px 22px 46px; margin-top: 18px; background: #fff; border: 1px solid var(--graphite); position: relative; outline: 0; }
.kf-sent::before { content: ''; position: absolute; left: 20px; top: 28px; width: 11px; height: 11px; background: var(--red); }
.kf-sent p { margin: 0; }
.kf-sent-h { font: 800 1.5rem/1.1 var(--display); text-transform: uppercase; margin-bottom: 8px !important; }
.kf-error { margin: 18px 0 0; padding: 12px 14px; background: #fff; border-left: 0; border: 1px solid var(--red); color: var(--red-2); font-weight: 700; font-size: .9375rem; }
.kf-error a { color: inherit; }
.menu-sheet { margin: 0 0 0 auto; width: min(420px, 100%); height: 100dvh; max-height: 100dvh; background: var(--ivory); padding: 12px 20px 24px; overflow: auto; }
.menu-sheet .sheet-head { align-items: center; min-height: 52px; }
.menu-sheet .logo { width: 150px; }
.menu-list { margin-top: 18px; border-bottom: 1px solid var(--graphite); }
.menu-list a { display: flex; align-items: center; min-height: 60px; border-top: 1px solid var(--graphite); font: 800 2rem/1 var(--display); text-transform: uppercase; text-decoration: none; }
.menu-list a[aria-current="page"] { color: var(--red); }
.menu-foot { display: grid; gap: 10px; margin-top: 24px; }
.viewer { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; background: rgba(28, 27, 30, .97); color: var(--on-dark); }
.viewer::backdrop { background: rgba(28, 27, 30, .9); }
.viewer-in { height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 16px; gap: 12px; }
.viewer-fig { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 12px; }
.viewer-img { min-height: 0; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
.viewer-cap { text-align: center; max-width: 44em; font-size: .9375rem; color: var(--on-dark-2); }
.viewer-cap strong { display: block; color: var(--on-dark); font: 800 1.5rem/1.1 var(--display); text-transform: uppercase; }
.viewer-bar { display: flex; justify-content: center; align-items: center; gap: 10px; }
.viewer-count { min-width: 5em; text-align: center; font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; }
html.dlg-open { overflow: hidden; }
/* without JavaScript the links still open these as plain targets */
html:not(.js) dialog:target { display: block; position: fixed; inset: 0; margin: auto; z-index: 60; box-shadow: 0 0 0 100vmax rgba(34, 33, 36, .62); }

/* ---------- motion (only when wanted, never hiding content without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .motion .rv.in, .motion .h1.rv { opacity: 1; transform: none; }
  .motion .fr.rv { opacity: 1; transform: none; }
  .motion .fr.rv::before { transform: scaleX(0); transition: transform .7s var(--ease); }
  .motion .fr.rv::after { transform: scaleY(0); transition: transform .7s var(--ease) .1s; }
  .motion .fr.rv > .j { opacity: 0; transition: opacity .3s .55s; }
  .motion .fr.rv:not(.rv-l) .fr-im { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease) .2s; }
  .motion .fr.rv.in::before, .motion .fr.rv.in::after { transform: none; }
  .motion .fr.rv.in > .j { opacity: 1; }
  .motion .fr.rv.in .fr-im { clip-path: inset(0 0 0 0); }
  .motion .hero-ph--a .fr.rv .fr-im, .motion .hero-ph--a .fr.rv::before { transition-delay: .32s; }
  .motion .hero-ph--b .fr.rv .fr-im, .motion .hero-ph--b .fr.rv::before { transition-delay: .44s; }
  .motion .h1.rv .h1-b { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease) .18s, transform .7s var(--ease) .18s; }
  .motion .h1.rv.in .h1-b { opacity: 1; transform: none; }
  .seam-on main::before { transform-origin: top; animation: seam 1.4s var(--ease) both .3s; }
  @keyframes seam { from { transform: scaleY(0); } to { transform: none; } }
  .opt-b { transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
  .opt:active .opt-b { transform: scale(.985); }
  .fr-im img, .pc-ph img { transition: transform .8s var(--ease); }
  a:hover .fr-im img, .fr-im:hover img { transform: scale(1.035); }
  .pc-ph:hover img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print { .site-header, .mbar, .site-footer, dialog { display: none !important; } body { background: #fff; } }
