/* ==========================================================================
   Morgan & Reed Building — site styles
   Drawing-board paper with a faint grid, slate grey, safety orange. IBM Plex Sans for text, IBM Plex Mono
   for the annotations (kickers, dimensions, meta). One file.
   ========================================================================== */

/* Metric-matched fallbacks so text does not jump when the web fonts arrive (calibrated in-browser). */
@font-face { font-family: "Plex Sans Fallback"; font-weight: 100 500; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 100.5%; ascent-override: 102%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Plex Sans Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica-Bold"); size-adjust: 96.2%; ascent-override: 102%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Plex Mono Fallback"; src: local("Menlo"), local("Courier New"), local("Courier"); size-adjust: 99.7%; ascent-override: 102%; descent-override: 27%; line-gap-override: 0%; }

:root {
  --paper: #F6F5F1;
  --paper-2: #EEECE6;
  --white: #FFFFFF;
  --slate: #2B3440;
  --slate-2: #1E252E;
  --slate-3: #3C4857;
  --text: #1F2731;
  --text-2: #3F4A58;
  --muted: #5E6978;
  --line: rgba(43,52,64,.16);
  --line-strong: rgba(43,52,64,.36);
  --grid: rgba(43,52,64,.07);
  --grid-bold: rgba(43,52,64,.12);
  --orange: #F26419;
  --orange-2: #D9550F;
  --orange-text: #B9470A;
  --orange-ink: #1F2731;
  --green: #2E7D4F;
  --red: #B3261E;
  --shadow: 0 1px 2px rgba(31,39,49,.06), 0 16px 40px -20px rgba(31,39,49,.35);

  --sans: "IBM Plex Sans", "Plex Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Plex Mono Fallback", Menlo, "Courier New", monospace;

  --step--1: clamp(.84rem, .8rem + .2vw, .94rem);
  --step-0: clamp(1rem, .95rem + .25vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --step-3: clamp(1.85rem, 1.4rem + 1.9vw, 2.8rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 4rem);
  --step-5: clamp(2.6rem, 1.5rem + 4.6vw, 5.4rem);

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 6vw + 1.5rem, 7.5rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: var(--step-0); line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Drawing-board grid: fine lines every 24px, a heavier one every 120px. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px), linear-gradient(var(--grid-bold) 1px, transparent 1px), linear-gradient(90deg, var(--grid-bold) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--orange); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--text); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--white); }

.visually-hidden { 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: 1rem; top: -4rem; z-index: 100; background: var(--slate); color: var(--white); padding: .7rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * .6); }
.section.dark { background: var(--slate); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: rgba(255,255,255,.82); }
.section.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Type ---------- */
.display { font-size: var(--step-5); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
.h1 { font-size: var(--step-4); font-weight: 600; letter-spacing: -.025em; }
.h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -.02em; }
.h3 { font-size: var(--step-2); font-weight: 600; }
.h4 { font-size: var(--step-1); font-weight: 600; }
.display em, .h2 em, .h1 em { font-style: normal; color: var(--orange-text); }
.section.dark .h2 em { color: var(--orange); }
.kicker, .mono { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.kicker { color: var(--orange-text); margin: 0 0 1rem; display: flex; align-items: center; gap: .7rem; }
.kicker::before { content: ""; width: 1.4rem; height: 2px; background: var(--orange); flex: none; }
.section.dark .kicker { color: #FF9A62; } /* lighter than the brand orange: 5.6:1 on slate at kicker size */
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--text-2); max-width: 40em; }
.section.dark .lede { color: rgba(255,255,255,.82); }
.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.section-head p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .section-head.split { grid-template-columns: 1fr; } }

