/* ==========================================================================
   Ironline Construction — demonstration site by Siemens Web Design
   Palette: charcoal / off-white / black / burnt orange
   ========================================================================== */

:root {
  --ink: #0e0f10;
  --char: #17181a;
  --char-2: #202226;
  --char-3: #2c2f34;
  --steel: #8d9196;
  --steel-2: #b4b6b8;
  --paper: #f1eee8;
  --paper-2: #e7e3db;
  --paper-3: #d9d4ca;
  --rust: #d35a1c;        /* burnt orange — fills, large text on dark */
  --rust-bright: #e8722f; /* text accents on dark */
  --rust-deep: #a3420e;   /* text accents on light (AA) */
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(14, 15, 16, .14);

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1320px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 76px;
  --sec-pad: clamp(4.5rem, 10vw, 9rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
::selection { background: var(--rust); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.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-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--rust); color: var(--ink); padding: .75rem 1rem;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Type primitives ---------- */
.eyebrow, .mono-label {
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust-deep);
  display: flex; align-items: center; gap: .75rem;
}
.eyebrow--light { color: var(--rust-bright); }
.eyebrow__rule { width: 2.25rem; height: 2px; background: currentColor; flex: none; }
.mono-label { color: var(--steel); gap: .5rem; }
.mono-label--rule { padding-top: 1.25rem; margin-top: 1.5rem; border-top: 1px solid var(--line-light); margin-bottom: .75rem; }

.section-title {
  font-weight: 800;
  font-stretch: 85%;
  font-size: clamp(2.35rem, 5.4vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-top: 1rem;
  text-wrap: balance;
}
.section-intro { color: #45484d; max-width: 36ch; font-size: 1.05rem; }
.section-index {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--steel);
  letter-spacing: .1em;
  padding-top: .2rem;
}
.section-index--inline { margin-bottom: 1.25rem; }

.section { padding-block: var(--sec-pad); position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 4rem 1fr minmax(0, 26rem);
  gap: 1.5rem 2rem;
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-light);
  position: relative;
}
.section-head::after { /* dimension tick */
  content: ""; position: absolute; left: 0; bottom: -4px; width: 1px; height: 9px; background: var(--ink);
}
.section-head .section-index { align-self: start; }
.section-head--dark { border-color: var(--line-dark); }
.section-head--dark::after { background: var(--paper); }
.section-head--dark .section-intro { color: var(--steel-2); }

.demo-flag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .55rem; margin-bottom: .6rem;
  border: 1px solid currentColor; color: var(--rust-bright);
  line-height: 1.2;
}
.demo-flag::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.section-intro .demo-flag { display: flex; width: max-content; margin-bottom: .85rem; }
.section-head .section-intro { align-self: end; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: transparent; --fg: inherit; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3.25rem; padding: .85rem 1.5rem;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font-family: var(--f-sans); font-weight: 700; font-stretch: 105%;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-radius: 0;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  position: relative;
}
.btn:active { transform: translateY(1px); }
.btn__arrow { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--rust { --bg: var(--rust); --fg: var(--ink); --bd: var(--rust); }
.btn--rust:hover { --bg: var(--paper); --bd: var(--paper); }
.btn--ghost-light { --fg: var(--paper); --bd: rgba(241, 238, 232, .45); }
.btn--ghost-light:hover { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--ghost-dark { --fg: var(--ink); --bd: var(--ink); }
.btn--ghost-dark:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--sm { min-height: 2.6rem; padding: .55rem 1.05rem; font-size: .75rem; }
.btn--lg { min-height: 3.6rem; padding-inline: 2rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

.link-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-stretch: 105%; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  padding-bottom: .35rem; border-bottom: 2px solid var(--rust);
  transition: gap .3s var(--ease), color .2s;
}
.link-cta:hover { gap: 1rem; color: var(--rust-deep); }

.icon-btn {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-light); color: var(--ink);
  font-size: 1rem; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); }

