/* Losung Builders — blueprint palette, Archivo variable type */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #0e1b26;
  --blue: #103456;
  --blue-2: #164873;
  --blue-3: #1d5a8c;
  --line: #8fc1e3;
  --line-soft: rgba(143, 193, 227, .16);
  --zinc: #eef2f5;
  --paper: #ffffff;
  --steel: #556575;
  --rule: #d5dee6;
  --signal: #f5b700;
  --signal-hover: #ffc727;
  --signal-ink: #1c1600;

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.5rem + 1.8vw, 2.625rem);
  --step-4: clamp(2.25rem, 1.6rem + 3.2vw, 4rem);

  --wrap: 1200px;
  --gut: clamp(1.125rem, 4vw, 2.5rem);
  --sec: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 6px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-3); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 {
  font-stretch: 125%;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 760; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; background: var(--signal); color: var(--signal-ink); padding: .6rem 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.measure { max-width: 64ch; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--steel); max-width: 56ch; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem;
  font: 600 1rem/1.2 var(--f); font-stretch: 112%;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: var(--signal-hover); color: var(--signal-ink); }
.btn-line { border-color: currentColor; color: #fff; background: transparent; }
.btn-line:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-ink { background: var(--blue); color: #fff; }
.btn-ink:hover { background: var(--blue-2); color: #fff; }
.btn-ghost { border-color: var(--rule); color: var(--blue); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--blue-3); }
.text-link .ic { transition: transform .2s; }
.text-link:hover .ic { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue);
  border-bottom: 1px solid rgba(143, 193, 227, .22);
}
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: block; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.main-nav a { color: #dbe9f5; text-decoration: none; font-weight: 500; padding: .5rem .8rem; border-radius: var(--radius); display: block; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.nav-contact { display: none; }
.header-call { min-height: 42px; padding: .5rem 1rem; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .header-call { display: none; }
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: transparent; border: 1px solid rgba(143, 193, 227, .35); border-radius: var(--radius);
    color: #fff; cursor: pointer;
  }
  .menu-toggle .ic { width: 24px; height: 24px; }
  .menu-toggle .close, .menu-toggle[aria-expanded="true"] .open { display: none; }
  .menu-toggle[aria-expanded="true"] .close { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--blue);
    background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
    background-size: 28px 28px;
    padding: 1.5rem var(--gut) 6rem;
    display: flex; flex-direction: column; justify-content: space-between;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
    overflow-y: auto;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-size: 1.75rem; font-stretch: 125%; font-weight: 650; padding: .55rem 0; color: #fff; border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: none; color: var(--signal); }
  .nav-contact { display: grid; gap: .5rem; margin-top: 2rem; }
  .nav-contact a { display: flex; align-items: center; gap: .6rem; color: #dbe9f5; font-size: 1.1rem; text-decoration: none; padding: .4rem 0; }
  .nav-contact small { color: var(--line); }
  body.menu-open { overflow: hidden; }
}

/* Blueprint surfaces */
.blueprint {
  position: relative;
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(143, 193, 227, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 193, 227, .2) 1px, transparent 1px),
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
  background-position: -1px -1px;
  color: #fff;
}

/* Hero: blueprint panel + photo */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--blue); }
.hero-copy { display: flex; align-items: center; }
.hero-text { width: 100%; padding: clamp(2rem, 6vw, 4.5rem) var(--gut) clamp(2.25rem, 6vw, 4rem); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 1.1rem; font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); }
.hero .lead { color: #c9ddee; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-services { list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(143, 193, 227, .25); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; }
.hero-services a { display: flex; align-items: center; gap: .55rem; color: #dbe9f5; text-decoration: none; font-size: .95rem; line-height: 1.3; }
.hero-services a:hover { color: #fff; text-decoration: underline; }
.hero-services .ic { color: var(--signal); width: 1.35em; height: 1.35em; }
.hero-photo { margin: 0; position: relative; order: -1; aspect-ratio: 16 / 10; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(16, 52, 86, .55)); pointer-events: none; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(680px, calc(100svh - var(--header-h))); }
  .hero-text { max-width: calc(var(--wrap) / 2); margin-left: auto; padding-right: 3rem; }
  .hero-photo { order: 0; aspect-ratio: auto; }
  .hero-photo::after { background: linear-gradient(90deg, rgba(16, 52, 86, .5), transparent 22%); }
}
@media (max-width: 420px) { .hero-services { grid-template-columns: minmax(0, 1fr); } }
.js .hero-text > * { opacity: 0; transform: translateY(10px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero-text > :nth-child(2) { animation-delay: .08s; }
.js .hero-text > :nth-child(3) { animation-delay: .16s; }
.js .hero-text > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .hero-text > * { animation: none; opacity: 1; transform: none; } }

/* Service grid (home) */
.svc-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-card { display: flex; flex-direction: column; align-items: flex-start; }
.svc-media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--blue); margin-bottom: 1.1rem; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-media img { transform: scale(1.03); }
.svc-ic { position: absolute; left: 1rem; bottom: 1rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius); background: var(--signal); color: var(--signal-ink); }
.svc-ic .ic { width: 28px; height: 28px; }
.svc-ic-inline { position: static; margin-bottom: 1rem; }
.svc-card h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a:hover { color: var(--blue-3); }
.svc-card > p { color: var(--steel); margin-bottom: .8rem; }
.svc-items { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-items li { font-size: var(--step--1); padding: .25rem .65rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--blue); }
.svc-card .text-link { margin-top: auto; }

