/* ==========================================================================
   ARCADIA — style.css
   Visual idea: engineering drawings of Arcadia's own work, lit like a club.
   One family (Archivo) using its width axis: headings are set wide and heavy
   in capitals like a club poster, reading text stays at normal width.
   Noto Sans Georgian takes over for KA (heavy weight, no capitals).

   00 Fonts             06 Services
   01 Tokens
   02 Base              07 Why Arcadia
   03 Buttons & links   08 Process
   04 Header            09 Projects
   05 Hero & drawing    10 Contact & form
   05b Stage light bg
                        11 Footer
                        12 Responsive
                        13 Reduced motion
   ========================================================================== */

/* 00 FONTS (self-hosted, SIL Open Font License — see assets/fonts/) ------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans Georgian";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  src: url("../fonts/noto-sans-georgian-georgian-wdth-normal.woff2") format("woff2-variations"), url("../fonts/noto-sans-georgian-georgian-wdth-normal.woff2") format("woff2");
  unicode-range: U+0589,U+10A0-10FF,U+1C90-1CBA,U+1CBD-1CBF,U+205A,U+2D00-2D2F,U+2E31;
}

/* Cyrillic (RU): Archivo has no Cyrillic, so Russian letters come from Roboto Flex,
   registered under the same family name. It has the same width axis, so the
   wide poster headings keep their look in Russian. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  /* must match the Latin Archivo faces exactly, or the browser treats them as
     separate groups and Latin text falls back to a system font */
  font-stretch: 62% 125%;
  src: url("../fonts/roboto-flex-cyrillic-wdth-normal.woff2") format("woff2-variations"), url("../fonts/roboto-flex-cyrillic-wdth-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* 01 TOKENS --------------------------------------------------------------- */
:root {
  /* Colour */
  --ground: #15181B;        /* anthracite page */
  --panel: #1A1D21;         /* raised sections, plates, form */
  --field: #121417;         /* inputs */
  --rule: #2C3237;          /* hairlines */
  --rule-strong: #434B52;   /* control borders */
  --paper: #ECE9E2;         /* primary text */
  --paper-dim: #B9BCBD;     /* secondary text */
  --graphite: #8C9399;      /* labels, meta */
  --arc: #5B92FF;           /* electric blue: drawings, focus */
  --tungsten: #F2A93B;      /* warm amber: actions, energised circuits */
  --tungsten-hover: #FFBC5A;
  --tungsten-ink: #1E1404;
  --error: #FF8077;
  --ok: #6FD3A0;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --head-stretch: 122%;
  --fs-small: 0.875rem;   /* 14 */
  --fs-body: 1.0625rem;   /* 17 */
  --fs-lead: 1.1875rem;   /* 19 */
  --fs-h3: 1.375rem;      /* 22 */
  --fs-h2: clamp(1.75rem, 3.2vw, 2.75rem);
  --fs-h1: clamp(2.2rem, 5.7vw, 5.9rem);

  /* Layout */
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --radius: 3px;
}

html[lang="ka"] {
  --font: "Noto Sans Georgian", "Archivo", sans-serif;
  --head-stretch: 100%;
  --fs-h1: clamp(2.3rem, 5.8vw, 5.8rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.6rem);
  --fs-h3: 1.3rem;
}

/* 02 BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--paper);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
/* Poster headings: wide, heavy capitals */
h1, h2 { font-stretch: var(--head-stretch); font-weight: 820; text-transform: uppercase; letter-spacing: -0.012em; }
h2 { font-size: min(var(--fs-h2), calc((100vw - 2 * var(--gutter)) / 12)); line-height: 1.02; }
h3 { font-size: var(--fs-h3); line-height: 1.22; font-weight: 650; font-stretch: 106%; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
::selection { background: var(--tungsten); color: var(--tungsten-ink); }
:focus-visible { outline: 2px solid var(--arc); outline-offset: 3px; }

html[lang="ka"] h1, html[lang="ka"] h2 { line-height: 1.14; letter-spacing: 0; font-weight: 850; }
html[lang="ka"] h3 { line-height: 1.32; font-stretch: 100%; font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: clamp(0px, 2vw, 20px); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--tungsten); color: var(--tungsten-ink);
  font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--paper-dim); max-width: 38em; }