/* Frame: corner crop marks for imagery */
.frame { position: relative; }
.frame::before, .frame::after {
  content: ""; position: absolute; width: 18px; height: 18px; z-index: 2; pointer-events: none;
  border-color: var(--rust); border-style: solid;
}
.frame::before { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.frame::after { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

/* ---------- Demo banner ---------- */
.demo-banner {
  background: var(--ink); color: var(--steel-2);
  font-size: .8rem; line-height: 1.4;
  border-bottom: 1px solid var(--line-dark);
  position: relative; z-index: 60;
}
.demo-banner p {
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  padding: .55rem 0; display: flex; align-items: center; gap: .6rem; justify-content: center; text-align: center;
}
.demo-banner strong { color: var(--paper); font-weight: 600; }
.demo-banner a { color: var(--rust-bright); text-underline-offset: 3px; }
.demo-banner a:hover { color: var(--paper); }
.demo-banner__dot { width: 7px; height: 7px; background: var(--rust); flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  color: var(--paper);
  transition: background-color .35s var(--ease), border-color .35s, height .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(20, 21, 23, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand__mark { width: 34px; height: 34px; color: var(--paper); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 900; font-stretch: 120%; font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase; }
.brand__sub { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .38em; text-transform: uppercase; color: var(--steel-2); margin-top: .3rem; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: .25rem; }
.primary-nav a {
  display: block; padding: .6rem .85rem; text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  position: relative; color: rgba(241, 238, 232, .82);
  transition: color .2s;
}
.primary-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px;
  background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="true"] { color: var(--paper); }
.primary-nav a:hover::after, .primary-nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { flex: none; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 3rem; height: 3rem; background: transparent; border: 1px solid var(--line-dark);
  align-items: center; justify-content: center;
}
.menu-toggle__bars { width: 22px; height: 12px; position: relative; display: block; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--paper); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--char); color: var(--paper);
  padding: 2rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px);
  background-size: 100% 4rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0;
  font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 800; font-stretch: 85%;
  text-transform: uppercase; text-decoration: none; letter-spacing: -.01em;
}
.mobile-menu__list a span { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; color: var(--rust-bright); }
.mobile-menu__list li:last-child a { color: var(--rust-bright); }
.mobile-menu__note { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  margin-top: calc(-1 * var(--header-h));
  color: var(--paper);
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
  transform: scale(1.06);
  animation: heroZoom 2.4s var(--ease) forwards;
}
.hero::before { /* legibility tint */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 15, 16, .86) 0%, rgba(14, 15, 16, .55) 48%, rgba(14, 15, 16, .2) 100%),
    linear-gradient(0deg, rgba(14, 15, 16, .85) 0%, rgba(14, 15, 16, 0) 45%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(241, 238, 232, .07) 1px, transparent 1px);
  background-size: calc((min(100vw - 2 * var(--gutter), var(--wrap))) / 6) 100%;
  background-position: center;
}
.hero__content { padding-top: calc(var(--header-h) + 5rem); padding-bottom: clamp(7rem, 14vh, 9rem); }
.hero__title {
  font-weight: 900; font-stretch: 80%;
  font-size: clamp(3.1rem, 10.5vw, 9.75rem);
  line-height: .86; letter-spacing: -.025em; text-transform: uppercase;
  margin: 1.5rem 0 2.25rem;
}
.hero__title .line { display: block; }
.hero__title .line--accent { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.hero__title .dot { color: var(--rust); -webkit-text-stroke: 0; }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 2rem 3rem; align-items: end; }
.hero__lead { color: rgba(241, 238, 232, .86); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__plate {
  position: absolute; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, auto);
  background: rgba(14, 15, 16, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark);
}
.hero__plate > div { padding: 1rem 1.6rem; border-right: 1px solid var(--line-dark); }
.hero__plate > div:last-child { border-right: 0; }
.hero__plate dt { font-family: var(--f-mono); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rust-bright); }
.hero__plate dd { font-size: .85rem; font-weight: 600; margin-top: .2rem; white-space: nowrap; }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 1.4rem;
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  text-decoration: none; color: var(--steel-2);
}
.hero__scroll-line { width: 64px; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--rust); transform: translateX(-100%); animation: scrollLine 2.4s var(--ease) infinite; }

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- Commitments ---------- */
.commitments { background: var(--char); color: var(--paper); border-top: 4px solid var(--rust); }
.commitments__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.commitments__list li { padding: 2.5rem 2rem 2.75rem; border-left: 1px solid var(--line-dark); position: relative; }
.commitments__list li:first-child { border-left: 0; padding-left: 0; }
.commitments__num { font-family: var(--f-mono); font-size: .75rem; color: var(--rust-bright); letter-spacing: .1em; }
.commitments h2 { font-size: 1.15rem; font-weight: 700; font-stretch: 95%; margin: .75rem 0 .5rem; line-height: 1.2; }
.commitments p { font-size: .92rem; color: var(--steel-2); line-height: 1.55; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.services::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 96px 96px; opacity: .4;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}
.services > .container { position: relative; }
.svc { display: grid; grid-template-columns: minmax(0, 23rem) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc__tabs { display: flex; flex-direction: column; border-top: 2px solid var(--ink); position: sticky; top: calc(var(--header-h) + 2rem); }
.svc__tab {
  display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: .5rem;
  text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line-light);
  padding: 1.15rem .25rem; position: relative;
  font-weight: 700; font-stretch: 92%; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .005em;
  color: #5e6166; transition: color .25s, padding .35s var(--ease);
}
.svc__tab::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 0; background: var(--ink);
  transition: width .45s var(--ease); z-index: 0;
}
.svc__tab > * { position: relative; z-index: 1; }
.svc__tab-num { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; color: var(--rust-deep); }
.svc__tab-arrow { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease); color: var(--rust); }
.svc__tab:hover { color: var(--ink); }
.svc__tab:hover .svc__tab-arrow { opacity: 1; transform: none; }
.svc__tab[aria-selected="true"] { color: var(--paper); padding-left: 1rem; }
.svc__tab[aria-selected="true"]::before { width: 100%; }
.svc__tab[aria-selected="true"] .svc__tab-num { color: var(--rust-bright); }
.svc__tab[aria-selected="true"] .svc__tab-arrow { opacity: 1; transform: none; color: var(--rust-bright); }

