/*!
  Template:  Forgemont | Construction & Building Company HTML Template
  Version:   1.0.0
  Author:    MOONSHOTS
  Website:   https://m00nshots.dev
  Contact:   build@m00nshots.dev
  Copyright: (c) 2026 m00nshots. All rights reserved.
*/
/* ==========================================================================
   FORGEMONT THEME — Construction & Building Company
   Design language: blueprint / technical drawing. Blueprint-blue panels with
   drafting grids, dimension lines with arrowheads, drawing title blocks,
   chamfered (clipped-corner) buttons and cards, condensed uppercase headings,
   ruler-tick dividers, blueprint utility bar + floating asphalt nav plate.
   --------------------------------------------------------------------------
   01. Tokens (light + dark + zones)    09. Safety board
   02. Base & typography                10. Phase timeline
   03. Chamfer, buttons, tags           11. Cost calculator
   04. Dimension lines, ruler, grids    12. Gallery & service area
   05. Utility bar, header, drawer      13. Plan / built slider & drawings
   06. Core component restyles          14. Home compositions (1–4)
   07. Shared blocks                    15. Inner pages
   08. Tables & meters                  16. CTA, footer, 404
   ========================================================================== */

/* 01. Tokens ------------------------------------------------------------- */
:root {
  --yellow: #f6c10e; --asphalt: #202326; --blue: #2456a6; --concrete: #e7e3dc; --ink-blue: #1b4585;
  --t-bg: #e7e3dc; --t-bg-2: #dcd7cd; --t-surface: #f7f5f1; --t-surface-2: #efebe4;
  --t-text: #202326; --t-muted: #575b60; --t-line: rgba(32, 35, 38, .14); --t-line-strong: rgba(32, 35, 38, .45); --t-acc: #2456a6;
  --bg: var(--t-bg); --bg-2: var(--t-bg-2); --surface: var(--t-surface); --surface-2: var(--t-surface-2);
  --text: var(--t-text); --muted: var(--t-muted); --line: var(--t-line); --line-strong: var(--t-line-strong); --acc: var(--t-acc);
  --primary: #2456a6; --primary-2: #1b4585; --on-primary: #ffffff; --accent: #f6c10e;
  --bp: #2456a6; --bp-deep: #1d4a92; --plate: #202326; --ok: #1f8a4c;
  --font-head: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Red Hat Text", system-ui, sans-serif;
  --font-logo: "Black Ops One", "Big Shoulders Display", sans-serif; --logo-weight: 400; --logo-size: 1.45rem; --logo-tracking: .02em; --logo-case: uppercase;
  --head-weight: 800; --head-tracking: 0;
  --radius-sm: 0; --radius: 0; --radius-lg: 0; --radius-btn: 0;
  --cut: 16px; --cut-sm: 10px;
  --header-h: 80px; --fm-top: 36px;
  --gradient: linear-gradient(135deg, #2456a6, #1b4585);
  --shadow: 0 18px 40px -22px rgba(32, 35, 38, .45); --shadow-lg: 0 30px 60px -30px rgba(32, 35, 38, .55);
  --grid-sm: rgba(255, 255, 255, .07); --grid-lg: rgba(255, 255, 255, .15);
}
[data-theme="dark"] {
  --t-bg: #15171a; --t-bg-2: #1b1e22; --t-surface: #22262b; --t-surface-2: #2a2f35;
  --t-text: #ece8e1; --t-muted: #a5a39e; --t-line: rgba(236, 232, 225, .12); --t-line-strong: rgba(236, 232, 225, .42); --t-acc: #f6c10e;
  --primary: #6f9ce6; --bp: #183d78; --bp-deep: #13336a; --plate: #2a2e34; --ok: #3fcf82;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
/* Dark zones: blueprint panels, asphalt bands, industrial hero, footer */
.fm-bp, .fm-bp-sec, .fm-dark, .fm-h3, .fm-foot, .fm-sb, .error-page {
  --text: #f4f1eb; --muted: rgba(244, 241, 235, .74); --line: rgba(255, 255, 255, .18); --line-strong: rgba(255, 255, 255, .55);
  --surface: rgba(255, 255, 255, .06); --surface-2: rgba(255, 255, 255, .1); --acc: #f6c10e; --primary: #f6c10e; --on-primary: #202326; --ok: #4fdc8e;
  color: var(--text);
}
/* Paper zones: light panels placed inside dark zones */
.fm-paper, .fm-bp-sec .fm-calc__form {
  --text: var(--t-text); --muted: var(--t-muted); --line: var(--t-line); --line-strong: var(--t-line-strong);
  --surface: var(--t-surface); --surface-2: var(--t-surface-2); --acc: var(--t-acc); --primary: #2456a6; --on-primary: #fff; color: var(--text);
}
[data-theme="dark"] .fm-bp-sec .fm-calc__form { --primary: #6f9ce6; }

/* 02. Base & typography -------------------------------------------------- */
body { font-size: 16.5px; }
h1, h2, h3, h4 { text-transform: uppercase; font-weight: 800; letter-spacing: .005em; line-height: .95; }
.hero__title, .page-header h1 { font-weight: 900; line-height: .88; letter-spacing: -.005em; }
.h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 900; line-height: .9; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.hero__title em, .page-header h1 em, .h2 em { font-style: normal; color: var(--acc); }
.lead { color: var(--muted); }
:focus-visible { border-radius: 0; outline-color: var(--acc); }
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: .74rem; letter-spacing: .16em; color: var(--acc); gap: 12px; }
.eyebrow::before { width: 26px; height: 9px; border-radius: 0; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; border-inline: 1.5px solid currentColor; }
.section-head .h2 { margin-bottom: .35em; }
.section-head--row > div { max-width: 720px; }
.fm-label { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fm-hide-sm, .fm-hide-md { display: none !important; }
@media (min-width: 640px) { .fm-hide-sm { display: inline !important; } }
@media (min-width: 1024px) { .fm-hide-md { display: inline-flex !important; } }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section--alt { background: var(--bg-2); }
.fm-dark { background: var(--asphalt); }
[data-theme="dark"] .fm-dark { background: #0e1012; }
.fm-ok { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.fm-dot { width: 10px; height: 10px; border-radius: 50%; background: #3fd07e; box-shadow: 0 0 0 4px rgba(63, 208, 126, .2); flex: none; animation: fm-pulse 1.6s ease-in-out infinite; }
@keyframes fm-pulse { 50% { box-shadow: 0 0 0 8px rgba(63, 208, 126, 0); } }

/* 03. Chamfer, buttons, tags -------------------------------------------- */
.fm-chamfer, .fm-card, .fm-proj, .fm-plan, .fm-live__body, .fm-calc__form, .fm-calc__out, .fm-quote, .fm-office, .fm-form, .fm-aside, .fm-kpi, .fm-sector, .fm-trade {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn {
  --btn-bg: var(--yellow); --btn-fg: #202326; --c: var(--cut-sm);
  border-radius: 0; border: 0; min-height: 54px; padding: 0 26px; gap: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.btn::after { background: rgba(32, 35, 38, .12); }
.btn:hover { box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1.14rem; --c: 13px; }
.btn--yellow { --btn-bg: var(--yellow); --btn-fg: #202326; }
.btn--dark { --btn-bg: #202326; --btn-fg: #f4f1eb; }
.btn--dark::after { background: rgba(255, 255, 255, .1); }
[data-theme="dark"] .btn--dark { --btn-bg: #ece8e1; --btn-fg: #202326; }
.btn--gradient { background: var(--yellow); color: #202326; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text); border: 1.5px solid currentColor;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .9px), currentColor calc(50% - .9px) calc(50% + .9px), transparent calc(50% + .9px)) left top / var(--c) var(--c) no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .9px), currentColor calc(50% - .9px) calc(50% + .9px), transparent calc(50% + .9px)) right bottom / var(--c) var(--c) no-repeat;
}
.btn--ghost::after { background: color-mix(in srgb, currentColor 10%, transparent); }
.fm-on-blue, .fm-on-dark { --btn-fg: #fff; }
.btn--block { width: 100%; justify-content: space-between; }
.btn-group { gap: 14px; }
.icon-btn { border-radius: 0; width: 42px; height: 42px; }
.icon-box { border-radius: 0; background: var(--yellow); color: #202326; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.chip { border-radius: 0; }
.fm-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; margin-bottom: 26px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--acc); border: 1.5px solid currentColor;
  background: linear-gradient(to bottom right, transparent calc(50% - .8px), currentColor calc(50% - .8px) calc(50% + .8px), transparent calc(50% + .8px)) left top / 8px 8px no-repeat;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.fm-tag .ti { font-size: 1.05rem; }
.fm-tag--blue { color: var(--yellow); }
.fm-tag--dark { color: var(--yellow); background-color: rgba(0, 0, 0, .35); }
.fm-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.fm-link .ti { transition: transform .3s var(--ease); }
.fm-link:hover .ti { transform: translateX(4px); }
.fm-ticks { display: grid; gap: 12px; margin-top: 26px; }
.fm-ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.fm-ticks .ti { color: var(--acc); font-size: 1.3rem; flex: none; margin-top: 1px; }

/* 04. Dimension lines, ruler, grids ------------------------------------- */
.fm-dim { --dim-c: currentColor; position: relative; display: flex; align-items: center; justify-content: center; color: var(--dim-c); pointer-events: none; }
.fm-dim b { position: relative; z-index: 1; padding: 2px 8px; background: var(--dim-bg, var(--bg)); font-family: var(--font-head); font-weight: 800; font-size: .86rem; letter-spacing: .1em; white-space: nowrap; line-height: 1.1; }
.fm-dim::before, .fm-dim::after { content: ""; position: absolute; }
.fm-dim--h { width: 100%; height: 24px; border-inline: 1px solid; }
.fm-dim--h::before { left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.fm-dim--h::after {
  left: 0; right: 0; top: 50%; height: 9px; transform: translateY(-50%);
  background:
    linear-gradient(to bottom right, transparent 50%, currentColor 50%) left top / 10px 4.5px no-repeat,
    linear-gradient(to top right, transparent 50%, currentColor 50%) left bottom / 10px 4.5px no-repeat,
    linear-gradient(to bottom left, transparent 50%, currentColor 50%) right top / 10px 4.5px no-repeat,
    linear-gradient(to top left, transparent 50%, currentColor 50%) right bottom / 10px 4.5px no-repeat;
}
.fm-dim--v { height: 100%; width: 24px; border-block: 1px solid; }
.fm-dim--v::before { top: 0; bottom: 0; left: 50%; width: 1px; background: currentColor; }
.fm-dim--v::after {
  top: 0; bottom: 0; left: 50%; width: 9px; transform: translateX(-50%);
  background:
    linear-gradient(to bottom right, transparent 50%, currentColor 50%) left top / 4.5px 10px no-repeat,
    linear-gradient(to bottom left, transparent 50%, currentColor 50%) right top / 4.5px 10px no-repeat,
    linear-gradient(to top right, transparent 50%, currentColor 50%) left bottom / 4.5px 10px no-repeat,
    linear-gradient(to top left, transparent 50%, currentColor 50%) right bottom / 4.5px 10px no-repeat;
}
.fm-dim--v b { writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 2px; }
.fm-ruler {
  position: relative; height: 22px; color: var(--text); border-bottom: 1px solid var(--line-strong);
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 12px) left bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 60px) left bottom / 100% 13px no-repeat;
  opacity: .8;
}
.fm-ruler__lbl { position: absolute; right: 16px; top: -2px; padding: 0 8px; background: var(--bg); font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.fm-bp, .fm-bp-sec {
  background-color: var(--bp);
  background-image:
    linear-gradient(var(--grid-lg) 1px, transparent 1px), linear-gradient(90deg, var(--grid-lg) 1px, transparent 1px),
    linear-gradient(var(--grid-sm) 1px, transparent 1px), linear-gradient(90deg, var(--grid-sm) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  --dim-bg: var(--bp);
}
.fm-bp .fm-ruler__lbl, .fm-bp-sec .fm-ruler__lbl { background: var(--bp); }
.fm-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--acc) 16%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--acc) 16%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--acc) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--acc) 7%, transparent) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: linear-gradient(115deg, #000 10%, transparent 75%); mask-image: linear-gradient(115deg, #000 10%, transparent 75%);
}
/* Title block */
.fm-tb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1.5px solid var(--text); background: var(--surface); color: var(--text); }
.fm-tb > div { padding: 8px 12px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); min-width: 0; }
.fm-tb > div:nth-child(2n) { border-right: 0; }
.fm-tb > div:nth-last-child(-n+2) { border-bottom: 0; }
.fm-tb span { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fm-tb b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; overflow-wrap: anywhere; }
.fm-tb:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fm-tb:has(> div:nth-child(3):last-child) > div { border-bottom: 0; border-right: 1px solid var(--line-strong); }
.fm-tb:has(> div:nth-child(3):last-child) > div:last-child { border-right: 0; }

/* 05. Utility bar, header, drawer --------------------------------------- */
body:not(:has(.fm-topbar)) { --fm-top: 0px; }
.fm-topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--fm-top); z-index: 101; color: #dfe8f7; font-size: .76rem; font-weight: 500; letter-spacing: .04em;
  background-color: var(--bp); background-image: linear-gradient(90deg, var(--grid-sm) 1px, transparent 1px); background-size: 20px 100%;
  transition: transform .45s var(--ease);
}
.fm-topbar__in { height: 100%; display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.fm-topbar .ti { color: var(--yellow); font-size: 1rem; }
.fm-topbar b { color: #fff; font-weight: 700; }
.fm-topbar__lic, .fm-topbar__safe, .fm-topbar__right > * { display: inline-flex; align-items: center; gap: 7px; }
.fm-topbar__right { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.fm-topbar__right a { font-weight: 700; color: #fff; }
.fm-topbar__right a:hover { color: var(--yellow); }
@media (max-width: 479px) { .fm-topbar__in { gap: 12px; font-size: .7rem; } }
.site-header { top: var(--fm-top); height: var(--header-h); transition: top .45s var(--ease), transform .5s var(--ease), height .4s; }
.site-header.is-scrolled { top: 0; height: 76px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.site-header.is-scrolled ~ main .fm-topbar { transform: translateY(-100%); }
.site-header .nav {
  position: relative; isolation: isolate; height: 60px; padding: 0 8px 0 18px; color: #f4f1eb;
  --text: #f4f1eb; --line: rgba(255, 255, 255, .2); --acc: #f6c10e;
}
.site-header .nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--plate);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.site-header.is-scrolled .nav::before { background: color-mix(in srgb, var(--plate) 94%, transparent); }
.site-header .nav::after { content: ""; position: absolute; left: 14px; right: 0; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.site-header.is-scrolled .nav::after { transform: scaleX(1); right: 14px; }
.logo { color: #f4f1eb; gap: 12px; }
.logo__mark { width: 38px; height: 38px; border-radius: 0; background: var(--yellow); color: #202326; font-size: 1.3rem; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.nav__link { border-radius: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; letter-spacing: .09em; text-transform: uppercase; padding: 8px 14px; }
.nav__link:hover, .nav__link.is-active { color: var(--yellow); }
.nav__link.is-active { box-shadow: inset 0 -2px 0 var(--yellow); }
.dropdown { border-radius: 0; padding: 6px; background: var(--plate); color: #f4f1eb; border: 1px solid rgba(255, 255, 255, .14); top: calc(100% + 12px); }
.dropdown a { border-radius: 0; font-weight: 600; }
.dropdown a:hover { background: var(--yellow); color: #202326; }
.site-header .icon-btn { border-color: rgba(255, 255, 255, .22); color: #f4f1eb; }
.site-header .icon-btn:hover { background: rgba(255, 255, 255, .08); }
.fm-hbtn { --c: 8px; }
.drawer__panel { border-left: 6px solid var(--yellow); background-color: var(--bg); }
.drawer__head .logo { color: var(--text); }
.drawer__nav a { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.2rem; }
.drawer__nav .sub { font-family: var(--font-body); text-transform: none; font-weight: 500; letter-spacing: 0; font-size: 1rem; }
.hero, .page-header { padding-top: calc(var(--header-h) + var(--fm-top) + clamp(40px, 6vw, 84px)); }
.preloader__bar { border-radius: 0; height: 6px; width: 180px; }
.preloader__bar::after { background: var(--yellow); }

/* 06. Core component restyles ------------------------------------------- */
.card { border-radius: 0; }
.logos-title { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.logos span { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .04em; }
.logos .ti { color: var(--acc); }
.accordion { border-top: 2px solid var(--text); }
.accordion__btn { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.accordion__icon { border-radius: 0; border-color: var(--line-strong); }
.accordion__item.is-open .accordion__icon { background: var(--yellow); color: #202326; }
.input, .select, .textarea { border-radius: 0; border: 1.5px solid var(--line-strong); background: var(--surface); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 25%, transparent); }
.field label, .fm-field-lbl { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.form-success { border-radius: 0; border-left: 4px solid var(--ok); }
.newsletter { border-radius: 0; padding: 0; border: 1.5px solid var(--line-strong); }
.newsletter .btn { min-height: 52px; --c: 0px; }
.member__img { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.member__social a { border-radius: 0; background: var(--yellow); }
.member h3 { font-size: 1.5rem; }
.socials a { border-radius: 0; }
.socials a:hover { background: var(--yellow); color: #202326; }
.to-top { border-radius: 0; background: var(--yellow); color: #202326; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.text-band .marquee__track span { text-transform: uppercase; font-weight: 900; }

/* 07. Shared blocks ------------------------------------------------------ */
.fm-split { display: grid; gap: 48px; align-items: center; }
.fm-split > * { min-width: 0; }
.fm-split--top { align-items: start; }
.fm-split .section-head { margin-bottom: 20px; }
@media (min-width: 1024px) { .fm-split { grid-template-columns: 1fr 1fr; gap: 72px; } .fm-split--reverse > :first-child { order: 2; } }
.fm-media { position: relative; }
.fm-media img { width: 100%; aspect-ratio: 9/10; }
.fm-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(16, 18, 20, .75)); pointer-events: none; }
.fm-media__dim { position: absolute !important; left: 24px; right: 24px; bottom: 54px; z-index: 2; color: #fff; --dim-bg: transparent; }
.fm-media__dim b { background: rgba(32, 35, 38, .75); }
.fm-media__tag { position: absolute; left: 24px; bottom: 18px; z-index: 2; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
/* service cards */
.fm-cards { display: grid; gap: 20px; }
.fm-cards > * { min-width: 0; }
@media (min-width: 640px) { .fm-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fm-cards { grid-template-columns: repeat(3, 1fr); } }
.fm-card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 34px); background: var(--surface); transition: background-color .45s var(--ease), color .45s; min-height: 280px; }
.fm-card::after { content: ""; position: absolute; top: 14px; right: 14px; width: 16px; height: 16px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); }
.fm-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-right: 20px; }
.fm-card__ic { display: grid; place-items: center; width: 54px; height: 54px; flex: none; background: var(--yellow); color: #202326; font-size: 1.6rem; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.fm-card h3 { font-size: 1.65rem; margin: 26px 0 10px; }
.fm-card p { color: var(--muted); margin-bottom: 22px; }
.fm-card .fm-link { margin-top: auto; }
.fm-card:hover {
  background-color: var(--bp); color: #f4f1eb; --muted: rgba(244, 241, 235, .78); --acc: #f6c10e; --line-strong: rgba(255, 255, 255, .6);
  background-image: linear-gradient(var(--grid-sm) 1px, transparent 1px), linear-gradient(90deg, var(--grid-sm) 1px, transparent 1px); background-size: 20px 20px;
}
/* steps */
.fm-steps { display: grid; gap: 0; counter-reset: s; border-top: 2px solid var(--text); }
@media (min-width: 768px) { .fm-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .fm-steps { grid-template-columns: repeat(5, 1fr); } }
.fm-steps li { position: relative; padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1280px) { .fm-steps li { border-bottom: 0; padding-right: 28px; } .fm-steps li + li { padding-left: 24px; border-left: 1px dashed var(--line-strong); } }
.fm-steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--yellow); border: 2px solid var(--text); transform: rotate(45deg); }
@media (min-width: 1280px) { .fm-steps li + li::before { left: 24px; } }
.fm-steps__n { display: block; font-family: var(--font-head); font-weight: 900; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--acc); margin: 10px 0 12px; }
.fm-steps .ti { font-size: 1.6rem; color: var(--acc); }
.fm-steps h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.fm-steps p { color: var(--muted); margin: 0; }
/* quotes */
.fm-quotes { display: grid; gap: 20px; }
@media (min-width: 1024px) { .fm-quotes { grid-template-columns: repeat(3, 1fr); } }
.fm-quotes > * { min-width: 0; }
.fm-quote { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--surface); border-top: 4px solid var(--yellow); }
.fm-quote blockquote { font-size: 1.08rem; line-height: 1.6; }
.fm-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.fm-quote img { width: 52px; height: 52px; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
.fm-quote strong { display: block; font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.fm-quote figcaption span { font-size: .88rem; color: var(--muted); }
/* rows (renovation / trades) */
.fm-rows { display: grid; margin-top: 28px; border-top: 2px solid var(--text); }
.fm-row { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fm-row > .ti { font-size: 1.6rem; color: var(--acc); }
.fm-row__n { font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; color: var(--muted); padding-top: 2px; }
.fm-row h3 { font-size: 1.4rem; margin: 0 0 4px; }
.fm-row p { color: var(--muted); margin: 0; }
.fm-row > b { grid-column: 3; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: var(--acc); }
@media (min-width: 640px) { .fm-row { grid-template-columns: auto auto 1fr auto; align-items: center; } .fm-row > b { grid-column: auto; } }
/* KPIs */
.fm-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1024px) { .fm-kpis { grid-template-columns: repeat(4, 1fr); } }
.fm-kpi { padding: 24px; background: var(--surface); border-left: 4px solid var(--yellow); }
.fm-kpi strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; margin-top: 8px; color: var(--yellow); }

/* 08. Tables & meters ---------------------------------------------------- */
.fm-table-wrap { overflow-x: auto; border-top: 2px solid var(--text); }
.fm-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.fm-table th, .fm-table td { text-align: left; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fm-table thead th { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fm-table tbody th { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 767px) {
  .fm-table thead { display: none; }
  .fm-table tr { display: grid; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .fm-table th, .fm-table td { border: 0; padding: 3px 0; }
  .fm-table td { display: flex; justify-content: space-between; gap: 16px; }
  .fm-table td::before { content: attr(data-l); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
}
.fm-pill { display: inline-block; padding: 3px 10px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-strong); white-space: nowrap; }
.fm-pill--y { background: var(--yellow); color: #202326; border-color: var(--yellow); }
.fm-meter { display: inline-flex; gap: 3px; }
.fm-meter i { width: 14px; height: 10px; background: var(--line); transform: skewX(-20deg); }
.fm-meter i.on { background: var(--acc); }
.fm-bar { position: relative; display: block; height: 10px; background: var(--line); overflow: hidden; }
.fm-bar i { position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--acc); transition: width 1.6s var(--ease); }
.js-anim .fm-bar[data-bar]:not(.is-in) i { width: 0; }
.fm-bar--thin { height: 6px; }

/* 09. Safety board ------------------------------------------------------- */
.fm-sb { position: relative; display: grid; background: #141619; border: 1.5px solid rgba(255, 255, 255, .12); border-top: 8px solid var(--yellow); --dim-bg: #141619; }
.fm-sb__bolt { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #6d7278, #2d3136); box-shadow: 0 0 0 2px rgba(0, 0, 0, .4); }
.fm-sb__bolt.tl { top: 12px; left: 12px; } .fm-sb__bolt.tr { top: 12px; right: 12px; } .fm-sb__bolt.bl { bottom: 12px; left: 12px; } .fm-sb__bolt.br { bottom: 12px; right: 12px; }
.fm-sb__main { padding: 34px 32px 28px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.fm-sb__k { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.fm-sb__k .ti { font-size: 1.1rem; }
.fm-sb__days { margin: 14px auto 6px; padding: 6px 22px; display: inline-block; background: #0b0c0e; box-shadow: inset 0 0 0 1px rgba(246, 193, 14, .25), inset 0 -40px 60px -40px rgba(246, 193, 14, .18); }
.fm-sb__days span { font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 13vw, 9rem); line-height: .95; color: var(--yellow); letter-spacing: .04em; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(246, 193, 14, .35); }
.fm-sb__cap { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .06em; margin: 8px 0 18px; }
.fm-sb__hours { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; }
.fm-sb__hours b { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.fm-sb__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.fm-sb__cell { padding: 20px 24px; border-right: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.fm-sb__cell:nth-child(2n) { border-right: 0; }
.fm-sb__cell:nth-last-child(-n+2) { border-bottom: 0; }
.fm-sb__cell strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.05; margin-top: 4px; }
.fm-sb__cell small { color: var(--muted); font-size: .84rem; }

/* 10. Phase timeline ----------------------------------------------------- */
.fm-live { display: grid; gap: 0; }
@media (min-width: 1024px) { .fm-live { grid-template-columns: .8fr 1.2fr; } .fm-live--nophoto { grid-template-columns: 1fr; } }
.fm-live__media { position: relative; min-height: 280px; }
.fm-live__media img { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
@media (max-width: 1023px) { .fm-live__media { aspect-ratio: 16/10; } }
.fm-live__cam { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(20, 22, 25, .85); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fm-live__body { padding: clamp(22px, 3.4vw, 40px); background: var(--surface); }
@media (min-width: 1024px) { .fm-live:not(.fm-live--nophoto) .fm-live__body { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); } }
.fm-live__top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.fm-live__name { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 0; }
.fm-live__ring { position: relative; width: 84px; height: 84px; flex: none; }
.fm-live__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fm-live__ring circle { fill: none; stroke-width: 4; stroke: var(--line); }
.fm-live__ring circle + circle { stroke: var(--acc); stroke-dasharray: var(--p) 100; }
.fm-live__ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; }
.fm-live__wk { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; margin: 22px 0 8px; padding: 14px 0; border-block: 1px dashed var(--line-strong); font-size: .9rem; }
.fm-live__wk b { font-family: var(--font-head); font-size: 1.3rem; }
.fm-live__wk .fm-ok { grid-column: 1 / -1; font-size: .85rem; }
@media (min-width: 640px) { .fm-live__wk { grid-template-columns: auto 1fr auto; } .fm-live__wk .fm-ok { grid-column: auto; } }
.fm-phases { display: grid; gap: 0; }
.fm-phs { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fm-phs:last-child { border-bottom: 0; }
.fm-phs__head { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; margin-bottom: 10px; }
.fm-phs__n { font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; color: var(--muted); }
.fm-phs__ic { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--line-strong); font-size: 1.15rem; }
.fm-phs h3 { font-size: 1.35rem; margin: 0; }
.fm-phs__badge { grid-column: 3; justify-self: start; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-strong); color: var(--muted); }
@media (min-width: 640px) { .fm-phs__head { grid-template-columns: auto auto 1fr auto; } .fm-phs__badge { grid-column: auto; justify-self: end; } }
.fm-phs__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: .88rem; color: var(--muted); }
.fm-phs__foot b { font-family: var(--font-head); font-size: 1.1rem; color: var(--text); }
.fm-phs--done .fm-phs__ic { background: var(--acc); color: var(--surface); border-color: var(--acc); }
[data-theme="dark"] .fm-phs--done .fm-phs__ic { color: #202326; }
.fm-phs--now .fm-phs__ic { background: var(--yellow); color: #202326; border-color: var(--yellow); }
.fm-phs--now .fm-phs__badge { background: var(--yellow); color: #202326; border-color: var(--yellow); }
.fm-phs--now .fm-bar i { background: repeating-linear-gradient(-45deg, var(--yellow) 0 8px, #e0ae00 8px 16px); background-size: 22.6px 22.6px; animation: fm-move 1.2s linear infinite; }
@keyframes fm-move { to { background-position: 22.6px 0; } }
.fm-phs--next { opacity: .7; }

/* 11. Cost calculator ---------------------------------------------------- */
.fm-calc { display: grid; gap: 16px; }
.fm-calc > * { min-width: 0; }
@media (min-width: 1024px) { .fm-calc:not(.fm-calc--compact) { grid-template-columns: 1.25fr 1fr; gap: 20px; } }
.fm-calc__form { display: grid; gap: 26px; align-content: start; padding: clamp(22px, 3.4vw, 40px); background: var(--surface); }
.fm-calc__lbl { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.fm-calc__hint { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.fm-area { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) { .fm-area { grid-template-columns: 1fr 180px; } }
.fm-area input[type=range] { width: 100%; accent-color: var(--primary); height: 28px; }
.fm-unit { position: relative; }
.fm-unit .input { padding-right: 64px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; }
.fm-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.fm-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fm-seg__opt { position: relative; cursor: pointer; }
.fm-seg__opt input { position: absolute; opacity: 0; inset: 0; }
.fm-seg__opt span { display: block; height: 100%; padding: 12px 12px; border: 1.5px solid var(--line-strong); transition: background .3s, color .3s, border-color .3s; }
.fm-seg__opt b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; }
.fm-seg__opt small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.3; margin-top: 3px; }
.fm-seg__opt input:checked + span { background: var(--bp); color: #fff; border-color: var(--bp); --muted: rgba(255, 255, 255, .78); }
.fm-seg__opt input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.fm-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fm-checks label { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; cursor: pointer; }
.fm-checks input { width: 18px; height: 18px; accent-color: var(--primary); }
.fm-calc__out { padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.fm-bp-sec .fm-calc__out { background-color: var(--bp-deep); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); --dim-bg: var(--bp-deep); }
.fm-calc__top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.fm-calc__top b { color: var(--yellow); }
.fm-calc__k { margin: 8px 0 0; }
.fm-calc__price { margin: 0; font-family: var(--font-head); font-weight: 900; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.fm-calc__dim { color: rgba(255, 255, 255, .85); margin: 4px 0; }
.fm-calc__dim b { font-size: .8rem; }
.fm-calc__dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line); }
.fm-calc__dl > div { padding: 12px 10px 12px 0; min-width: 0; }
.fm-calc__dl > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.fm-calc__dl dt { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fm-calc__dl dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; }
.fm-calc__phases { display: grid; gap: 10px; }
.fm-stack { display: flex; height: 26px; gap: 2px; }
.fm-stack i { flex: 0 0 auto; width: var(--w); position: relative; display: grid; place-items: center; transition: width .6s var(--ease); overflow: hidden; }
.fm-stack i span { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #202326; white-space: nowrap; display: none; }
@media (min-width: 640px) { .fm-stack i span { display: block; } }
.fm-stack .p0, .fm-sw.p0 { background: #f6c10e; } .fm-stack .p1, .fm-sw.p1 { background: #ffe07a; } .fm-stack .p2, .fm-sw.p2 { background: #ffffff; }
.fm-stack .p3, .fm-sw.p3 { background: #b4c9ee; } .fm-stack .p4, .fm-sw.p4 { background: #7ea0da; }
.fm-calc__plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px 14px; font-size: .84rem; }
.fm-calc__plist li { display: flex; align-items: center; gap: 8px; }
.fm-calc__plist b { margin-left: auto; font-family: var(--font-head); font-size: 1rem; }
.fm-sw { width: 10px; height: 10px; flex: none; }
.fm-calc__out .btn { margin-top: 6px; }
.fm-calc__note { font-size: .8rem; color: var(--muted); margin: 0; }
/* compact card (home 4) */
.fm-calc--compact .fm-calc__form { clip-path: none; padding: 0; background: none; gap: 20px; }
.fm-calc--compact .fm-calc__out { background-color: var(--bp); --dim-bg: var(--bp); margin-inline: calc(-1 * clamp(20px, 3vw, 32px)); margin-bottom: calc(-1 * clamp(20px, 3vw, 32px)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.fm-calc--compact .fm-hide-compact { display: none; }
.fm-calc--compact .fm-calc__dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fm-calc--compact .fm-calc__price { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.fm-calc--compact .fm-area { grid-template-columns: 1fr; }

/* 12. Gallery & service area -------------------------------------------- */
.fm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.fm-filter {
  display: inline-flex; align-items: flex-start; gap: 6px; padding: 10px 18px; border: 1.5px solid var(--line-strong); font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); transition: background .3s, color .3s, border-color .3s;
}
.fm-filter sup { font-family: var(--font-body); font-size: .66rem; font-weight: 700; color: var(--muted); top: 0; }
.fm-filter:hover { border-color: var(--text); }
.fm-filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.fm-filter.is-active sup { color: var(--yellow); }
.fm-projs { display: grid; gap: 20px; }
@media (min-width: 640px) { .fm-projs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fm-projs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1536px) { .fm-projs:has(> :nth-child(8)) { grid-template-columns: repeat(4, 1fr); } }
.fm-projs > * { min-width: 0; }
.fm-proj { background: var(--surface); display: flex; flex-direction: column; }
.fm-proj.is-hidden { display: none; }
.fm-proj__img { position: relative; display: block; overflow: hidden; }
.fm-proj__img img { width: 100%; aspect-ratio: 4/3; transition: transform 1s var(--ease); }
.fm-proj:hover .fm-proj__img img { transform: scale(1.05); }
.fm-proj__code { position: absolute; right: 0; bottom: 0; padding: 6px 12px; background: var(--yellow); color: #202326; font-family: var(--font-head); font-weight: 800; letter-spacing: .08em; }
.fm-proj__body { padding: 20px 22px 24px; }
.fm-proj h3 { font-size: 1.55rem; margin: 6px 0 14px; }
.fm-proj h3 a:hover { color: var(--acc); }
.fm-proj dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px dashed var(--line-strong); padding-top: 12px; }
.fm-proj dl > div { min-width: 0; }
.fm-proj dt { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fm-proj dd { margin: 0; font-weight: 600; font-size: .88rem; }
.fm-gallery__empty { padding: 32px; text-align: center; border: 1.5px dashed var(--line-strong); }
.fm-area-box { padding: clamp(20px, 3vw, 32px); background: var(--surface); border-top: 4px solid var(--acc); }
.fm-area-box__in { position: relative; }
.fm-area-box__in .ti { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--acc); }
.fm-area-box__in .input { padding-left: 48px; }
.fm-area-box__msg { margin: 12px 0 18px; font-size: .92rem; color: var(--muted); min-height: 1.6em; }
.fm-area-box__msg.is-yes { color: var(--ok); font-weight: 700; }
.fm-area-box__msg.is-no { color: #c2410c; font-weight: 700; }
[data-theme="dark"] .fm-area-box__msg.is-no { color: #fb923c; }
.fm-towns { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fm-towns li { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); transition: opacity .3s, background .3s; }
.fm-towns b { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .03em; }
.fm-towns span { grid-column: 1; font-size: .78rem; color: var(--muted); }
.fm-towns em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--acc); }
.fm-towns li.is-dim { opacity: .28; }
.fm-towns li.is-match { background: color-mix(in srgb, var(--yellow) 22%, transparent); padding-left: 8px; }

/* 13. Plan / built slider & drawings ------------------------------------ */
.fm-draw { --draw: #fff; --dimc: #f6c10e; width: 100%; height: auto; overflow: visible; }
.fm-draw__main { stroke: var(--draw); stroke-width: 2.2; stroke-linejoin: round; }
.fm-draw__thin { stroke: var(--draw); stroke-width: 1; opacity: .55; }
.fm-draw__dim { stroke: var(--dimc); stroke-width: 1; }
.fm-draw__dim path { fill: var(--dimc); }
.fm-draw__dim path[d^="M96"], .fm-draw__dim path[d^="M300"] { fill: none; }
.fm-draw text { fill: var(--dimc); stroke: none; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; }
.fm-draw__tag { fill: none; }
.fm-ps { position: relative; aspect-ratio: 11/7.6; overflow: hidden; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); user-select: none; }
.fm-ps__built, .fm-ps__built img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fm-ps__plan { position: absolute; inset: 0; display: grid; place-items: center; padding: 6% 8%; background-color: var(--bp-deep); clip-path: inset(0 calc(100% - var(--x)) 0 0); box-shadow: inset -2px 0 0 var(--yellow); }
.fm-ps__plan .fm-draw { max-height: 100%; }
.fm-ps__handle { position: absolute; top: 50%; left: var(--x); width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; background: var(--yellow); color: #202326; font-size: 1.4rem; pointer-events: none; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.fm-ps::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--yellow); pointer-events: none; }
.fm-ps input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.fm-ps__lbl { position: absolute; top: 14px; padding: 5px 10px; font-family: var(--font-head); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; background: rgba(20, 22, 25, .8); color: #fff; z-index: 1; pointer-events: none; }
.fm-ps__lbl--l { left: 22px; } .fm-ps__lbl--r { right: 14px; }

/* 14. Home compositions -------------------------------------------------- */
/* Home 1: split + dimensioned photo + title block */
.fm-h1 { isolation: isolate; padding-bottom: clamp(56px, 7vw, 96px); }
.fm-h1__grid { display: grid; gap: 48px; align-items: center; }
.fm-h1__grid > * { min-width: 0; }
@media (min-width: 1024px) { .fm-h1__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.fm-h1 .hero__title { font-size: clamp(3.2rem, 7.6vw, 7rem); max-width: 11ch; }
.fm-h1__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 40px; border-top: 2px solid var(--text); }
.fm-h1__facts li { padding: 14px 22px 0 0; }
.fm-h1__facts li + li { padding-left: 22px; border-left: 1px dashed var(--line-strong); }
.fm-h1__facts b { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.fm-h1__facts span { font-size: .8rem; color: var(--muted); }
.fm-h1__visual { position: relative; padding: 0 0 40px 44px; color: var(--acc); }
.fm-h1__img img { width: 100%; aspect-ratio: 1000/1150; }
.fm-h1__dimv { position: absolute !important; left: 0; top: 0; bottom: 40px; height: auto !important; }
.fm-h1__dimh { position: absolute !important; left: 44px; right: 0; bottom: 0; width: auto !important; }
.fm-h1__tb { position: absolute; left: 20px; right: 20px; bottom: 60px; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .fm-h1__tb { left: 12px; right: auto; width: 380px; } }
@media (min-width: 1280px) { .fm-h1__tb { left: -28px; } }
/* Home 2: blueprint hero + plan slider */
.fm-h2 { padding-bottom: 0; }
.fm-h2__grid { display: grid; gap: 44px; align-items: center; padding-bottom: clamp(56px, 7vw, 96px); }
.fm-h2__grid > * { min-width: 0; }
@media (min-width: 1024px) { .fm-h2__grid { grid-template-columns: .95fr 1.15fr; gap: 56px; } }
.fm-h2 .hero__title { font-size: clamp(3rem, 6.6vw, 6.2rem); }
.fm-h2__note { display: flex; gap: 10px; align-items: center; margin-top: 28px; font-size: .9rem; color: var(--muted); }
.fm-h2__note .ti { color: var(--yellow); font-size: 1.3rem; }
.fm-h2__visual { position: relative; }
.fm-h2__tb { margin: 14px 0 0 auto; max-width: 440px; background: var(--bp-deep); }
.fm-h2__ruler { color: #fff; }
/* Home 3: full-bleed industrial */
.fm-h3 { min-height: min(100svh, 980px); display: flex; align-items: flex-end; isolation: isolate; background: #111; }
.fm-h3__bg { position: absolute; inset: 0; z-index: -3; }
.fm-h3__bg img { width: 100%; height: 100%; }
.fm-h3::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(14, 16, 18, .55) 0%, rgba(14, 16, 18, .25) 35%, rgba(14, 16, 18, .9) 88%); }
.fm-h3__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(246, 193, 14, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 193, 14, .16) 1px, transparent 1px); background-size: 120px 120px; }
.fm-h3__cross { position: absolute; top: 34%; right: 18%; width: 120px; height: 120px; border: 1.5px solid var(--yellow); border-radius: 50%; }
.fm-h3__cross::before, .fm-h3__cross::after { content: ""; position: absolute; background: var(--yellow); }
.fm-h3__cross::before { left: -30px; right: -30px; top: 50%; height: 1.5px; }
.fm-h3__cross::after { top: -30px; bottom: -30px; left: 50%; width: 1.5px; }
.fm-h3__coord { position: absolute; top: calc(34% + 140px); right: calc(18% - 60px); color: var(--yellow); font-size: .72rem; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
@media (max-width: 1023px) { .fm-h3__cross { top: 22%; right: 10%; width: 80px; height: 80px; } .fm-h3__coord { display: none; } }
.fm-h3 .hero__title { font-size: clamp(3.4rem, 9.6vw, 9rem); max-width: 10ch; }
.fm-h3 .lead { color: rgba(244, 241, 235, .82); }
.fm-h3__strip { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 48px; border-top: 1.5px solid rgba(255, 255, 255, .35); }
@media (min-width: 1024px) { .fm-h3__strip { grid-template-columns: repeat(4, 1fr); } }
.fm-h3__strip > div { padding: 16px 16px 0 0; min-width: 0; }
.fm-h3__strip b { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--yellow); }
/* Home 4: roof drawing + quote card */
.fm-h4 { isolation: isolate; }
.fm-h4__grid { display: grid; gap: 44px; align-items: start; }
.fm-h4__grid > * { min-width: 0; }
@media (min-width: 1024px) { .fm-h4__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.fm-h4 .hero__title { font-size: clamp(3rem, 7vw, 6.4rem); max-width: 11ch; }
.fm-h4__draw { max-width: 540px; margin-top: 12px; }
.fm-h4__draw .fm-draw { --draw: var(--acc); --dimc: var(--text); }
.fm-h4__card { padding: clamp(20px, 3vw, 32px); background: var(--surface); box-shadow: var(--shadow-lg); border-top: 6px solid var(--yellow); }
.fm-h4__card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.fm-h4__card-h .fm-label { color: var(--text); font-size: .8rem; }
/* plans (home 2) */
.fm-plans { display: grid; gap: 20px; }
@media (min-width: 768px) { .fm-plans { grid-template-columns: repeat(3, 1fr); } }
.fm-plans > * { min-width: 0; }
.fm-plan { background: var(--surface); }
.fm-plan__img { position: relative; }
.fm-plan__img img { width: 100%; aspect-ratio: 10/7; }
.fm-plan__dim { position: absolute !important; left: 18px; right: 18px; bottom: 14px; color: #fff; --dim-bg: rgba(32, 35, 38, .8); }
.fm-plan__body { padding: 22px 24px 26px; }
.fm-plan__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 6px 0 6px; }
.fm-plan h3 { font-size: 1.9rem; margin: 0; }
.fm-plan__row b { font-family: var(--font-head); font-size: 1.6rem; color: var(--acc); }
.fm-plan p { color: var(--muted); }
/* sectors (home 3) */
.fm-sectors { display: grid; gap: 16px; }
@media (min-width: 768px) { .fm-sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .fm-sectors { grid-template-columns: repeat(3, 1fr); } }
.fm-sectors > * { min-width: 0; }
.fm-sector { display: grid; gap: 18px; padding: 28px; background: var(--surface); }
.fm-sector h3 { font-size: 1.6rem; margin: 0 0 8px; }
.fm-sector p { color: var(--muted); margin: 0; }
.fm-sector__spec { color: var(--acc); --dim-bg: var(--t-surface); }
[data-theme="dark"] .fm-sector__spec { --dim-bg: #22262b; }
/* trades (home 4) */
.fm-trades { display: grid; gap: 10px; }
.fm-trade { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); transition: background .35s, color .35s; }
.fm-trade .fm-row__n { display: none; }
.fm-trade h3 { font-size: 1.45rem; margin: 0 0 4px; }
.fm-trade p { margin: 0; color: var(--muted); font-size: .95rem; }
.fm-trade__t { display: none; width: 160px; color: var(--acc); --dim-bg: var(--surface); }
.fm-trade__go { font-size: 1.4rem; color: var(--acc); transition: transform .3s var(--ease); }
.fm-trade:hover { background: var(--asphalt); color: #f4f1eb; --muted: rgba(244, 241, 235, .7); --acc: #f6c10e; }
.fm-trade:hover .fm-trade__t { --dim-bg: var(--asphalt); }
.fm-trade:hover .fm-trade__go { transform: translateX(4px); }
@media (min-width: 768px) { .fm-trade { grid-template-columns: auto auto 1fr auto auto; padding: 20px 28px; } .fm-trade .fm-row__n { display: block; } .fm-trade__t { display: flex; } }
[data-theme="dark"] .fm-trade:hover { background: #0e1012; }
/* storm band */
.fm-storm { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1024px) { .fm-storm { grid-template-columns: auto 1fr auto; gap: 40px; } }
.fm-storm__ic { display: grid; place-items: center; width: 84px; height: 84px; font-size: 2.6rem; background: var(--yellow); color: #202326; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.fm-storm .h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 8px 0 10px; }
.fm-storm p { color: var(--muted); margin: 0; }
.fm-storm__tel { display: inline-flex; align-items: center; gap: 14px; padding: 18px 26px; background: var(--yellow); color: #202326; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.fm-storm__tel .ti { font-size: 2rem; }
.fm-storm__tel span { display: grid; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: .04em; line-height: 1.05; white-space: nowrap; }
.fm-storm__tel small { font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* 15. Inner pages -------------------------------------------------------- */
.fm-ph { padding-bottom: 0; }
.fm-ph .breadcrumb { color: rgba(255, 255, 255, .75); }
.fm-ph .breadcrumb a:hover { color: var(--yellow); }
.fm-ph__grid { display: grid; gap: 32px; align-items: end; padding-bottom: clamp(48px, 6vw, 80px); }
.fm-ph__grid > * { min-width: 0; }
@media (min-width: 1024px) { .fm-ph__grid { grid-template-columns: 1fr 380px; gap: 56px; } }
.page-header h1 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: 0; }
.fm-ph__tb { background: var(--bp-deep); }
.fm-ph__ruler { color: #fff; border-bottom: 0; }
.fm-ph__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.fm-ph__chips .fm-tag { margin: 0; color: var(--yellow); }
/* services */
.fm-srvs { display: grid; gap: clamp(64px, 8vw, 112px); }
.fm-srv { display: grid; gap: 36px; align-items: center; }
.fm-srv > * { min-width: 0; }
@media (min-width: 1024px) { .fm-srv { grid-template-columns: 1.05fr 1fr; gap: 72px; } .fm-srv--rev .fm-srv__media { order: 2; } }
.fm-srv__media { position: relative; }
.fm-srv__media img { width: 100%; aspect-ratio: 9/7; }
.fm-srv__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(16, 18, 20, .7)); }
.fm-srv__media .fm-media__dim { bottom: 22px; }
.fm-srv__code { position: absolute; top: 0; right: 0; padding: 10px 16px; background: var(--yellow); color: #202326; font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; letter-spacing: .06em; z-index: 2; }
.fm-srv__body .h2 { margin: 10px 0 14px; }
/* project detail */
.fm-pd-hero { position: relative; }
.fm-pd-hero img { width: 100%; aspect-ratio: 16/8.2; min-height: 280px; }
.fm-pd__dimv { position: absolute !important; right: 22px; top: 24px; bottom: 24px; height: auto !important; color: #fff; --dim-bg: rgba(32, 35, 38, .8); }
.fm-pd__dimh { position: absolute !important; left: 24px; right: 70px; bottom: 22px; width: auto !important; color: #fff; --dim-bg: rgba(32, 35, 38, .8); }
.fm-pd-grid { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 64px); }
.fm-pd-grid > * { min-width: 0; }
@media (min-width: 1024px) { .fm-pd-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.fm-tb--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fm-tb--wide b { font-size: 1.2rem; }
.fm-diary { border-top: 2px solid var(--text); }
.fm-diary li { display: grid; gap: 4px; padding: 18px 0 18px 26px; border-bottom: 1px solid var(--line); position: relative; }
.fm-diary li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 10px; background: var(--yellow); transform: rotate(45deg); }
.fm-diary time { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; color: var(--acc); }
.fm-diary p { margin: 0; }
.fm-shots { display: grid; gap: 16px; }
@media (min-width: 640px) { .fm-shots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .fm-shots { grid-template-columns: repeat(4, 1fr); } }
.fm-shots > * { min-width: 0; }
.fm-shot { background: var(--surface); }
.fm-shot img { width: 100%; aspect-ratio: 7/5.2; }
.fm-shot figcaption { padding: 14px 16px 18px; font-size: .9rem; display: grid; gap: 4px; }
.fm-next { display: grid; gap: 32px; align-items: stretch; }
.fm-next > * { min-width: 0; }
@media (min-width: 1024px) { .fm-next { grid-template-columns: 1.2fr 1fr; } }
.fm-next .fm-quotes { grid-template-columns: 1fr; margin-top: 12px; }
.fm-next__link { position: relative; display: block; min-height: 280px; overflow: hidden; color: #fff; }
.fm-next__link img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1s var(--ease); }
.fm-next__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(16, 18, 20, .85)); }
.fm-next__link:hover img { transform: scale(1.05); }
.fm-next__link > span { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: uppercase; line-height: 1; }
.fm-next__link small { display: block; color: var(--yellow); margin-bottom: 8px; }
/* about */
.fm-tl { display: grid; gap: 0; position: relative; }
@media (min-width: 1024px) { .fm-tl { grid-template-columns: repeat(6, 1fr); } }
.fm-tl li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 0 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fm-tl__y { font-family: var(--font-head); font-weight: 900; font-size: 2.1rem; line-height: 1; color: var(--acc); }
.fm-tl__tick { display: none; }
.fm-tl p { margin: 0; color: var(--muted); }
@media (min-width: 1024px) {
  .fm-tl { padding-top: 26px; border-top: 0; background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 16px) left top / 100% 10px no-repeat; border-bottom: 0; }
  .fm-tl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--text); }
  .fm-tl li { display: block; padding: 18px 20px 0 0; border: 0; }
  .fm-tl__tick { display: block; position: absolute; top: -26px; left: 0; width: 1.5px; height: 26px; background: var(--text); }
  .fm-tl__y { display: block; font-size: 2.6rem; margin-bottom: 10px; }
}
#safety .fm-cards { margin-top: 56px; }
#safety .fm-card { min-height: 0; }
/* contact */
.fm-quote-grid { display: grid; gap: 24px; align-items: start; }
.fm-quote-grid > * { min-width: 0; }
@media (min-width: 1024px) { .fm-quote-grid { grid-template-columns: 1.5fr 1fr; } }
.fm-form { padding: clamp(22px, 4vw, 44px); background: var(--surface); gap: 22px; }
.fm-form__h { padding-bottom: 16px; border-bottom: 2px solid var(--text); }
.fm-form__h .h3 { margin: 8px 0 0; }
.fm-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.fm-form legend { margin-bottom: 14px; color: var(--acc); }
.fm-form .btn { justify-self: start; }
.fm-aside { padding: clamp(22px, 3.4vw, 36px); display: grid; gap: 22px; }
.fm-aside__steps { display: grid; gap: 0; counter-reset: a; }
.fm-aside__steps li { display: grid; gap: 2px; padding: 14px 0 14px 20px; border-left: 1.5px dashed var(--line-strong); position: relative; }
.fm-aside__steps li::before { content: ""; position: absolute; left: -6px; top: 20px; width: 10px; height: 10px; background: var(--yellow); }
.fm-aside__steps b { font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); }
.fm-aside__call { display: flex; align-items: center; gap: 14px; padding: 16px; background: rgba(0, 0, 0, .18); }
.fm-aside__call .ti { font-size: 2rem; color: var(--yellow); }
.fm-aside__call a { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.55rem; letter-spacing: .04em; }
.fm-aside .fm-tb { background: var(--bp-deep); }
.fm-offices { display: grid; gap: 16px; }
@media (min-width: 768px) { .fm-offices { grid-template-columns: repeat(3, 1fr); } }
.fm-offices > * { min-width: 0; }
.fm-office { position: relative; padding: 28px; background: var(--surface); }
.fm-office__code { display: inline-block; font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--acc); margin-bottom: 14px; }
.fm-office h3 { font-size: 1.5rem; margin-bottom: 6px; }
.fm-office p { color: var(--muted); }
.fm-office a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--acc); }

/* 16. CTA, footer, 404 --------------------------------------------------- */
.fm-cta-sec { padding-top: 0; }
.fm-cta { position: relative; display: grid; gap: 32px; padding: clamp(32px, 6vw, 80px); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
@media (min-width: 1024px) { .fm-cta { grid-template-columns: 1fr 320px; align-items: end; gap: 56px; } }
.fm-cta > * { min-width: 0; }
.fm-cta .h2 { margin: 12px 0 14px; max-width: 16ch; }
.fm-cta .lead { margin-bottom: 30px; }
.fm-cta__tb { background: var(--bp-deep); }
.fm-cta__dim { position: absolute !important; top: 18px; left: clamp(32px, 6vw, 80px); right: clamp(32px, 6vw, 80px); width: auto !important; color: rgba(255, 255, 255, .5); }
.fm-cta__body { padding-top: 14px; }
.fm-foot { background: #1a1c1f; padding-top: 0; }
[data-theme="dark"] .fm-foot { background: #0e1012; }
.fm-foot__ruler { color: rgba(255, 255, 255, .7); margin-bottom: clamp(56px, 7vw, 96px); }
.fm-foot__ruler, .fm-foot .fm-ruler__lbl { background-color: transparent; }
.fm-foot__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .fm-foot__top { grid-template-columns: 1.2fr 1fr 1.1fr; gap: 56px; } }
.fm-foot__top > * { min-width: 0; }
.fm-foot__brand p { color: var(--muted); max-width: 40ch; margin: 18px 0 0; }
.fm-foot__call { display: grid; gap: 10px; align-content: start; }
.fm-foot__tel { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--yellow); letter-spacing: .03em; line-height: 1; }
.fm-foot__tb { margin-top: 8px; }
.fm-foot__news h4 { font-size: 1.5rem; margin-bottom: 8px; }
.fm-foot__news p { color: var(--muted); }
.fm-foot__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; padding-block: 48px; }
@media (min-width: 768px) { .fm-foot__grid { grid-template-columns: repeat(3, 1fr); } }
.fm-foot__col h4 { font-size: 1.25rem; margin-bottom: 14px; color: var(--yellow); }
.fm-foot .footer-links a:hover { color: var(--yellow); }
.fm-foot .footer-mega { font-weight: 400; letter-spacing: .02em; opacity: .07; font-size: clamp(3rem, 14vw, 14rem); }
.error-page {
  background-color: var(--bp);
  background-image: linear-gradient(var(--grid-lg) 1px, transparent 1px), linear-gradient(90deg, var(--grid-lg) 1px, transparent 1px), linear-gradient(var(--grid-sm) 1px, transparent 1px), linear-gradient(90deg, var(--grid-sm) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}
.error-page .code { font-family: var(--font-head); font-weight: 900; letter-spacing: .02em; font-size: clamp(8rem, 36vw, 22rem); }
.error-page .code.text-gradient { background: none; color: transparent; -webkit-text-stroke: 3px #fff; }
.error-page h1 { color: #fff; }
.error-page h1::before { content: "DWG 404 · Sheet not found"; display: block; width: max-content; max-width: 100%; margin: 20px auto 18px; padding: 6px 14px; background: var(--yellow); color: #202326; font-family: var(--font-body); font-weight: 700; font-size: .74rem; letter-spacing: .16em; }
.error-page .lead { color: rgba(255, 255, 255, .8); }
/* list resets & small fixes */
.fm-phases, .fm-steps, .fm-tl, .fm-diary, .fm-aside__steps { list-style: none; margin: 0; padding: 0; }
.fm-stack i { font-style: normal; }
.fm-tb b .fm-ok { font: inherit; }
.fm-sb__k { display: flex; justify-content: center; }
.fm-sector { grid-template-rows: auto 1fr auto; }
