:root {
  --ivory: #f5f2ea;
  --paper: #fcfaf5;
  --ink: #18211d;
  --forest: #244a3d;
  --forest-deep: #19362d;
  --terra: #b96f4a;
  --stone: #d9d3c7;
  --muted: #667069;
  --line: rgba(24, 33, 29, 0.18);
  --white-line: rgba(255, 255, 255, 0.2);
  --shadow: 0 22px 60px rgba(24, 33, 29, 0.09);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Noto Serif SC", "Songti SC", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shell: min(1200px, calc(100vw - 48px));
  --narrow: min(760px, calc(100vw - 48px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--terra); }

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(3.25rem, 7.4vw, 7.35rem); }
h2 { font-size: clamp(2.3rem, 4.7vw, 4.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }

p { margin: 0 0 1.2em; }
ul,
ol { margin: 0; padding: 0; }

.shell { width: var(--shell); margin-inline: auto; }
.narrow { width: var(--narrow); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 150px) 0; }
.site-main { overflow: hidden; }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 12px;
  top: 12px;
  width: auto;
  z-index: 100000;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
}

.eyebrow,
.post-meta {
  margin: 0 0 22px;
  color: var(--terra);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  color: #4c5650;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.6;
}

.button,
.text-link,
.card-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.button {
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--paper);
  background: var(--terra);
  border-color: var(--terra);
  transform: translateY(-2px);
}

.button-small { min-height: 42px; padding: 9px 16px; font-size: 0.78rem; }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-light:hover { color: var(--paper); background: var(--terra); border-color: var(--terra); }
.text-link,
.card-link { color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 234, 0.96);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

/* Keep Polylang language submenus outside the glass header clipping context. */
.site-header .header-inner.liquid-glass { overflow: visible; }

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}

.brand:hover { color: var(--ink); }
.brand-name { font-size: 1.2rem; font-weight: 900; letter-spacing: 0.13em; }
.brand-descriptor { margin-top: 7px; color: var(--terra); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.brand-logo .custom-logo-link { display: block; }
.brand-logo img { width: auto; max-height: 50px; }

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.menu li { position: relative; }
.menu .menu-item-has-children::after {
  position: absolute;
  top: 100%;
  right: -18px;
  left: -18px;
  height: 16px;
  content: "";
}
.menu a { font-size: 0.82rem; font-weight: 750; text-decoration: none; }
.menu .current-menu-item > a,
.menu .current_page_item > a { color: var(--terra); }
.menu .sub-menu {
  display: none;
  position: absolute;
  z-index: 1000;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 230px;
  padding: 14px 18px;
  border: 1px solid var(--stone);
  background: var(--paper);
  box-shadow: var(--shadow);
  list-style: none;
}
.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu { display: grid; gap: 10px; }
.nav-toggle { display: none; }

.home-hero { padding: clamp(90px, 11vw, 165px) 0 clamp(70px, 9vw, 125px); }
.home-hero-grid,
.service-hero-grid,
.case-hero-grid,
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
}

.home-hero h1 { max-width: 930px; }
.home-hero .hero-copy { max-width: 670px; margin-top: 30px; }
.hero-visual { min-height: 470px; display: grid; place-items: center; }
.hero-image { width: 100%; max-height: 560px; object-fit: cover; box-shadow: var(--shadow); }

.architecture-visual {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 0.94;
  border: 1px solid var(--stone);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.architecture-visual::before,
.architecture-visual::after {
  content: "";
  position: absolute;
  border: 1px solid var(--stone);
}

.architecture-visual::before { inset: 11% 10% auto auto; width: 62%; height: 52%; background: var(--forest); }
.architecture-visual::after { left: 11%; bottom: 12%; width: 56%; height: 38%; background: var(--terra); }
.visual-card { position: absolute; z-index: 2; display: block; background: var(--ivory); border: 1px solid var(--ink); }
.visual-card-a { top: 23%; left: 16%; width: 43%; height: 29%; }
.visual-card-b { right: 11%; bottom: 17%; width: 38%; height: 28%; }
.visual-line { position: absolute; z-index: 3; display: block; height: 1px; background: var(--ink); transform-origin: left; }
.visual-line-a { top: 38%; left: 27%; width: 42%; transform: rotate(23deg); }
.visual-line-b { left: 30%; bottom: 29%; width: 43%; transform: rotate(-17deg); }
.visual-dot { position: absolute; z-index: 4; right: 19%; top: 20%; width: 20px; height: 20px; border-radius: 50%; background: var(--terra); }

.fit-strip { border-block: 1px solid var(--line); }
.fit-strip p {
  max-width: 950px;
  margin: 0;
  padding: 35px 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.4;
}

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr); gap: 45px; align-items: end; margin-bottom: 62px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.section-heading p:last-child { max-width: 520px; color: var(--muted); }
.section-link { margin: 38px 0 0; text-align: right; }