.svc__panels { position: relative; }
.svc__panel { display: none; }
.svc__panel.is-active { display: block; animation: panelIn .6s var(--ease); }
.svc__panel:focus-visible { outline-offset: 8px; }
.svc__media { aspect-ratio: 16 / 10; background: var(--paper-3); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__tag {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .55rem .9rem;
}
.svc__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem 2.5rem; padding-top: 2rem; }
.svc__title {
  grid-column: 1 / -1;
  font-weight: 800; font-stretch: 85%; text-transform: uppercase;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -.01em;
}
.svc__mobile-num { display: none; }
.svc__body > p { color: #3d4045; }
.svc__body .link-cta { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }

.spec-list { border-top: 1px solid var(--line-light); }
.spec-list li {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 0; border-bottom: 1px solid var(--line-light);
  font-size: .95rem; font-weight: 500;
}
.spec-list li::before { content: ""; width: 10px; height: 2px; background: var(--rust); flex: none; }
.spec-list--tight li { padding: .45rem 0; font-size: .92rem; }

@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Work / gallery ---------- */
.work { background: var(--char); color: var(--paper); }
.work .section-title { color: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 2.75rem; padding: .5rem 1rem;
  background: transparent; color: var(--steel-2);
  border: 1px solid var(--line-dark);
  font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { color: var(--paper); border-color: var(--steel); }
.filter.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.filter__count { font-family: var(--f-mono); font-size: .68rem; color: var(--rust-bright); }
.filter.is-active .filter__count { color: var(--rust-deep); }

.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(220px, 22vw, 300px);
  grid-auto-flow: dense;
  gap: 1rem;
}
.gallery__item { grid-column: span 4; position: relative; }
.gallery__item--wide { grid-column: span 8; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item.is-hidden { display: none; }
.gallery.is-filtered .gallery__item { grid-column: span 4; grid-row: span 1; }
.gallery__item.is-entering { animation: tileIn .55s var(--ease) both; }
.tile {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background: var(--char-3); color: var(--paper);
  text-align: left; overflow: hidden; display: block;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: saturate(.85); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14, 15, 16, .92) 0%, rgba(14, 15, 16, .55) 38%, rgba(14, 15, 16, 0) 70%);
  transition: opacity .4s;
}
.tile__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem 1.35rem; display: grid; gap: .35rem; }
.tile__cat { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-bright); }
.tile__title { font-weight: 800; font-stretch: 88%; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.1; text-transform: uppercase; }
.tile__more {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2);
  display: inline-flex; gap: .4rem; align-items: center;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .4s;
}
.tile__badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 1;
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(14, 15, 16, .72); color: var(--steel-2); padding: .3rem .5rem;
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); filter: saturate(1); }
.tile:hover .tile__more, .tile:focus-visible .tile__more { max-height: 2rem; opacity: 1; }
.tile:focus-visible { outline-offset: -3px; }
@keyframes tileIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.noscript-note { color: var(--steel-2); }

