@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../../bundle-assets/54b380b2-fdd4-40c6-8a6f-59a53828ab12.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../../bundle-assets/ebd165ca-1304-4e99-a1c4-6f8ee2e17813.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../bundle-assets/bed65832-04ed-4463-a4c7-27ca2e7a4118.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../bundle-assets/56140b6c-c952-47aa-897e-237bbb66229a.woff2") format("woff2");
}

:root {
  --ink: #17140e;
  --night: #07122f;
  --blue: #1d4ed8;
  --gold: #c89200;
  --yellow: #f6c343;
  --paper: #f7f3ea;
  --white: #fff;
  --muted: #625d50;
  --line: rgba(23, 20, 14, 0.18);
  --max: 1240px;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "Bricolage Grotesque", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-label: var(--font-ui);
  --space-label-title: 24px;
  --space-title-copy: 20px;
  --space-card-label-title: 16px;
  --space-copy-action: 28px;
  --type-label: 12px;
  --type-body: 17px;
  --type-section-title: clamp(32px, 3vw, 42px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4,
.button,
.header-cta {
  font-family: var(--font-heading);
}
.button,
.header-cta { font-family: var(--font-ui); font-weight: 700; letter-spacing: 0; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 var(--space-label-title);
  color: var(--night);
  font-family: var(--font-label);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--yellow); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}
.section-heading h2,
.text-block h2,
.split-copy h2,
.projects-heading h2,
.faq-heading h2 {
  margin: 0;
  font-size: var(--type-section-title);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); font-size: var(--type-body); font-weight: 500; line-height: 1.5; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 20, 14, 0.16);
  background: rgba(247, 243, 234, 0.97);
  box-shadow: 0 2px 18px rgba(23, 20, 14, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-topbar { width: 100%; background: var(--night); color: var(--white); }
.site-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; }
.site-topbar a { color: rgba(255,255,255,.88); text-decoration: none; transition: color 160ms ease, background 160ms ease; }
.site-topbar a:hover, .site-topbar a:focus-visible { color: var(--yellow); outline: 0; }
.site-topbar-contact, .site-topbar-links { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.site-topbar-links > a:not(.site-social-link) { padding: 4px 0; }
.site-topbar-links > a:not(.site-social-link):hover { text-decoration: underline; text-underline-offset: 3px; }
.site-topbar-divider { width: 1px; height: 15px; margin: 0 2px; background: rgba(255,255,255,.32); }
.site-social-link { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: var(--white) !important; font-size: 11px; font-weight: 800; line-height: 1; }
.site-social-link:hover, .site-social-link:focus-visible { border-color: var(--yellow); background: var(--yellow); color: var(--night) !important; }
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand img { width: 205px; height: auto; }
.brand span {
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { background: rgba(23, 20, 14, 0.08); }
.nav-service { position: relative; }
.nav-service-toggle { height: 42px; display: inline-flex; align-items: center; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 800; cursor: pointer; }
.nav-service-toggle:hover, .nav-service-toggle:focus-visible, .nav-service.is-open .nav-service-toggle { background: rgba(23, 20, 14, 0.08); outline: 0; }
.nav-service-toggle span { margin-left: 7px; font-size: 19px; line-height: 1; }
.services-mega { position: fixed; top: 102px; left: 50%; z-index: 60; display: grid; grid-template-columns: 290px minmax(520px, 1fr); width: min(1180px, calc(100vw - 48px)); border: 2px solid var(--ink); background: var(--white); box-shadow: 9px 9px 0 var(--ink); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
.nav-service.is-open .services-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.services-mega-family { padding: 16px; border-right: 2px solid var(--ink); background: var(--paper); }
.services-mega-family p { margin: 4px 10px 12px; color: var(--muted); font: 600 11px/1 var(--font-label); letter-spacing: .08em; text-transform: uppercase; }
.services-mega-family a,
.services-mega-family button { display: block; width: 100%; height: auto; padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; }
.services-mega-family a:hover,
.services-mega-family button:hover,
.services-mega-family button:focus-visible,
.services-mega-family .services-mega-family-link.is-active { background: var(--yellow); outline: 0; }
.services-mega-links { padding: 30px 38px; }
.services-mega-links > .eyebrow { margin-bottom: 18px; }
.services-mega-links > div { display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; }
.services-mega-links > div a { height: auto; min-height: 43px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 700; }
.services-mega-links > div a::before { content: "→"; margin-right: 10px; color: var(--gold); font-size: 22px; font-weight: 400; }
.services-mega-links > div a:hover { color: var(--blue); }
.services-mega-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; margin-top: 24px; padding: 11px 16px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); font-family: var(--font-ui) !important; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.menu-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(7, 18, 47, .34); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms ease, visibility 160ms ease; }
.menu-scrim.is-visible { opacity: 1; visibility: visible; }
body.mega-open { overflow: hidden; }
.header-search {
  display: flex;
  align-items: stretch;
  width: min(210px, 16vw);
  min-width: 170px;
  height: 42px;
  border: 1px solid rgba(23, 20, 14, 0.26);
  background: var(--white);
}
.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 10px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
}
.header-search input:focus { outline: 2px solid var(--blue); outline-offset: -2px; }
.header-search button {
  width: 38px;
  border: 0;
  border-left: 1px solid rgba(23, 20, 14, 0.18);
  background: transparent;
  color: var(--night);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 23px;
  line-height: 1;
}
.header-search button:hover { background: var(--yellow); }
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.header-cta:hover,
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.header-cta {
  min-height: 46px;
  height: 46px;
  padding: 0 18px;
  background: var(--yellow);
  font-weight: 700;
}
.button.dark { background: var(--night); color: var(--white); }
.button.blue { background: var(--blue); color: var(--white); }
.button.ghost { background: transparent; color: var(--white); border-color: var(--white); box-shadow: 4px 4px 0 var(--white); }
.button { font-family: var(--font-ui); font-weight: 700; letter-spacing: 0; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-weight: 900;
}