.work-grid,
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.case-card,
.insight-card { min-width: 0; }
.case-visual,
.insight-visual,
.featured-insight-visual {
  display: block;
  overflow: hidden;
  border: 1px solid var(--stone);
  background: var(--paper);
  text-decoration: none;
}
.case-visual { aspect-ratio: 1.36; }
.insight-visual { aspect-ratio: 1.42; }
.case-visual img,
.insight-visual img,
.featured-insight-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.case-card:hover img,
.insight-card:hover img { transform: scale(1.025); }
.case-card-body,
.insight-card-body { padding: 27px 0 10px; }
.case-card h3,
.insight-card h3 { font-size: clamp(1.65rem, 2.8vw, 2.65rem); }
.case-card h3 a,
.insight-card h3 a { text-decoration: none; }
.case-card-body > p:not(.eyebrow):not(.tag-line),
.insight-card-body > p:not(.post-meta) { color: var(--muted); }
.tag-line { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.case-fallback,
.editorial-fallback {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--forest);
}
.case-fallback i { position: absolute; display: block; border: 1px solid rgba(255,255,255,.65); background: var(--terra); }
.case-fallback i:nth-child(1) { left: 9%; top: 15%; width: 49%; height: 58%; }
.case-fallback i:nth-child(2) { right: 10%; bottom: 13%; width: 42%; height: 52%; background: var(--ivory); }
.case-fallback i:nth-child(3) { left: 33%; top: 34%; width: 34%; height: 1px; border: 0; background: var(--ink); transform: rotate(-14deg); }
.editorial-fallback { background: var(--terra); }
.editorial-fallback::before { content: ""; position: absolute; inset: 15% 12%; border: 1px solid var(--paper); }
.editorial-fallback i { position: absolute; display: block; background: var(--forest); }
.editorial-fallback i:first-child { width: 44%; height: 24%; left: 20%; top: 25%; }
.editorial-fallback i:last-child { width: 48%; height: 30%; right: 18%; bottom: 19%; background: var(--ivory); }

.section-forest { color: var(--paper); background: var(--forest); }
.section-forest .eyebrow { color: #df9a78; }
.section-forest .section-heading p:last-child,
.section-forest p { color: rgba(252,250,245,.72); }
.section-forest a { color: var(--paper); }

.service-grid,
.service-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--white-line); }
.service-card,
.service-directory article {
  position: relative;
  min-height: 300px;
  padding: 38px;
  border-bottom: 1px solid var(--white-line);
}
.service-card:nth-child(odd) { border-right: 1px solid var(--white-line); }
.service-card h3 { max-width: 430px; margin-top: 48px; }
.service-card p { max-width: 490px; }
.card-index { color: var(--terra); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.16em; }
.service-card .card-link { position: absolute; left: 38px; bottom: 34px; color: var(--paper); }

.split-heading { display: grid; grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr); gap: clamp(55px, 9vw, 130px); align-items: start; }
.process-list { border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 65px 1fr; gap: 28px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.process-list h3 { margin-bottom: 9px; font-size: 1.55rem; }
.process-list p { margin: 0; color: var(--muted); }
.step-number { padding-top: 5px; color: var(--terra); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; }

.insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insight-card h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); }
.insight-card-body { padding-top: 22px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 55px; }
.pagination .page-numbers { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--stone); text-decoration: none; }
.pagination .current { color: var(--paper); background: var(--ink); border-color: var(--ink); }

