/*
  VOICE   a builder a ministry would trust: plain, exact, unhurried
  IDEA    drawn, then built. The design is a blue line drawing; the building is stone. Both appear everywhere.
  PICTURE one building going up as you scroll (home page only); the same building as drawings on the other pages
  COLOUR  tracing-paper white, blue-black ink, blueprint blue for anything designed, sandstone for anything built
  TYPE    one family: wide and heavy for headings (like a nameplate), regular for reading, even figures for numbers
  Layout uses logical properties (inline/block), so an Arabic right-to-left version needs no new CSS.
*/

@font-face { font-family: "Site"; src: url("../fonts/site.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Site"; src: url("../fonts/site-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; 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; }

:root {
  --paper: #f3f5f7;
  --paper-2: #e6ebf0;
  --ink: #0b1f3a;
  --ink-2: #414d58;
  --ink-3: #66717b;
  --rule: #cdd3d5;
  --blue: #2f7bbf;
  --blue-deep: #0b1f3a;
  --night: #0b1f3a;
  --night-2: #071428;
  --ice: #c2d3e3;
  --stone: #dccfb5;
  --hot: #c2d3e3;
  --glass: #6f8ea3;
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --head-h: 68px;
  --font: "Site", "Helvetica Neue", Arial, system-ui, sans-serif;
}
:lang(ar) { --font: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 640; font-stretch: 112%; line-height: 1.06; letter-spacing: -0.012em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 68px); }
h2 { font-size: clamp(28px, 3.3vw, 44px); }
h3, .h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; font-weight: 620; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 50; }
.skip:focus { inset-block-start: 12px; }

/* ---------- header ---------- */
.site-head { position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 30; height: var(--head-h); background: rgba(241, 242, 240, 0.95); border-block-end: 1px solid var(--rule); }
.page-home .site-head { background: transparent; border-color: transparent; transition: background .3s, border-color .3s; }
.page-home.past-build .site-head { background: rgba(241, 242, 240, 0.95); border-color: var(--rule); }
.build-live .page-home:not(.past-build) .site-head { color: #fff; }
.build-live .page-home:not(.past-build) .site-head .mark { fill: #fff; }
.build-live .page-home:not(.past-build) .nav-list a:hover { border-color: #fff; }
.menu-open .page-home .site-head { color: var(--ink) !important; }
.menu-open .page-home .site-head .mark { fill: var(--blue) !important; }
.head-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.mark { width: 26px; height: 26px; fill: var(--blue); }
.brand-name { font-size: 21px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-list { display: flex; gap: clamp(16px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; font-size: 15px; font-weight: 500; padding-block: 8px; border-block-end: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current] { border-color: var(--blue); }
.nav-toggle { display: none; }
body:not(.page-home) main { padding-block-start: var(--head-h); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font: 500 15px var(--font); color: var(--ink); background: rgba(241, 242, 240, 0.7); border: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
  .nav-toggle-close { display: none; }
  .menu-open .nav-toggle-open { display: none; }
  .menu-open .nav-toggle-close { display: inline; }
  .nav-list { display: none; position: fixed; inset: var(--head-h) 0 0 0; background: var(--paper); flex-direction: column; gap: 0; padding: 12px var(--gut); }
  .menu-open .nav-list { display: flex; }
  .menu-open .site-head, .menu-open .page-home .site-head { background: var(--paper); }
  .nav-list a { display: block; font-size: 28px; font-weight: 640; font-stretch: 112%; padding-block: 16px; border-block-end: 1px solid var(--rule); }
  .menu-open body { overflow: hidden; }
}

/* ---------- buttons and small parts ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--hot); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; border: 1px solid var(--hot); transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-quiet { background: rgba(241, 242, 240, 0.6); color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--blue-deep); border-color: #fff; }
.btn-light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag { display: inline-block; vertical-align: middle; font: 600 13px var(--font); letter-spacing: 0; padding: 3px 9px; border: 1px solid var(--blue); color: var(--blue); }
.link { color: var(--blue); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 44rem; }
.lead-sm { color: var(--ink-2); max-width: 40rem; }

/* ---------- drawings: blue line = designed, stone fill = built ---------- */
.draw { width: 100%; height: auto; overflow: visible; }
.draw .e-ground { stroke: var(--ink); stroke-width: 1; }
.draw .e-dim { fill: none; stroke: var(--blue); stroke-width: 0.5; }
.draw .e-txt { font: 500 7.5px var(--font); fill: var(--blue); }
.draw .e-tree { fill: none; stroke: var(--blue); stroke-width: 0.6; }
.draw-line .e-stone, .draw-line .e-pav { fill: var(--paper); stroke: var(--blue); stroke-width: 0.6; }
.draw-line .e-glass { fill: rgba(29, 79, 145, 0.07); stroke: var(--blue); stroke-width: 0.3; }
.draw-line .e-canopy { fill: var(--blue); }
.draw-built .e-stone { fill: var(--stone); stroke: #8d8064; stroke-width: 0.25; }
.draw-built .e-pav { fill: #cfc3a9; stroke: #8d8064; stroke-width: 0.25; }
.draw-built .e-glass { fill: var(--glass); }
.draw-built .e-canopy { fill: #6b5638; }
.band-alt .draw-line .e-stone, .band-alt .draw-line .e-pav { fill: var(--paper-2); }

/* ---------- bands ---------- */
.band { padding-block: clamp(64px, 9vw, 124px); }
.band-alt { background: var(--paper-2); }
.band-title { margin-block-end: clamp(28px, 4vw, 52px); max-width: 26ch; }
.display { font-size: clamp(48px, 11vw, 168px); overflow-wrap: break-word; font-weight: 900; font-stretch: 62%; line-height: 0.86; letter-spacing: 0; text-transform: uppercase; color: var(--blue); margin-block-end: clamp(32px, 5vw, 64px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.prose p { color: var(--ink-2); max-width: 38rem; }
.prose p:first-child { color: var(--ink); }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

.blueprint { background-color: var(--blue); color: #fff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px; }
.blueprint p { color: #dbe7f6; max-width: 36rem; }
.bp-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bp-text h2 { font-size: clamp(46px, 9vw, 132px); overflow-wrap: break-word; font-weight: 900; font-stretch: 62%; line-height: 0.88; letter-spacing: 0; text-transform: uppercase; }
.bp-text p:first-of-type { color: #fff; font-size: clamp(18px, 1.5vw, 20px); }
.bp-draw { max-width: 340px; justify-self: end; width: 100%; }
.blueprint .draw .e-stone, .blueprint .draw .e-pav { fill: var(--blue); stroke: #fff; stroke-width: 0.55; }
.blueprint .draw .e-glass { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.55); }
.blueprint .draw .e-ground, .blueprint .draw .e-dim { stroke: #fff; }
.blueprint .draw .e-canopy, .blueprint .draw .e-txt { fill: #fff; }
@media (max-width: 760px) { .bp-row { grid-template-columns: minmax(0, 1fr); } .bp-draw { max-width: 230px; justify-self: start; } }

.page-head { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, #0f5bd0 0%, #2f8cea 100%); color: #fff; overflow: hidden; }
.page-head h1 { font-size: clamp(50px, 12vw, 172px); overflow-wrap: break-word; max-width: 9em; font-weight: 900; font-stretch: 62%; line-height: 0.86; letter-spacing: 0; text-transform: uppercase; margin-block-end: 0.22em; }
.page-head .lead { margin: 0; color: #fff; max-width: 40rem; }
.nf { color: #fff; }
.ph-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }
.ph-draw { width: min(30vw, 400px); margin-block-end: calc(clamp(40px, 5vw, 64px) * -1); }
.ph-draw-tall { width: min(19vw, 250px); }
.page-head .draw .e-stone, .page-head .draw .e-pav { fill: none; stroke: #fff; stroke-width: 0.6; }
.page-head .draw .e-glass { fill: rgba(255, 255, 255, 0.1); stroke: rgba(255, 255, 255, 0.6); }
.page-head .draw .e-ground, .page-head .draw .e-dim, .page-head .draw .e-tree { stroke: #fff; }
.page-head .draw .e-canopy { fill: #fff; }
@media (max-width: 900px) { .ph-row { grid-template-columns: minmax(0, 1fr); } .ph-draw { display: none; } }

/* ---------- home: the build ---------- */
.build { position: relative; height: 820vh; background: #e2ddd0; }
.build-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: linear-gradient(180deg, #0f62d6 0%, #93c8f6 52%, #cfbc95 53%); }
.build-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.build-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.build-live .build-stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 130px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(14, 58, 128, 0.5), rgba(14, 58, 128, 0)); }
/* Slightly see-through on purpose: fully solid boxes over a 3D canvas can make some browsers skip drawing parts of the canvas. */
.build-caps, .build-hud, .build-note { opacity: 0.999; }
.build-caps { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 98px; pointer-events: none; }
.cap { position: absolute; inset-block-end: 0; inset-inline-start: var(--gut); width: min(25rem, 34vw); background: var(--paper); padding: 22px 24px 24px; border-block-start: 5px solid var(--hot); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s ease, transform .55s ease, visibility 0s linear .55s; }
.cap.on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.cap-title { font-size: clamp(21px, 1.9vw, 27px); font-weight: 680; font-stretch: 110%; line-height: 1.1; letter-spacing: -0.01em; margin-block-end: 0.45em; }
.cap-text { color: var(--ink-2); font-size: 16px; line-height: 1.5; margin: 0; }
.cap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.cap-actions .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }

.build-hud { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 0; background: rgba(241, 242, 240, 0.9); border-block-start: 1px solid rgba(15, 26, 36, 0.14); }
.hud-row { display: grid; grid-template-columns: auto auto auto auto 1fr; column-gap: clamp(22px, 3.6vw, 52px); row-gap: 10px; align-items: end; padding-block: 13px 15px; }
.hud-cell { display: flex; flex-direction: column; gap: 1px; }
.hud-k { font-size: 12px; color: var(--ink-3); }
.hud-v { font-size: 19px; font-weight: 640; font-stretch: 108%; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud-stage { min-width: 8.2em; }
.hud-rail { grid-column: 5; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; font-size: 12px; color: var(--ink-3); align-self: center; }
.hud-rail li { padding-block-start: 7px; border-block-start: 3px solid rgba(15, 26, 36, 0.13); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline-end: 6px; }
.hud-rail li.done { border-color: var(--ink); color: var(--ink-2); }
.hud-rail li.now { border-color: var(--hot); color: var(--ink); font-weight: 600; }
.hud-bar { display: none; grid-column: 1 / -1; height: 3px; background: rgba(15, 26, 36, 0.12); }
.hud-bar i { display: block; height: 100%; background: var(--hot); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .hud-bar i { transform-origin: right; }

.build-plan { opacity: 0.999; position: absolute; z-index: 2; inset-inline-end: var(--gut); inset-block-end: 132px; width: 176px; height: auto; transition: opacity .5s; background: rgba(241, 242, 240, 0.8); padding: 8px; }
.plan-off .build-plan { opacity: 0; }
.pl-out { fill: none; stroke: var(--blue); stroke-width: .6; }
.pl-ax { stroke: var(--blue); stroke-width: .3; stroke-dasharray: 2.4 1.2 0.6 1.2; opacity: .7; }
.pl-b { font: 500 4.6px var(--font); fill: var(--blue); }
.pl-core { fill: rgba(29, 79, 145, 0.1); stroke: var(--blue); stroke-width: .5; }
.pd { fill: var(--paper); stroke: var(--blue); stroke-width: .5; transition: fill .2s; }
.pd.lit { fill: var(--ink); stroke: var(--ink); }
.pl-t { font: 500 5.4px var(--font); fill: var(--ink-2); }
.build-note { position: absolute; z-index: 2; inset-inline-end: var(--gut); inset-block-end: 100px; font-size: 12px; color: var(--ink); background: rgba(241, 242, 240, 0.85); padding: 3px 8px; margin: 0; text-align: end; }
.build-hint { opacity: 0.999; position: absolute; z-index: 2; inset-inline-start: 50%; inset-block-end: 96px; background: var(--paper); padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; transition: opacity .4s; }
.build-hint::after { content: ""; width: 2px; height: 18px; background: var(--hot); animation: hint 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.started .build-hint { opacity: 0; }

@media (max-width: 980px) { .build-plan { display: none; } .hud-rail { display: none; } .hud-bar { display: block; } .hud-row { grid-template-columns: auto auto 1fr auto; } }
@media (max-width: 760px) {
  .build-caps { inset-block-start: auto; inset-block-end: 0; }
  .cap { inset-block-end: 0; inset-inline: 0; width: auto; padding: 16px var(--gut) 80px; }
  .cap-title { font-size: 21px; }
  .cap-text { font-size: 15px; line-height: 1.45; }
  .cap-actions { margin-block-start: 12px; }
  .build-hud { background: var(--paper); }
  .hud-row { column-gap: 18px; row-gap: 9px; padding-block: 9px 0; }
  .hud-v { font-size: 16px; }
  .hud-stage { min-width: 0; }
  .hud-bar { margin-inline: calc(var(--gut) * -1); }
  .build-note { inset-inline: auto 0; inset-block: calc(var(--head-h) - 2px) auto; font-size: 11px; }
  .build-hint { display: none; }
}

/* Still-picture mode: no 3D (scripts off, reduced motion, or a slow phone) */
.no-js .build, .build-static .build { height: auto; background: var(--paper); }
.no-js .build-stage, .build-static .build-stage { position: relative; height: auto; overflow: visible; padding-block-start: var(--head-h); background: var(--paper); }
.no-js .build-canvas, .build-static .build-canvas, .no-js .build-hud, .build-static .build-hud,
.no-js .build-plan, .build-static .build-plan, .no-js .build-hint, .build-static .build-hint { display: none; }
.no-js .build-still, .build-static .build-still { display: block; position: relative; height: auto; aspect-ratio: 16 / 10; min-height: 52vh; }
.no-js .build-caps, .build-static .build-caps { position: relative; inset: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 28px 32px; padding-block: 48px; }
.no-js .cap, .build-static .cap { position: static; opacity: 1; visibility: visible; transform: none; width: auto; padding: 16px 0 0; background: none; }
.no-js .cap-title, .build-static .cap-title { font-size: clamp(22px, 2.2vw, 28px); }
.no-js .cap:first-child, .build-static .cap:first-child { grid-column: 1 / -1; }
.no-js .cap:first-child .cap-title, .build-static .cap:first-child .cap-title { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; }
.no-js .build-note, .build-static .build-note { position: static; text-align: start; background: none; padding-inline: var(--gut); padding-block: 10px 0; }
.no-js .page-home .site-head, .build-static .page-home .site-head { background: rgba(241, 242, 240, 0.95); border-color: var(--rule); }

/* ---------- drawn and built: the pair ---------- */
.pair { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.pair-draw { max-width: 250px; margin-block-end: 20px; }
.pair-role { font-size: 14px; font-weight: 600; color: var(--blue); margin: 0 0 4px; }
.pair-cell h3 { margin-block-end: 8px; }
.pair-cell p:last-child { color: var(--ink-2); margin: 0; font-size: 16px; }
.pair-text { align-self: center; }
@media (max-width: 900px) { .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .pair-text { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pair { column-gap: 16px; } .pair-cell p:last-child { font-size: 15px; } }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.svc { display: flex; flex-direction: column; text-decoration: none; }
.svc-draw { height: 190px; display: flex; align-items: flex-end; border-block-end: 2px solid var(--ink); margin-block-end: 20px; padding-inline: 8px; }
.svc-draw .draw { max-height: 100%; width: auto; max-width: 100%; margin-inline: auto; }
.svc-draw .e-ground { display: none; }
.svc p { color: var(--ink-2); margin: 0; }
.svc:hover h3 { color: var(--blue); }
@media (max-width: 860px) { .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } .svc-draw { height: 150px; } }

.service-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.service-draw .draw { max-width: 460px; }
.service-draw-tall .draw { max-width: 250px; }
.service-text h2 { margin-block-end: 14px; }
.service-text .ticks { margin-block-start: 26px; }
@media (max-width: 760px) { .service-row { grid-template-columns: minmax(0, 1fr); } .service-draw .draw { max-width: 340px; } .service-draw-tall .draw { max-width: 180px; } }

.ticks { list-style: none; margin: 0; padding: 0; border-block-start: 2px solid var(--ink); }
.ticks li { padding-block: 13px; padding-inline: 28px 0; border-block-end: 1px solid var(--rule); position: relative; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 1.2em; width: 12px; height: 3px; background: var(--hot); }
.every { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
@media (max-width: 860px) { .every { grid-template-columns: minmax(0, 1fr); } }
.every li { padding-block: 22px; border-block-start: 1px solid rgba(255, 255, 255, 0.35); }
.every p { margin: 0; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 1100px) { .values { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
.values li { padding-block: 22px 26px; border-block-start: 2px solid var(--ink); }
.values p { color: var(--ink-2); margin: 0; }

/* ---------- programme: the four steps as bars on one line of time ---------- */
.prog { list-style: none; margin: 0; padding: 0; border-block-end: 2px solid var(--ink); }
.prog li { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 6px clamp(20px, 4vw, 56px); padding-block: 26px; border-block-start: 2px solid var(--ink); align-items: start; }
.prog-head { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); align-items: baseline; grid-row: span 3; }
.prog-n { font-size: 15px; font-weight: 640; color: var(--blue); font-variant-numeric: tabular-nums; }
.prog-head h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 660; margin: 0; }
.prog-who { grid-column: 2; font-size: 15px; color: var(--ink-3); margin-block-start: 6px; }
.prog-track { height: 14px; background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10%); border-inline-end: 1px solid var(--rule); margin-block: 9px 12px; }
.prog-track i { display: block; height: 100%; width: var(--len); margin-inline-start: var(--from); background: var(--blue); }
.prog li:nth-child(3) .prog-track i { background: var(--hot); }
.prog-d { color: var(--ink-2); margin: 0 0 8px; max-width: 40rem; }
.prog-gets { margin: 0; font-weight: 600; }
.prog-gets span { color: var(--blue); }
.prog-compact li { padding-block: 16px; }
.prog-compact .prog-head h3 { font-size: clamp(20px, 1.9vw, 24px); }
.prog-compact .prog-who { display: none; }
.prog-compact .prog-head { grid-row: span 2; }
.prog-compact .prog-gets { font-weight: 400; color: var(--ink-2); font-size: 16px; }
.prog-note { font-size: 14px; color: var(--ink-3); margin: 14px 0 28px; }
@media (max-width: 760px) { .prog li { grid-template-columns: minmax(0, 1fr); } .prog-head { grid-row: auto; } }

/* ---------- projects: drawing sheets waiting for real work ---------- */
.sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.sheet { border: 1px solid var(--ink); background: var(--paper); }
.sheet-img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 13px, rgba(15, 26, 36, 0.045) 13px 14px); }
.sheet-img .draw { height: 78%; width: auto; opacity: 0.4; }
.sheet-mark { width: 44px; height: 44px; fill: rgba(15, 26, 36, 0.16); }
.sheet-block { margin: 0; border-block-start: 1px solid var(--ink); }
.sheet-block div { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 10px; padding: 9px 14px; border-block-end: 1px solid var(--rule); font-size: 15px; }
.sheet-block div:last-child { border: 0; }
.sheet-block dt { color: var(--ink-3); }
.sheet-block dd { margin: 0; font-weight: 500; }
.sheet-design .sheet-block div:nth-child(2) dd { color: var(--blue); font-weight: 600; }
@media (max-width: 860px) { .sheet-grid { grid-template-columns: minmax(0, 1fr); } }

.placeholder { position: relative; border: 1px dashed var(--ink-3); padding: 44px 28px 28px; color: var(--ink-2); background: repeating-linear-gradient(135deg, transparent 0 13px, rgba(15, 26, 36, 0.045) 13px 14px); }
.placeholder p { margin: 0; }
.ph-tag { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; font: 600 12px var(--font); background: var(--ink); color: var(--paper); padding: 3px 8px; }
.ph-inline { display: inline-block; font-size: 15px; font-weight: 400; padding: 2px 10px; border: 1px dashed var(--ink-3); color: var(--ink-2); }

.ct { margin: 0; border-block-start: 2px solid var(--ink); }
.ct-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; padding-block: 20px; border-block-end: 1px solid var(--rule); align-items: baseline; }
.ct dt { color: var(--ink-3); }
.ct dd { margin: 0; font-size: 21px; font-weight: 600; }
.nf { min-height: 60vh; }

.cta-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }
.cta-row p { color: var(--ink-2); max-width: 36rem; margin: 0; }
.cta-row h2 { margin-block-end: 12px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #e9edf0; padding-block: 60px 38px; font-size: 15px; }
.site-foot .mark { fill: #fff; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr); gap: 32px 48px; }
.foot-brand p, .foot-legal p { color: #a9b4be; margin: 14px 0 0; }
.foot-legal p:first-child { margin-block-start: 0; }
.foot-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.site-foot .foot-preview { color: #8fb4ea; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- motion below the hero (off for reduced motion and when scripts are off) ---------- */
/* Line drawings draw themselves */
.reveal-ready .draw[data-reveal] :is(rect, line, path) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.55, 0, .2, 1) var(--d, 0ms); }
.reveal-ready .draw[data-reveal].in :is(rect, line, path) { stroke-dashoffset: 0; }
.reveal-ready .draw-line[data-reveal] .e-glass, .reveal-ready .draw-line[data-reveal] .e-canopy { fill-opacity: 0; transition: fill-opacity .8s ease 1.4s, stroke-dashoffset 1.5s cubic-bezier(.55, 0, .2, 1) var(--d, 0ms); }
.reveal-ready .draw-line[data-reveal].in .e-glass, .reveal-ready .draw-line[data-reveal].in .e-canopy { fill-opacity: 1; }
/* The built version rises from the ground, like the building on the home page */
.reveal-ready .draw-built[data-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s cubic-bezier(.6, 0, .2, 1) .5s; }
.reveal-ready .draw-built[data-reveal].in { clip-path: inset(0 0 0 0); }
.reveal-ready .draw-built[data-reveal] :is(rect, line, path) { stroke-dasharray: none; stroke-dashoffset: 0; }
/* Programme bars grow in order */
.reveal-ready .prog[data-reveal] .prog-track i { transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.6, 0, .2, 1); }
[dir="rtl"] .reveal-ready .prog[data-reveal] .prog-track i { transform-origin: right; }
.reveal-ready .prog[data-reveal].in .prog-track i { transform: none; }
.reveal-ready .prog[data-reveal] li:nth-child(2) .prog-track i { transition-delay: .25s; }
.reveal-ready .prog[data-reveal] li:nth-child(3) .prog-track i { transition-delay: .5s; }
.reveal-ready .prog[data-reveal] li:nth-child(4) .prog-track i { transition-delay: .75s; }
/* Cards and lists settle into place */
.reveal-ready :is(.svc-grid, .values, .sheet-grid, .pair)[data-reveal] > * { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .1, 1); }
.reveal-ready :is(.svc-grid, .values, .sheet-grid, .pair)[data-reveal].in > * { opacity: 1; transform: none; }
.reveal-ready [data-reveal].in > *:nth-child(2) { transition-delay: .12s; }
.reveal-ready [data-reveal].in > *:nth-child(3) { transition-delay: .24s; }
.reveal-ready [data-reveal].in > *:nth-child(4) { transition-delay: .36s; }
.reveal-ready [data-reveal].in > *:nth-child(5) { transition-delay: .48s; }
/* Page titles rise once on arrival */
.js .page-head h1 { animation: rise 1s cubic-bezier(.2, .7, .1, 1) both; }
.js .page-head .lead { animation: rise 1s cubic-bezier(.2, .7, .1, 1) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* Band of giant words that slides as you scroll */
.marquee { background: var(--hot); color: var(--ink); overflow: hidden; padding-block: clamp(14px, 2vw, 26px); border-block: 2px solid var(--ink); }
.mq-row { display: flex; width: max-content; align-items: center; gap: clamp(18px, 2.4vw, 36px); will-change: transform; }
.mq-row + .mq-row { margin-block-start: clamp(4px, .8vw, 10px); }
.mq-row span { font-size: clamp(56px, 10vw, 150px); font-weight: 900; font-stretch: 62%; line-height: .9; text-transform: uppercase; white-space: nowrap; }
.mq-row span.mq-o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.mq-row i { width: clamp(16px, 2vw, 28px); height: clamp(16px, 2vw, 28px); background: var(--ink); flex: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .draw[data-reveal] :is(rect, line, path) { stroke-dashoffset: 0; }
  .reveal-ready .draw-built[data-reveal] { clip-path: none; }
  .js .page-head h1, .js .page-head .lead { animation: none; }
}


/* =================== VyroNyx look =================== */
/* Headings: wide and heavy, like the letters on a site board */
h1, h2, h3 { font-stretch: 118%; }
.brand-name { font-size: 19px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.16em; }
.logo { width: 34px; height: 34px; display: block; }
.foot-brand .logo { width: 40px; height: 40px; }

/* Header: navy everywhere, so the official light logo always sits on its own colour */
.site-head { background: rgba(11, 31, 58, 0.97); border-color: rgba(194, 211, 227, 0.18); color: #fff; }
.page-home .site-head { background: transparent; }
.page-home.past-build .site-head, .no-js .page-home .site-head, .build-static .page-home .site-head { background: rgba(11, 31, 58, 0.97); border-color: rgba(194, 211, 227, 0.18); }
.nav-list a:hover, .nav-list a[aria-current] { border-color: var(--ice); }
@media (max-width: 860px) {
  .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: rgba(11, 31, 58, 0.6); }
  .nav-list, .menu-open .site-head, .menu-open .page-home .site-head { background: var(--night); }
  .nav-list a { border-color: rgba(194, 211, 227, 0.2); }
  .menu-open .page-home .site-head { color: #fff !important; }
}

/* Buttons: ice on dark, navy on light */
.btn { background: var(--night); color: #fff; border-color: var(--night); }
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-quiet { background: transparent; color: var(--night); border-color: var(--night); }
.cap .btn, .blueprint .btn, .btn-light { background: var(--ice); color: var(--night); border-color: var(--ice); }
.cap .btn:hover, .blueprint .btn:hover, .btn-light:hover { background: #fff; border-color: #fff; color: var(--night); }
.cap .btn-quiet { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }

/* Home build: night captions and counter */
.build { background: var(--night-2); }
.build-stage { background: linear-gradient(180deg, #13325f 0%, #f2a06e 52%, #2a2418 53%); }
.cap { background: rgba(7, 20, 40, 0.88); color: #fff; border-block-start: 4px solid var(--ice); }
.cap-text { color: #c9d6e4; }
.build-hud { background: rgba(7, 20, 40, 0.86); border-color: rgba(194, 211, 227, 0.2); color: #fff; }
.hud-k { color: #9fb2c6; }
.hud-rail { color: #7f93a8; }
.hud-rail li { border-color: rgba(194, 211, 227, 0.18); }
.hud-rail li.done { border-color: #9fb2c6; color: #c9d6e4; }
.hud-rail li.now { border-color: var(--ice); color: #fff; }
.hud-bar { background: rgba(194, 211, 227, 0.2); }
.hud-bar i { background: var(--ice); }
.build-plan { background: rgba(7, 20, 40, 0.8); }
.pl-out, .pl-core, .pd { stroke: var(--ice); }
.pl-ax { stroke: #7cc4ff; }
.pd { fill: transparent; }
.pd.lit { fill: var(--ice); stroke: var(--ice); }
.pl-b { fill: #7cc4ff; }
.pl-t { fill: #c9d6e4; }
.build-note { background: rgba(7, 20, 40, 0.8); color: #c9d6e4; }
.build-hint { background: rgba(7, 20, 40, 0.86); color: #fff; }
.build-hint::after { background: var(--ice); }
.build-live .build-stage::before { background: linear-gradient(rgba(4, 12, 26, 0.55), rgba(4, 12, 26, 0)); }
@media (max-width: 760px) {
  .cap { background: rgba(7, 20, 40, 0.96); }
  .build-hud { background: var(--night-2); }
}

/* Big type: wide heavy capitals */
.page-head { background: radial-gradient(120% 140% at 80% 0%, #1b3d70 0%, var(--night) 45%, var(--night-2) 100%); }
.page-head h1 { font-size: clamp(40px, 7.6vw, 116px); font-weight: 800; font-stretch: 125%; line-height: 0.95; letter-spacing: 0.005em; max-width: 12em; }
.display { font-size: clamp(36px, 6.4vw, 100px); font-weight: 800; font-stretch: 125%; line-height: 0.95; letter-spacing: 0.005em; color: var(--night); }
.bp-text h2 { font-size: clamp(34px, 5.6vw, 84px); font-weight: 800; font-stretch: 125%; line-height: 0.95; letter-spacing: 0.005em; }
.page-head .draw .e-stone, .page-head .draw .e-pav { stroke: var(--ice); }
.page-head .draw .e-ground, .page-head .draw .e-dim, .page-head .draw .e-tree { stroke: var(--ice); }

/* Feature bands: navy blueprint */
.blueprint { background-color: var(--night); background-image: linear-gradient(rgba(194, 211, 227, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(194, 211, 227, 0.07) 1px, transparent 1px); }
.blueprint .draw .e-stone, .blueprint .draw .e-pav { fill: var(--night); stroke: var(--ice); }
.blueprint .draw .e-glass { stroke: rgba(194, 211, 227, 0.6); }
.blueprint .draw .e-ground, .blueprint .draw .e-dim { stroke: var(--ice); }
.blueprint .draw .e-canopy, .blueprint .draw .e-txt { fill: var(--ice); }
.blueprint p { color: #c9d6e4; }

/* Sliding words: navy band, ice letters */
.marquee { background: var(--night); color: var(--ice); border-color: var(--night-2); }
.mq-row span { font-weight: 800; font-stretch: 125%; font-size: clamp(44px, 7.4vw, 112px); letter-spacing: 0.01em; }
.mq-row span.mq-o { -webkit-text-stroke: 2px var(--ice); }
.mq-row i { background: #7cc4ff; border-radius: 50%; }

/* Small accents */
.ticks li::before { background: var(--blue); }
.tag { border-color: var(--blue); color: var(--blue); }
.prog li:nth-child(3) .prog-track i { background: var(--night); }
.site-foot { background: var(--night-2); }
.site-foot .foot-preview { color: #7cc4ff; }

/* phones: wide capitals must never split a word */
.page-head h1 { overflow-wrap: normal; word-break: normal; hyphens: none; }
.ct dd { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .page-head h1 { font-size: clamp(30px, 8.6vw, 52px); font-stretch: 112%; }
  .ct dd { font-size: clamp(18px, 5.4vw, 24px); }
}
@media (max-width: 600px) {
  .ct-row { display: block; }
  .ct-row dt { margin-block-end: 6px; }
  .ct dd { overflow-wrap: normal; font-size: clamp(18px, 5.6vw, 24px); }
}
/* Concrete intelligence: tools band and tagline */
.tools-lead { max-width: 38em; margin: -8px 0 28px; color: var(--ice); font-size: 1.12rem; }
.tools-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-block-end: 0; }
.tools-list h3 { font-size: 1.2rem; margin: 0 0 8px; }
@media (max-width: 860px) { .tools-list { grid-template-columns: minmax(0, 1fr); } }
.foot-slogan { font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ice); margin: 18px 0 6px; font-size: 0.95rem; }