.breadcrumbs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--night);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin-left: 7px;
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
}
.breadcrumbs li[aria-current="page"] { color: var(--yellow); }
.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.breadcrumbs a:hover,
.breadcrumbs a:focus-visible { text-decoration: underline; }

/* Shared templates use the singular class; keep its treatment identical. */
.breadcrumb {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--night);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 11px 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li:last-child { color: var(--yellow); }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; outline: 0; }

.family-hero,
.detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}
.family-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 0 47%;
  background: var(--hero-image) center / cover no-repeat;
  opacity: 0.58;
}
.family-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--night) 0%, var(--night) 42%, rgba(7, 18, 47, 0.84) 62%, rgba(7, 18, 47, 0.28) 100%);
}
.hero-content { padding-block: 85px 76px; }
.family-hero h1,
.detail-hero h1 {
  max-width: 850px;
  margin: 0 0 var(--space-title-copy);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}
.family-hero .lead,
.detail-hero .lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: var(--space-copy-action); }
.hero-note {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  max-width: 210px;
  padding: 13px 16px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-2deg);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.intro-band { padding: 76px 0; border-bottom: 2px solid var(--ink); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(45px, 8vw, 110px);
}
.intro-grid h2 { margin: 0; font-size: var(--type-section-title); font-weight: 800; line-height: 1.08; letter-spacing: 0; }
.intro-copy p { margin: 0 0 var(--space-title-copy); color: var(--muted); font-size: var(--type-body); font-weight: 500; line-height: 1.55; }
.intro-copy strong { color: var(--ink); }
.inline-link { font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.services-section { padding: 88px 0 105px; background: var(--white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--night);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.service-card:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--night); }
.service-card-media { height: 225px; overflow: hidden; background: var(--night); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.service-card:hover img { transform: scale(1.035); }
.service-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.card-number {
  color: var(--gold);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service-card h2,
.service-card h3 { margin: var(--space-card-label-title) 0 10px; font-size: 22px; font-weight: 800; line-height: 1.12; letter-spacing: 0; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.5; }
.card-link { margin-top: auto; padding-top: 22px; color: var(--blue); font-weight: 900; }
.service-card.featured { grid-column: span 2; background: var(--night); color: var(--white); }
.service-card.featured .service-card-media { height: 285px; }
.service-card.featured p { color: rgba(255, 255, 255, 0.72); }
.service-card.featured .card-link { color: var(--yellow); }

.expertise-section { padding: 85px 0; border-block: 2px solid var(--ink); background: var(--yellow); }
.expertise-section .section-heading { grid-template-columns: minmax(0, 1060px); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.expertise-item { padding: 10px 34px; border-right: 2px solid var(--ink); }
.expertise-item:first-child { padding-left: 0; }
.expertise-item:last-child { padding-right: 0; border-right: 0; }
.expertise-item span { font: 600 13px/1 var(--font-label); letter-spacing: 0.08em; }
.expertise-item h3 { margin: 18px 0 10px; font-size: 23px; line-height: 1.1; }
.expertise-item p { margin: 0; font-size: var(--type-body); font-weight: 500; line-height: 1.5; }
.expertise-section .eyebrow { color: var(--night); white-space: nowrap; }

.projects-section { padding: 90px 0 105px; background: var(--night); color: var(--white); }
.latest-projects { padding: 72px 0 84px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.latest-projects .projects-heading { margin-bottom: 30px; }
.latest-projects .text-link { color: var(--blue); }
.latest-projects .project-card { border-color: var(--ink); }
.latest-projects .project-card:first-child div { background: var(--yellow); }
.projects-search-compact { margin: 0 0 28px; }
.projects-search select {
  min-width: 245px;
  min-height: 50px;
  padding: 0 42px 0 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: 600 15px/1 var(--font-body);
}
.latest-projects .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.latest-projects .project-card,
.latest-projects .project-card:first-child {
  display: block;
  grid-column: auto;
}
.latest-projects .project-card img,
.latest-projects .project-card:first-child img { height: 250px; }
.latest-projects .project-card div,
.latest-projects .project-card:first-child div { min-height: 190px; padding: 22px; background: var(--white); }
.latest-projects .project-card:first-child span { color: var(--gold); }
.latest-projects .project-card:first-child .project-card-link { color: var(--blue); }

/* Catalogue: a shop-like grid where every project has the same visual weight. */
.projects-catalogue .project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.projects-catalogue .project-card,
.projects-catalogue .project-card:first-child {
  display: block;
  grid-column: auto;
}
.projects-catalogue .project-card img,
.projects-catalogue .project-card:first-child img {
  height: 225px;
  aspect-ratio: auto;
  object-fit: cover;
}
.projects-catalogue .project-card div,
.projects-catalogue .project-card:first-child div {
  min-height: 178px;
  padding: 20px;
  background: var(--white);
}
.projects-catalogue .project-card:first-child span { color: var(--gold); }
.projects-catalogue .project-card h2,
.projects-catalogue .project-card:first-child h2 { font-size: 19px; }
.projects-catalogue .project-card:first-child .project-card-link { color: var(--blue); }

@media (max-width: 1180px) {
  .projects-catalogue .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .projects-catalogue .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .projects-catalogue .project-grid { grid-template-columns: 1fr; }
  .projects-catalogue .project-card img,
  .projects-catalogue .project-card:first-child img { height: 245px; object-fit: cover; }
}

/* Home rebuilt from the approved standalone mock-up. */
.services-mega-panels { min-width: 0; }
.services-mega-panels > .services-mega-links { display: none; }
.services-mega-panels > .services-mega-links.is-active { display: block; }

.home-slider {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.home-slide { display: none; min-height: 640px; }
.home-slide.is-active { display: grid; animation: home-fade .45s ease both; }
.home-slide-intro { align-items: center; padding: 64px 0 76px; }
.home-intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.home-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--muted); font: 600 12px/1.3 var(--font-label); letter-spacing: .1em; text-transform: uppercase; }
.home-kicker span { width: 9px; height: 9px; border-radius: 50%; background: var(--night); }
.home-intro-copy h1 { max-width: 770px; margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: .98; }
.home-intro-copy .lead { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 1.65vw, 21px); font-weight: 500; line-height: 1.5; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; }
.home-outline-button { background: transparent; box-shadow: none; }
.home-outline-button:hover { background: var(--white); box-shadow: none; }
.home-process { margin: 28px 0 0; color: var(--muted); font: 600 12px/1.4 var(--font-label); letter-spacing: .08em; text-transform: uppercase; }
.home-process span { margin-inline: 9px; color: var(--gold); }
.home-poster { position: relative; width: min(100%, 410px); justify-self: center; }
.home-poster-sheet { min-height: 500px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 2px solid var(--ink); background: var(--blue); box-shadow: 12px 12px 0 var(--ink); transform: rotate(-2deg); }
.home-poster-meta { display: flex; justify-content: space-between; color: rgba(255,255,255,.76); font: 600 11px/1 var(--font-label); letter-spacing: .08em; }
.home-poster-sheet > p { margin: auto 0; color: var(--paper); font-family: var(--font-heading); font-size: clamp(42px, 4.5vw, 58px); font-weight: 800; line-height: .9; }
.home-poster-sheet strong { color: var(--yellow); }
.home-swatches { display: flex; gap: 8px; }
.home-swatches i { width: 28px; height: 28px; border: 2px solid var(--ink); background: var(--night); }
.home-swatches i:nth-child(2) { background: var(--yellow); }
.home-swatches i:nth-child(3) { background: #0b2f6f; }
.home-swatches i:nth-child(4) { background: var(--paper); }
.home-sticker { position: absolute; top: -24px; right: -18px; width: 82px; height: 82px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); font-family: var(--font-heading); font-size: 12px; font-weight: 800; line-height: 1; text-align: center; transform: rotate(10deg); }
.home-slide-banner { place-items: center; background: #ece7dc; }
.home-slide-banner img { width: 100%; height: 640px; object-fit: contain; object-position: center; }
.home-slider-controls { position: absolute; z-index: 4; right: 0; bottom: 18px; left: 0; display: flex; justify-content: center; align-items: center; gap: 14px; pointer-events: none; }
.home-slider-controls button { pointer-events: auto; cursor: pointer; }
.home-slider-arrow { width: 38px; height: 38px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-weight: 800; }
.home-slider-arrow:hover { background: var(--yellow); }
.home-slider-dots { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: rgba(247,243,234,.9); }
.home-slider-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; }
.home-slider-dots button.is-active { background: var(--blue); }
@keyframes home-fade { from { opacity: .18; } to { opacity: 1; } }

.home-services { padding: 92px 0 100px; background: var(--paper); }
.home-section-heading { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 390px); justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 44px; }
.home-section-heading h2 { max-width: 760px; margin: 0; font-size: var(--type-section-title); line-height: 1.04; }
.home-section-heading > p { margin: 0; color: var(--muted); font-size: var(--type-body); font-weight: 500; }
.home-service-list { border-bottom: 2px solid var(--ink); }
.home-service-list > a { display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; gap: 18px; align-items: center; padding: 24px 18px; border-top: 2px solid var(--ink); color: var(--ink); text-decoration: none; transition: padding .18s ease, background .18s ease, color .18s ease; }
.home-service-list > a > span:first-child { color: var(--muted); font: 600 12px/1 var(--font-label); }
.home-service-list strong { display: block; font-family: var(--font-heading); font-size: clamp(23px, 2.5vw, 31px); line-height: 1; }
.home-service-list small { display: block; margin-top: 8px; color: currentColor; opacity: .65; font: 600 11px/1.4 var(--font-label); letter-spacing: .05em; text-transform: uppercase; }
.home-service-list b { font-size: 30px; font-weight: 400; text-align: right; }
.home-service-list > a:nth-child(4n+1):hover { background: var(--night); color: var(--white); }
.home-service-list > a:nth-child(4n+2):hover { background: var(--blue); color: var(--white); }
.home-service-list > a:nth-child(4n+3):hover { background: #0b2f6f; color: var(--white); }
.home-service-list > a:nth-child(4n):hover { background: var(--yellow); color: var(--ink); }
.home-service-list > a:hover { padding-left: 30px; }
.home-service-list > a:hover > span:first-child { color: currentColor; }
.home-marquee { overflow: hidden; padding: 14px 0; border-block: 2px solid var(--ink); background: var(--ink); color: var(--white); }
.home-marquee > div { display: flex; width: max-content; animation: home-marquee 28s linear infinite; font-family: var(--font-heading); font-size: 21px; font-weight: 700; white-space: nowrap; }
.home-marquee span { padding-right: 12px; }
@keyframes home-marquee { to { transform: translateX(-50%); } }

.home-facts { border-bottom: 2px solid var(--ink); background: var(--yellow); }
.home-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-facts-grid > div { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 24px clamp(18px, 3vw, 40px); border-right: 2px solid var(--ink); }
.home-facts-grid > div:first-child { padding-left: 0; }
.home-facts-grid > div:last-child { border-right: 0; }
.home-facts strong { font-family: var(--font-heading); font-size: clamp(36px, 3.5vw, 50px); line-height: 1; white-space: nowrap; }
.home-facts span { margin-top: 10px; font-family: var(--font-ui); font-size: 14px; font-weight: 600; }
.home-projects { border-bottom: 2px solid var(--ink); }
.home-projects .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-workshop { padding: 96px 0; background: var(--night); color: var(--white); }
.home-workshop-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(50px,8vw,110px); align-items: center; }
.home-workshop-copy h2 { margin: 0; font-size: var(--type-section-title); line-height: 1.06; }
.home-workshop-copy > p:not(.eyebrow) { margin: 22px 0 30px; color: rgba(255,255,255,.75); font-size: var(--type-body); font-weight: 500; }
.home-workshop-visual { overflow: hidden; border: 2px solid var(--yellow); box-shadow: 9px 9px 0 var(--blue); }
.home-workshop-visual img { width: 100%; max-height: 480px; object-fit: contain; object-position: center; background: #050a18; }
.home-news { padding: 92px 0 105px; background: var(--paper); }
.home-dark-link { color: var(--blue); }
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-news-card { overflow: hidden; border: 2px solid var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.home-news-card:hover { transform: translate(-3px,-3px); box-shadow: 10px 10px 0 var(--blue); }
.home-news-card > img { width: 100%; height: 230px; object-fit: cover; }
.home-news-card > div { padding: 22px; }
.home-news-card time { color: var(--gold); font: 600 11px/1.3 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.home-news-card h3 { margin: 15px 0 25px; font-size: 21px; line-height: 1.15; }
.home-news-card span { color: var(--blue); font-family: var(--font-ui); font-size: 14px; font-weight: 700; }
.home-final-cta { padding: 76px 0; border-top: 2px solid var(--ink); background: var(--blue); color: var(--white); text-align: center; }
.home-final-cta h2 { max-width: 850px; margin: 0 auto 30px; font-size: clamp(34px,4vw,50px); line-height: 1.03; }

@media (max-width: 900px) {
  .home-slider, .home-slide { min-height: 590px; }
  .home-slide-intro { padding-block: 56px 72px; }
  .home-intro-grid { grid-template-columns: 1fr; }
  .home-poster { display: none; }
  .home-slide-banner img { height: 590px; }
  .home-section-heading, .home-workshop-grid { grid-template-columns: 1fr; }
  .home-facts-grid { grid-template-columns: repeat(2,1fr); }
  .home-facts-grid > div:nth-child(2) { border-right: 0; }
  .home-facts-grid > div:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .home-news-grid { grid-template-columns: 1fr 1fr; }
  .home-news-card:last-child { display: none; }
}
@media (max-width: 620px) {
  .home-slider, .home-slide { min-height: 610px; }
  .home-slide-intro { padding-block: 48px 74px; }
  .home-intro-copy h1 { font-size: 39px; }
  .home-intro-copy .lead { font-size: 17px; }
  .home-hero-actions .button { width: 100%; }
  .home-slide-banner img { height: 610px; }
  .home-slider-controls { bottom: 12px; }
  .home-slider-dots { gap: 6px; padding-inline: 8px; }
  .home-slider-dots button { width: 8px; height: 8px; }
  .home-services, .home-news, .home-workshop { padding-block: 70px; }
  .home-section-heading { gap: 24px; }
  .home-service-list > a { grid-template-columns: 28px minmax(0,1fr) 28px; gap: 10px; padding: 20px 8px; }
  .home-service-list small { font-size: 9px; }
  .home-service-list > a:hover { padding-left: 12px; }
  .home-facts-grid { grid-template-columns: 1fr; }
  .home-facts-grid > div { min-height: 120px; padding-left: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
  .home-facts-grid > div:last-child { border-bottom: 0; }
  .home-projects .project-grid, .home-news-grid { grid-template-columns: 1fr; }
  .home-news-card:last-child { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee > div { animation: none; }
  .home-slide.is-active { animation: none; }
}
.latest-projects .project-card:first-child h3 { font-size: 20px; }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.text-link { color: var(--yellow); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.project-card {
  display: block;
  overflow: hidden;
  border: 2px solid var(--white);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 transparent;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.project-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.55fr);
  align-items: stretch;
}
.project-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  transition: transform 320ms ease, filter 320ms ease;
}
.project-card:first-child img { height: 480px; }
.project-card div { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.project-card:first-child div { padding: 34px; background: var(--yellow); }
.project-card span { color: var(--gold); font: 600 11px/1 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; }
.project-card h3 { margin: 16px 0 0; font-size: 20px; line-height: 1.18; }
.project-card:first-child span { color: var(--ink); }
.project-card:first-child h3 { font-size: 29px; }
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 var(--blue);
}
.project-card:hover img { transform: scale(1.045); filter: saturate(1.08); }
.project-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.project-card-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.project-card:first-child .project-card-link { color: var(--ink); }

/* The latest-projects module is intentionally a uniform three-card listing. */
.latest-projects .project-card:first-child {
  display: block;
  grid-column: auto;
}
.latest-projects .project-card:first-child img { height: 250px; }
.latest-projects .project-card:first-child div {
  min-height: 190px;
  padding: 22px;
  background: var(--white);
}
.latest-projects .project-card:first-child span { color: var(--gold); }
.latest-projects .project-card:first-child h3 { font-size: 20px; }
.latest-projects .project-card:first-child .project-card-link { color: var(--blue); }

.projects-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; margin: 8px 0 18px; }
.projects-search-filtered { grid-template-columns: minmax(0, 1fr) minmax(230px, 0.42fr) auto; }
.projects-search input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
}
.projects-search input:focus { outline: 3px solid rgba(29, 78, 216, 0.3); outline-offset: 2px; }
.projects-search button { min-height: 54px; border: 2px solid var(--ink); background: var(--blue); color: var(--white); padding: 12px 20px; font-family: var(--font-heading); font-weight: 800; cursor: pointer; }
.projects-filter { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: var(--muted); font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.projects-filter select { min-height: 44px; min-width: min(100%, 320px); padding: 8px 38px 8px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); font: 600 15px/1.2 var(--font-body); }
.projects-load-more { display: flex; margin: 32px auto 0; }
.projects-results-meta { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 0 0 34px; color: var(--muted); font-size: 14px; font-weight: 600; }
.projects-results-meta strong { color: var(--ink); font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.search-empty { grid-column: 1 / -1; margin: 0; padding: 34px; border: 2px solid var(--ink); background: var(--paper); color: var(--muted); }

.split-section { padding: 95px 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(45px, 8vw, 100px); }
.split-media { border: 2px solid var(--ink); box-shadow: 9px 9px 0 var(--blue); }
.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--paper);
}
.split-copy p { color: var(--muted); font-size: var(--type-body); font-weight: 500; line-height: 1.55; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); font-weight: 800; }
.check-list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-size: 22px; }