/* 03 BUTTONS & LINKS ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 0.8125rem; font-weight: 720; font-stretch: 112%; line-height: 1.2; text-align: center; text-decoration: none;
  text-transform: uppercase; letter-spacing: .035em;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--tungsten); color: var(--tungsten-ink); }
.btn-primary:hover { background: var(--tungsten-hover); }
.btn-secondary { background: transparent; border-color: var(--rule-strong); color: var(--paper); }
.btn-secondary:hover { border-color: var(--paper); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.75rem; }
html[lang="ka"] .btn { text-transform: none; letter-spacing: 0; font-stretch: 100%; font-size: 0.875rem; font-weight: 700; }
.btn-whatsapp { background: #25D366; color: #04210F; }
.btn-whatsapp:hover { background: #3BE07A; }
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.btn[disabled] { opacity: .6; cursor: progress; }

.text-link {
  display: inline-block; margin-top: 28px;
  color: var(--tungsten); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--paper); }

/* 04 HEADER --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 24, 27, .72);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); background: rgba(21, 24, 27, .86); }
.header-row { display: flex; align-items: center; height: var(--header-h); gap: 40px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--paper); text-decoration: none; flex: none; }
.brand-mark { width: 28px; height: 28px; }
.brand-word {
  font-family: "Archivo", sans-serif; font-stretch: 118%; font-weight: 600;
  font-size: 1.0625rem; letter-spacing: .09em;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  position: relative; padding: 8px 0;
  color: var(--paper-dim); font-size: 0.9375rem; text-decoration: none;
  transition: color .15s ease;
}
.primary-nav a:hover { color: var(--paper); }
.primary-nav a.is-active { color: var(--paper); }
.primary-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tungsten);
}
.nav-cta-mobile { display: none; }

.header-tools { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.lang { display: flex; gap: 2px; }
.lang-btn {
  padding: 6px 7px; border: 0; background: none; cursor: pointer;
  font-family: "Archivo", sans-serif; font-size: 0.8125rem; font-weight: 600; letter-spacing: .04em;
  color: var(--graphite);
}
.lang-btn:hover { color: var(--paper); }
.lang-btn.is-active { color: var(--paper); box-shadow: inset 0 -2px 0 var(--tungsten); }

.menu-btn {
  display: none; position: relative;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--rule-strong); border-radius: var(--radius); background: none; cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--paper);
  transition: transform .2s ease, top .2s ease;
}
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* 05 HERO & DRAWING ------------------------------------------------------- */
.hero { position: relative; padding-bottom: clamp(56px, 7vw, 96px); }

/* Photo stage: runs up behind the translucent header and fades into the drawing */
.hero-stage {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
}
.hero-photo {
  position: absolute; left: 0; right: 0; top: 0; bottom: -180px; z-index: 0;
  overflow: hidden;
  /* fade the photo out so it melts into the stage-light background below */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}
.hero-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 40%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 24, 27, .92) 0%, rgba(21, 24, 27, .7) 40%, rgba(21, 24, 27, .28) 75%, rgba(21, 24, 27, .2) 100%),
    linear-gradient(180deg, rgba(21, 24, 27, .45) 0%, rgba(21, 24, 27, 0) 22%, rgba(21, 24, 27, 0) 55%, rgba(21, 24, 27, .6) 100%);
}
.hero-top, .sheet { position: relative; z-index: 1; }
.hero-top {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
}
.hero-title {
  grid-column: 1 / -1;
  /* never larger than what lets the longest word (e.g. SWITCHBOARD) fit the column */
  font-size: min(var(--fs-h1), calc((100vw - 2 * var(--gutter)) / 10));
  line-height: .93; letter-spacing: -0.02em;
  font-stretch: 125%; font-weight: 860;
}
.hero-title span { display: block; text-wrap: balance; }
/* Second line as an outline, like a club poster */
.hero-title .outline { color: transparent; -webkit-text-stroke: max(1.2px, .016em) var(--paper); }
@supports not (-webkit-text-stroke: 1px) { .hero-title .outline { color: var(--paper); } }
html[lang="ka"] .hero-title { font-stretch: 100%; line-height: 1.1; letter-spacing: 0; }

.hero-aside {
  grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 52px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 18px; align-items: end;
}
.hero-aside .lead { grid-column: 1 / span 6; grid-row: 1 / span 2; margin: 0; }
.actions { grid-column: 7 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { grid-column: 7 / -1; margin: 0; font-size: var(--fs-small); color: var(--graphite); }

.sheet { margin: clamp(36px, 4.5vw, 60px) auto 0; }
.sheet-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; background: rgba(21, 24, 27, .94); border: 1px solid var(--rule); }
.dwg-svg { width: 100%; height: auto; font-family: "Archivo", "Noto Sans Georgian", sans-serif; }
html[lang="ka"] .dwg-svg { font-family: "Noto Sans Georgian", "Archivo", sans-serif; }
.sheet-swipe { display: none; margin: 10px var(--gutter) 0; font-size: var(--fs-small); color: var(--graphite); }

.sheet-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start;
  margin: 8px clamp(20px, 2.2vw, 30px) 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px 28px; }
.legend button {
  display: flex; align-items: flex-start; gap: 12px; width: 100%;
  padding: 6px 0; border: 0; background: none; cursor: pointer;
  color: var(--paper-dim); font-size: var(--fs-small); line-height: 1.45; text-align: left;
}
.legend .k {
  flex: none; display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin-top: -1px;
  border: 1px solid var(--paper-dim); border-radius: 50%;
  font-family: "Archivo", sans-serif; font-size: 0.75rem; font-weight: 600;
}
.legend button:hover, .legend button:focus-visible, .legend button.is-hl { color: var(--paper); }
.legend button:hover .k, .legend button:focus-visible .k, .legend button.is-hl .k {
  background: var(--paper); border-color: var(--paper); color: var(--ground);
}

.titleblock { display: grid; grid-template-columns: minmax(190px, auto) auto auto; border: 1px solid var(--rule); }
.titleblock > div { padding: 10px 16px; border-left: 1px solid var(--rule); }
.titleblock > div:first-child { border-left: 0; }
.titleblock dt { font-size: 0.75rem; color: var(--graphite); }
.titleblock dd { font-size: var(--fs-small); color: var(--paper); font-variant-numeric: tabular-nums; }
.tb-name strong { display: block; font-weight: 600; }
.tb-name span { display: block; color: var(--graphite); font-size: 0.8125rem; }

