/* SUM Associates — public site
   Palette is taken from the logo: the red roof, the gold ring and the taupe towers. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin.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.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;
}

:root {
  --ink: #2a2522;
  --ink-2: #3b3430;
  --taupe: #8b7f77;
  --taupe-lt: #b9b0a9;
  --stone: #eceded;
  --paper: #ffffff;
  --line: #d9d7d4;
  --red: #d8232a;
  --red-dk: #b01b21;
  --gold: #f2c12e;
  --text: #2a2522;
  --muted: #6b625c;
  --ok: #1f7a4a;

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 4px;
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--f); font-size: 17px; line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
address { font-style: normal; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-variation-settings: "wdth" 118; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.wrap-wide { max-width: 1440px; margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.h-sec { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.h-sub { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-variation-settings: "wdth" 112; }
.ic { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  font-variation-settings: "wdth" 108; transition: background .15s, color .15s, border-color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd451; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn-col { display: grid; gap: 10px; margin: 18px 0 0; }

/* ------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header.over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; transition: background .25s, color .25s, border-color .25s; }
.site-header.over.scrolled, .site-header.over.open { background: var(--paper); color: var(--text); border-color: var(--line); }
.hdr { display: flex; align-items: center; gap: 20px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt strong { font-size: 1.2rem; font-variation-settings: "wdth" 125; font-weight: 900; letter-spacing: .01em; }
.brand-txt small { font-size: .78rem; color: inherit; opacity: .75; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--r); }
.nav a[aria-current="page"] { color: var(--red); }
.nav-call { min-height: 42px; padding: 0 16px; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.nav-toggle .ic { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: var(--hdr); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--paper); color: var(--text); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; display: none; }
  .site-header.open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-call { margin: 16px 0 0; }
}
@media (max-width: 420px) { .brand { gap: 8px; } .brand img { width: 44px; height: 44px; } .brand-txt strong { font-size: 1.05rem; } .brand-txt small { font-size: .72rem; white-space: nowrap; } }
@media (max-width: 340px) { .brand-txt strong { font-size: .95rem; } .brand-txt small { font-size: .66rem; } }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-yt { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-drawing {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(139,127,119,.35), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 48px),
    var(--ink);
}
.hero-shade { background: linear-gradient(180deg, rgba(20,17,15,.55) 0%, rgba(20,17,15,.2) 35%, rgba(20,17,15,.75) 100%); }
.hero-inner { position: relative; padding-top: calc(var(--hdr) + 40px); padding-bottom: 40px; width: 100%; }
.hero-title {
  font-size: clamp(3.2rem, 10.5vw, 9.5rem); line-height: .9; margin: 0;
  font-variation-settings: "wdth" 125; font-weight: 900; letter-spacing: -.02em; max-width: 12ch;
}
.dim-line { position: relative; height: 18px; margin: 26px 0 22px; max-width: 640px; }
.dim-line span { position: absolute; left: 0; top: 50%; height: 2px; width: 100%; background: var(--gold); transform-origin: left; }
.dim-line::before, .dim-line::after { content: ""; position: absolute; top: 0; width: 2px; height: 18px; background: var(--gold); }
.dim-line::before { left: 0; }
.dim-line::after { right: 0; }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.video-toggle { position: absolute; right: var(--gut); bottom: 40px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(0,0,0,.25); cursor: pointer; }
.vt-pause { display: block; margin: auto; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.video-toggle[aria-pressed="true"] .vt-pause { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 16px; }

.titleblock { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: 0; margin-bottom: var(--gut); }
.titleblock > div { border: 1px solid rgba(255,255,255,.35); margin: 0 -1px -1px 0; padding: 12px 16px; background: rgba(42,37,34,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.titleblock span { display: block; font-size: .78rem; color: var(--taupe-lt); }
.titleblock strong { font-weight: 600; font-size: .98rem; font-variation-settings: "wdth" 105; }
.titleblock a { text-decoration: none; }
.titleblock a:hover { color: var(--gold); }
@media (max-width: 860px) { .titleblock { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .titleblock > div:nth-child(n+3) { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .dim-line span { animation: draw 1.1s .35s cubic-bezier(.6,0,.2,1) both; }
  .dim-line::after { animation: fade .3s 1.35s both; }
  .hero-text, .hero .btn-row { animation: fade .8s .6s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* -------------------------------------------------------------- About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }
.founder { margin: 0; position: relative; }
.founder img, .founder-ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--stone); }
.founder-ph { display: grid; place-items: center; font-size: clamp(4rem, 10vw, 7rem); font-weight: 900; color: var(--taupe); font-variation-settings: "wdth" 125; }
.founder::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--r); z-index: -1; }
.founder figcaption { position: absolute; left: 0; bottom: 0; right: 24%; background: var(--ink); color: #fff; padding: 14px 18px; }
.founder figcaption strong { display: block; font-size: 1.1rem; font-variation-settings: "wdth" 112; }
.founder figcaption span { font-size: .85rem; color: var(--taupe-lt); line-height: 1.35; display: block; }
.about-text { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; max-width: 36ch; }
.about-text p:first-child::first-line { font-weight: 600; }
.sign { margin-top: 24px; font-weight: 800; font-variation-settings: "wdth" 70; font-size: 1.3rem; color: var(--red); letter-spacing: .01em; }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .founder { max-width: 420px; margin-right: 18px; }
}

/* ----------------------------------------------------------- Sections */
.sec-head p { color: var(--muted); max-width: 52ch; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head.row p { margin-bottom: 0; }

.services { background: var(--stone); padding: clamp(64px, 9vw, 112px) 0; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.services .sec-head { position: sticky; top: calc(var(--hdr) + 24px); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.svc-ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); color: var(--red); }
.svc-ic .ic { width: 28px; height: 28px; }
.svc-list h3 { font-size: 1.35rem; margin: 4px 0 6px; font-variation-settings: "wdth" 112; }
.svc-list p { margin: 0; color: var(--muted); max-width: 56ch; }
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } .services .sec-head { position: static; } }