/* Services page rows */
.svc-rows { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.svc-row { display: grid; gap: 1.5rem 3.5rem; align-items: center; scroll-margin-top: calc(var(--header-h) + 1rem); }
.svc-row-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--blue); }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row h2 { font-size: var(--step-3); margin-bottom: .6rem; }
.svc-row h2 a { color: var(--ink); text-decoration: none; }
.svc-row p { color: var(--steel); max-width: 56ch; }
.svc-row .check-list { margin-bottom: 1.5rem; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .svc-row:nth-child(even) .svc-row-media { order: 2; }
}
.svc-cover { margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; }
.svc-cover img { aspect-ratio: 21 / 9; object-fit: cover; }

/* Split section */
.split { display: grid; gap: 2rem 4rem; align-items: center; }
.split-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* Photo strip (about) */
.photo-strip { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); padding-bottom: var(--sec); }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 700px) { .photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .photo-strip img:not(:first-child) { display: none; } }

/* Lead form band (end of home page) */
.lead-band { padding-block: var(--sec); }
.lead-grid { display: grid; gap: 2.5rem 4rem; align-items: start; }
.lead-copy h2 { color: #fff; }
.lead-copy .lead { color: #c9ddee; }
.lead-points { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.lead-points li { display: flex; gap: .65rem; align-items: center; color: #fff; }
.lead-points .ic { color: var(--signal); width: 1.3em; height: 1.3em; stroke-width: 2.4; }
.lead-direct { display: grid; gap: .35rem; border-top: 1px solid rgba(143, 193, 227, .25); padding-top: 1.25rem; }
.lead-direct a { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 600; padding: .35rem 0; }
.lead-direct a:hover { text-decoration: underline; }
.lead-direct .ic { color: var(--line); }
.lead-direct small { color: var(--line); font-weight: 400; }
.lead-band .form { background: #fff; color: var(--ink); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .5); }
@media (min-width: 960px) { .lead-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .lead-copy { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* Sections */
.section { padding-block: var(--sec); }
.section-zinc { background: var(--zinc); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--steel); }

/* Service rows */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--blue); }
.service-row {
  display: grid; gap: 1rem 2rem;
  grid-template-columns: 64px minmax(0, 1fr);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.service-row .s-icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--blue); color: var(--line); border-radius: var(--radius); }
.service-row .s-icon .ic { width: 34px; height: 34px; stroke-width: 1.4; }
.service-row h3 { font-size: var(--step-2); margin-bottom: .35rem; }
.service-row h3 a { color: var(--ink); text-decoration: none; }
.service-row h3 a:hover { color: var(--blue-3); }
.service-row p { color: var(--steel); margin-bottom: .75rem; max-width: 60ch; }
.service-row ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.service-row ul li { font-size: var(--step--1); padding: .25rem .65rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--blue); background: #fff; }
.service-row > ul, .service-row .s-go { grid-column: 2; }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; }
  .service-row .s-icon { width: 72px; height: 72px; }
  .service-row > ul, .service-row .s-go { grid-column: auto; }
}

/* Process steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 1.5rem 0 1.5rem 3.75rem; border-top: 1px solid var(--rule); }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1.4rem;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 2px solid var(--blue); border-radius: 50%;
  font-weight: 700; font-stretch: 125%; color: var(--blue);
}
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--steel); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps li { padding: 4rem 0 0; border-top: 2px solid var(--blue); }
  .steps li::before { top: -1.3rem; left: 0; background: var(--zinc); }
}

/* Founder */
.founder { display: grid; gap: 2rem; align-items: center; }
.founder-photo { position: relative; max-width: 420px; }
.founder-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.founder-photo::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 2px solid var(--blue); border-radius: var(--radius);
}
.founder-name { font-size: var(--step-2); margin: 0 0 .2rem; }
.founder-role { color: var(--steel); margin-bottom: 1.25rem; }
.founder-lede { font-size: var(--step-1); line-height: 1.45; border-left: 3px solid var(--signal); padding-left: 1.1rem; margin-bottom: 1.25rem; max-width: 46ch; }
@media (min-width: 900px) { .founder { grid-template-columns: 420px 1fr; gap: 4.5rem; } }