/* Drawing interaction: highlight a keyed part */
.dwg-part, .dwg-struct, .dwg-crowd, .dwg-beams, .dwg-dims, .dwg-dimtext, .dwg-circuits, .key { transition: opacity .2s ease; }
.dwg-svg.has-hl .dwg-part:not(.is-hl),
.dwg-svg.has-hl .dwg-struct,
.dwg-svg.has-hl .dwg-crowd,
.dwg-svg.has-hl .dwg-beams,
.dwg-svg.has-hl .dwg-dims,
.dwg-svg.has-hl .dwg-dimtext,
.dwg-svg.has-hl .dwg-circuits,
.dwg-svg.has-hl .key:not(.is-hl) { opacity: .28; }
.key { cursor: pointer; }
.key.is-hl circle:nth-of-type(2) { fill: var(--paper); }
.key.is-hl text { fill: var(--ground); }

/* Power-up sequence: runs once when the page loads (JS adds .is-on). */
.beam { mix-blend-mode: screen; }
.js .sheet .circuit { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .sheet .beam, .js .sheet .pool, .js .sheet .led, .js .sheet .dwg-haze { opacity: 0; }
.js .sheet.is-on .circuit {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .8s cubic-bezier(.55, 0, .25, 1);
  transition-delay: calc(.3s + var(--s) * .5s);
}
.js .sheet.is-on .led { opacity: 1; transition: opacity .15s linear 1.75s; }
.js .sheet.is-on .beam { opacity: 1; transition: opacity 1s ease; transition-delay: calc(1.95s + var(--i) * .09s); }
.js .sheet.is-on .pool { opacity: .28; transition: opacity 1s ease; transition-delay: calc(2.1s + var(--i) * .09s); }
.js .sheet.is-on .dwg-haze { opacity: 1; transition: opacity 1.4s ease 2.3s; }


/* 05b STAGE LIGHT BACKGROUND -----------------------------------------------
   A fixed layer behind the page: five beams hung from an imaginary truss
   above the viewport, sweeping very slowly, over a drifting haze.
   Only transform/opacity animate, so it stays cheap to render.          */
.stage-light {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(90% 55% at 50% -8%, rgba(242, 169, 59, .07), transparent 60%),
    radial-gradient(70% 50% at 50% 110%, rgba(91, 146, 255, .05), transparent 65%),
    var(--ground);
}
.sl-beam {
  --c: 242, 169, 59;        /* tungsten by default */
  --o: .22;
  --spread: 8deg;           /* half-angle of the beam */
  position: absolute; top: -18vh; left: calc(var(--x) - 60vw);
  width: 120vw; height: 165vh;
  transform-origin: 50% 0;
  /* A cone from the lamp: soft edges that widen with distance, like real light */
  background: conic-gradient(from calc(180deg - var(--spread) * 2) at 50% 0%,
    rgba(var(--c), 0) 0deg,
    rgba(var(--c), .35) calc(var(--spread) * .9),
    rgba(var(--c), .8) calc(var(--spread) * 2),
    rgba(var(--c), .35) calc(var(--spread) * 3.1),
    rgba(var(--c), 0) calc(var(--spread) * 4),
    rgba(var(--c), 0) 360deg);
  /* Falloff with distance from the lamp */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .18) 62%, transparent 90%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .18) 62%, transparent 90%);
  opacity: var(--o);
  mix-blend-mode: screen;
  transform: rotate(var(--from));
  animation: sl-sweep var(--d) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}
.sl-1 { --x: 9%;  --from: -30deg; --to: -10deg; --d: 19s; --delay: -4s; }
.sl-2 { --x: 30%; --from: -10deg; --to: 14deg;  --d: 26s; --delay: -11s; --c: 91, 146, 255; --o: .3; --spread: 6deg; }
.sl-3 { --x: 51%; --from: 12deg;  --to: -13deg; --d: 22s; --delay: -7s;  --o: .17; --spread: 10deg; }
.sl-4 { --x: 72%; --from: -6deg;  --to: 20deg;  --d: 29s; --delay: -18s; --c: 91, 146, 255; --o: .3; --spread: 6deg; }
.sl-5 { --x: 91%; --from: 30deg;  --to: 9deg;   --d: 24s; --delay: -2s; }
@keyframes sl-sweep {
  from { transform: rotate(var(--from)); }
  to   { transform: rotate(var(--to)); }
}

.sl-haze {
  position: absolute; left: -25%; right: -25%;
  animation: sl-drift 46s ease-in-out infinite alternate;
  will-change: transform;
}
.sl-haze-low {
  bottom: -12vh; height: 70vh;
  background:
    radial-gradient(38% 55% at 28% 70%, rgba(242, 169, 59, .085), transparent 70%),
    radial-gradient(34% 50% at 70% 62%, rgba(91, 146, 255, .075), transparent 70%),
    radial-gradient(60% 45% at 50% 95%, rgba(236, 233, 226, .035), transparent 70%);
}
.sl-haze-high {
  top: 8vh; height: 60vh; opacity: .8;
  background:
    radial-gradient(30% 50% at 62% 40%, rgba(242, 169, 59, .06), transparent 70%),
    radial-gradient(28% 45% at 34% 55%, rgba(91, 146, 255, .055), transparent 70%);
  animation-duration: 63s; animation-direction: alternate-reverse;
}
@keyframes sl-drift {
  from { transform: translate3d(-7%, 0, 0); }
  to   { transform: translate3d(7%, -4%, 0); }
}