.cta-section { padding-top: 0; }
.cta-panel {
  min-height: 380px;
  padding: clamp(44px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 55px;
  color: var(--paper);
  background: var(--terra);
}
.cta-panel h2 { max-width: 830px; }
.cta-panel p { max-width: 650px; color: rgba(252,250,245,.78); }
.cta-panel .eyebrow { color: var(--paper); }

.page-hero,
.service-hero,
.case-hero,
.about-hero { padding: clamp(85px, 11vw, 155px) 0 clamp(70px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.page-hero-inner { max-width: 1050px; margin-left: max(24px, calc((100vw - min(1200px, calc(100vw - 48px))) / 2)); }
.page-hero h1 { max-width: 980px; }
.page-hero .hero-copy { margin-top: 30px; }

.service-directory-section { padding-top: 90px; }
.service-directory { border-color: var(--line); }
.service-directory article { min-height: 330px; border-color: var(--line); }
.service-directory article:nth-child(odd) { border-right: 1px solid var(--line); }
.service-directory article h2 { margin-top: 40px; font-size: clamp(1.8rem, 3vw, 3rem); }
.service-directory article h2 a { text-decoration: none; }
.service-directory article p { color: var(--muted); }
.service-directory .text-link { position: absolute; left: 38px; bottom: 35px; }

.situation-section h2 { max-width: 750px; margin-bottom: 55px; }
.situation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--stone); border: 1px solid var(--stone); }
.situation-grid article { min-height: 220px; padding: 32px; background: var(--paper); }
.situation-grid article > span { color: var(--terra); }
.situation-grid h3 { margin-top: 38px; }
.situation-grid p { color: var(--muted); }

.service-symbol { position: relative; min-height: 340px; border: 1px solid var(--stone); background: var(--paper); }
.service-symbol span { position: absolute; display: block; border: 1px solid var(--ink); }
.service-symbol span:nth-child(1) { inset: 13% 28% 38% 13%; background: var(--forest); }
.service-symbol span:nth-child(2) { inset: 38% 12% 12% 36%; background: var(--terra); }
.service-symbol span:nth-child(3) { left: 25%; top: 55%; width: 53%; height: 1px; border: 0; background: var(--ink); transform: rotate(-18deg); }

.deliverable-list { border-top: 1px solid var(--white-line); }
.deliverable-list article { padding: 28px 0; border-bottom: 1px solid var(--white-line); }
.deliverable-list h3 { font-size: 1.55rem; }
.deliverable-list p { margin: 0; }

.featured-insight { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.featured-insight-visual { aspect-ratio: 1.35; }
.featured-insight h2 a { text-decoration: none; }
.featured-insight p:not(.eyebrow) { color: var(--muted); }

.work-page-grid { padding-top: 80px; }
.featured-case { margin-bottom: 80px; }
.featured-case .case-card { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: end; }
.featured-case .case-card-body { padding-bottom: 0; }
.featured-case .case-card h3 { font-size: clamp(2.4rem, 4.5vw, 4.7rem); }

.capability-section h2 { max-width: 750px; margin-bottom: 60px; }
.capability-grid,
.principle-grid,
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--white-line); border: 1px solid var(--white-line); }
.capability-grid article,
.principle-grid article,
.evidence-grid article { padding: 34px; background: var(--forest-deep); }
.principle-grid { background: var(--stone); border-color: var(--stone); }
.principle-grid article { min-height: 270px; color: var(--ink); background: var(--paper); }
.principle-grid h3 { margin-top: 46px; }
.principle-grid p { color: var(--muted); }

.about-hero-grid { align-items: start; }
.about-intro { padding-top: 44px; border-top: 1px solid var(--line); }
.experience-list { border-top: 1px solid var(--white-line); }
.experience-list article { padding: 29px 0; border-bottom: 1px solid var(--white-line); }
.experience-list p { margin: 0; }