/* Post cards */
.post-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; }
.post-card .pc-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--blue); margin-bottom: 1rem; }
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .pc-media img { transform: scale(1.03); }
.pc-badge { position: absolute; left: .6rem; bottom: .6rem; display: inline-flex; gap: .35rem; align-items: center; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(16, 52, 86, .85); padding: .25rem .55rem; border-radius: 4px; }
.pc-badge .ic { width: .95em; height: .95em; }
.pc-placeholder { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.1rem; color: #fff; font-weight: 700; font-stretch: 125%; font-size: 1.25rem; line-height: 1.2;
  background-color: var(--blue);
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 22px 22px; }
.pc-placeholder svg { position: absolute; right: 8%; top: 14%; width: 54%; height: auto; color: var(--line); opacity: .75; stroke-width: 1; }
.pc-meta { font-size: var(--step--1); color: var(--steel); margin-bottom: .35rem; }
.pc-meta a { color: var(--blue-3); text-decoration: none; font-weight: 600; }
.post-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue-3); }
.post-card p { color: var(--steel); font-size: .98rem; margin: 0; }
.empty { padding: 2.5rem; border: 2px dashed var(--rule); border-radius: var(--radius); text-align: center; color: var(--steel); }

/* Areas + map */
.areas { display: grid; gap: 2rem; }
.area-tags { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.area-tags li { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; background: #fff; border: 1px solid var(--rule); border-radius: 999px; font-size: .95rem; }
.area-tags .ic { color: var(--blue-3); width: 1em; height: 1em; }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); min-height: 320px; background: var(--zinc); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame .map-load { position: absolute; inset: 0; display: grid; place-content: center; gap: .75rem; text-align: center; padding: 1rem;
  background-color: var(--blue); color: #fff;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 28px 28px; }
.map-frame .map-load p { margin: 0; color: #c9ddee; }
@media (min-width: 900px) { .areas { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; } }

/* FAQ */
.faq { border-top: 2px solid var(--blue); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 650; font-stretch: 112%; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 1.15rem; margin: 0; color: var(--steel); max-width: 68ch; }

/* CTA band + footer */
.cta-band { background: var(--signal); color: var(--signal-ink); }
.cta-inner { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); align-items: center; }
.cta-band h2 { margin-bottom: .35rem; font-size: var(--step-3); }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-signal { background: var(--blue); color: #fff; }
.cta-band .btn-signal:hover { background: var(--blue-2); }
.cta-band .btn-line { color: var(--signal-ink); }
.cta-band .btn-line:hover { background: rgba(0, 0, 0, .06); color: var(--signal-ink); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }

.site-footer { background: #0b2740; color: #b9cfe1; font-size: .97rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem 2rem; }
.f-brand img { height: 46px; width: auto; margin-bottom: 1.1rem; }
.f-brand p { max-width: 42ch; }
.f-social { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer a { color: #e3eef7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-social a { display: inline-flex; gap: .45rem; align-items: center; }
.f-head { font-size: 1rem; font-stretch: 112%; color: #fff; margin: 0 0 .75rem; }
.f-head:not(:first-child) { margin-top: 1.75rem; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.f-address { font-style: normal; }
.f-address p { display: flex; gap: .7rem; margin-bottom: .85rem; }
.f-address .ic { margin-top: .2rem; color: var(--line); }
.f-address small { color: #8fb0cb; margin-left: .25rem; }
.f-areas { font-size: .9rem; color: #8fb0cb; }
.f-areas p { border-top: 1px solid rgba(143, 193, 227, .15); padding-top: 1.25rem; }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .875rem; color: #8fb0cb; }
.f-base p { margin: 0 0 1rem; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 3rem; }
}

/* Mobile action bar */
.action-bar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--blue); border-top: 1px solid rgba(143, 193, 227, .25);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, .35);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: 60px; min-width: 0; padding: .45rem .25rem;
  color: #fff; text-decoration: none;
  font-size: .8125rem; font-weight: 600; line-height: 1.1; letter-spacing: .01em; white-space: nowrap;
}
.action-bar a .ic { width: 22px; height: 22px; }
.action-bar a + a { border-left: 1px solid rgba(143, 193, 227, .18); }
.action-bar a:active { background: rgba(255, 255, 255, .08); }
.action-bar .ab-main { background: var(--signal); color: var(--signal-ink); border-left: 0; }
.action-bar .ab-main:active { background: var(--signal-hover); }
@media (min-width: 900px) { .action-bar { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(2.25rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #c9ddee; }
.crumbs { font-size: var(--step--1); margin-bottom: 1.25rem; color: #a9c7e0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: rgba(143, 193, 227, .6); }
.crumbs a { color: #dbe9f5; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: #a9c7e0; }

/* Service detail */
.svc-layout { display: grid; gap: 3rem; }
.svc-layout .prose { max-width: 66ch; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: .15rem; top: .35em; width: .85rem; height: .5rem; border-left: 2.5px solid var(--blue-3); border-bottom: 2.5px solid var(--blue-3); transform: rotate(-45deg); }
.side-box { background: var(--zinc); border-radius: var(--radius); padding: 1.5rem; align-self: start; }
.side-box h2 { font-size: 1.2rem; }
.side-box .btn { width: 100%; justify-content: center; margin-bottom: .6rem; }
.side-box ul { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--rule); display: grid; gap: .5rem; }
.side-box ul a { text-decoration: none; font-weight: 500; }
.side-box ul a[aria-current] { color: var(--ink); font-weight: 700; }
@media (min-width: 900px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; } .side-box { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Prose (blog + about) */
.prose { font-size: 1.1rem; line-height: 1.7; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose img, .prose video, .prose iframe { border-radius: var(--radius); margin: 1.75rem 0; width: 100%; }
.prose iframe { aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose figure { margin: 1.75rem 0; }
.prose figure img, .prose figure video { margin: 0; }
.prose figcaption { font-size: var(--step--1); color: var(--steel); margin-top: .5rem; }
.prose blockquote { margin: 1.75rem 0; padding-left: 1.2rem; border-left: 3px solid var(--signal); font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--rule); padding: .55rem .75rem; text-align: left; vertical-align: top; }
.prose th { background: var(--zinc); }

/* Blog list */
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip { display: inline-block; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--rule); text-decoration: none; color: var(--blue); font-weight: 500; font-size: .95rem; }
.chip:hover { border-color: var(--blue); }
.chip[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 .8rem; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; }
.pager [aria-current] { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Single post */
.post-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3rem); }
.post-hero h1 { font-size: clamp(2rem, 1.5rem + 2.6vw, 3.25rem); max-width: 22ch; color: #fff; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: #a9c7e0; font-size: var(--step--1); }
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-meta a { color: #fff; }
.post-cover { margin-top: clamp(-2rem, -3vw, -1rem); position: relative; z-index: 1; }
.post-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.post-body { display: grid; gap: 2.5rem; padding-block: clamp(2rem, 5vw, 3.5rem) var(--sec); }
.toc { font-size: .95rem; }
.toc h2 { font-size: 1rem; font-stretch: 112%; margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.toc a { text-decoration: none; }
@media (min-width: 1000px) { .post-body { grid-template-columns: minmax(0, 720px) 1fr; gap: 4rem; } .post-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; } }
.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin: 2rem 0; }
.gallery button { padding: 0; border: 0; background: var(--blue); cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; position: relative; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(16, 52, 86, .25); }
.gallery .g-play .ic { width: 52px; height: 52px; fill: #fff; stroke: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.share span { font-weight: 600; margin-right: .5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.tags li { font-size: .85rem; padding: .2rem .6rem; background: var(--zinc); border-radius: 4px; color: var(--steel); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 18, 30, .94); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 100%; width: auto; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.5rem; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }

/* About */
.about-intro { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-intro { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.fact-list { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--blue); }
.fact-list div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.fact-list dt { font-weight: 650; font-stretch: 112%; }
.fact-list dd { margin: 0; color: var(--steel); }
@media (max-width: 520px) { .fact-list div { grid-template-columns: 1fr; gap: .15rem; } }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; } }
.contact-cards { display: grid; gap: 0; border-top: 2px solid var(--blue); }
.contact-cards > div { display: grid; grid-template-columns: 2.75rem 1fr; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.contact-cards .cc-ic { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--blue); color: var(--line); border-radius: var(--radius); }
.contact-cards h3 { font-size: 1rem; font-stretch: 112%; margin: 0 0 .2rem; }
.contact-cards p { margin: 0; }
.contact-cards a { font-weight: 600; text-decoration: none; }
.contact-cards small { color: var(--steel); }

.form { display: grid; gap: 1.1rem; background: var(--zinc); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius); }
.form h2 { font-size: var(--step-2); margin: 0; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--steel); }
.field .hint.err { color: #c62828; font-weight: 600; }
.form-note { margin: 0; font-size: .875rem; color: var(--steel); }
.form > .btn { justify-self: start; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .85rem; min-height: 48px;
  border: 1.5px solid #b9c7d3; border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-3); box-shadow: 0 0 0 3px rgba(29, 90, 140, .18); }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.15rem; border-radius: var(--radius); border-left: 4px solid; }
.notice-ok { background: #e8f6ee; border-color: #1f8a4c; }
.notice-err { background: #fdecec; border-color: #c62828; }
.notice p:last-child { margin: 0; }

/* 404 */
.notfound { text-align: left; padding-block: var(--sec); }
.notfound h1 { color: #fff; }

/* ================================================================== */
/* Home v3: slideshow hero, counters, ticker, service tiles, projects  */
/* ================================================================== */
.hero-x { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: #fff;
  min-height: min(760px, calc(100svh - var(--header-h))); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; }
.hero-slide:first-child { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-x::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 39, 64, .35) 0%, rgba(11, 39, 64, .2) 30%, rgba(11, 39, 64, .82) 72%, rgba(11, 39, 64, .95) 100%); }
@media (min-width: 900px) {
  .hero-x::before { background: linear-gradient(90deg, rgba(11, 39, 64, .92) 0%, rgba(11, 39, 64, .7) 42%, rgba(11, 39, 64, .1) 75%), linear-gradient(0deg, rgba(11, 39, 64, .5), transparent 40%); }
  .hero-x { justify-content: center; }
}
.hero-x-inner { padding-block: clamp(9rem, 30vh, 14rem) clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 900px) { .hero-x-inner { padding-block: 4rem 5rem; } }
.hero-x h1 { color: #fff; max-width: 16ch; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.25rem); line-height: 1.04; margin-bottom: 1.1rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-x .lead { color: #dbe9f5; max-width: 50ch; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px;
  background: rgba(245, 183, 0, .16); border: 1px solid rgba(245, 183, 0, .55); color: #fff; font-weight: 600; font-size: .95rem; backdrop-filter: blur(6px); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(245, 183, 0, .6); }
.hero-dots { position: absolute; right: var(--gut); bottom: 1.5rem; display: flex; gap: .4rem; }
.hero-dots span { width: 28px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero-dots span::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left; }

/* Slideshow motion: 4 slides x 6s, crossfade + slow zoom */
@media (prefers-reduced-motion: no-preference) {
  .hero-slide { animation: slide-fade 24s infinite; animation-delay: calc(var(--i) * 6s - 1s); }
  .hero-slide:first-child { animation-delay: -1s; }
  .hero-slide img { animation: slide-zoom 24s infinite linear; animation-delay: inherit; transform-origin: 60% 50%; }
  .hero-dots span::after { animation: dot-fill 24s infinite linear; animation-delay: calc(var(--i) * 6s); }
  .pulse { animation: pulse 2s infinite; }
  .js .hero-x-inner > * { opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .hero-x-inner > :nth-child(2) { animation-delay: .1s; }
  .js .hero-x-inner > :nth-child(3) { animation-delay: .22s; }
  .js .hero-x-inner > :nth-child(4) { animation-delay: .34s; }
}
@keyframes slide-fade { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slide-zoom { 0% { transform: scale(1.02); } 29% { transform: scale(1.14); } 100% { transform: scale(1.14); } }
@keyframes dot-fill { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 25.01%, 100% { transform: scaleX(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 183, 0, .6); } 70% { box-shadow: 0 0 0 12px rgba(245, 183, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 183, 0, 0); } }

/* Stats */
.stats { background: var(--signal); color: var(--signal-ink); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.stat { text-align: center; }
.stat + .stat { border-left: 1px solid rgba(28, 22, 0, .18); }
.stat-num { margin: 0; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.75rem); font-weight: 800; font-stretch: 125%; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { margin: .45rem 0 0; font-size: clamp(.8rem, .7rem + .4vw, 1rem); font-weight: 600; line-height: 1.3; }

/* Ticker */
.ticker { overflow: hidden; background: var(--blue); color: #dbe9f5; border-bottom: 1px solid rgba(143, 193, 227, .2); }
.ticker-track { display: flex; width: max-content; gap: 2.5rem; padding-block: 1rem; }
.ticker-track span { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; font-weight: 600; font-stretch: 112%; }
.ticker-track .ic { color: var(--signal); width: 1.3em; height: 1.3em; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: ticker 50s linear infinite; } .ticker:hover .ticker-track { animation-play-state: paused; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Service tiles */
.group-title { font-size: var(--step-1); margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 2px solid var(--blue); }
.group-title:first-of-type { margin-top: 0; }
.svc-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.svc-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--blue); color: #fff; text-decoration: none; }
.svc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.svc-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 39, 64, 0) 30%, rgba(11, 39, 64, .92) 85%); transition: background .4s; }
.svc-tile-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.25rem; display: grid; gap: .45rem; }
.svc-tile-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: var(--signal); color: var(--signal-ink); }
.svc-tile-ic .ic { width: 24px; height: 24px; }
.svc-tile-name { font-weight: 700; font-stretch: 118%; font-size: 1.2rem; line-height: 1.2; }
.svc-tile-short { font-size: .92rem; color: #c9ddee; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s ease, opacity .3s; }
.svc-tile:hover img, .svc-tile:focus-visible img { transform: scale(1.07); }
.svc-tile:hover .svc-tile-short, .svc-tile:focus-visible .svc-tile-short { max-height: 6em; opacity: 1; }
.svc-tile:hover::after { background: linear-gradient(180deg, rgba(11, 39, 64, .1) 10%, rgba(11, 39, 64, .95) 80%); }
@media (hover: none) { .svc-tile-short { max-height: none; opacity: 1; } .svc-tile { aspect-ratio: 4 / 3.6; } }
@media (max-width: 639px) { .svc-tile { aspect-ratio: 16 / 11; } }
.center-link { text-align: center; margin: 2.5rem 0 0; }

/* Ink section with overlapping photos */
.section-ink { background: #0b2740; color: #dbe9f5; }
.section-ink h2 { color: #fff; }
.section-ink .check-list li::before { border-color: var(--signal); }
.duo { position: relative; padding: 0 12% 18% 0; }
.duo img { width: 100%; object-fit: cover; border-radius: 10px; }
.duo-a img { aspect-ratio: 4 / 3; }
.duo-b { position: absolute; right: 0; bottom: 0; width: 52%; border: 6px solid #0b2740; border-radius: 14px; }
.duo-b img { aspect-ratio: 1; }
@media (prefers-reduced-motion: no-preference) { .duo-b { animation: float 7s ease-in-out infinite; } }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Reveal on scroll (only hides content when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .svc-tiles .reveal:nth-child(2) { transition-delay: .08s; }
.js .svc-tiles .reveal:nth-child(3) { transition-delay: .16s; }
.js .svc-tiles .reveal:nth-child(4) { transition-delay: .24s; }
.js .svc-tiles .reveal:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Project cards */
.proj-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.proj-card { display: flex; flex-direction: column; }
.proj-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--blue); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.proj-card:hover .proj-media img { transform: scale(1.05); }
.proj-status { position: absolute; left: .7rem; top: .7rem; font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 4px; background: #1f8a4c; color: #fff; }
.proj-status-ongoing { background: var(--signal); color: var(--signal-ink); }
.proj-count { position: absolute; right: .7rem; bottom: .7rem; font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 4px; background: rgba(11, 39, 64, .85); color: #fff; }
.proj-body { padding-top: .9rem; }
.proj-meta { display: flex; align-items: center; gap: .35rem; margin: 0 0 .3rem; font-size: .9rem; color: var(--steel); }
.proj-meta .ic { width: 1em; height: 1em; color: var(--blue-3); }
.proj-card h3, .proj-card h2 { font-size: 1.25rem; margin: 0 0 .3rem; }
.proj-card h3 a, .proj-card h2 a { color: var(--ink); text-decoration: none; }
.proj-card h3 a:hover, .proj-card h2 a:hover { color: var(--blue-3); }
.proj-svcs { margin: 0; font-size: .9rem; color: var(--steel); }

/* Project detail */
.proj-facts { margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 2px solid var(--blue); }
.proj-facts div { padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--rule); }
.proj-facts dt { font-size: .85rem; color: var(--steel); }
.proj-facts dd { margin: .15rem 0 0; font-weight: 650; font-stretch: 112%; }
.proj-gallery { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin: 0 0 2rem; }
.proj-gallery button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: var(--blue); aspect-ratio: 4 / 3; position: relative; }
.proj-gallery button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.proj-gallery img, .proj-gallery video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj-gallery button:hover img { transform: scale(1.04); }
.proj-gallery .g-play { position: absolute; inset: 0; display: grid; place-items: center; }
.proj-gallery .g-play .ic { width: 52px; height: 52px; fill: #fff; stroke: none; }

/* Founders (about) */
.founders { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); max-width: 980px; }
@media (min-width: 800px) { .founders .founder-card { grid-template-columns: 400px 1fr; gap: 3rem; align-items: center; } }
.founder-card { display: grid; gap: 1.25rem; align-content: start; }
.founder-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.founder-card h3 { font-size: var(--step-2); margin: 0; }
.founder-card .founder-role { margin: .2rem 0 .6rem; }
.founder-card p { margin: 0 0 1rem; }

/* Wider nav needs a little less padding */
@media (min-width: 961px) and (max-width: 1180px) { .main-nav a { padding: .5rem .55rem; font-size: .95rem; } .header-call span { display: none; } }

.f-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; font-size: .92rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.1fr 1.4fr 1.1fr; } }
.svc-rows-compact { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-bottom: 1rem; }
.svc-rows-compact .svc-card h3 { font-size: 1.35rem; }
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1.25fr 1fr 1fr; gap: .25rem; }
  .stat-num { font-size: clamp(1.55rem, 7.4vw, 2.1rem); font-stretch: 112%; }
  .stat-label { font-size: .75rem; }
}