.faq-section { padding: 90px 0; border-top: 2px solid var(--ink); background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(50px, 9vw, 120px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 21px 42px 21px 0; font-size: 18px; font-weight: 900; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; margin-right: -35px; color: var(--gold); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -4px 0 23px; color: var(--muted); font-size: var(--type-body); font-weight: 500; line-height: 1.55; }

.cta-section { padding: 75px 0; background: var(--blue); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-inner h2 { max-width: 750px; margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; }

/* Agency page */
.agency-hero { position: relative; display: flex; align-items: end; min-height: min(680px, calc(100vh - 102px)); overflow: hidden; background: var(--night); color: var(--white); }
.agency-hero::before { content: ""; position: absolute; inset: 0; background: var(--agency-image) 62% center / cover no-repeat; opacity: .78; }
.agency-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,18,47,.98), rgba(7,18,47,.9) 40%, rgba(7,18,47,.28) 78%, rgba(7,18,47,.12)); }
.agency-hero-content { position: relative; z-index: 1; padding-block: 118px 100px; }
.agency-hero h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 5.3vw, 70px); line-height: .99; }
.agency-hero .lead { max-width: 680px; margin: var(--space-title-copy) 0 0; color: rgba(255,255,255,.8); font-size: 20px; font-weight: 500; line-height: 1.48; }
.agency-hero-note { position: absolute; z-index: 1; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 48px; max-width: 230px; margin: 0; padding: 14px 16px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); font: 600 12px/1.25 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.agency-facts { border-bottom: 2px solid var(--ink); background: var(--yellow); }
.agency-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.agency-facts-grid > div { min-height: 142px; display: flex; flex-direction: column; justify-content: center; padding: 24px clamp(20px, 3vw, 44px); border-right: 2px solid var(--ink); }
.agency-facts-grid > div:last-child { border-right: 0; }
.agency-facts strong { font-family: var(--font-heading); font-size: clamp(34px, 3.6vw, 50px); line-height: 1; }
.agency-facts span { margin-top: 9px; font-family: var(--font-ui); font-size: 14px; font-weight: 600; }
.agency-intro { padding: 105px 0; background: var(--white); }
.agency-intro-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,.85fr); gap: clamp(52px, 10vw, 155px); }
.agency-intro h2, .agency-team h2, .agency-showroom h2, .agency-technology h2, .agency-fieldwork h2 { margin: 0; font-size: var(--type-section-title); line-height: 1.08; }
.agency-copy p, .agency-showroom-copy > p, .agency-technology p, .agency-fieldwork-copy p { margin: 0; color: var(--muted); font-size: var(--type-body); font-weight: 500; line-height: 1.58; }
.agency-copy p + p, .agency-fieldwork-copy p + p { margin-top: 18px; }
.agency-copy .text-link, .agency-fieldwork-copy .text-link { display: inline-flex; margin-top: var(--space-copy-action); }
.agency-team { padding: 90px 0; border-top: 2px solid var(--ink); background: var(--yellow); }
.agency-team-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,.85fr); gap: clamp(52px, 10vw, 155px); }
.agency-team .eyebrow { color: var(--night); }
.agency-team .agency-copy p { color: var(--ink); }
.agency-team .text-link { color: var(--night); }
.agency-showroom { padding: 95px 0; background: var(--paper); border-block: 2px solid var(--ink); }
.agency-showroom-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); align-items: center; gap: clamp(44px, 8vw, 110px); }
.agency-showroom-media, .agency-fieldwork-media { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--blue); }
.agency-showroom-media img { width: 100%; height: 460px; object-fit: cover; object-position: center; }
.agency-showroom-copy .check-list { margin-top: 24px; }
.agency-showroom-copy .button { margin-top: 30px; }
.button-blue { background: var(--blue); color: var(--white); }
.button-blue:hover { background: var(--night); }
.agency-workshops { padding: 105px 0; background: var(--white); }
.agency-section-heading { margin-bottom: 44px; }
.agency-workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.agency-workshop-card { min-height: 290px; padding: 32px; border-right: 2px solid var(--ink); }
.agency-workshop-card:last-child { border-right: 0; }
.agency-workshop-card span { display: block; color: var(--gold); font: 600 var(--type-label)/1.3 var(--font-label); letter-spacing: .1em; text-transform: uppercase; }
.agency-workshop-card h3 { margin: var(--space-card-label-title) 0 var(--space-title-copy); font-size: 27px; line-height: 1.08; }
.agency-workshop-card p { margin: 0; color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.55; }
.agency-technology { padding: 95px 0; background: var(--night); color: var(--white); }
.agency-technology-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: clamp(50px, 11vw, 160px); }
.agency-technology .eyebrow { color: var(--yellow); }
.agency-technology p { max-width: 650px; color: rgba(255,255,255,.72); }
.agency-technology-list { border-top: 1px solid rgba(255,255,255,.25); }
.agency-technology-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.agency-technology-list strong { color: var(--yellow); font-family: var(--font-heading); font-size: 18px; }
.agency-technology-list span { color: rgba(255,255,255,.78); font-size: 15px; font-weight: 500; line-height: 1.5; }
.agency-fieldwork { padding: 105px 0; background: var(--white); }
.agency-fieldwork-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(44px, 9vw, 130px); }
.agency-fieldwork-media img { width: 100%; height: 410px; object-fit: cover; }
.agency-final-cta { padding: 68px 0; border-top: 2px solid var(--ink); background: var(--yellow); }
.agency-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.agency-final-cta h2 { max-width: 760px; margin: 0; font-size: var(--type-section-title); line-height: 1.08; }

