/* Layout concept: steel-drawing sheet. Full-bleed photo hero, then sections ruled like a
   structural drawing (thin grid lines, axis tags), ending in a drawing title block footer. */
:root {
  --ink: #0f1b2b;          /* deep steel navy: header, hero, dark bands */
  --ink-2: #172a40;        /* raised surface on dark */
  --paper: #f2f4f6;        /* galvanised light grey page */
  --sheet: #ffffff;        /* cards / form */
  --line: #d3dae2;         /* drawing hairlines on light */
  --line-dark: #2b3f57;    /* hairlines on dark */
  --text: #1a2533;
  --muted: #5b6878;
  --on-dark: #e9eef4;
  --on-dark-muted: #9fb0c3;
  --primer: #c8402a;       /* red-oxide primer: the one accent */
  --primer-hover: #a93322;
  --wa: #1f8f4e;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --max: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--primer); outline-offset: 3px; }

.wrap {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; color: var(--on-dark-muted); padding-block: 6px; }
.nav a:hover { color: var(--on-dark); }
.lang { display: flex; font-family: var(--f-mono); font-size: 13px; border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; }
.lang a, .lang span { padding: 4px 9px; text-decoration: none; color: var(--on-dark-muted); }
.lang span { background: var(--on-dark); color: var(--ink); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 20px; border-radius: 4px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primer { background: var(--primer); color: #fff; }
.btn-primer:hover { background: var(--primer-hover); }
.btn-ghost { border-color: rgba(233, 238, 244, .5); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(233, 238, 244, .08); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.08); }
.header-cta { padding: 10px 14px; font-size: 14px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark); color: var(--on-dark); border-radius: 4px; padding: 8px 10px; font: 600 14px var(--f-body); cursor: pointer; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter-r) 16px var(--gutter-l);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .nav .lang { margin-top: 14px; align-self: flex-start; }
  .nav .lang a, .nav .lang span { border-bottom: 0; padding: 6px 12px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 27, 43, .94) 0%, rgba(15, 27, 43, .78) 45%, rgba(15, 27, 43, .25) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 12vw, 132px) 0; }