.capability-matrix-section h2 { max-width: 750px; margin-bottom: 60px; }
.capability-matrix { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.capability-matrix article { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.capability-matrix article:not(:nth-child(3n)) { border-right: 1px solid var(--line); margin-right: 28px; }
.capability-matrix ul,
.check-list { list-style: none; }
.capability-matrix li,
.check-list li { position: relative; padding: 7px 0 7px 22px; color: var(--muted); }
.capability-matrix li::before,
.check-list li::before { content: "↗"; position: absolute; left: 0; color: var(--terra); }
.tool-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.tool-list span { padding: 8px 13px; border: 1px solid var(--stone); font-size: 0.78rem; font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: clamp(55px, 8vw, 105px); }
.contact-panel h2,
.contact-fit h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.contact-fit { padding: 38px; color: var(--paper); background: var(--forest); }
.contact-fit ul { margin-top: 30px; list-style: none; }
.contact-fit li { padding: 15px 0; border-bottom: 1px solid var(--white-line); }
.direct-email { display: grid; gap: 5px; margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--white-line); }
.direct-email span { color: rgba(252,250,245,.65); font-size: .8rem; }
.editor-notice { padding: 18px; border-left: 3px solid var(--terra); background: var(--paper); }

.fluentform,
.frm-fluent-form { margin-top: 35px; }
.fluentform label,
.frm-fluent-form label { color: var(--ink) !important; font-size: .8rem !important; font-weight: 800 !important; }
.fluentform input:not([type="submit"]),
.fluentform textarea,
.fluentform select,
.frm-fluent-form input:not([type="submit"]),
.frm-fluent-form textarea,
.frm-fluent-form select {
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit !important;
}
.fluentform textarea,
.frm-fluent-form textarea { min-height: 130px !important; }
.fluentform button,
.fluentform input[type="submit"],
.frm-fluent-form button,
.frm-fluent-form input[type="submit"] {
  min-height: 52px !important;
  padding: 13px 22px !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  color: var(--paper) !important;
  background: var(--ink) !important;
  font-weight: 800 !important;
}

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 25px 42px 25px 0; cursor: pointer; font-family: var(--serif); font-size: 1.35rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; margin-right: -35px; color: var(--terra); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { max-width: 660px; padding: 0 0 25px; color: var(--muted); }

.case-hero-grid { align-items: end; }
.case-meta { margin: 0; border-top: 1px solid var(--line); }
.case-meta div { padding: 17px 0; border-bottom: 1px solid var(--line); }
.case-meta dt { color: var(--terra); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.case-meta dd { margin: 5px 0 0; }
.confidentiality-note { margin-top: 28px; padding-left: 16px; border-left: 2px solid var(--terra); color: var(--muted); font-size: .9rem; }
.case-media { margin-top: 70px; }
.case-media img,
.architecture-section img { width: 100%; max-height: 760px; object-fit: cover; }
.case-fallback-wide { min-height: 570px; }
.case-narrative { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(55px, 9vw, 130px); }
.evidence-section { background: var(--paper); }
.evidence-grid { background: var(--stone); border-color: var(--stone); }
.evidence-grid article { color: var(--ink); background: var(--ivory); }
.evidence-grid strong { display: block; margin-bottom: 22px; color: var(--terra); font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 500; line-height: 1; }

.article-header { padding: clamp(90px, 12vw, 165px) 0 65px; }
.article-header h1 { font-size: clamp(3rem, 6vw, 6rem); }
.article-image { margin-bottom: 75px; }
.article-image img { width: 100%; max-height: 680px; object-fit: cover; }
.article-content { padding-bottom: 130px; }

.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { margin-top: 1.7em; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose blockquote { margin: 2em 0; padding-left: 25px; border-left: 3px solid var(--terra); font-family: var(--serif); font-size: 1.4rem; }

.empty-state { padding: 28px; border: 1px solid var(--stone); background: var(--paper); color: var(--muted); }
.not-found { min-height: 70vh; display: grid; place-items: center; padding: 100px 0; }
.not-found h1 { font-size: clamp(3rem, 7vw, 6.8rem); }

.site-footer { padding: 90px 0 30px; color: var(--paper); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 70px; padding-bottom: 70px; }
.brand-footer { color: var(--paper); }
.brand-footer:hover { color: var(--paper); }
.footer-tagline { max-width: 430px; margin-top: 24px; color: rgba(252,250,245,.62); }
.footer-navigation .menu { display: grid; gap: 12px; align-items: start; }
.footer-navigation a { color: var(--paper); }
.footer-contact { display: grid; align-content: start; gap: 9px; }
.footer-contact a { color: var(--paper); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(252,250,245,.48); font-size: .75rem; }
.footer-bottom a { color: inherit; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); --narrow: min(100% - 36px, 680px); }
  h1 { font-size: clamp(3rem, 10vw, 5.5rem); }
  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
  }
  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after { width: 22px; height: 1px; display: block; background: var(--ink); }
  .nav-toggle-lines { position: relative; }
  .nav-toggle-lines::before,
  .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-lines::before { top: -6px; }
  .nav-toggle-lines::after { top: 6px; }
  .primary-navigation {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    min-height: 0;
    max-height: calc(100dvh - 116px);
    padding: 24px;
    align-items: stretch;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 26px;
    background: #f4f6f8 !important;
    box-shadow: 0 24px 60px rgba(16,24,40,.16);
  }
  .primary-navigation.is-open { display: flex; }
  body.menu-open { overflow: hidden; }
  .primary-navigation .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-navigation .menu > li { border-bottom: 1px solid var(--line); }
  .primary-navigation .menu > li > a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.8rem; }
  .primary-navigation .menu-item-has-children::after { display: none; }
  .primary-navigation .menu .sub-menu {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 14px 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .primary-navigation .menu .sub-menu .current-lang { display: none; }
  .primary-navigation .menu > .lang-item.current-lang,
  .primary-navigation .menu .pll-parent-menu-item > a,
  .primary-navigation .menu .sub-menu > .lang-item.current-lang { display: none !important; }
  .primary-navigation .menu .sub-menu a {
    display: block;
    padding: 8px 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: .9rem;
  }
  body .site-header .primary-navigation ul.menu > li.lang-item.menu-item-has-children > ul.sub-menu,
  body .site-header .primary-navigation ul.menu > li.pll-parent-menu-item > ul.sub-menu,
  body .site-header .primary-navigation ul.menu > li.mobile-language-parent > ul.mobile-language-list {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 14px 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .header-cta { align-self: flex-start; margin-top: 22px; }

  .home-hero-grid,
  .service-hero-grid,
  .case-hero-grid,
  .about-hero-grid,
  .featured-insight,
  .featured-case .case-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; }
  .architecture-visual { max-width: 440px; }
  .section-heading,
  .split-heading,
  .contact-grid,
  .case-narrative { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid,
  .principle-grid,
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 32px); --narrow: calc(100vw - 32px); }
  body { font-size: 16px; }
  .header-inner { min-height: 78px; }
  .primary-navigation { top: calc(100% + 10px); min-height: 0; max-height: calc(100dvh - 98px); }
  .section { padding: 75px 0; }
  .home-hero { padding-top: 70px; }
  .home-hero-grid { gap: 50px; }
  .hero-visual { min-height: 310px; }
  .section-heading { gap: 10px; margin-bottom: 40px; }
  .work-grid,
  .insight-grid,
  .service-grid,
  .service-directory,
  .situation-grid,
  .capability-grid,
  .principle-grid,
  .evidence-grid,
  .capability-matrix { grid-template-columns: 1fr; }
  .service-card:nth-child(odd),
  .service-directory article:nth-child(odd) { border-right: 0; }
  .service-card,
  .service-directory article { min-height: 285px; padding: 28px 22px; }
  .service-card .card-link,
  .service-directory .text-link { left: 22px; }
  .capability-matrix article:not(:nth-child(3n)) { margin-right: 0; border-right: 0; }
  .cta-panel { min-height: 420px; padding: 38px 26px; }
  .page-hero,
  .service-hero,
  .case-hero,
  .about-hero { padding: 75px 0; }
  .page-hero-inner { margin-inline: auto; }
  .case-fallback-wide { min-height: 330px; }
  .footer-grid { grid-template-columns: 1fr; gap: 45px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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