/* Fine grain: hides gradient banding and reads as haze texture */
.sl-grain {
  position: absolute; inset: -50%; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* 06 SERVICES ------------------------------------------------------------- */
.section { padding-block: clamp(80px, 10vw, 136px); }
.section-panel { background: rgba(26, 29, 33, .9); border-block: 1px solid var(--rule); }

.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sec-head h2 { grid-column: 1 / span 7; text-wrap: balance; }
.sec-head .lead { grid-column: 8 / span 5; margin: 0; }

.disciplines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.discipline { padding: 48px 56px 0 0; }
.discipline + .discipline { padding: 48px 0 0 56px; border-left: 1px solid var(--rule); }
.plate { margin: 0 0 36px; padding: 20px; background: var(--panel); border: 1px solid var(--rule); }

/* Real photo with the engineering drawing laid over its corner */
.discipline-media { position: relative; margin: 0 0 104px; }
.discipline-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  background: var(--panel); border: 1px solid var(--rule);
}
.plate-inset {
  position: absolute; right: 24px; bottom: -76px; width: 70%; margin: 0; padding: 14px;
  background: rgba(26, 29, 33, .97);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .5);
}
.discipline + .discipline .plate-inset { right: auto; left: 24px; }
.plate svg { width: 100%; height: auto; }
.plate-text { font-family: "Archivo", "Noto Sans Georgian", sans-serif; }
html[lang="ka"] .plate-text { font-family: "Noto Sans Georgian", "Archivo", sans-serif; }
.discipline h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-stretch: 118%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; margin-bottom: 12px; }
html[lang="ka"] .discipline h3 { font-stretch: 100%; text-transform: none; font-weight: 800; }
.discipline-desc { color: var(--paper-dim); max-width: 34em; margin-bottom: 32px; }

.spec-list > div {
  display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 20px;
  padding: 16px 0; border-top: 1px solid var(--rule);
}
.spec-list dt { font-weight: 650; font-stretch: 104%; font-size: 0.96875rem; line-height: 1.4; }
.spec-list dd { color: var(--paper-dim); font-size: 0.9375rem; line-height: 1.55; }

/* 07 WHY ARCADIA ---------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-grid h2 { margin-bottom: 44px; }
.reasons li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px;
  padding: 28px 0; border-top: 1px solid var(--rule);
}
.reasons h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-weight: 700; font-stretch: 110%; }
.reasons p { margin: 0; color: var(--paper-dim); }
.plate-diagram { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; padding: 28px 28px 20px; background: var(--ground); }
.plate-diagram figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: var(--fs-small); color: var(--graphite); }

/* 08 PROCESS -------------------------------------------------------------- */
.sec-head-single h2 { grid-column: 1 / -1; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { position: relative; padding-right: 32px; }
.steps li::before {
  content: ""; position: absolute; top: 20px; left: 52px; right: 12px; height: 1px; background: var(--rule-strong);
}
.steps li:last-child::before { display: none; }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1.5px solid var(--paper); border-radius: 50%;
  font-family: "Archivo", sans-serif; font-weight: 600; font-variant-numeric: tabular-nums;
}
.steps li:first-child .step-n { border-color: var(--tungsten); color: var(--tungsten); }
.steps h3 { margin: 26px 0 10px; font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 700; font-stretch: 110%; }
.steps p { margin: 0; color: var(--paper-dim); font-size: 0.96875rem; max-width: 26em; }

/* 09 PROJECTS ------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0 32px; border-bottom: 1px solid var(--rule); }
.tab {
  padding: 14px 0; border: 0; background: none; cursor: pointer;
  color: var(--paper-dim); font-size: 0.9375rem; font-weight: 500;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color .15s ease, box-shadow .15s ease;
}
.tab:hover { color: var(--paper); }
.tab.is-active { color: var(--paper); box-shadow: inset 0 -2px 0 var(--tungsten); }

.entry {
  display: grid;
  grid-template-columns: 240px minmax(0, 1.5fr) minmax(0, 1.25fr);
  grid-template-rows: auto 1fr;
  gap: 10px 36px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--rule);
}
.entry-photo {
  display: block; width: 240px; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  grid-row: 1 / span 2;
  background: var(--panel); border: 1px solid var(--rule);
}
.register-note { margin: 18px 0 0; font-size: 0.8125rem; color: var(--graphite); }
.entry.is-hidden { display: none; }
.entry.is-entering { animation: entry-in .3s ease both; }
@keyframes entry-in { from { opacity: 0; } to { opacity: 1; } }
.entry-sym { width: 88px; height: 60px; }
.entry-main h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); font-weight: 700; font-stretch: 110%; margin-bottom: 6px; }
.entry-main p { margin: 0; color: var(--paper-dim); font-size: 0.9375rem; max-width: 40em; }
.entry-meta { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 0; font-size: var(--fs-small); color: var(--graphite); }
.entry-specs { grid-column: 3; grid-row: 1 / span 2; }
.entry-meta .scope { color: var(--paper); }
.entry-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.entry-specs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; min-width: 0; }
.entry-specs dd {
  font-size: 1.3rem; font-weight: 780; font-stretch: 120%; line-height: 1.15; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--paper);
}
.entry-specs dt { font-size: 0.8125rem; line-height: 1.35; color: var(--graphite); }

/* 09b LED SCREEN CONFIGURATOR (shared estimator layout + the panel grid) ------------------------------------------------------ */
.section-rule { border-top: 1px solid var(--rule); }
.estimator { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.est-step { margin: 0 0 34px; padding: 0; border: 0; min-width: 0; }
.est-step legend {
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px;
  font-size: 1.05rem; font-weight: 700; font-stretch: 110%;
}
html[lang="ka"] .est-step legend { font-stretch: 100%; }
.est-n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border: 1.5px solid var(--paper); border-radius: 50%;
  font-family: "Archivo", sans-serif; font-size: 0.8125rem; font-weight: 700; font-stretch: 100%;
}
.est-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.est-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.check.tier { align-items: flex-start; padding: 14px; }
.check.tier input { margin-top: 3px; }
.check.tier strong { display: block; color: var(--paper); font-weight: 700; font-stretch: 108%; margin-bottom: 4px; }
.check.tier small { display: block; font-size: 0.8125rem; line-height: 1.45; color: var(--graphite); }
.check input[type="radio"] { accent-color: var(--tungsten); }