/* ---------- Before / after ---------- */
.ba {
  display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-dark); align-items: center;
}
.ba__title { font-weight: 800; font-stretch: 85%; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; text-transform: uppercase; margin: 1rem 0 1.25rem; }
.ba__note { color: var(--steel-2); font-size: .92rem; }
.ba__note .demo-flag { display: flex; width: max-content; }
.ba__switch { display: inline-flex; margin-top: 1.75rem; border: 1px solid var(--line-dark); }
.ba__switch-btn {
  min-height: 2.75rem; padding: .5rem 1.2rem; background: transparent; border: 0; color: var(--steel-2);
  font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.ba__switch-btn.is-active { background: var(--rust); color: var(--ink); }
.ba__stage { --pos: 50%; aspect-ratio: 3 / 2; position: relative; overflow: visible; user-select: none; touch-action: pan-y; background: var(--char-3); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__label {
  position: absolute; top: 1rem; z-index: 2;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: .4rem .65rem;
}
.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; background: var(--rust); color: var(--ink); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--paper); z-index: 3; pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 3.25rem; height: 3.25rem; display: grid; place-items: center;
  background: var(--rust); color: var(--ink); font-size: 1.25rem; font-weight: 700;
  border: 2px solid var(--paper);
  transition: transform .2s var(--ease);
}
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
  cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 52px; height: 100%; }