/* Contact page */
.contact-hero { padding: 105px 0 70px; background: var(--night); color: var(--white); }
.contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(42px, 8vw, 110px); align-items: end; }
.contact-hero h1 { max-width: 720px; margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: 0.98; }
.contact-hero .lead { max-width: 590px; margin: var(--space-title-copy) 0 0; color: rgba(255,255,255,.77); font-size: 20px; font-weight: 500; }
.contact-quick { padding: 27px; border: 2px solid var(--yellow); background: var(--blue); box-shadow: 7px 7px 0 rgba(0,0,0,.42); }
.contact-quick p { margin: 0 0 14px; color: var(--yellow); font: 600 11px/1.3 var(--font-label); letter-spacing: .08em; text-transform: uppercase; }
.contact-quick a { display: block; margin: 6px 0; color: var(--white); font-family: var(--font-heading); font-size: 20px; font-weight: 800; text-decoration: none; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .76fr); gap: clamp(45px, 8vw, 110px); padding: 90px 0; }
.contact-form-panel h2, .contact-info h2 { margin: 0; font-size: var(--type-section-title); line-height: 1.08; }
.contact-form-panel > p, .contact-info > p { margin: var(--space-title-copy) 0 0; color: var(--muted); font-size: var(--type-body); font-weight: 500; }
.contact-form { display: grid; gap: 18px; margin-top: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font: 600 11px/1.2 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
.form-note, .form-success { margin: 0; color: var(--muted); font-size: 14px; }
.form-success { display: none; color: var(--blue); font-weight: 800; }
.form-success.is-visible { display: block; }
.contact-info { padding: 32px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--ink); align-self: start; }
.contact-details { margin: 30px 0 0; padding: 0; list-style: none; }
.contact-details li { padding: 17px 0; border-top: 1px solid var(--line); }
.contact-details strong { display: block; margin-bottom: 5px; font-family: var(--font-heading); }
.contact-details a { color: var(--blue); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact-map-note { margin-top: 25px; padding: 20px; border-left: 5px solid var(--yellow); background: var(--white); font-weight: 700; }

.site-footer { padding: 60px 0 24px; background: var(--night); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 45px; }
.footer-logo-frame { display: inline-flex; margin-bottom: 16px; padding: 9px 11px; border: 1.5px solid #4a4538; background: #050505; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35); }
.footer-brand img { width: 168px; height: auto; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.18)); }
.footer-brand p { max-width: 300px; color: rgba(255, 255, 255, 0.65); }
.footer-column h2 { margin: 0 0 18px; color: var(--yellow); font: 600 12px/1 var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li { margin: 9px 0; }
.footer-column a { color: rgba(255, 255, 255, 0.76); text-decoration: none; }
.footer-column a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.54); font-size: 13px; }