.est-hint { margin: 10px 0 0; font-size: var(--fs-small); color: var(--graphite); }

/* The quote sheet */
.est-sheet {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.est-sheet-head { padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--rule-strong); }
.est-sheet-head h3 { font-size: 1.35rem; font-weight: 800; font-stretch: 118%; text-transform: uppercase; }
html[lang="ka"] .est-sheet-head h3 { font-stretch: 100%; text-transform: none; }
.est-meta { margin: 6px 0 0; font-size: var(--fs-small); color: var(--graphite); }
.est-lines > div {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; border-bottom: 1px dashed var(--rule);
  font-size: 0.9375rem;
}
.est-lines dt { color: var(--paper-dim); }
.est-lines dd { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.est-lines .est-sub dt, .est-lines .est-sub dd { color: var(--paper); font-weight: 700; }
.est-lines .est-vat dt { color: var(--graphite); }
.est-lines dt small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--graphite); }
.est-lines .est-disc dd { color: var(--tungsten); }
.est-total {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--paper);
}
.est-total span { font-weight: 700; font-stretch: 108%; }
.est-total strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 860; font-stretch: 122%; letter-spacing: -0.02em;
  color: var(--tungsten); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.est-range { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: var(--fs-small); color: var(--graphite); }
.est-range span:last-child { color: var(--paper-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.est-actions .btn { width: 100%; }
.est-note { margin: 18px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--graphite); }


/* --- Panel grid: an LED wall seen from the front --------------------------
   JS sets --selW/--selH (selected size, px), --hovW/--hovH (hover preview),
   --pitchX/--pitchY (one panel incl. seam) and --dot (pixel spacing).      */
.led-canvas { position: relative; padding: 64px 84px 36px 44px; }
.led-canvas::after { /* floor line */
  content: ""; position: absolute; left: 20px; right: 12px; bottom: 21px; height: 1px; background: var(--rule-strong);
}
.led-wall {
  --gap: 2px; --dot: 5px;
  position: relative; display: grid;
  grid-template-columns: repeat(var(--cols, 16), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 10), minmax(0, 1fr));
  gap: var(--gap); padding: var(--gap); aspect-ratio: var(--aspect, 16 / 10);
  background: #0A0C0E; border: 1px solid var(--rule); border-radius: 2px;
  touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none;
}
.led-wall:focus-visible { outline: 2px solid var(--arc); outline-offset: 6px; }
.led-wall.is-dragging { cursor: nwse-resize; }
.led-wall.is-dragging .led-glow, .led-wall.is-dragging .led-screen,
.led-wall.is-dragging .led-handle, .led-wall.is-dragging .led-truss, .led-wall.is-dragging .led-stand,
.led-wall.is-dragging .led-dim-x, .led-wall.is-dragging .led-dim-y { transition-duration: .06s; }
.led-wall[data-loc="out"] .led-screen { filter: saturate(1.2) brightness(1.12); }
.led-wall[data-pitch="P2"] { --dot: 3.5px; }
.led-cell {
  border-radius: 1px; background-color: #15181C;
  background-image: radial-gradient(circle, rgba(236, 233, 226, .085) 0.8px, transparent 1.25px);
  background-size: var(--dot) var(--dot);
}
.led-glow, .led-screen, .led-hover {
  position: absolute; top: var(--gap); left: var(--gap); pointer-events: none;
  transition: width .16s ease, height .16s ease;
}
.led-glow, .led-screen { width: var(--selW, 0); height: var(--selH, 0); }
.led-glow {
  overflow: hidden; filter: blur(7px); opacity: .55;
  box-shadow: 0 0 60px 6px rgba(242, 169, 59, .3), 0 0 140px 30px rgba(91, 146, 255, .18);
}
.led-glow::before { content: ""; position: absolute; inset: -50%; }
.led-glow::before, .led-content {
  background:
    radial-gradient(26% 30% at 32% 34%, #FFC266 0, rgba(255, 170, 60, .85) 35%, transparent 72%),
    radial-gradient(30% 36% at 68% 60%, #7FB0FF 0, rgba(80, 130, 255, .9) 38%, transparent 74%),
    radial-gradient(20% 24% at 50% 50%, #FFF4E0 0, rgba(255, 244, 224, .6) 30%, transparent 70%),
    radial-gradient(30% 30% at 84% 20%, rgba(190, 110, 255, .95), transparent 70%),
    radial-gradient(28% 30% at 16% 80%, rgba(255, 96, 70, .9), transparent 70%),
    radial-gradient(30% 26% at 80% 86%, rgba(242, 169, 59, .8), transparent 70%),
    linear-gradient(135deg, #3A1F8F, #1D3FA8 50%, #5B1F7A);
  animation: led-flow 16s ease-in-out infinite alternate;
}
.led-screen {
  overflow: hidden; border-radius: 1px;
  /* the image is drawn through LED "pixels" */
  -webkit-mask-image: radial-gradient(circle, #000 0 46%, rgba(0, 0, 0, .55) 56%, transparent 68%);
          mask-image: radial-gradient(circle, #000 0 46%, rgba(0, 0, 0, .55) 56%, transparent 68%);
  -webkit-mask-size: var(--dot) var(--dot); mask-size: var(--dot) var(--dot);
}
.led-content { position: absolute; inset: -50%; }
@keyframes led-flow {
  0%   { transform: translate(-9%, -6%) rotate(0deg) scale(1); }
  50%  { transform: translate(7%, 5%) rotate(14deg) scale(1.08); }
  100% { transform: translate(-5%, 9%) rotate(-10deg) scale(1); }
}
.led-logo {
  position: absolute; left: 50%; top: 50%; width: auto; height: 52%; max-width: 44%;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, .6));
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s ease;
}
.led-wall.is-big .led-logo { opacity: 1; }
.led-seams {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, #0A0C0E var(--gap), transparent var(--gap)),
    linear-gradient(to bottom, #0A0C0E var(--gap), transparent var(--gap));
  background-size: var(--pitchX, 20px) var(--pitchY, 20px);
  background-position: calc(-1 * var(--gap)) calc(-1 * var(--gap));
}
.led-hover {
  width: var(--hovW, 0); height: var(--hovH, 0);
  border: 1.5px dashed rgba(242, 169, 59, .9); background: rgba(242, 169, 59, .07);
  opacity: 0; transition: opacity .12s ease;
}
.led-wall.is-hovering .led-hover { opacity: 1; }
.led-handle {
  position: absolute; width: 12px; height: 12px; pointer-events: none;
  left: calc(var(--gap) + var(--selW, 0px) - 6px); top: calc(var(--gap) + var(--selH, 0px) - 6px);
  background: var(--tungsten); border: 2px solid #0A0C0E; border-radius: 2px; box-shadow: 0 0 0 1px var(--tungsten);
  transition: left .16s ease, top .16s ease;
}

/* Truss above the screen, or a ground stand below it */
.led-truss {
  display: none; position: absolute; left: -6px; top: -27px; height: 12px;
  width: calc(var(--selW, 0px) + 16px);
  border-top: 2px solid #9AA3AD; border-bottom: 2px solid #9AA3AD;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M0 8 L7 0 L14 8' fill='none' stroke='%23727C87' stroke-width='1.2'/%3E%3C/svg%3E") left center / 14px 100% repeat-x;
  transition: width .16s ease;
}
.led-truss span {
  position: absolute; top: 100%; left: 18%; right: 18%; height: 15px;
  border-left: 1px solid #6B7580; border-right: 1px solid #6B7580;
}
.led-wall[data-mount="truss"] .led-truss { display: block; }
.led-stand {
  display: none; position: absolute; left: var(--gap);
  top: calc(var(--gap) + var(--selH, 0px)); bottom: -15px; width: var(--selW, 0);
  background:
    linear-gradient(#8B95A1, #8B95A1) 22% 0 / 2px calc(100% - 3px) no-repeat,
    linear-gradient(#8B95A1, #8B95A1) 78% 0 / 2px calc(100% - 3px) no-repeat,
    linear-gradient(#8B95A1, #8B95A1) 50% 100% / calc(100% + 12px) 3px no-repeat;
  transition: width .16s ease, top .16s ease;
}
.led-wall[data-mount="stand"] .led-stand { display: block; }

/* Dimension lines, drawn like the technical drawings */
.led-dim { position: absolute; pointer-events: none; color: #8C9399; }
.led-dim::before { content: ""; position: absolute; background: currentColor; }
.led-dim-x {
  left: var(--gap); top: -54px; height: 14px; width: var(--selW, 0);
  border-left: 1px solid currentColor; border-right: 1px solid currentColor; transition: width .16s ease;
}
.led-dim-x::before { left: 0; right: 0; top: 50%; height: 1px; }
.led-dim-y {
  left: -32px; top: var(--gap); width: 14px; height: var(--selH, 0);
  border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: height .16s ease;
}
.led-dim-y::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.led-dim-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 1px 7px; background: var(--ground); color: var(--paper);
  font-family: "Archivo", sans-serif; font-size: 0.75rem; font-weight: 650; font-stretch: 110%;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.led-dim-y .led-dim-label { transform: translate(-50%, -50%) rotate(-90deg); }

/* 1.75 m person for scale (JS sets --person from the wall height in metres) */
.led-person {
  position: absolute; right: -64px; bottom: -15px; height: calc(var(--person, 35%) + 15px); width: 40px;
  pointer-events: none;
}
.led-person svg { width: 100%; height: 100%; fill: #262B31; stroke: #4A535C; stroke-width: 1.2; }
.led-person span {
  position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  font-size: 0.6875rem; color: var(--graphite); white-space: nowrap; font-variant-numeric: tabular-nums;
}

.led-size-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 8px; }
.led-size { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--graphite); font-variant-numeric: tabular-nums; }
.led-size b { margin-right: 10px; font-size: 1.2rem; font-stretch: 112%; }
.led-size b { color: var(--tungsten); font-weight: 800; }
html[lang="ka"] .led-size { font-stretch: 100%; }
.led-inputs { display: flex; flex-wrap: wrap; gap: 10px; }
.num-field {
  display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px;
  background: var(--field); border: 1px solid var(--rule-strong); border-radius: var(--radius);
  font-size: var(--fs-small); color: var(--graphite); cursor: text;
}
.num-field:focus-within { border-color: var(--arc); box-shadow: 0 0 0 3px rgba(91, 146, 255, .25); }
.num-field input {
  width: 56px; padding: 0; border: 0; background: none; outline: none; text-align: right;
  color: var(--paper); font-size: 1.05rem; font-weight: 700; font-stretch: 110%; font-variant-numeric: tabular-nums;
}
.num-field em { font-style: normal; }
.est-tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check.mount > span { display: flex; flex-direction: column; gap: 8px; }
.check.mount strong { margin: 0; }
.mount-ico { width: 48px; height: 28px; color: var(--paper-dim); }
.check.mount:has(input:checked) .mount-ico { color: var(--tungsten); }

/* 10 CONTACT & FORM ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info h2 { margin-bottom: 20px; text-wrap: balance; }
.contact-list { margin: 40px 0; }
.contact-list > div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.contact-list > div:last-child { border-bottom: 1px solid var(--rule); }
.contact-list dt { font-size: var(--fs-small); color: var(--graphite); padding-top: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--tungsten); }

.wa-box { padding: 24px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); }
.wa-box h3 { font-size: 1.15rem; font-weight: 700; font-stretch: 110%; margin-bottom: 6px; }
.wa-box p { color: var(--paper-dim); font-size: 0.96875rem; margin-bottom: 18px; }

.quote-form { padding: clamp(24px, 3.2vw, 40px); background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: var(--fs-small); font-weight: 600; color: var(--paper-dim); padding: 0; }
.field > legend { margin-bottom: 10px; }
.optional { font-weight: 400; color: var(--graphite); }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--field); color: var(--paper);
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C9399' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select option { background: var(--panel); color: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: #697077; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--arc); box-shadow: 0 0 0 3px rgba(91, 146, 255, .25);
}
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .check { border-color: var(--error); }
.field-error { font-size: 0.8125rem; color: var(--error); }
.field-error:empty { display: none; }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.check {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  font-size: 0.9375rem; color: var(--paper-dim); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.check input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--tungsten); }
.check:hover { border-color: var(--paper-dim); }
.check:has(input:checked) { border-color: var(--tungsten); background: rgba(242, 169, 59, .07); color: var(--paper); }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; color: var(--paper-dim); cursor: pointer; }
.field > .consent { font-weight: 400; font-size: 0.9375rem; color: var(--paper-dim); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--tungsten); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.form-status:empty { display: none; }
.form-status { margin-top: 20px; padding: 14px 16px; border-left: 3px solid; font-size: 0.9375rem; }
.form-status.success { border-color: var(--ok); background: rgba(111, 211, 160, .08); }
.form-status.error { border-color: var(--error); background: rgba(255, 128, 119, .08); }
.form-status.warn { border-color: var(--tungsten); background: rgba(242, 169, 59, .08); }

/* 11 FOOTER --------------------------------------------------------------- */
.site-footer { padding-top: 72px; border-top: 1px solid var(--rule); background: rgba(21, 24, 27, .6); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-brand p { margin-top: 18px; max-width: 30em; color: var(--graphite); }
.foot-h { margin-bottom: 14px; font-size: var(--fs-small); font-weight: 600; font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--graphite); }
.site-footer li { margin-bottom: 8px; color: var(--paper-dim); }
.site-footer li a { color: var(--paper-dim); text-decoration: none; }
.site-footer li a:hover { color: var(--paper); }
.foot-mark {
  margin-top: 72px;
  font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 880;
  font-size: clamp(3.2rem, 13.2vw, 11.6rem); line-height: .8; letter-spacing: -0.03em;
  text-align: center; white-space: nowrap; overflow: hidden;
  color: transparent; -webkit-text-stroke: 1px var(--rule-strong);
  user-select: none;
}
@supports not (-webkit-text-stroke: 1px) { .foot-mark { color: var(--rule); } }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 24px; padding-bottom: 32px;
  /* divider aligned to the content edge, not the padding edge */
  background: linear-gradient(var(--rule), var(--rule)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px;
  font-size: var(--fs-small); color: var(--graphite);
}
.foot-base p { margin: 0; }
.foot-base a { color: var(--paper-dim); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* 12 RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1280px) {
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 0.875rem; }
  .header-row { gap: 24px; }
}
@media (max-width: 1180px) {
  .primary-nav { gap: 16px; }
  .header-row { gap: 28px; }
  .entry { grid-template-columns: 180px minmax(0, 1.5fr) minmax(0, 1.3fr); column-gap: 28px; }
  .entry-photo { width: 180px; }
}

@media (max-width: 980px) {
  .menu-btn { display: inline-block; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--ground); border-top: 1px solid var(--rule);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    overflow-y: auto;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav a { padding: 18px 0; font-size: 1.25rem; color: var(--paper); border-bottom: 1px solid var(--rule); }
  .primary-nav a.is-active::after { display: none; }
  .primary-nav .nav-cta-mobile { display: inline-flex; margin-top: 28px; border-bottom: 0; color: var(--tungsten-ink); font-size: 1rem; padding: 0 24px; }

  .hero-photo::after {
    background: linear-gradient(180deg, rgba(21, 24, 27, .62) 0%, rgba(21, 24, 27, .74) 45%, rgba(21, 24, 27, .86) 100%);
  }
  .hero-top, .sec-head, .hero-aside { grid-template-columns: minmax(0, 1fr); }
  .hero-title, .hero-aside, .sec-head h2, .sec-head .lead,
  .hero-aside .lead, .actions, .hero-note { grid-column: 1 / -1; }
  .hero-aside .lead { grid-row: auto; max-width: 40em; }
  .hero-aside { margin-top: 28px; }
  .sec-head .lead { margin-top: 20px; }

  /* tablet: figures move under the text so they have room */
  .entry { grid-template-columns: 180px minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .entry-photo { grid-row: 1 / span 3; }
  .entry-specs { grid-column: 2; grid-row: 3; margin-top: 10px; }

  .disciplines { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .discipline, .discipline + .discipline { padding: 40px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .discipline + .discipline { margin-top: 64px; }

  .why-grid, .contact-grid, .estimator { grid-template-columns: minmax(0, 1fr); }
  .est-sheet { position: static; }
  .plate-diagram { position: static; max-width: 560px; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps li::before { display: none; }

  .sheet-foot { grid-template-columns: minmax(0, 1fr); }
  .titleblock { justify-self: start; }

  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .sl-2, .sl-4 { display: none; }
  .sl-beam { width: 240vw; left: calc(var(--x) - 120vw); --spread: 11deg; --o: .3; }
  .sl-1 { --x: 4%; } .sl-5 { --x: 96%; }
  .brand-word { font-size: 1rem; }
  .actions .btn { flex: 1 1 100%; }

  .sheet-scroll .dwg-svg { width: 920px; max-width: none; }
  .sheet-swipe { display: block; }
  .sheet-foot { margin-inline: var(--gutter); }
  .legend { grid-template-columns: minmax(0, 1fr); }
  .titleblock { grid-template-columns: minmax(0, 1fr) auto auto; justify-self: stretch; }

  .spec-list > div, .reasons li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .reasons li { gap: 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); }

  .entry { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .entry-photo { width: 100%; grid-row: auto; aspect-ratio: 16 / 9; }
  .entry-meta { grid-column: 1; grid-row: auto; margin-top: 0; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .entry-specs { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .discipline-media { margin-bottom: 32px; }
  .plate-inset, .discipline + .discipline .plate-inset { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -36px 12px 0; }
  .hero-photo { bottom: -120px; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .est-tiers { grid-template-columns: minmax(0, 1fr); }
  .est-tiers.est-tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check.mount > span { flex-direction: row; align-items: center; gap: 12px; }
  .led-size-row .led-inputs { width: 100%; flex-wrap: nowrap; }
  .led-size-row .num-field { flex: 1 1 0; min-width: 0; }
  .num-field input { flex: 1 1 auto; width: auto; min-width: 2.5ch; }
  .led-canvas { padding: 58px 50px 34px 34px; }
  .led-person { right: -46px; width: 30px; }
  .led-dim-y { left: -28px; }
  .form-actions .btn { flex: 1 1 100%; }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .wa-float { width: 48px; height: 48px; right: 14px; bottom: 14px; }
}

@media (max-width: 400px) {
  .header-row { gap: 12px; }
  .header-tools { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 24px; height: 24px; }
  .brand-word { font-size: 0.875rem; letter-spacing: .06em; }
  .lang-btn { padding: 6px 4px; }
  .menu-btn { width: 40px; height: 40px; }
  .menu-btn span { left: 10px; right: 10px; }
  .menu-btn span:first-child { top: 14px; } .menu-btn span:last-child { top: 23px; }
  .menu-btn[aria-expanded="true"] span:first-child, .menu-btn[aria-expanded="true"] span:last-child { top: 19px; }
  .est-tiers.est-tiers-2 { grid-template-columns: minmax(0, 1fr); }
  .num-field { padding: 0 10px; gap: 6px; }
}

/* 13 REDUCED MOTION ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sl-beam, .sl-haze, .led-content { animation: none !important; }
  .js .sheet .circuit { stroke-dashoffset: 0; }
  .js .sheet .beam, .js .sheet .led, .js .sheet .dwg-haze { opacity: 1; }
  .js .sheet .pool { opacity: .28; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
}