/* Dimension line: a mono label between two ruled lines with end ticks. */
.dim { display: flex; align-items: center; gap: .75rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 1.25rem 0; }
.dim-line { flex: 1; height: 1px; background: var(--line-strong); position: relative; }
.dim-line::before, .dim-line::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--line-strong); }
.dim-line::before { left: 0; } .dim-line::after { right: 0; }
.dim-label { white-space: nowrap; }
.section.dark .dim { color: rgba(255,255,255,.7); } .section.dark .dim-line, .section.dark .dim-line::before, .section.dark .dim-line::after { background: rgba(255,255,255,.35); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.5rem; min-height: 3rem; border-radius: var(--radius); border: 1.5px solid transparent; font-weight: 600; font-size: var(--step--1); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-orange { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-2); border-color: var(--orange-2); }
.btn-slate { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn-slate:hover { background: var(--slate-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--slate); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { border-color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; color: var(--text); border-bottom: 2px solid var(--orange); padding-bottom: .1rem; }
.link-arrow .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.section.dark .link-arrow { color: var(--white); }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: center; margin-top: 2rem; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246,245,241,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header::before { content: ""; display: block; height: 4px; background: var(--orange); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(31,39,49,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand .mark { width: 2.5rem; height: 2.5rem; color: var(--slate); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-name .amp { color: var(--orange); font-weight: 400; }
.brand-sub { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; gap: .1rem; list-style: none; }
.nav-link { display: block; padding: .6rem .7rem; text-decoration: none; font-weight: 500; font-size: var(--step--1); color: var(--text-2); position: relative; white-space: nowrap; }
.nav-link:hover { color: var(--text); }
.nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--text); }
.nav-extra { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; font-size: var(--step--1); color: var(--text); white-space: nowrap; }
.nav-phone .ico { width: 1rem; height: 1rem; color: var(--orange-text); }
.nav-cta { padding: .65rem 1.1rem; min-height: 2.6rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-strong); border-radius: var(--radius); width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; cursor: pointer; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger span { display: block; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1240px) { .nav-phone { display: none; } .nav-link { padding-inline: .5rem; } }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 5rem 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 1.25rem var(--gutter) 3rem; gap: 1.5rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; border-top: 1px solid var(--line); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { font-size: var(--step-2); font-weight: 600; padding: .85rem 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--orange-text); }
  .nav-extra { flex-direction: column; align-items: stretch; gap: 1rem; }
  .nav-phone { display: inline-flex; justify-content: center; font-size: var(--step-1); }
  .nav-cta { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand-name { font-size: 1.05rem; white-space: nowrap; } .brand-sub { font-size: .52rem; white-space: nowrap; } .brand .mark { width: 2.2rem; height: 2.2rem; } }

/* ---------- Photo frame with a drawing corner ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(43,52,64,.2); pointer-events: none; }
.corner { position: relative; }
.corner::before { content: ""; position: absolute; top: -10px; left: -10px; width: 36px; height: 36px; border-top: 2px solid var(--orange); border-left: 2px solid var(--orange); pointer-events: none; }
.corner::after { content: ""; position: absolute; bottom: -10px; right: -10px; width: 36px; height: 36px; border-bottom: 2px solid var(--orange); border-right: 2px solid var(--orange); pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { container-type: inline-size; }
.hero-title { white-space: nowrap; font-size: min(var(--step-5), 9.6cqi); }
.hero-title .bm { display: none; }
@media (max-width: 560px) { .hero-title { font-size: min(var(--step-5), 16cqi, 12vw); } .hero-title .bm { display: inline; } }
.hero-copy .display { margin-bottom: 1.25rem; }
.hero-copy .lede { margin-bottom: 0; }
.hero-media .photo { aspect-ratio: 4 / 3; }
.hero-annot { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.hero-annot span { background: rgba(31,39,49,.7); padding: .35rem .6rem; border-radius: 2px; }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.75rem; list-style: none; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.trust-row li { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); font-weight: 500; color: var(--text-2); }
.trust-row .ico { width: 1.1rem; height: 1.1rem; color: var(--orange-text); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { order: -1; } }

/* ---------- Cards ---------- */
.service-grid, .project-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid, .project-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card, .project-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--slate); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.service-card:hover, .project-card:hover, .service-card:focus-within, .project-card:focus-within { transform: translateY(-5px); box-shadow: var(--shadow); border-top-color: var(--orange); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .card-media img, .project-card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-num { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; color: var(--orange-text); }
.card-title { font-size: var(--step-1); line-height: 1.2; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-text { color: var(--text-2); font-size: var(--step--1); margin: 0; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .25rem 0 0; font-size: var(--step--1); }
.card-foot strong { color: var(--text); }
.card-from { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--orange); color: var(--orange-ink); padding: .25rem .5rem; border-radius: 2px; font-weight: 500; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; border: 0; padding: 0; }
.filter-bar legend { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .5rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: var(--step--1); font-weight: 500; background: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.chip input:checked + span { background: var(--slate); color: var(--white); border-color: var(--slate); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.filter-count { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin: -.5rem 0 1.5rem; }

/* ---------- Promise tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .75rem; }
.tile .tile-ico { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--slate); color: var(--white); border-radius: var(--radius); }
.tile .tile-ico .ico { width: 1.4rem; height: 1.4rem; }
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--text-2); font-size: var(--step--1); margin: 0; }
.section.dark .tile { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section.dark .tile .tile-ico { background: var(--orange); color: var(--orange-ink); }
.section.dark .tile p { color: rgba(255,255,255,.78); }

/* ---------- Before / after ---------- */
.compare { margin: 0; }
.compare-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); user-select: none; touch-action: none; }
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { clip-path: inset(0 0 0 var(--split, 50%)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: var(--white); transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(31,39,49,.3); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 3rem; height: 3rem; transform: translate(-50%, -50%); border-radius: 50%; background: var(--orange); border: 2px solid var(--white); display: grid; place-items: center; box-shadow: var(--shadow); }
.compare-handle span::before { content: ""; width: 10px; height: 10px; border-left: 2px solid var(--orange-ink); border-right: 2px solid var(--orange-ink); }
.compare-tag { position: absolute; top: 1rem; padding: .35rem .7rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; }
.compare-tag.is-before { left: 1rem; background: var(--slate); color: var(--white); }
.compare-tag.is-after { right: 1rem; background: var(--orange); color: var(--orange-ink); }
.compare-control { display: block; margin-top: .9rem; }
.compare-control input[type="range"] { width: 100%; margin: 0; box-sizing: border-box; accent-color: var(--orange); cursor: ew-resize; height: 2.25rem; }
.compare-caption { margin-top: .75rem; font-size: var(--step--1); color: var(--muted); }
.compare-caption strong { color: var(--text); font-weight: 600; display: block; }
.no-js .compare-stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; overflow: visible; }
.no-js .compare-img { position: static; aspect-ratio: 3 / 2; }
.no-js .compare-after { clip-path: none; }
.no-js .compare-handle, .no-js .compare-control, .no-js .compare-tag { display: none; }
.compare-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .compare-feature { grid-template-columns: 1fr; } }

/* ---------- Process (horizontal steps) ---------- */
.process { list-style: none; counter-reset: step; display: grid; grid-template-columns: 1fr; gap: 1.5rem; position: relative; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; } .process::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 1.5rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); } }
@media (min-width: 700px) and (max-width: 1099px) { .process { grid-template-columns: repeat(5, 1fr); } }
.process li { counter-increment: step; position: relative; padding-top: 4rem; }
.process li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 3rem; height: 3rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--slate); display: grid; place-items: center; font-family: var(--mono); font-size: .9rem; font-weight: 500; }
.process li:first-child::before { background: var(--orange); border-color: var(--orange); }
.process .when { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 .35rem; }
.process h3 { font-size: var(--step-0); font-weight: 600; margin-bottom: .4rem; }
.process p { font-size: var(--step--1); color: var(--text-2); margin: 0; }
@media (max-width: 699px) { .process li { padding-top: 0; padding-left: 4rem; } .process::before { content: ""; position: absolute; left: 1.45rem; top: 1.5rem; bottom: 1.5rem; width: 2px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px); } }