/* Shared archives and portal starters. Their content will be supplied by WordPress. */
.editorial-hero { background: var(--night); color: var(--paper); padding: 84px 0 72px; }
.editorial-hero .eyebrow { color: var(--yellow); }
.editorial-hero h1 { max-width: 820px; margin: 18px 0 20px; }
.editorial-hero .editorial-intro { color: rgba(255, 255, 255, .82); max-width: 680px; margin: 0; }
.editorial-listing, .portal-section { padding: 84px 0; }
.editorial-grid, .portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.editorial-card, .portal-card { border: 2px solid var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--ink); padding: 28px; }
.editorial-card time, .portal-card .eyebrow { color: var(--blue); }
.editorial-card h2, .portal-card h2 { font-size: clamp(1.45rem, 2vw, 2.1rem); }
.editorial-card a, .portal-card a { color: var(--blue); font-family: var(--font-ui); font-weight: 700; }
.portal-card { min-height: 230px; }

.detail-nav {
  padding: 24px 0;
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
}
.detail-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.detail-nav p { margin: 0; font-weight: 900; }
.detail-nav a { font-weight: 900; }
.detail-content { padding: 95px 0; background: var(--white); }
.detail-content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: clamp(50px, 9vw, 120px); }
.detail-content h2 { margin: 0 0 var(--space-title-copy); font-size: clamp(32px, 4vw, 48px); line-height: 1.06; }
.detail-content h3 { margin: 36px 0 var(--space-label-title); font-size: 24px; }
.detail-content p { color: var(--muted); font-size: 18px; }
.detail-aside { align-self: start; padding: 28px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--blue); }
.detail-aside h2 { font-size: 25px; }
.detail-aside ul { margin: var(--space-title-copy) 0 var(--space-copy-action); padding: 0; list-style: none; }
.detail-aside li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 800; }