.tag { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--primer); display: flex; align-items: center; gap: 10px; }
.hero .tag { color: #f08a6f; }
.tag::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 800; line-height: 1.02; margin-top: 18px; max-width: 13ch; font-stretch: 105%; }
.hero h1 em { font-style: normal; color: #f08a6f; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-muted); max-width: 52ch; }
.hero .lead strong { color: var(--on-dark); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.spec-strip {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(233, 238, 244, .22);
}
.spec { padding: 22px 20px 26px 0; border-right: 1px solid rgba(233, 238, 244, .14); min-width: 0; }
.spec + .spec { padding-left: 20px; }
.spec:last-child { border-right: 0; }
.spec b { display: block; font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.spec span { display: block; margin-top: 6px; font-size: 14px; color: var(--on-dark-muted); line-height: 1.4; }
@media (max-width: 720px) {
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec:nth-child(2) { border-right: 0; }
  .spec:nth-child(3) { padding-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid rgba(233, 238, 244, .14); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.08; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 62ch; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark .section-head p { color: var(--on-dark-muted); }
.sheet-bg { background: var(--sheet); }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-copy { display: grid; gap: 18px; font-size: 18px; color: var(--muted); max-width: 60ch; }
.about-copy p:first-of-type { color: var(--text); font-size: 20px; }
.regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.regions span { font-family: var(--f-mono); font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; color: var(--text); background: var(--sheet); }
.figure { position: relative; }
.figure img { width: 100%; height: auto; border-radius: 2px; }
.figure figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* services */
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-dark); }
.step { padding: 28px 26px 32px; border-right: 1px solid var(--line-dark); position: relative; min-width: 0; }
.step:last-child { border-right: 0; }
.step .axis {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--on-dark-muted);
  display: grid; place-items: center; font-family: var(--f-mono); font-size: 14px; color: var(--on-dark);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 46px; width: 16px; height: 16px;
  background: var(--ink); border-top: 1.5px solid var(--primer); border-right: 1.5px solid var(--primer);
  transform: rotate(45deg); z-index: 1;
}
.step h3 { font-size: 22px; margin-top: 20px; font-weight: 700; }
.step .sub { font-family: var(--f-mono); font-size: 13px; color: #f08a6f; margin-top: 6px; }
.step p { margin-top: 14px; color: var(--on-dark-muted); font-size: 16px; }
.special {
  margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0;
  background: var(--ink-2); border: 1px solid var(--line-dark);
}
.special img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.special-body { padding: 30px 30px 34px; display: grid; gap: 12px; align-content: center; }
.special-body h3 { font-size: 24px; font-weight: 700; }
.special-body .sub { font-family: var(--f-mono); font-size: 13px; color: #f08a6f; }
.special-body p { color: var(--on-dark-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips span { font-size: 13.5px; padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 3px; color: var(--on-dark); }
@media (max-width: 860px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .step:last-child { border-bottom: 0; }
  .step:not(:last-child)::after { right: auto; left: 34px; top: auto; bottom: -9px; transform: rotate(135deg); }
  .special { grid-template-columns: minmax(0, 1fr); }
}

/* projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project {
  background: var(--sheet); border: 1px solid var(--line); text-align: left; padding: 0; cursor: pointer;
  font: inherit; color: inherit; display: flex; flex-direction: column; min-width: 0;
  transition: border-color .15s, transform .15s;
}
.project:hover { border-color: var(--ink); transform: translateY(-2px); }
.project .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.project .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project:hover .thumb img { transform: scale(1.03); }
.project .code { position: absolute; left: 12px; top: 12px; font-family: var(--f-mono); font-size: 12px; background: rgba(15, 27, 43, .85); color: #fff; padding: 4px 8px; border-radius: 2px; }
.project .count { position: absolute; right: 12px; bottom: 12px; font-family: var(--f-mono); font-size: 12px; background: rgba(15, 27, 43, .85); color: #fff; padding: 4px 8px; border-radius: 2px; }
.project .body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.project h3 { font-size: 20px; font-weight: 700; line-height: 1.2; }
.project .loc { font-family: var(--f-mono); font-size: 13px; color: var(--primer); }
.project p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: minmax(0, 1fr); } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 22, .92); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) var(--gutter-r) max(16px, env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
.modal-box { background: var(--sheet); width: min(1040px, 100%); max-height: 100%; overflow: auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.gallery { background: var(--ink); display: grid; grid-template-rows: auto auto; min-width: 0; }
.gallery .main { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #0a131f; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; }
.thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--primer); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 28px 28px 30px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.modal-info h3 { font-size: 26px; font-weight: 800; line-height: 1.15; }
.modal-info .loc { font-family: var(--f-mono); font-size: 13px; color: var(--primer); }
.modal-info p { color: var(--muted); }
.modal-info dl { margin: 6px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
.modal-info dt { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.modal-info dd { margin: 0; }
.modal-close { position: absolute; top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); background: var(--sheet); color: var(--ink); border: 0; border-radius: 4px; padding: 8px 12px; font: 600 14px var(--f-body); cursor: pointer; }
@media (max-width: 820px) { .modal-box { grid-template-columns: minmax(0, 1fr); } }

/* why */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; }
.why-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list .ic { width: 44px; height: 44px; border: 1.5px solid var(--ink); display: grid; place-items: center; border-radius: 2px; color: var(--ink); }
.why-list .ic svg { width: 22px; height: 22px; }
.why-list h3 { font-size: 19px; font-weight: 700; }
.why-list p { color: var(--muted); margin-top: 4px; }
.why-figure img { height: auto; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-figure { order: 2; } .why-figure img { aspect-ratio: 16 / 10; } }

/* certs */
.cert-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; }
.cert-col { background: var(--sheet); border: 1px solid var(--line); padding: 26px 26px 28px; min-width: 0; }
.cert-col h3 { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.cert-col ul { list-style: none; margin: 0; padding: 0; }
.cert-col li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.cert-col li:last-child { border-bottom: 0; }
.cert-col li svg { width: 20px; height: 20px; color: var(--primer); margin-top: 2px; }
.cert-col li b { display: block; font-weight: 600; }
.cert-col li small { display: block; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .cert-grid { grid-template-columns: minmax(0, 1fr); } }

/* clients */
.clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--sheet); }
.clients li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 22px 18px; min-height: 120px; }
.clients img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.clients li:hover img { filter: none; opacity: 1; }
.clients-wrap ul { margin: 0; padding: 0; }
@media (max-width: 960px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.contact-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.contact-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-list .k { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); padding-top: 3px; }
.contact-list a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.contact-list a:hover { border-color: var(--on-dark); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* footer: drawing title block */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: 40px max(28px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); }
.titleblock { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-dark); }
.titleblock > div { padding: 16px 18px; border-right: 1px solid var(--line-dark); min-width: 0; }
.titleblock > div:last-child { border-right: 0; }
.titleblock .k { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6f8399; margin-bottom: 6px; }
.titleblock img { height: 34px; width: auto; }
.titleblock p { font-size: 14px; color: var(--on-dark); }
.footnote { margin-top: 18px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 860px) { .titleblock { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .titleblock > div:nth-child(2) { border-right: 0; } .titleblock > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
@media (max-width: 520px) { .titleblock { grid-template-columns: minmax(0, 1fr); } .titleblock > div { border-right: 0; } .titleblock > div + div { border-top: 1px solid var(--line-dark); } }

/* floating WhatsApp */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 28px; height: 28px; }

/* WhatsApp contact card */
.wa-card { background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 14px; align-content: start; }
.wa-number { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.wa-note { color: var(--on-dark-muted); max-width: 46ch; }
.btn-lg { padding: 18px 24px; font-size: 16px; justify-self: start; margin-top: 6px; }
.cert-single { max-width: 860px; }
.cert-single ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
@media (max-width: 720px) { .cert-single ul { grid-template-columns: minmax(0, 1fr); } }

/* keep the photo watermark (bottom-right) visible when images are cropped */
.project .thumb img, .why-figure img, .special img { object-position: right bottom; }

/* ---------- SEO landing pages ---------- */
.more { display: inline-block; margin-top: 14px; font-family: var(--f-mono); font-size: 13px; color: #f08a6f; text-decoration: none; border-bottom: 1px solid currentColor; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
a.project { text-decoration: none; color: inherit; }
.page-hero .wrap { padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 56px); max-width: 22ch; }
.crumbs { font-family: var(--f-mono); font-size: 12.5px; color: var(--on-dark-muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { font-size: 17.5px; color: var(--text); max-width: 72ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.15; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; color: var(--muted); }
.prose b { color: var(--text); font-weight: 600; }
.ticks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--primer); }
.spec-table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15.5px; background: var(--sheet); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--paper); }
.side { display: grid; gap: 18px; position: sticky; top: 92px; }
.side-box { background: var(--sheet); border: 1px solid var(--line); padding: 22px; display: grid; gap: 12px; }
.dark-box { background: var(--ink); color: var(--on-dark-muted); border-color: var(--ink); }
.dark-box .btn { justify-self: start; }
.rel-links { list-style: none; margin: 0; padding: 0; }
.rel-links li { border-top: 1px solid var(--line); }
.rel-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; text-decoration: none; font-weight: 600; }
.rel-links a svg { width: 16px; height: 16px; color: var(--primer); flex-shrink: 0; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 15px; }
.facts dt { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.facts dd { margin: 0; }
.project-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.project-photos figure { margin: 0; }
.project-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: right bottom; }
.project-photos figure:first-child { grid-column: 1 / -1; }
.faq-wrap { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--primer); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 18px; max-width: 70ch; }
.footer-links { margin-top: 18px; }
.footer-links .k { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6f8399; margin-bottom: 8px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--on-dark); font-size: 14px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.subpage .footnote { margin-top: 18px; }
@media (max-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr); } .side { position: static; } }
@media (max-width: 520px) { .project-photos { grid-template-columns: minmax(0, 1fr); } .spec-table { font-size: 14px; } .spec-table th, .spec-table td { padding: 9px 10px; } }