/* ---------- Project timeline (vertical) ---------- */
.timeline { list-style: none; position: relative; padding-left: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.25rem; position: relative; padding: 1rem 0 1.25rem 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.tl-label { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); padding-top: .2rem; position: relative; }
.tl-label::before { content: ""; position: absolute; left: -1.1rem; top: .55rem; width: 8px; height: 8px; background: var(--line-strong); transform: rotate(45deg); transition: background-color .4s; }
.timeline li.is-on .tl-label::before { background: var(--orange); }
.tl-text { color: var(--text-2); font-size: var(--step--1); }
.timeline { padding-left: 1.1rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- Project page ---------- */
.project-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.spec-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 6rem; }
.spec-card h2 { font-size: var(--step-1); margin-bottom: 1rem; }
.spec-list { display: grid; gap: .6rem; }
.spec-list div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; font-size: var(--step--1); border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.spec-list dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.spec-list dd { margin: 0; font-weight: 500; }
.spec-list a { text-decoration: none; color: var(--orange-text); }
.spec-list a:hover { text-decoration: underline; }
.spec-card .btn { width: 100%; margin-top: 1.25rem; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.project-gallery.two { grid-template-columns: repeat(2, 1fr); }
.project-gallery .photo { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .project-layout { grid-template-columns: 1fr; } .spec-card { position: static; } }
@media (max-width: 560px) { .project-gallery, .project-gallery.two { grid-template-columns: 1fr; } }

/* ---------- Service page ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.service-body p { color: var(--text-2); }
.service-body .lede { color: var(--text); }
.aside-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--slate); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 6rem; }
.aside-card + .aside-card { margin-top: 1.5rem; position: static; }
.aside-card .h4 { margin-bottom: 1rem; }
.aside-card .price { font-size: var(--step--1); color: var(--text-2); border-top: 1px solid var(--line); padding-top: 1rem; margin: 1rem 0; }
.aside-card .btn { width: 100%; }
.service-nav { list-style: none; display: grid; gap: .1rem; }
.service-nav a { display: flex; justify-content: space-between; align-items: center; padding: .6rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: var(--step--1); }
.service-nav a.is-active, .service-nav a:hover { color: var(--orange-text); }
.service-nav .ico { width: 1rem; height: 1rem; }
.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-2); }
.check-list .ico { width: 1.25rem; height: 1.25rem; color: var(--green); margin-top: .15rem; }
.section.dark .check-list li { color: rgba(255,255,255,.85); } .section.dark .check-list .ico { color: var(--orange); }
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Feature ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.flip > .feature-media { order: 2; }
.feature-media .photo { aspect-ratio: 4 / 3; }
.feature-copy .h2 { margin-bottom: 1.25rem; }
.feature-copy p { color: var(--text-2); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > .feature-media { order: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; list-style: none; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { border-left: 3px solid var(--orange); padding-left: 1.25rem; }
.stats strong { display: block; font-size: var(--step-3); font-weight: 600; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats span { font-size: var(--step--1); color: var(--muted); }
.section.dark .stats strong { color: var(--white); } .section.dark .stats span { color: rgba(255,255,255,.7); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 800px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.review blockquote { margin: 0; font-size: var(--step-0); line-height: 1.55; flex: 1; }
.review blockquote p { margin: 0; }
.review footer { font-size: var(--step--1); color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.review footer strong { color: var(--text); }
.review .kind { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.stars { display: inline-flex; gap: .1rem; }
.stars .star { width: 1rem; height: 1rem; color: var(--orange); }
.stars .star.off { color: var(--line-strong); }
.rating-badge { display: inline-flex; align-items: center; gap: .9rem; padding: .8rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.rating-badge strong { font-size: var(--step-2); font-weight: 600; line-height: 1; }
.rating-badge span { font-size: var(--step--1); color: var(--muted); }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
.area { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--slate); border-radius: var(--radius); padding: 1.4rem; min-width: 0; }
.area h3 { font-size: var(--step-1); }
.area p { margin: .5rem 0 0; font-size: var(--step--1); color: var(--text-2); }
.map { width: 100%; aspect-ratio: 16 / 7; border: 0; border-radius: var(--radius); filter: grayscale(.4) contrast(1.05); }
.map-wide { margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--slate); color: var(--white); padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.cta-band .h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 44rem; margin: 0; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; position: relative; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero .display { font-size: var(--step-4); margin-bottom: 1.25rem; }
.page-hero .lede { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero-media .photo { aspect-ratio: 3 / 2; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.field label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; font: inherit; font-size: var(--step-0); color: var(--text); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232B3440'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.2rem; padding-right: 2.6rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(242,100,25,.3); }
.field textarea { resize: vertical; min-height: 8rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin: .35rem 0 0; }
.field .error { font-size: .85rem; color: var(--red); font-weight: 600; margin: .4rem 0 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-alert { padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 600; margin: 0; }
.form-alert.ok { background: #E8F3EC; color: #1E4D31; border: 1px solid #B6D7C2; }
.form-alert.bad { background: #F9E8E6; color: #7A1F18; border: 1px solid #EBB8B3; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside { display: grid; gap: 1.1rem; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.contact-card h2 { font-size: var(--step-1); margin-bottom: .8rem; }
.contact-card p { margin: 0 0 .4rem; }
.contact-card a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 500; padding: .3rem 0; }
.contact-card a:hover { color: var(--orange-text); }
.contact-card .ico { width: 1.05rem; height: 1.05rem; color: var(--orange-text); }
.address-block { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.hours-list { list-style: none; display: grid; gap: .5rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.hours-list strong { text-align: right; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 800px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person .media { aspect-ratio: 3 / 4; overflow: hidden; }
.person .media img { width: 100%; height: 100%; object-fit: cover; }
.person .body { padding: 1.25rem 1.4rem 1.5rem; }
.person h3 { font-size: var(--step-1); }
.person .role { font-family: var(--mono); font-size: .7rem; color: var(--orange-text); letter-spacing: .12em; text-transform: uppercase; margin: .3rem 0 .75rem; }
.person p { color: var(--text-2); font-size: var(--step--1); margin: 0; }

/* ---------- FAQ & prose ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-weight: 600; font-size: var(--step-1); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 1.2rem; height: 1.2rem; color: var(--orange-text); transform: rotate(90deg); transition: transform .3s var(--ease); flex: none; }
.faq-item[open] .faq-ico { transform: rotate(-90deg); }
.faq-body { padding: 0 0 1.4rem; color: var(--text-2); max-width: 64ch; }
.faq-body p:last-child { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 .75rem; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.legal-meta { font-size: var(--step--1); color: var(--muted); border-left: 3px solid var(--orange); padding-left: 1rem; }
.rep-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); background: var(--white); border: 1px solid var(--line); }
.rep-table th, .rep-table td { padding: .8rem 1.1rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.rep-table thead th { border-top: 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rep-table td.num { font-weight: 600; white-space: nowrap; }
.rep-table caption { text-align: left; padding: .75rem 0; color: var(--muted); font-size: var(--step--1); caption-side: bottom; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-2); color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem, 5vw, 4.5rem) 0 2.5rem; }
.brand-footer, .brand-footer .mark { color: var(--white); }
.brand-footer .brand-sub { color: rgba(255,255,255,.6); }
.footer-tag { margin: 1.25rem 0; font-size: var(--step--1); max-width: 36ch; color: rgba(255,255,255,.7); }
.social-row { display: flex; gap: .6rem; }
.social { width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; color: var(--white); transition: background-color .2s, border-color .2s; }
.social:hover { background: rgba(255,255,255,.1); border-color: var(--orange); }
.social .ico { width: 1.1rem; height: 1.1rem; }
.footer-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: #FF9A62; margin-bottom: 1rem; }
.footer-address { font-size: var(--step--1); line-height: 1.7; }
.footer-contact { margin-top: .9rem; display: grid; gap: .1rem; font-size: var(--step--1); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: #FF9A62; }
.footer-contact a, .footer-links a, .footer-bottom a { display: inline-block; padding: .3rem 0; }
.footer-links { list-style: none; display: grid; gap: .1rem; font-size: var(--step--1); }
.footer-hours { list-style: none; display: grid; gap: .5rem; font-size: var(--step--1); margin-top: 1.25rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,.18); padding-bottom: .5rem; }
.footer-hours strong { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 1.25rem 0 .5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.65); }
.footer-bottom p { margin: 0; }
.footer-bottom .legal { display: flex; gap: 1.25rem; }
.footer-bottom a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .2em; }
.footer-fine { padding: .5rem 0 2rem; }
.footer-fine p { margin: 0; font-size: .74rem; color: rgba(255,255,255,.5); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal (transform only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(14px); transition: transform .6s var(--ease); }
  .reveal.in, .no-js .reveal { transform: none; }
  .reveal.instant { transition: none; }
  .reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }
}
@media print { .site-header, .cta-band, .nav-toggle, .skip, .social-row { display: none !important; } body::before { display: none; } }