@media (max-width: 1080px) {
  .header-search { display: none; }
  .brand span { display: none; }
  .main-nav a { padding-inline: 9px; font-size: 14px; }
  .header-cta { padding-inline: 14px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card.featured { grid-column: span 2; }
}

@media (max-width: 860px) {
  .site-topbar { display: none; }
  .header-inner { min-height: 78px; }
  .brand img { width: 170px; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .main-nav {
    position: fixed;
    z-index: 40;
    inset: 84px 0 auto;
    display: none;
    padding: 18px 20px 24px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: block; }
  .main-nav a { padding: 14px; font-size: 18px; }
  .nav-service-toggle { width: 100%; height: auto; padding: 14px; font-size: 18px; }
  .services-mega { position: static; display: none; width: 100%; margin-top: 6px; grid-template-columns: 1fr; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-service.is-open .services-mega { display: grid; }
  .services-mega-family { border-right: 0; border-bottom: 2px solid var(--ink); }
  .services-mega-links { padding: 24px 20px; }
  .services-mega-links > div { grid-template-columns: 1fr; }
  .menu-scrim { display: none; }
  .header-cta { display: none; }
  .family-hero,
  .detail-hero { min-height: 620px; align-items: end; }
  .family-hero::before,
  .detail-hero::before { inset: 0; opacity: 0.35; }
  .family-hero::after,
  .detail-hero::after { background: linear-gradient(0deg, var(--night) 12%, rgba(7, 18, 47, 0.86) 58%, rgba(7, 18, 47, 0.45) 100%); }
  .hero-content { padding-block: 120px 62px; }
  .hero-note { display: none; }
  .intro-grid,
  .split-grid,
  .faq-grid,
  .detail-content-grid { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .latest-projects .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:first-child { grid-template-columns: 1fr; }
  .project-card:first-child img { height: 410px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 25px; }
  .expertise-item,
  .expertise-item:first-child,
  .expertise-item:last-child { padding: 0 0 25px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .expertise-item:last-child { padding-bottom: 0; border-bottom: 0; }
  .cta-inner { display: block; }
  .cta-inner .button { margin-top: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-hero-grid,
  .contact-layout,
  .agency-intro-grid,
  .agency-team-grid,
  .agency-showroom-grid,
  .agency-technology-grid,
  .agency-fieldwork-grid { grid-template-columns: 1fr; }
  .agency-workshop-grid { grid-template-columns: 1fr; }
  .agency-workshop-card, .agency-workshop-card:last-child { min-height: auto; border-right: 0; border-bottom: 2px solid var(--ink); }
  .agency-workshop-card:last-child { border-bottom: 0; }
  .agency-fieldwork-media { order: -1; }
}

@media (max-width: 620px) {
  :root { --space-label-title: 20px; }
  .expertise-section .eyebrow { white-space: normal; }
  body { font-size: 16px; }
  .container { width: min(100% - 28px, var(--max)); }
  .family-hero h1,
  .detail-hero h1 { font-size: 40px; }
  .family-hero .lead,
  .detail-hero .lead { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .intro-band,
  .services-section,
  .projects-section,
  .split-section,
  .faq-section,
  .detail-content { padding-block: 66px; }
  .service-grid,
  .project-grid { grid-template-columns: 1fr; }
  .latest-projects .project-grid { grid-template-columns: 1fr; }
  .latest-projects .project-card img,
  .latest-projects .project-card:first-child img { height: 230px; aspect-ratio: auto; object-fit: cover; }
  .projects-search,
  .projects-search-filtered { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: auto; }
  .project-card img,
  .project-card:first-child img { height: auto; aspect-ratio: auto; object-fit: contain; }
  .project-card:first-child h3 { font-size: 24px; }
  .latest-projects .project-card:first-child img {
    height: 230px;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .latest-projects .project-card:first-child h3 { font-size: 20px; }
  .service-card.featured { grid-column: auto; }
  .service-card,
  .service-card.featured { min-height: 380px; }
  .service-card-media { height: 205px; }
  .service-card.featured .service-card-media { height: 230px; }
  .projects-heading { display: block; }
  .projects-heading .text-link { display: inline-block; margin-top: 20px; }
  .detail-nav-inner { display: block; }
  .detail-nav a { display: inline-block; margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-hero { padding-block: 75px 58px; }
  .agency-hero { min-height: 620px; }
  .agency-hero::before { background-position: 60% center; }
  .agency-hero::after { background: linear-gradient(0deg, var(--night) 8%, rgba(7,18,47,.86) 60%, rgba(7,18,47,.3) 100%); }
  .agency-hero-content { padding-block: 100px 58px; }
  .agency-hero h1 { font-size: 42px; }
  .agency-hero .lead { font-size: 18px; }
  .agency-hero-note { display: none; }
  .agency-facts-grid { grid-template-columns: 1fr 1fr; }
  .agency-facts-grid > div { min-height: 120px; border-bottom: 2px solid var(--ink); }
  .agency-facts-grid > div:nth-child(2n) { border-right: 0; }
  .agency-facts-grid > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .agency-intro, .agency-team, .agency-workshops, .agency-fieldwork, .agency-showroom, .agency-technology { padding-block: 66px; }
  .agency-showroom-media img, .agency-fieldwork-media img { height: 280px; }
  .agency-technology-list > div { grid-template-columns: 1fr; gap: 7px; }
  .agency-final-cta-inner { display: block; }
  .agency-final-cta .button { margin-top: 26px; }
  .contact-hero .lead { font-size: 18px; }
  .contact-layout { padding-block: 66px; }
  .form-row { grid-template-columns: 1fr; }
}

.footer-brand img { width: min(230px, 100%); height: auto; margin-bottom: 24px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-contact { display: inline-flex; margin-top: 14px; font-family: var(--font-ui); font-weight: 700; color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.project-gallery {
  columns: 2 300px;
  column-gap: 18px;
  margin-bottom: 42px;
}
.project-gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: zoom-in;
}
.project-gallery-item img { width: 100%; height: auto; }
.project-gallery-item:hover img { transform: scale(1.015); }
.gallery-dialog {
  width: min(96vw, 1500px);
  max-width: none;
  height: min(94vh, 1000px);
  padding: 64px 72px 32px;
  border: 0;
  background: #0a0a0a;
  color: #fff;
}
.gallery-dialog::backdrop { background: rgba(7, 18, 47, .88); backdrop-filter: blur(8px); }
.gallery-dialog img { width: 100%; height: 100%; object-fit: contain; }
.gallery-dialog button { position: absolute; z-index: 2; width: 46px; height: 46px; border: 2px solid #fff; background: var(--yellow); color: var(--ink); font-size: 26px; cursor: pointer; }
.gallery-dialog [data-gallery-close] { top: 12px; right: 12px; }
.gallery-dialog [data-gallery-prev] { top: 50%; left: 12px; }
.gallery-dialog [data-gallery-next] { top: 50%; right: 12px; }

@media (max-width: 620px) {
  .gallery-dialog { padding: 58px 12px 20px; }
  .gallery-dialog [data-gallery-prev], .gallery-dialog [data-gallery-next] { top: auto; bottom: 8px; }
}

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