/* ------------------------------------------------------------ Projects */
.projects-sec { padding: clamp(64px, 9vw, 112px) 0; }
.projects-sec.more { background: var(--stone); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pcard[hidden] { display: none; }
.pcard-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.pcard-link:hover { color: inherit; }
.pcard-link:hover h3 { color: var(--red); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard-link:hover .pcard-media img { transform: scale(1.03); }
.ph-drawing { width: 100%; height: 100%; display: grid; place-items: center; color: var(--taupe-lt);
  background: repeating-linear-gradient(0deg, rgba(139,127,119,.14) 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, rgba(139,127,119,.14) 0 1px, transparent 1px 24px), var(--stone); }
.ph-ic { width: 72px; height: 72px; }
.pcard-body { padding: 18px 20px 0; flex: 1; display: flex; flex-direction: column; }
.pcard-body h3 { font-size: 1.3rem; margin: 0 0 4px; transition: color .15s; }
.pcard-loc { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.specs-mini { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto -20px 0; border-top: 1px solid var(--line); }
.specs-mini div { padding: 10px 14px 12px 20px; border-right: 1px solid var(--line); }
.specs-mini div:last-child { border-right: 0; }
.specs-mini dt { font-size: .74rem; color: var(--muted); }
.specs-mini dd { margin: 0; font-weight: 700; font-size: .95rem; font-variation-settings: "wdth" 108; white-space: nowrap; }

.status { position: absolute; left: 12px; top: 12px; display: inline-block; padding: 5px 10px; border-radius: 2px; font-size: .8rem; font-weight: 700; background: var(--paper); color: var(--ink); border-left: 4px solid var(--taupe); }
.status.s-ongoing { border-left-color: var(--gold); }
.status.s-completed { border-left-color: var(--ok); }
.status.s-upcoming { border-left-color: var(--red); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-weight: 600; font-size: .92rem; min-height: 40px; padding: 0 16px; border-radius: 40px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; color: var(--text); }
.chip span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--taupe-lt); }
.empty { padding: 48px; border: 1.5px dashed var(--line); border-radius: var(--r); text-align: center; color: var(--muted); }

/* -------------------------------------------------------------- Online */
.online { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.online .sec-head p { color: var(--taupe-lt); }
.online-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.online-grid li { padding: 28px 28px 30px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.on-ic { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; }
.online-grid h3 { font-size: 1.25rem; margin-bottom: 6px; font-variation-settings: "wdth" 112; }
.online-grid p { margin: 0; color: var(--taupe-lt); font-size: .97rem; }
@media (max-width: 900px) { .online-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .online-grid { grid-template-columns: 1fr; } .online-grid li { padding: 22px 20px; } }

/* ----------------------------------------------------------- Locations */
.locations { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.loc-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.loc-list li { padding: 22px 16px 8px 0; border-right: 1px solid var(--line); padding-left: 20px; }
.loc-list li:first-child { padding-left: 0; }
.loc-list li:last-child { border-right: 0; }
.loc-name { display: block; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 900; font-variation-settings: "wdth" 125; line-height: 1; }
.loc-note { display: block; margin-top: 8px; color: var(--red); font-weight: 600; font-size: .9rem; }
@media (max-width: 760px) {
  .loc-list { grid-template-columns: 1fr 1fr; }
  .loc-list li { padding: 18px 12px 14px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ------------------------------------------------------------- Contact */
.contact-sec { background: var(--stone); padding: clamp(64px, 9vw, 112px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-page { padding-bottom: clamp(64px, 9vw, 112px); }
.cinfo { list-style: none; padding: 0; margin: 24px 0 28px; }
.cinfo li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.cinfo li .ic { color: var(--red); margin-top: 3px; }
.cinfo a { text-decoration: none; font-weight: 600; }
.contact-form { background: var(--paper); padding: clamp(20px, 3vw, 36px); border-radius: var(--r); border: 1px solid var(--line); }
.contact-page .contact-form { background: var(--stone); border: 0; }
.map { margin-top: 20px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 320px; border: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.enquiry { display: grid; gap: 16px; }
.enquiry label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.enquiry .opt { font-weight: 400; color: var(--muted); }
.enquiry .lbl { display: block; }
.enquiry input, .enquiry select, .enquiry textarea {
  font: inherit; font-size: 1rem; font-weight: 400; width: 100%; padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--text);
}
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(242,193,46,.45); }
.enquiry button { justify-self: start; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } .enquiry button { justify-self: stretch; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 12px 16px; border-radius: var(--r); font-weight: 600; }
.note.ok { background: #e3f3ea; color: var(--ok); }
.note.err { background: #fde8e8; color: var(--red-dk); }

/* ----------------------------------------------------------- Page heads */
.page-head { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-variation-settings: "wdth" 125; font-weight: 900; }
.page-head.narrow { min-height: 50vh; }
.projects-page { padding-bottom: clamp(64px, 9vw, 112px); }
.cta-band { background: var(--red); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
.cta-inner h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-inner p { margin: 0; flex: 1; min-width: 240px; }
.cta-band .btn-red { background: var(--ink); }
.cta-band .btn-red:hover { background: #000; }

/* ------------------------------------------------------- Project page */
.draft-bar { background: var(--gold); color: var(--ink); padding: 10px var(--gut); font-weight: 600; text-align: center; }
.proj-head { padding-top: clamp(32px, 5vw, 56px); padding-bottom: 28px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.proj-head h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); font-variation-settings: "wdth" 125; font-weight: 900; margin-bottom: 10px; line-height: .95; }
.proj-loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 1.05rem; }
.proj-loc .ic { color: var(--red); }
.progress-block { margin-top: 24px; max-width: 760px; }
.pb-top { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-bottom: 12px; }
.pb-top .status { position: static; background: var(--stone); }
.pb-stage { color: var(--muted); }
.pb-stage strong { color: var(--text); }
.pb-pct { margin-left: auto; font-weight: 800; font-variation-settings: "wdth" 112; }
.pb-bar { height: 10px; background: var(--stone); border-radius: 10px; overflow: hidden; }
.pb-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #e8a91c); border-radius: 10px; }
.proj-cover { margin: 0 auto; padding: 0 var(--gut); }
.proj-cover img { width: 100%; max-height: 78vh; object-fit: cover; border-radius: var(--r); }
.proj-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: 32px; align-items: start; }
.prose { max-width: 66ch; }
.prose p { line-height: 1.7; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.feature-list li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: calc(10px + .8em); width: 12px; height: 2px; background: var(--red); }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }
.proj-side { position: sticky; top: calc(var(--hdr) + 20px); }
.titleblock-spec { margin: 0; border: 2px solid var(--ink); border-radius: 2px; }
.titleblock-spec > div { display: grid; grid-template-columns: 44% 1fr; border-bottom: 1px solid var(--ink); }
.titleblock-spec > div:last-child { border-bottom: 0; }
.titleblock-spec dt { padding: 10px 12px; font-size: .85rem; color: var(--muted); border-right: 1px solid var(--ink); }
.titleblock-spec dd { margin: 0; padding: 10px 12px; font-weight: 700; font-variation-settings: "wdth" 106; }
.titleblock-spec .tb-head { display: flex !important; gap: 10px; align-items: center; padding: 10px 12px; background: var(--ink); color: #fff; }
.titleblock-spec .tb-head img { background: #fff; border-radius: 2px; padding: 2px; }
.titleblock-spec .tb-head span { font-weight: 800; font-variation-settings: "wdth" 120; line-height: 1.1; }
.titleblock-spec .tb-head small { display: block; font-weight: 400; color: var(--taupe-lt); font-variation-settings: "wdth" 100; font-size: .8rem; }
@media (max-width: 860px) { .proj-body { grid-template-columns: 1fr; } .proj-side { position: static; } }

.gallery-sec, .videos-sec { padding-top: 40px; padding-bottom: 24px; }
.count { font-size: .95rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery li { margin: 0; }
.g-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--stone); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.g-cap { display: block; font-size: .85rem; color: var(--muted); padding-top: 6px; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.yt { margin: 0; }
.yt figcaption { padding-top: 8px; font-weight: 600; }
.yt-lite, .yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; background: #000; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .15s; }
.yt-play .ic { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.yt-lite:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.proj-enquiry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); padding-top: 56px; padding-bottom: clamp(64px, 9vw, 96px); }
.proj-enquiry p { color: var(--muted); }
@media (max-width: 860px) { .proj-enquiry { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,13,12,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; margin: auto; }
.lightbox figcaption { color: #ddd; text-align: center; padding-top: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox button .ic { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: #e9e5e2; padding-top: 64px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 36px; padding-bottom: 48px; }
.foot-brand img { background: #fff; border-radius: var(--r); padding: 4px; margin-bottom: 14px; }
.foot-brand strong { font-size: 1.15rem; font-variation-settings: "wdth" 120; }
.foot-note { color: var(--taupe-lt); font-size: .92rem; }
.foot-h { font-size: 1rem; color: var(--gold); margin-bottom: 14px; font-variation-settings: "wdth" 110; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-list a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; word-break: break-word; }
.foot-list a:hover { color: var(--gold); }
.foot-list .ic { width: 18px; height: 18px; color: var(--taupe-lt); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: var(--taupe-lt); }
.foot-bottom span { margin-right: auto; }
.foot-bottom a { text-decoration: none; }
.foot-bottom .credit { flex-basis: 100%; margin: 6px 0 0; }
.foot-bottom .credit a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.foot-bottom .credit a:hover { color: #fff; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float:hover { color: #fff; background: #1ebe5b; }
.wa-float .ic { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 700px) { .video-toggle { top: calc(var(--hdr) + 12px); bottom: auto; width: 38px; height: 38px; } }

/* ------------------------------------------------------ Inner page hero */
.page-hero { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-variation-settings: "wdth" 125; font-weight: 900; line-height: .95; margin-bottom: 18px; }
.page-hero h1::after { content: ""; display: block; width: min(420px, 70%); height: 2px; background: var(--gold); margin-top: 22px;
  box-shadow: -1px 0 0 0 var(--gold); }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero .crumbs, .page-hero .crumbs a { color: var(--taupe-lt); }
.page-hero + .services { padding-top: clamp(48px, 7vw, 88px); }
.page-hero + .online { padding-top: clamp(48px, 7vw, 88px); background: var(--ink-2); }

/* ---------------------------------------------------------------- Story */
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding-top: 0; padding-bottom: clamp(64px, 9vw, 112px); }
.story-text { font-size: 1.08rem; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Steps */
.steps-sec { background: var(--stone); padding: clamp(64px, 9vw, 112px) 0; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.steps li { padding: 22px 20px 8px 0; position: relative; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.step-n { display: block; font-size: 2.4rem; font-weight: 900; font-variation-settings: "wdth" 125; color: var(--red); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.15rem; font-variation-settings: "wdth" 110; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .steps li, .steps li + li { padding: 20px 16px 16px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ Online page */
.online-cta { margin: 32px 0 0; }
.online-how { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 820px) { .online-how { grid-template-columns: 1fr; } }
.site-header.over:not(.scrolled):not(.open) .nav a[aria-current="page"] { color: var(--gold); }
@media (max-width: 1120px) and (min-width: 961px) { .nav a:not(.btn) { padding: 10px 8px; font-size: .9rem; } .nav-call span { display: none; } .nav-call { padding: 0 12px; } }

/* ============================================================ Home extras */

/* Moving services strip */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 38s linear infinite; padding: 14px 0; }
.ticker span { font-weight: 800; font-variation-settings: "wdth" 120; font-size: clamp(1rem, 1.6vw, 1.25rem); white-space: nowrap; padding: 0 22px; }
.ticker i { width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); flex: none; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Numbers band */
.stats-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px); }
.stats { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
@media (max-width: 900px) and (min-width: 641px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stats li { padding: clamp(32px, 5vw, 56px) 20px; border-left: 1px solid rgba(255,255,255,.14); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 900; font-variation-settings: "wdth" 125; line-height: 1; color: var(--gold); letter-spacing: -.02em; }
.stats li > span { display: block; margin-top: 10px; color: var(--taupe-lt); font-weight: 500; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } .stats li { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 26px 12px 26px 0; } .stats li:nth-child(-n+2) { border-top: 0; } }

/* Featured project showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 28px; }
.sc-media { position: relative; display: block; min-height: 420px; background: var(--stone); overflow: hidden; }
.sc-media img, .sc-media .ph-drawing { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.showcase:hover .sc-media img { transform: scale(1.04); }
.sc-media .status { top: 18px; left: 18px; font-size: .88rem; padding: 7px 12px; }
.sc-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 4px; position: relative; }
.sc-body::before { content: ""; position: absolute; top: 0; left: clamp(24px, 3.5vw, 44px); width: 64px; height: 4px; background: var(--red); }
.sc-kicker { color: var(--muted); font-weight: 600; margin: 8px 0 6px; }
.sc-body h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-variation-settings: "wdth" 120; margin-bottom: 10px; }
.sc-body h3 a { text-decoration: none; }
.sc-sum { color: var(--muted); }
.sc-progress { margin: 8px 0 18px; }
.sc-pt { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .95rem; }
.sc-pt span { color: var(--muted); }
.sc-specs { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 0 22px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sc-specs div { padding: 10px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sc-specs dt { font-size: .78rem; color: var(--muted); }
.sc-specs dd { margin: 0; font-weight: 700; font-variation-settings: "wdth" 108; }
.sc-body .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } .sc-media { min-height: 0; aspect-ratio: 4 / 3; } }

/* Testimonials */
.reviews { background: var(--stone); padding: clamp(64px, 9vw, 112px) 0; overflow: hidden; }
.rv-nav { display: flex; gap: 8px; }
.rv-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.rv-btn:hover { background: var(--ink); color: #fff; }
.rv-track { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 520px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; background: var(--paper); border-radius: var(--r); padding: 36px 32px 28px; position: relative; border-top: 4px solid var(--gold); display: flex; flex-direction: column; }
.rv-mark { position: absolute; top: 4px; right: 22px; font-size: 6rem; line-height: 1; color: var(--red); font-weight: 900; opacity: .18; }
.rv-card blockquote { margin: 0 0 22px; font-size: 1.12rem; line-height: 1.6; }
.rv-card blockquote p:last-child { margin: 0; }
.rv-who { margin: auto 0 0; display: grid; }
.rv-who span { color: var(--muted); font-size: .92rem; }

/* Hover effects */
.pcard { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -18px rgba(42,37,34,.45); border-color: transparent; }
.svc-list li { transition: background .2s, padding .2s; }
.svc-list li:hover { background: var(--paper); padding-left: 16px; padding-right: 16px; }
.svc-ic { transition: background .2s, color .2s, border-color .2s; }
.svc-list li:hover .svc-ic { background: var(--red); color: #fff; border-color: var(--red); }
.online-grid li { position: relative; transition: background .25s; }
.online-grid li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--gold); transition: width .35s ease; }
.online-grid li:hover { background: rgba(255,255,255,.04); }
.online-grid li:hover::after { width: 100%; }
.loc-list li { transition: color .2s; }
.loc-list li:hover .loc-name { color: var(--red); }
.btn { transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }

/* Scroll reveal (only when JS is on and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Numbers band: columns size to their numbers so long figures never overlap */
.stats { display: flex; flex-wrap: nowrap; }
.stats li { flex: 1 1 auto; min-width: 0; padding-right: clamp(14px, 2vw, 32px); }
.stats strong { font-size: clamp(1.9rem, 3.1vw, 3.2rem); white-space: nowrap; }
@media (max-width: 900px) {
  .stats { flex-wrap: wrap; column-gap: 16px; }
  .stats li { flex-basis: calc(50% - 8px); }
  .stats li { flex: 1 1 45%; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats strong { font-size: clamp(1.5rem, 6.8vw, 2.6rem); }
}