.ba__range::-moz-range-thumb { width: 52px; height: 100%; border: 0; background: transparent; }
.ba__range:focus-visible ~ .ba__handle .ba__knob,
.ba__stage:focus-within .ba__knob { outline: 3px solid var(--paper); outline-offset: 3px; }
.ba__stage:hover .ba__knob { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Project dialog ---------- */
.project-dialog {
  width: min(1180px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; background: var(--paper); color: var(--ink);
  overflow: auto; overscroll-behavior: contain;
}
.project-dialog::backdrop { background: rgba(10, 11, 12, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.project-dialog[open] { animation: dlgIn .45s var(--ease); }
.project-dialog__inner { padding: clamp(1rem, 3vw, 2rem); }
.project-dialog__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.project-dialog__bar .demo-flag { color: var(--rust-deep); margin: 0; }
.project-dialog__nav { display: flex; gap: .4rem; }
.icon-btn--close { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.icon-btn--close:hover { background: var(--rust); color: var(--ink); border-color: var(--rust); }
.project-dialog__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 3vw, 2.75rem); }
.project-dialog__media .frame { aspect-ratio: 3 / 2; background: var(--paper-3); }
.project-dialog__media img { width: 100%; height: 100%; object-fit: cover; }
.project-dialog__thumbs { display: flex; gap: .6rem; margin-top: 1rem; }
.project-dialog__thumbs button {
  width: 6rem; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; background: none; opacity: .6;
  transition: opacity .2s, border-color .2s;
}
.project-dialog__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.project-dialog__thumbs button[aria-pressed="true"] { border-color: var(--rust); opacity: 1; }
.project-dialog__thumbs button:hover { opacity: 1; }
.project-dialog__title { font-weight: 800; font-stretch: 85%; font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: .98; text-transform: uppercase; margin: .6rem 0 1rem; }
.project-dialog__summary { color: #3d4045; }
.mono-label { color: var(--rust-deep); }
.spec-table { margin-top: 1.5rem; border-top: 2px solid var(--ink); }
.spec-table > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line-light); font-size: .92rem; }
.spec-table dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #5e6166; padding-top: .2rem; }
.spec-table dd { font-weight: 600; }
.project-dialog__disclaimer { font-size: .8rem; color: #5e6166; margin: 1.25rem 0; padding: .75rem .9rem; background: var(--paper-2); border-left: 3px solid var(--rust); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
body.dialog-open { overflow: hidden; }

/* ---------- Process ---------- */
.process { background: var(--paper-2); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: step; }
.timeline::before { /* rail */
  content: ""; position: absolute; left: 0; right: 0; top: 1.75rem; height: 2px; background: var(--line-light);
}
.timeline::after { /* progress fill */
  content: ""; position: absolute; left: 0; top: 1.75rem; height: 2px; background: var(--rust);
  width: var(--progress, 0%); transition: width 1s var(--ease);
}
.timeline__step { position: relative; padding-right: 1.75rem; }
.timeline__marker {
  width: 3.5rem; height: 3.5rem; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--paper-2); border: 2px solid var(--ink);
  font-family: var(--f-mono); font-weight: 600; font-size: .95rem;
  transition: background .4s, color .4s, border-color .4s;
}
.timeline__step.is-lit .timeline__marker { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.timeline__step.is-lit .timeline__marker span { color: var(--rust-bright); }
.timeline__body h3 { font-weight: 800; font-stretch: 88%; font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; margin: 1.6rem 0 .75rem; }
.timeline__body > p { font-size: .95rem; color: #3d4045; }
.timeline__meta { margin-top: 1.25rem; border-top: 1px solid var(--line-light); }
.timeline__meta > div { padding: .65rem 0; border-bottom: 1px solid var(--line-light); }
.timeline__meta dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-deep); }
.timeline__meta dd { font-size: .88rem; font-weight: 500; margin-top: .15rem; line-height: 1.45; }

/* ---------- About ---------- */
.about { background: var(--paper); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about__media { position: relative; padding-bottom: 7rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.about__img--main { aspect-ratio: 4 / 5; background: var(--paper-3); }
.about__img--main img { width: 100%; height: 100%; object-fit: cover; }
.about__img--inset {
  position: absolute; right: -1rem; bottom: 0; width: 58%; aspect-ratio: 4 / 3;
  border: 8px solid var(--paper); background: var(--paper-3);
}
.about__img--inset img { width: 100%; height: 100%; object-fit: cover; }
.about__stamp {
  position: absolute; left: 0; bottom: 1rem;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); border-left: 3px solid var(--rust); padding-left: .85rem; line-height: 1.5;
}
.about__text .section-title { font-size: clamp(2rem, 4vw, 3.4rem); }
.about__lead { font-size: 1.15rem; color: #34373b; margin: 1.75rem 0 2.5rem; max-width: 40rem; }
.principles { border-top: 2px solid var(--ink); }
.principles li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-light); }
.principles__n { font-family: var(--f-mono); font-size: .8rem; color: var(--rust-deep); padding-top: .25rem; }
.principles h3 { font-weight: 800; font-stretch: 90%; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .01em; }
.principles p { color: #45484d; font-size: .97rem; margin-top: .25rem; }

/* ---------- Planner ---------- */
.planner { background: var(--ink); color: var(--paper); }
.planner .section-title { color: var(--paper); }
.planner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 60%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 60%, #000 0%, transparent 70%);
}
.planner > .container { position: relative; }
.planner__shell { display: grid; grid-template-columns: 1fr minmax(0, 24rem); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.planner__main { background: var(--char); border: 1px solid var(--line-dark); padding: clamp(1.25rem, 3vw, 2.5rem); }
.planner__progress { height: 3px; background: var(--line-dark); margin-bottom: 1.5rem; }
.planner__progress-bar { display: block; height: 100%; width: 25%; background: var(--rust); transition: width .5s var(--ease); }
.planner__steps-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 2rem; }
.planner__steps-nav li {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel);
  display: flex; gap: .45rem; align-items: center;
}
.planner__steps-nav li span { color: var(--steel); }
.planner__steps-nav li.is-current { color: var(--paper); }
.planner__steps-nav li.is-current span, .planner__steps-nav li.is-done span { color: var(--rust-bright); }
.planner__steps-nav li.is-done { color: var(--steel-2); }
.planner__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.planner__step.is-active { animation: panelIn .5s var(--ease); }
.planner__q { font-weight: 800; font-stretch: 88%; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; text-transform: uppercase; margin-bottom: 1.5rem; padding: 0; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.options--4 { grid-template-columns: repeat(2, 1fr); }
.options--3 { grid-template-columns: repeat(3, 1fr); }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option__box {
  display: grid; gap: .3rem; height: 100%;
  padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--line-dark); background: var(--char-2);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
  position: relative;
}
.option__box::after {
  content: ""; position: absolute; top: .85rem; right: .85rem; width: 14px; height: 14px;
  border: 1.5px solid var(--steel);
}
.option__k { font-family: var(--f-mono); font-size: .68rem; color: var(--rust-bright); letter-spacing: .1em; }
.option__t { font-weight: 700; font-size: 1.02rem; padding-right: 1.5rem; }
.option__d { font-size: .82rem; color: var(--steel-2); line-height: 1.4; }
.option:hover .option__box { border-color: var(--steel); }
.option input:checked + .option__box { border-color: var(--rust); background: #2a1d16; }
.option input:checked + .option__box::after { background: var(--rust); border-color: var(--rust); box-shadow: inset 0 0 0 3px #2a1d16; }
.option input:focus-visible + .option__box { outline: 3px solid var(--rust); outline-offset: 2px; }
.planner__fine { font-size: .82rem; color: var(--steel); margin-top: 1rem; }
.planner__error { min-height: 1.5rem; color: #ff9b66; font-size: .88rem; margin-top: 1rem; }
.planner__controls { display: flex; justify-content: space-between; gap: 1rem; margin-top: .5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }

.brief {
  background: var(--paper); color: var(--ink); padding: 1.75rem;
  position: relative;
}
.brief::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--rust) 0 10px, var(--ink) 10px 20px); }
.brief__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .5rem 0 1rem; border-bottom: 2px solid var(--ink); background: var(--paper); }
.brief__title { font-weight: 900; font-stretch: 110%; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .02em; }
.brief__ref { font-family: var(--f-mono); font-size: .66rem; color: #5e6166; letter-spacing: .1em; }
.brief__rows { background: var(--paper); }
.brief__rows > div { padding: .75rem 0; border-bottom: 1px solid var(--line-light); }
.brief__rows dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #5e6166; }
.brief__rows dd { font-weight: 700; font-size: .98rem; margin-top: .1rem; min-height: 1.5rem; }
.brief__rows dd.is-set { animation: flash .8s var(--ease); }
.brief__ready { background: var(--paper); padding: 1rem 0 .5rem; }
.brief__meter { height: 8px; background: var(--paper-3); margin-top: .5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.brief__meter span { display: block; height: 100%; background: var(--rust); width: var(--fill, 0%); transition: width .5s var(--ease); grid-column: 1 / -1; grid-row: 1; }
.brief__notes { background: var(--paper); padding: .75rem 0 1.25rem; font-size: .88rem; color: #3d4045; }
.brief__notes ul { display: grid; gap: .45rem; margin-top: .5rem; }
.brief__notes li { display: grid; grid-template-columns: 1rem 1fr; gap: .4rem; line-height: 1.45; }
.brief__notes li::before { content: "▸"; color: var(--rust-deep); }
.brief__notes strong { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-deep); font-weight: 600; }
.brief__reset { display: block; margin: .75rem auto 0; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; font-size: .82rem; color: #45484d; padding: .5rem; }
.brief__disclaimer { font-size: .75rem; color: #5e6166; text-align: center; margin-top: .5rem; background: var(--paper); }
@keyframes flash { 0% { color: var(--rust-deep); } 100% { color: var(--ink); } }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 26rem) 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__head .section-intro { margin: 1.25rem 0 1.75rem; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 3rem 1fr 2rem; gap: .75rem; align-items: center;
  padding: 1.4rem 0; font-weight: 700; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.3;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--rust-deep); }
.faq__n { font-family: var(--f-mono); font-size: .75rem; color: var(--rust-deep); font-weight: 500; }
.faq__icon { width: 2rem; height: 2rem; border: 1px solid var(--line-light); position: relative; justify-self: end; transition: background .25s, border-color .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 3rem 1.6rem 3.75rem; color: #3d4045; max-width: 50rem; }
.faq__item[open] .faq__a { animation: panelIn .45s var(--ease); }

/* ---------- Estimate ---------- */
.estimate { background: var(--char); color: var(--paper); }
.estimate .section-title { color: var(--paper); font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.estimate__grid { display: grid; grid-template-columns: minmax(0, 25rem) 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.estimate__lead { color: var(--steel-2); margin: 1.5rem 0 2rem; }
.estimate__steps { border-top: 1px solid var(--line-dark); margin-bottom: 2rem; }
.estimate__steps li { display: flex; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line-dark); font-weight: 600; }
.estimate__steps span { width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border: 1px solid var(--rust); color: var(--rust-bright); font-family: var(--f-mono); font-size: .75rem; flex: none; }
.estimate__notice { border: 1px dashed rgba(232, 114, 47, .6); padding: 1rem 1.15rem; font-size: .88rem; color: var(--steel-2); }
.estimate__notice strong { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-bright); margin-bottom: .3rem; font-weight: 600; }
.estimate__panel { background: var(--paper); color: var(--ink); padding: clamp(1.25rem, 4vw, 3rem); position: relative; }
.estimate__panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rust); }

.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; gap: 1.35rem; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #2f3236; }
.req { color: var(--rust-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.2rem; padding: .8rem .95rem;
  background: #fff; border: 1px solid #a9a59d; border-radius: 0;
  font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--rust); }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.select select { padding-right: 2.5rem; cursor: pointer; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; border-width: 2px; background: #fff7f5; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #3c6e47; }
.field__hint { font-size: .8rem; color: #5e6166; }
.field__error { font-size: .85rem; color: #b3261e; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field__error::before { content: "! "; font-family: var(--f-mono); }
.field__meta { display: flex; justify-content: space-between; gap: 1rem; }
.field__count { font-family: var(--f-mono); font-size: .72rem; color: #5e6166; }
.form__summary { background: #fff1ee; border-left: 4px solid #b3261e; padding: 1rem 1.15rem; font-size: .92rem; }
.form__summary strong { display: block; margin-bottom: .35rem; }
.form__summary ul { list-style: square; padding-left: 1.2rem; }
.form__summary a { color: #8c1d17; font-weight: 600; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-top: .75rem; border-top: 1px solid var(--line-light); }
.form__legal { font-size: .8rem; color: #5e6166; max-width: 26rem; }

.form-success { padding: clamp(.5rem, 2vw, 1.5rem) 0; animation: panelIn .6s var(--ease); }
.form-success:focus { outline: none; }
.form-success__icon { width: 4rem; height: 4rem; background: var(--rust); color: var(--ink); display: grid; place-items: center; margin-bottom: 1.5rem; }
.form-success__icon svg { width: 2.2rem; height: 2.2rem; }
.form-success__icon path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .2s var(--ease) forwards; }
.form-success__title { font-weight: 800; font-stretch: 88%; font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; line-height: 1.02; margin: .75rem 0 1rem; }
.form-success p { color: #3d4045; max-width: 38rem; }
.form-success__fine { font-size: .88rem; margin: 1rem 0 1.75rem; padding: .75rem .9rem; background: var(--paper-2); border-left: 3px solid var(--rust); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--steel-2); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .92rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.brand--footer { color: var(--paper); }
.footer__tag { font-weight: 800; font-stretch: 85%; text-transform: uppercase; color: var(--paper); font-size: 1.5rem; line-height: 1; margin: 1.5rem 0; }
.footer__h { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--rust-bright); margin-bottom: 1.1rem; }
.footer__h-note { color: var(--steel); }
.footer__col ul { display: grid; gap: .1rem; }
.footer__col a { display: inline-block; padding: .3rem 0; text-decoration: none; color: var(--steel-2); transition: color .2s; }
.footer__col a:hover { color: var(--paper); }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line-dark); }
.hours dt { color: var(--paper); font-weight: 600; }
.footer__small { font-size: .78rem; color: var(--steel); margin-top: .9rem; }
.footer__demo { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line-dark); }
.footer__demo p { max-width: 52rem; font-size: .88rem; }
.footer__demo strong { color: var(--paper); }
.footer__demo a:not(.btn) { color: var(--rust-bright); }
.footer__demo .btn { flex: none; }
.credits { padding: 1.25rem 0; border-bottom: 1px solid var(--line-dark); font-size: .8rem; }
.credits summary { cursor: pointer; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); width: max-content; padding: .25rem 0; }
.credits p { margin-top: .75rem; color: var(--steel); max-width: 70rem; }
.credits a { color: var(--steel-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0 2rem; font-size: .8rem; color: var(--steel); }
.footer__bottom a { color: var(--steel-2); }
.footer__bottom a:hover { color: var(--paper); }
.footer__stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--rust) 0 14px, var(--ink) 14px 28px); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 80;
  transform: translate(-50%, 150%); opacity: 0;
  background: var(--paper); color: var(--ink); border-left: 4px solid var(--rust);
  padding: .85rem 1.25rem; font-weight: 600; font-size: .9rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  transition: transform .45s var(--ease), opacity .45s;
  max-width: calc(100% - 2rem);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s; }
.js .hero .reveal:nth-child(2) { transition-delay: .12s; }
.js .hero__bottom .reveal:nth-child(1) { transition-delay: .28s; }
.js .hero__bottom .reveal:nth-child(2) { transition-delay: .4s; }
.js .commitments__list li:nth-child(2) { transition-delay: .08s; }
.js .commitments__list li:nth-child(3) { transition-delay: .16s; }
.js .commitments__list li:nth-child(4) { transition-delay: .24s; }
.js .timeline__step:nth-child(2) { transition-delay: .08s; }
.js .timeline__step:nth-child(3) { transition-delay: .16s; }
.js .timeline__step:nth-child(4) { transition-delay: .24s; }
.js .timeline__step:nth-child(5) { transition-delay: .32s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .primary-nav a { padding-inline: .6rem; font-size: .78rem; }
  .primary-nav a::after { left: .6rem; right: .6rem; }
  .hero__plate { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before, .timeline::after { left: 1.75rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline::after { height: var(--progress, 0%); bottom: auto; width: 2px; transition: height 1s var(--ease); }
  .timeline__step { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem; padding: 0 0 2.75rem; }
  .timeline__step:last-child { padding-bottom: 0; }
  .timeline__body h3 { margin-top: .9rem; }
  .timeline__body { max-width: 46rem; }
  .timeline__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open { background: var(--char); border-bottom-color: var(--line-dark); }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .section-head .section-index { display: none; }
  .section-intro { max-width: 40rem; }
  .commitments__list { grid-template-columns: 1fr 1fr; }
  .commitments__list li { padding: 2rem 1.5rem 2.25rem; border-top: 1px solid var(--line-dark); }
  .commitments__list li:nth-child(-n+2) { border-top: 0; }
  .commitments__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .svc { grid-template-columns: 1fr; }
  .svc__tabs { display: none; }
  .svc__panel, .svc__panel.is-active { display: block; animation: none; }
  .svc__panel + .svc__panel { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line-light); }
  .svc__mobile-num { display: block; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; color: var(--rust-deep); margin-bottom: .5rem; letter-spacing: .1em; }
  .svc__panel:focus-visible { outline: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(220px, 40vw, 320px); }
  .gallery__item, .gallery__item--wide { grid-column: span 1; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery.is-filtered .gallery__item { grid-column: span 1; }
  .ba { grid-template-columns: 1fr; }
  .project-dialog__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; max-width: 40rem; }
  .about__img--main { aspect-ratio: 4 / 3; }
  .about__img--inset { right: 0; width: 50%; }
  .planner__shell { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .estimate__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .demo-banner { font-size: .74rem; }
  .demo-banner p { justify-content: flex-start; text-align: left; }
  .hero { min-height: max(600px, 100svh); }
  .hero__content { padding-bottom: 6rem; }
  .hero__title .line--accent { -webkit-text-stroke-width: 1.5px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero::before { background: linear-gradient(0deg, rgba(14, 15, 16, .92) 0%, rgba(14, 15, 16, .6) 55%, rgba(14, 15, 16, .45) 100%); }
  .commitments__list { grid-template-columns: 1fr; }
  .commitments__list li, .commitments__list li:nth-child(odd) { border-left: 0; padding: 1.6rem 0; border-top: 1px solid var(--line-dark); }
  .commitments__list li:first-child { border-top: 0; }
  .svc__body { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; gap: .75rem; }
  .gallery__item, .gallery__item--wide { grid-column: span 1; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery.is-filtered .gallery__item { grid-column: span 1; }
  .tile__more { max-height: 2rem; opacity: 1; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: .5rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .ba__stage { aspect-ratio: 4 / 3; }
  .ba__knob { width: 2.75rem; height: 2.75rem; }
  .project-dialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .project-dialog__thumbs button { width: 4.5rem; }
  .spec-table > div { grid-template-columns: 7rem 1fr; }
  .timeline__meta { grid-template-columns: 1fr; }
  .timeline__step { grid-template-columns: 3rem 1fr; gap: 1rem; }
  .timeline__marker { width: 3rem; height: 3rem; font-size: .85rem; }
  .timeline::before, .timeline::after { left: 1.5rem; }
  .about__media { padding-bottom: 5rem; }
  .about__stamp { display: none; }
  .principles li { grid-template-columns: 2.5rem 1fr; }
  .options, .options--4, .options--3 { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .option__box { padding: .85rem .9rem; }
  .option__d { font-size: .78rem; }
  .planner__steps-nav li { font-size: .6rem; flex-direction: column; align-items: flex-start; gap: .1rem; }
  .planner__controls .btn { flex: 1; padding-inline: .75rem; white-space: nowrap; }
  .faq__item summary { grid-template-columns: 2.25rem 1fr 2rem; }
  .faq__a { padding: 0 0 1.4rem 3rem; }
  .form__row--2 { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__demo { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 359px) {
  .options, .options--4, .options--3 { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
  .hero__scroll-line::after { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .demo-banner, .site-header, .hero__scroll, .planner, .toast { display: none !important; }
  .hero { min-height: auto; margin-top: 0; }
}
