:root {
  --ii-navy: #082b50;
  --ii-blue: #1354b4;
  --ii-sky: #5b8fd4;
  --ii-pale: #eaf2fc;
  --ii-ice: #f7fafd;
  --ii-white: #ffffff;
  --ii-orange: #f07824;
  --ii-orange-a11y: #c84f0a;
  --ii-orange-hover: #b74400;
  --ii-orange-soft: #fff0e3;
  --ii-sand: #fff9f2;
  --ii-ink: #24374d;
  --ii-muted: #68798b;
  --ii-line: #d9e4ee;
  --ii-font-heading: Manrope, "Segoe UI", Arial, sans-serif;
  --ii-font-body: Inter, "Segoe UI", Arial, sans-serif;
  --ii-max: 1240px;
  --ii-content: 780px;
  --ii-gutter: 34px;
  --ii-header-height: 86px;
  --ii-section-space: clamp(4.5rem, 7vw, 6.5rem);
  --ii-space-1: 0.5rem;
  --ii-space-2: 0.75rem;
  --ii-space-3: 1rem;
  --ii-space-4: 1.5rem;
  --ii-space-5: 2rem;
  --ii-space-6: 3rem;
  --ii-space-7: 4.5rem;
  --ii-radius-sm: 10px;
  --ii-radius-md: 16px;
  --ii-radius-lg: 22px;
  --ii-radius-pill: 999px;
  --ii-shadow: 0 18px 48px rgba(8, 43, 80, 0.08);
  --ii-transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ii-ink);
  background: var(--ii-white);
  font-family: var(--ii-font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; touch-action: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
h1, h2, h3, h4, h5, h6 {
  margin-block: 0;
  color: var(--ii-navy);
  font-family: var(--ii-font-heading);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.65rem, 5.2vw, 4.15rem); line-height: 1.035; }
h2 { font-size: clamp(2.3rem, 4vw, 3rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.2; }
p, ul, ol, figure { margin-block: 0; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--ii-orange-hover);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.site-shell, .alignwide {
  width: min(calc(100% - (2 * var(--ii-gutter))), var(--ii-max));
  margin-inline: auto;
}
.content-width {
  width: min(calc(100% - (2 * var(--ii-gutter))), var(--ii-content));
  margin-inline: auto;
}
.site-main, main { display: block; }
.section, .placeholder-section { padding-block: var(--ii-section-space); }
.section--ice { background: var(--ii-ice); }
.section--sand { background: var(--ii-sand); }
.section--navy { color: var(--ii-white); background: var(--ii-navy); }
.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.grid-2, .grid-3, .grid-4, .cards-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 5.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.125rem);
}
.section-intro__heading h2, .section-intro__heading h3 { margin-top: 0.8rem; }
.section-intro__lead { padding-top: 1.75rem; color: #576a7d; font-size: 1.0625rem; }
.section-intro__lead > * + * { margin-top: 1rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ii-blue);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  flex: 0 0 2.375rem;
  width: 2.375rem;
  height: 1px;
  background: currentColor;
  content: "";
}
.eyebrow--orange { color: var(--ii-orange-a11y); }
.eyebrow--on-dark { color: #ffd1a3; }

.button, .wp-element-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.72rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--ii-radius-pill);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color var(--ii-transition), background-color var(--ii-transition), border-color var(--ii-transition), transform var(--ii-transition);
}
.button:hover, .wp-element-button:hover { transform: translateY(-2px); }
.button--primary, .wp-element-button { color: var(--ii-white); background: var(--ii-orange-a11y); }
.button--primary:hover, .button--primary:focus-visible,
.wp-element-button:hover, .wp-element-button:focus-visible { color: var(--ii-white); background: var(--ii-orange-hover); }
.button--secondary { color: var(--ii-white); background: var(--ii-blue); }
.button--secondary:hover, .button--secondary:focus-visible { color: var(--ii-white); background: var(--ii-navy); }
.button--ghost { color: var(--ii-navy); background: var(--ii-white); border-color: #b8c8d9; }
.button--ghost:hover, .button--ghost:focus-visible { color: var(--ii-orange-hover); border-color: var(--ii-orange-hover); }
.button--light { color: var(--ii-navy); background: var(--ii-white); }
.button--light:hover, .button--light:focus-visible { color: var(--ii-orange-hover); background: var(--ii-orange-soft); }
.button--nav { min-height: 46px; padding-inline: 1.2rem; color: var(--ii-white); background: var(--ii-navy); }
.button--nav:hover, .button--nav:focus-visible { color: var(--ii-white); background: var(--ii-blue); }

.card {
  position: relative;
  min-height: 19.5rem;
  overflow: hidden;
  padding: 1.875rem 1.75rem;
  background: var(--ii-white);
  border: 1px solid var(--ii-line);
  border-radius: 18px;
  transition: border-color var(--ii-transition), box-shadow var(--ii-transition), transform var(--ii-transition);
}
.card::before {
  position: absolute;
  top: -1.6rem;
  right: -1.6rem;
  width: 6.6rem;
  aspect-ratio: 1;
  background: var(--ii-pale);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.card--warm::before { background: var(--ii-orange-soft); }
.card:hover, .card:focus-within { border-color: #c8d7e6; box-shadow: var(--ii-shadow); transform: translateY(-4px); }
.card__label {
  position: relative;
  margin-bottom: 3.2rem;
  color: var(--ii-blue);
  font-size: 0.625rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.card--warm .card__label, .card--warm .card__link { color: var(--ii-orange-a11y); }
.card__title { position: relative; }
.card__text { position: relative; margin-top: 1rem; color: #607285; font-size: 0.875rem; }
.card__link {
  position: absolute;
  bottom: 1.55rem;
  left: 1.75rem;
  color: var(--ii-blue);
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
}
.card__link:hover, .card__link:focus-visible { text-decoration: underline; }

.quote-card {
  position: relative;
  margin: 0;
  padding: 1.5rem;
  color: var(--ii-navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ii-line);
  border-radius: 17px;
  box-shadow: var(--ii-shadow);
}
.quote-card::before {
  display: block;
  color: #cfe0f4;
  font-family: Georgia, serif;
  font-size: 2.75rem;
  line-height: 0.8;
  content: "“";
}
.quote-card blockquote { margin: 0.75rem 0 0; font-size: 1.0625rem; line-height: 1.45; }
.quote-card figcaption { margin-top: 1rem; color: #6d7d8d; font-size: 0.625rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(12rem, 0.75fr);
  align-items: center;
  gap: 2.5rem;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 2.8rem);
  color: var(--ii-white);
  background: linear-gradient(120deg, var(--ii-blue), #174a79);
  border-radius: var(--ii-radius-lg);
}
.cta-band::before {
  position: absolute;
  top: -5.4rem;
  right: 18%;
  width: 15.6rem;
  aspect-ratio: 1;
  border: 3.4rem solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}
.cta-band::after {
  position: absolute;
  right: 1.8rem;
  bottom: -2.8rem;
  width: 6rem;
  aspect-ratio: 1;
  background: var(--ii-orange);
  border-radius: 50%;
  content: "";
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 50rem; margin-top: 0.75rem; color: var(--ii-white); font-size: clamp(2rem, 3.2vw, 2.4rem); line-height: 1.16; }
.services-contact-cta .cta-band h2,
.home-contact-cta .cta-band h2 { overflow-wrap: anywhere; }
.cta-band__content > p:last-child { margin-top: 0.65rem; color: #d9e6f2; }
.cta-band > .button { justify-self: end; }

.intersection-visual {
  position: relative;
  width: min(100%, 35rem);
  height: 35rem;
  margin-inline: auto;
  isolation: isolate;
  contain: layout paint;
}
.intersection-visual__circle, .perspective-card { will-change: transform; transition: transform 240ms ease-out; }
.intersection-visual__circle { position: absolute; border-radius: 50%; }
.intersection-visual__circle--one {
  top: 5.6rem; left: 3.4rem; width: 20.6rem; aspect-ratio: 1;
  background: rgba(19, 84, 180, 0.07); border: 1px solid rgba(19, 84, 180, 0.1);
}
.intersection-visual__circle--two { top: 8.6rem; left: 12.8rem; width: 18.75rem; aspect-ratio: 1; background: rgba(91, 143, 212, 0.16); }
.intersection-visual__circle--core { top: 11.75rem; left: 9.25rem; width: 11.9rem; aspect-ratio: 1; background: rgba(19, 84, 180, 0.88); mix-blend-mode: multiply; }
.intersection-visual__circle--orange { top: 2.8rem; right: 0.5rem; width: 6.5rem; aspect-ratio: 1; background: var(--ii-orange); }
.intersection-visual__orbit { position: absolute; top: 4rem; left: 4.9rem; width: 24.4rem; aspect-ratio: 1; border: 1px dashed rgba(19, 84, 180, 0.27); border-radius: 50%; }
.perspective-card {
  position: absolute;
  z-index: 2;
  width: 14.7rem;
  padding: 1.05rem 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d7e2ec;
  border-radius: var(--ii-radius-md);
  box-shadow: var(--ii-shadow);
  backdrop-filter: blur(10px);
}
.perspective-card--one { top: 3.4rem; left: 0.5rem; }
.perspective-card--two { right: 0; bottom: 3.25rem; }
.perspective-card span { display: flex; justify-content: space-between; margin-bottom: 0.55rem; color: #6d7d8d; font-size: 0.625rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.perspective-card span i { width: 0.5rem; height: 0.5rem; background: var(--ii-orange); border-radius: 50%; }
.perspective-card--two span i { background: var(--ii-blue); }
.perspective-card strong { display: block; color: var(--ii-navy); font-size: 0.875rem; line-height: 1.45; }

.portrait-card {
  position: relative;
  height: clamp(24rem, 36vw, 26.5rem);
  overflow: hidden;
  margin: 0;
  background: var(--ii-pale);
  border: 1px solid #dce6f0;
  border-radius: 23px;
}
.portrait-card::after {
  position: absolute; right: -1.4rem; bottom: -1.4rem; width: 7.5rem; aspect-ratio: 1;
  background: var(--ii-orange); border-radius: 50%; content: ""; mix-blend-mode: multiply; opacity: 0.9; pointer-events: none;
}
.portrait-card__image { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

/* Homepage */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ii-white) 0%, #fbfdff 70%, #f7faff 100%);
  border-bottom: 1px solid var(--ii-line);
}
.home-hero__grid {
  display: grid;
  min-height: 45rem;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 2.8125rem;
  padding-block: 4rem 4.25rem;
}
.home-hero__content { position: relative; z-index: 2; }
.home-hero h1 { max-width: 48.75rem; margin-top: 1.5625rem; }
.home-hero h1 em { color: var(--ii-orange); font-style: normal; }
.home-hero__lead { max-width: 43.75rem; margin-top: 1.6875rem; color: #506477; font-size: 1.125rem; }
.home-hero__visual { min-width: 0; }
.home-hero .intersection-visual { margin-inline: auto; }
.intersection-visual__copy {
  position: absolute;
  top: 10rem;
  right: -0.5rem;
  width: 7.5rem;
  color: #66798d;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.intersection-visual__copy::before { display: block; width: 2.125rem; height: 2px; margin-bottom: 0.875rem; background: var(--ii-orange); content: ""; }

.home-approach {
  position: relative;
  overflow: hidden;
  padding-block: 4.75rem;
  color: var(--ii-white);
  background: linear-gradient(110deg, var(--ii-navy), #0e3a69 68%, #164d7f);
}
.home-approach::before {
  position: absolute;
  top: -10.625rem;
  right: 8%;
  width: 20rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}
.home-approach::after {
  position: absolute;
  right: 24%;
  bottom: -5.3125rem;
  width: 9.375rem;
  aspect-ratio: 1;
  background: rgba(240, 120, 36, 0.18);
  border-radius: 50%;
  content: "";
}
.home-approach__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4.375rem; }
.home-approach h2 { margin-top: 1rem; color: var(--ii-white); font-size: clamp(2.5rem, 4vw, 3.0625rem); }
.home-approach h2 span { color: #f3a15f; }
.home-approach__grid > div:last-child > p { color: #d5e2ed; }
.approach-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.375rem 0 0; padding: 0; list-style: none; }
.approach-pills li { padding: 0.25rem 0; border: 0; border-radius: 0; font-size: 0.6875rem; line-height: 1.25; }
.approach-pills .approach-pills__accent { color: #ffd0a8; border-color: rgba(243, 161, 95, 0.65); }

.home-process { background: linear-gradient(180deg, #f6fafe, var(--ii-sand)); }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.125rem; margin: 3.125rem 0 0; padding: 0; list-style: none; counter-reset: process-step; }
.process-timeline::before { position: absolute; top: 1.0625rem; right: 0.625rem; left: 0.625rem; height: 1px; background: linear-gradient(90deg, var(--ii-blue), #a9c3e4 60%, var(--ii-orange)); content: ""; }
.process-timeline__step { position: relative; padding-top: 3rem; counter-increment: process-step; }
.process-timeline__step::before { position: absolute; top: 0.5625rem; left: 0; z-index: 1; width: 1.0625rem; aspect-ratio: 1; background: var(--ii-white); border: 3px solid var(--ii-blue); border-radius: 50%; content: ""; }
.process-timeline__step:last-child::before { border-color: var(--ii-orange); }
.process-timeline__step h3 { font-size: 0.9375rem; letter-spacing: -0.01em; }
.process-timeline__step p { margin-top: 0.375rem; color: var(--ii-muted); font-size: 0.8125rem; }

.home-projects__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.75rem; }
.home-projects__intro { position: relative; min-height: 24.375rem; overflow: hidden; padding: 2.25rem; background: var(--ii-sand); border: 1px solid #f1dece; border-radius: 20px; }
.home-projects__intro::after { position: absolute; right: -5rem; bottom: -5.3125rem; width: 14.375rem; aspect-ratio: 1; background: rgba(240, 120, 36, 0.1); border-radius: 50%; content: ""; pointer-events: none; }
.home-projects__intro > * { position: relative; z-index: 1; }
.home-projects__intro h3 { max-width: 28rem; margin-top: 1rem; font-size: clamp(1.9rem, 3vw, 2.125rem); line-height: 1.15; }
.home-projects__intro > p:not(.eyebrow) { margin-top: 1.125rem; color: #617487; font-size: 0.9375rem; }
.text-link { display: inline-block; margin-top: 1.375rem; color: var(--ii-orange-a11y); font-size: 0.8125rem; font-weight: 850; text-decoration: none; }
.text-link:hover, .text-link:focus-visible { color: var(--ii-orange-hover); text-decoration: underline; }
.home-projects__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.125rem; }
.project-preview-card { position: relative; min-height: 11.5625rem; overflow: hidden; padding: 1.625rem; border: 1px solid var(--ii-line); border-radius: 18px; }
.project-preview-card:nth-child(3) { grid-column: 1 / -1; }
.project-preview-card::before { position: absolute; top: -1rem; right: -1rem; width: 4.875rem; aspect-ratio: 1; background: var(--ii-pale); border-radius: 50%; content: ""; pointer-events: none; }
.project-preview-card--warm::before { background: var(--ii-orange-soft); }
.project-preview-card > * { position: relative; }
.project-preview-card__label { color: var(--ii-blue); font-size: 0.625rem; font-weight: 850; line-height: 1.35; letter-spacing: 0.15em; text-transform: uppercase; }
.project-preview-card--warm .project-preview-card__label { color: var(--ii-orange-a11y); }
.project-preview-card h3 { max-width: 28rem; margin-top: 0.75rem; font-size: 1.25rem; line-height: 1.34; }
.project-preview-card h3 a { text-decoration: none; }
.project-preview-card h3 a:hover, .project-preview-card h3 a:focus-visible { color: var(--ii-orange-hover); text-decoration: underline; }
.project-preview-card__text { margin-top: 0.625rem; color: #617487; font-size: 0.8125rem; line-height: 1.55; }
.project-preview-card--placeholder { border-style: dashed; }

.home-about { background: #f8fbfd; }
.home-about__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); align-items: center; gap: 4.375rem; }
.home-about__content h2 { max-width: 43rem; margin-top: 0.8125rem; font-size: clamp(2.4rem, 4vw, 2.75rem); line-height: 1.1; }
.home-about__content > p:not(.eyebrow) { margin-top: 1.0625rem; color: #5a6d7f; }
.home-contact-cta { padding-block: 3rem 4.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 228, 238, 0.92);
  backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--ii-header-height);
}
.site-brand { display: block; width: 100%; max-width: 292px; }
.site-brand img { width: 100%; }
.primary-nav { min-width: 0; }
.language-switcher { display: flex; justify-content: center; align-items: center; gap: 0.4rem; font-size: 0.75rem; line-height: 1.25; }
.language-switcher > a, .language-switcher > span { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; }
.language-switcher [aria-current] { color: var(--ii-navy); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.language-switcher [aria-disabled] { color: var(--ii-muted); }
@media (max-width: 980px) { .language-switcher { justify-content: flex-start; margin-top: 1rem; } }
.primary-menu { display: flex; align-items: center; justify-content: center; gap: clamp(0.85rem, 1.8vw, 1.625rem); margin: 0; padding: 0; list-style: none; }
.primary-menu a {
  position: relative;
  display: block;
  padding-block: 1.95rem;
  color: #40566d;
  font-size: clamp(0.72rem, 1vw, 0.8125rem);
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.primary-menu a::after { position: absolute; right: 100%; bottom: 1.4rem; left: 0; height: 2px; background: var(--ii-orange); content: ""; transition: right var(--ii-transition); }
.primary-menu a:hover, .primary-menu a:focus-visible, .primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a, .primary-menu a[aria-current="page"] { color: var(--ii-navy); }
.primary-menu a:hover::after, .primary-menu a:focus-visible::after, .primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after, .primary-menu a[aria-current="page"]::after { right: 0; }
.menu-toggle, .menu-backdrop, .primary-nav__mobile-cta { display: none; }
.menu-toggle {
  position: relative;
  z-index: 1003;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ii-navy);
  background: var(--ii-white);
  border: 1px solid var(--ii-line);
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle__icon, .menu-toggle__icon i { display: block; }
.menu-toggle__icon { position: relative; width: 20px; height: 16px; }
.menu-toggle__icon i { position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: top var(--ii-transition), transform var(--ii-transition), opacity var(--ii-transition); }
.menu-toggle__icon i:nth-child(1) { top: 0; }
.menu-toggle__icon i:nth-child(2) { top: 7px; }
.menu-toggle__icon i:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.site-footer { padding-block: 1.75rem 1.95rem; background: var(--ii-white); border-top: 1px solid var(--ii-line); }
.site-footer__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; }
.site-brand--footer { max-width: 240px; }
.footer-navigation { display: flex; justify-content: center; gap: 1.4rem; color: #5f7183; font-size: 0.75rem; }
.footer-navigation a:hover, .footer-navigation a:focus-visible { color: var(--ii-orange-hover); }
.site-footer__copyright { color: #728295; font-size: 0.75rem; white-space: nowrap; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}
.screen-reader-text:focus {
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  margin: 0;
  padding: 0.75rem 1rem;
  color: var(--ii-navy);
  background: var(--ii-white);
  border: 2px solid var(--ii-orange-hover);
  border-radius: var(--ii-radius-sm);
  font-weight: 800;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .site-header__inner { grid-template-columns: 240px minmax(0, 1fr) auto; gap: 1rem; }
  .primary-menu { gap: 0.8rem; }
  .site-header__cta { padding-inline: 1rem; }
  .home-hero__visual .intersection-visual { width: 35rem; max-width: none; margin-inline: 0; transform: scale(0.65); transform-origin: left center; }
  .home-projects__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
}

@media (max-width: 980px) {
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-brand--header { max-width: 255px; }
  .site-header__cta { display: none; }
  .primary-nav { grid-column: 1 / -1; padding-bottom: 1rem; }
  .primary-menu { flex-wrap: wrap; }
  .primary-menu a { padding-block: 0.75rem; }
  .primary-menu a::after { bottom: 0.45rem; }
  .js .menu-toggle { display: inline-flex; }
  .js .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1002;
    display: flex;
    width: min(88vw, 420px);
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    padding: clamp(5.5rem, 12vh, 7.5rem) clamp(1.5rem, 6vw, 3rem) 2.5rem;
    background: var(--ii-white);
    box-shadow: -18px 0 48px rgba(8, 43, 80, 0.14);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path 240ms ease, visibility 240ms;
  }
  .js .primary-nav.is-open { clip-path: inset(0); visibility: visible; }
  .js .primary-menu { display: grid; align-items: stretch; justify-content: stretch; gap: 0; width: 100%; }
  .js .primary-menu a {
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--ii-line);
    color: var(--ii-navy);
    font-family: var(--ii-font-heading);
    font-size: clamp(1.25rem, 4vw, 1.65rem);
    font-weight: 700;
    white-space: normal;
  }
  .js .primary-menu a::after { right: auto; bottom: -1px; width: 0; transition: width var(--ii-transition); }
  .js .primary-menu a:hover::after, .js .primary-menu a:focus-visible::after,
  .js .primary-menu .current-menu-item > a::after, .js .primary-menu a[aria-current="page"]::after { width: 3rem; }
  .js .primary-nav__mobile-cta { display: inline-flex; align-self: flex-start; margin-top: 2rem; }
  .js .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(8, 43, 80, 0.5);
    border: 0;
    cursor: pointer;
    backdrop-filter: blur(2px);
  }
  .section-intro, .cta-band, .site-footer__grid { grid-template-columns: 1fr; }
  .section-intro { gap: 1rem; }
  .section-intro__lead { padding-top: 0; }
  .grid-3, .grid-4, .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band > .button { justify-self: start; }
  .site-footer__grid { justify-items: center; text-align: center; }
  .footer-navigation { flex-wrap: wrap; }
  .home-hero__grid, .home-approach__grid, .home-projects__grid, .home-about__grid { grid-template-columns: 1fr; }
  .home-hero__grid { min-height: 0; padding-block: 3.5rem; }
  .home-hero__visual { max-width: 35.625rem; }
  .process-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-timeline::before { display: none; }
  .process-timeline__step { padding-top: 2.1rem; }
  .process-timeline__step::before { top: 0; }
  .home-about .portrait-card { max-width: 31rem; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 650px) {
  :root { --ii-gutter: 21px; --ii-header-height: 72px; }
  h1 { font-size: clamp(2.55rem, 11vw, 2.875rem); }
  .site-brand--header { max-width: 220px; }
  .grid-2, .grid-3, .grid-4, .cards-grid { grid-template-columns: 1fr; }
  .card { min-height: 18.5rem; }
  .cta-band { padding: 2rem 1.5rem; }
  .intersection-visual { width: min(100%, 22rem); height: 24rem; }
  .intersection-visual__circle--one { top: 4.1rem; left: 0.6rem; width: 15rem; }
  .intersection-visual__circle--two { top: 6.1rem; left: 6.8rem; width: 13.45rem; }
  .intersection-visual__circle--core { top: 8.25rem; left: 4.5rem; width: 8.75rem; }
  .intersection-visual__circle--orange { top: 2.6rem; right: 0.2rem; width: 4.75rem; }
  .intersection-visual__orbit { top: 2.6rem; left: 1.1rem; width: 18.4rem; }
  .perspective-card { width: 11.8rem; padding: 0.8rem; }
  .perspective-card--one { top: 0.85rem; left: 0; }
  .perspective-card--two { right: 0; bottom: 1.2rem; }
  .perspective-card strong { font-size: 0.75rem; }
  .intersection-visual__copy { display: none; }
  .home-hero__grid { padding-block: 2.875rem 3.125rem; }
  .home-hero__lead { font-size: 1rem; }
  .home-approach { padding-block: 3.75rem; }
  .home-approach__grid { gap: 2rem; }
  .process-timeline, .home-projects__cards { grid-template-columns: 1fr; }
  .project-preview-card:nth-child(3) { grid-column: auto; }
  .home-projects__intro { min-height: 22rem; padding: 1.75rem; }
  .home-about__grid { gap: 2.5rem; }
  .home-about .portrait-card { width: 100%; height: auto; aspect-ratio: 1; }
  .home-contact-cta { padding-block: 2.5rem 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .button:hover, .card:hover, .card:focus-within,
  .intersection-visual__circle, .perspective-card { transform: none !important; }
}

/* Phase 4: Leistungen */
/* Phase 5: editorial cases and project detail fields. */
.case-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:2rem; }
.case-card { border:1px solid var(--ii-line); border-radius:18px; overflow:hidden; background:var(--ii-white); }
.case-card__geometry { height:190px; position:relative; overflow:hidden; background:var(--ii-pale); }
.case-card__geometry::before,.case-card__geometry::after { content:''; position:absolute; border-radius:50%; }
.case-card__geometry::before { width:180px; height:180px; left:45px; top:18px; background:rgba(19,84,180,.18); }
.case-card__geometry::after { width:88px; height:88px; right:22px; bottom:20px; background:var(--ii-orange); }
.case-card:nth-child(2) .case-card__geometry { background:var(--ii-orange-soft); }
.case-card:nth-child(2) .case-card__geometry::after { background:var(--ii-blue); }
.case-card__image img { width:100%; height:190px; object-fit:cover; }
.case-card__body { padding:24px 25px 28px; }
.case-card h3 { font-size:1.5rem; line-height:1.2; margin-top:.65rem; overflow-wrap:anywhere; }
.case-card p { margin-top:.875rem; font-size:.875rem; color:#53677b; }
.case-card .eyebrow { font-size:.65rem; color:var(--ii-orange-a11y); }
.case-card h3 a { text-decoration:none; }
.case-card h3 a:hover { text-decoration:underline; }
.project-areas { display:flex; flex-wrap:wrap; gap:.5rem 1rem; list-style:none; padding:0; color:var(--ii-blue); font-size:.8125rem; font-weight:700; }
.experience-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:46px; }
.experience-grid article { border:1px solid var(--ii-line); border-radius:15px; padding:23px; }
.experience-grid span { display:block; width:10px; height:10px; border-radius:50%; background:var(--ii-orange); margin-bottom:15px; }
.experience-grid h3 { font-size:1rem; }
.experience-grid p { font-size:.8125rem; color:#53677b; margin-top:.5rem; }
.project-single__header { max-width:54rem; margin-bottom:3rem; }
.project-single h1 { margin-block:1rem; overflow-wrap:anywhere; }
.project-single__header .project-areas { margin-top:1.5rem; }
.project-single__image { margin:0 0 3rem; width:min(100%,var(--ii-image-width,64rem),calc(40rem * var(--ii-image-ratio,1.5))); }
.project-single__image img { width:100%; height:auto; aspect-ratio:var(--ii-image-ratio,auto); border-radius:18px; }
.project-single__body { max-width:48rem; }
.project-field,.project-content { margin-bottom:3rem; }
.project-field h2,.project-content h2 { font-size:2rem; margin-bottom:1rem; }
.project-single__body p { overflow-wrap:anywhere; margin-bottom:1rem; }
.project-content img { max-width:100%; height:auto; }
.project-editorial-note { margin-top:1rem; padding:1rem; border-left:3px solid var(--ii-orange); }
.project-pagination { margin-top:2rem; }
.project-pagination a,.project-pagination span { display:inline-block; padding:.5rem .8rem; }
@media(max-width:980px) { .case-grid,.experience-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { .case-grid,.experience-grid { grid-template-columns:1fr; } }

.services-hero { background: var(--ii-white); }
.services-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  min-height: 32.5rem;
  padding-block: clamp(3.625rem, 7vw, 4.5rem);
}
.services-hero__content h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 4.75vw, 3.8125rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.services-hero__content h1 span { color: var(--ii-orange); }
.services-hero__lead {
  max-width: 43rem;
  margin-block: 1.5rem 0;
  color: var(--ii-muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}
.services-hero .button-group { margin-top: 1.75rem; }

.subpage-visual { position: relative; min-width: 0; height: 24.375rem; }
.subpage-visual__geometry { position: absolute; inset: 0; overflow: hidden; }
.subpage-visual__circle, .subpage-visual__orbit {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.subpage-visual__circle--one {
  left: 8%; top: 14%; width: 15.625rem; aspect-ratio: 1;
  background: var(--ii-pale);
}
.subpage-visual__circle--two {
  left: 38%; top: 21%; width: 13.75rem; aspect-ratio: 1;
  background: var(--ii-sky);
}
.subpage-visual__circle--three {
  left: 34%; top: 37%; width: 6.75rem; aspect-ratio: 1;
  background: var(--ii-blue); opacity: 0.83;
}
.subpage-visual__circle--four {
  right: 1%; top: 9%; width: 5.125rem; aspect-ratio: 1;
  background: var(--ii-orange);
}
.subpage-visual__orbit {
  left: 13%; top: 2%; width: min(21.875rem, 84%); aspect-ratio: 1;
  border: 2px dashed color-mix(in srgb, var(--ii-blue) 44%, transparent);
}
.subpage-visual__note {
  position: absolute; right: 0; bottom: 2.1875rem; width: 11.25rem;
  color: var(--ii-muted); font-size: 0.75rem;
}
.subpage-visual__label {
  margin-bottom: 0.45rem; color: var(--ii-orange-a11y);
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

.service-detail {
  scroll-margin-top: calc(var(--ii-header-height) + 1.5rem);
  padding-block: clamp(4.5rem, 8vw, 6.25rem);
}
.service-detail--cool { background: #f5f9fe; }
.service-detail--warm { background: var(--ii-sand); }
.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3.5rem, 7vw, 5.5rem);
  align-items: start;
}
.service-detail__intro { position: sticky; top: calc(var(--ii-header-height) + 2rem); }
.service-detail__number {
  margin: 0 0 -0.35rem;
  color: color-mix(in srgb, var(--ii-blue) 17%, transparent);
  font-size: clamp(4rem, 6vw, 4.875rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em;
}
.service-detail--accent .service-detail__number {
  color: color-mix(in srgb, var(--ii-orange) 26%, transparent);
}
.service-detail__intro h2 {
  margin-block: 0.75rem 1rem;
  font-size: clamp(2rem, 3.2vw, 2.4375rem); line-height: 1.12; letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.service-detail__lead {
  max-width: 35rem; margin: 0; color: var(--ii-muted); font-size: 0.9375rem;
}
.service-offers { display: grid; gap: 1rem; }
.service-offer {
  position: relative;
  padding: 1.5rem 1.625rem 1.5rem 3.375rem;
  background: var(--ii-white); border: 1px solid var(--ii-line);
  border-radius: var(--ii-radius-md); box-shadow: var(--ii-shadow);
}
.service-offer__dot {
  position: absolute; left: 1.5rem; top: 1.8125rem; width: 0.75rem; aspect-ratio: 1;
  background: var(--ii-blue); border-radius: 50%;
}
.service-offer--accent .service-offer__dot { background: var(--ii-orange); }
.service-offer h3 { margin: 0 0 0.375rem; font-size: 1.25rem; line-height: 1.25; }
.service-offer p { margin: 0; color: var(--ii-muted); font-size: 0.875rem; }
.service-detail__note {
  margin: 0.9375rem 0 0; padding: 1rem 1.125rem;
  background: var(--ii-orange-soft); border-left: 0.25rem solid var(--ii-orange-a11y);
  color: var(--ii-muted); font-size: 0.875rem;
}

.services-bridge { position: relative; overflow: hidden; background: var(--ii-navy); color: var(--ii-white); }
.services-bridge__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.78fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center; min-height: 22rem;
  padding-block: clamp(4rem, 7vw, 5.5rem);
}
.services-bridge__content { position: relative; z-index: 1; }
.services-bridge__content h2 {
  max-width: 17ch; margin-block: 0.75rem 0; color: var(--ii-white);
  font-size: clamp(2.25rem, 4vw, 3.375rem); line-height: 1.08; letter-spacing: -0.04em;
}
.services-bridge__visual { position: relative; height: 15rem; }
.services-bridge__circle, .services-bridge__orbit { position: absolute; display: block; border-radius: 50%; }
.services-bridge__circle--one {
  left: 6%; top: 8%; width: 10.5rem; aspect-ratio: 1; background: var(--ii-blue);
}
.services-bridge__circle--two {
  left: 35%; top: 25%; width: 9rem; aspect-ratio: 1;
  background: var(--ii-sky); mix-blend-mode: screen; opacity: 0.82;
}
.services-bridge__circle--three {
  right: 2%; top: 5%; width: 4.75rem; aspect-ratio: 1; background: var(--ii-orange);
}
.services-bridge__orbit {
  left: 17%; top: -7%; width: 15.5rem; aspect-ratio: 1;
  border: 2px dashed color-mix(in srgb, var(--ii-white) 45%, transparent);
}

@media (max-width: 61.25rem) {
  .services-hero__grid, .service-detail__grid, .services-bridge__grid { grid-template-columns: 1fr; }
  .services-hero__content h1 { max-width: 14ch; }
  .subpage-visual { width: min(100%, 35rem); margin-inline: auto; }
  .service-detail__intro { position: static; }
  .services-bridge__grid { gap: 1rem; }
  .services-bridge__visual { width: min(100%, 30rem); }
}

@media (max-width: 40.625rem) {
  .services-hero .button-group { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.8rem; }
  .services-hero__grid { padding-block: 3rem; }
  .services-hero__content h1 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .subpage-visual { height: 20.625rem; }
  .subpage-visual__circle--one { left: 0; width: 12rem; }
  .subpage-visual__circle--two { left: 35%; width: 10.75rem; }
  .subpage-visual__orbit { left: 4%; width: 18rem; }
  .subpage-visual__circle--four { right: 0; }
  .subpage-visual__note { bottom: 0.75rem; }
  .service-detail { padding-block: 4rem; }
  .service-detail__grid { gap: 2.5rem; }
  .service-offer { padding: 1.35rem 1.25rem 1.35rem 3rem; }
  .service-offer__dot { left: 1.25rem; top: 1.65rem; }
  .services-bridge__grid { min-height: 0; padding-block: 4rem; }
  .services-bridge__visual { height: 12rem; }
}

/* Phase 6: approved personal and contact compositions. */
.about-hero-portrait { position:relative; min-height:500px; }
.about-hero-portrait .portrait-card { width:365px; height:440px; max-width:calc(100% - 30px); margin:10px 0 50px 30px; }
.about-hero-portrait .portrait-card__image { height:100%; object-fit:cover; object-position:center 20%; }
.about-quote { position:absolute; right:0; bottom:18px; width:275px; max-width:100%; margin:0; padding:24px; border:1px solid var(--ii-line); border-radius:17px; background:rgba(255,255,255,.96); box-shadow:var(--ii-shadow); }
.about-quote > span { color:var(--ii-pale); font-size:42px; line-height:.8; }
.about-quote blockquote { margin:0; font-size:17px; line-height:1.45; color:var(--ii-navy); }
.about-quote figcaption { margin-top:16px; font-size:11px; text-transform:uppercase; letter-spacing:.14em; }
.about-journey-grid,.about-focus-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:80px; }
.about-journey-grid h2,.about-focus-grid h2 { font-size:clamp(2rem,3.1vw,2.75rem); line-height:1.12; overflow-wrap:anywhere; }
.about-pills { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; }
.about-pills li { border:0; border-radius:0; padding:0.25rem 0; font-size:13px; }
.approach-pills li, .about-pills li { cursor:default; background:none; box-shadow:none; transform:none; transition:none; }
.approach-pills li + li::before, .about-pills li + li::before { content:"·"; display:inline-block; margin-right:0.5rem; }
.about-journey { border-left:1px solid var(--ii-line); padding-left:46px; min-width:0; }
.about-journey-item { display:grid; grid-template-columns:100px 1fr; gap:20px; position:relative; padding-bottom:30px; }
.about-journey-item::before { content:''; position:absolute; left:-52px; top:9px; width:10px; height:10px; border-radius:50%; background:var(--ii-orange); }
.about-journey-item h3 { font-size:18px; }
.about-journey-label { color:var(--ii-blue); font-weight:700; font-size:12px; margin:0; }
.about-journey-item div p { font-size:14px; }
.about-principles { background:var(--ii-sand); }
.principle-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.principle-card { border:1px solid #eddccf; background:white; border-radius:16px; padding:25px; }
.principle-card i { display:block; width:44px; height:44px; border:16px solid var(--ii-orange-soft); border-radius:50%; background:var(--ii-orange); margin-bottom:18px; }
.principle-card:nth-child(even) i { border-color:var(--ii-pale); background:var(--ii-blue); }
.principle-card h3 { font-size:17px; }.principle-card p { font-size:14px; }
.about-focus-grid { align-items:center; }
.focus-intersection { height:330px; position:relative; width:390px; max-width:100%; }
.focus-intersection i { position:absolute; width:51%; aspect-ratio:1; border-radius:50%; background:rgba(19,84,180,.11); border:1px solid rgba(19,84,180,.12); top:45px; left:2.5%; }
.focus-intersection i:nth-child(2) { left:31%; top:10px; }
.focus-intersection i:nth-child(3) { left:46%; top:100px; background:rgba(91,143,212,.13); }
.focus-intersection b { position:absolute; width:19.5%; aspect-ratio:1; border-radius:50%; background:var(--ii-orange); left:37%; top:110px; }
.contact-content { background:linear-gradient(180deg,white,var(--ii-ice)); }
.contact-layout { display:grid; grid-template-columns:1.18fr .82fr; gap:25px; align-items:stretch; }
.contact-formbox,.contact-direct { min-width:0; border:1px solid var(--ii-line); background:white; border-radius:18px; padding:34px; }
.contact-formbox h2,.contact-direct h2 { font-size:32px; }
.contact-formgrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:28px; }
.contact-field { min-width:0; }.contact-field--full { grid-column:1/-1; }
.contact-field label { display:block; font-size:14px; font-weight:700; margin-bottom:8px; color:var(--ii-navy); }
.contact-field input,.contact-field select,.contact-field textarea { width:100%; min-width:0; border:1px solid #74899e; border-radius:10px; padding:13px 14px; background:white; color:var(--ii-ink); }
.contact-field textarea { min-height:150px; resize:vertical; }
.contact-field :focus-visible { outline:3px solid var(--ii-orange-hover); outline-offset:3px; }
.contact-field-error { color:var(--ii-orange-hover); font-size:14px; }
.contact-field [aria-invalid] { border:2px solid var(--ii-orange-hover); }
.contact-hint,#contact-required { font-size:13px; color:var(--ii-ink); }
.contact-honeypot { display:none; }
.form-feedback { border:2px solid var(--ii-blue); background:var(--ii-pale); border-radius:10px; padding:20px; margin-block:20px; scroll-margin-top:calc(var(--ii-header-height) + 24px); }
.form-feedback h3 { font-size:20px; }.form-feedback ul { padding-left:20px; }
#nachricht { scroll-margin-top:calc(var(--ii-header-height) + 24px); }
.contact-direct .portrait-card { height:205px; margin:0 0 22px; }
.contact-direct .portrait-card__image { height:100%; object-fit:cover; object-position:center 22%; }
.contact-direct p { font-size:14px; }
.contact-lines { border-top:1px solid var(--ii-line); padding-top:20px; margin-top:22px; }
.contact-direct blockquote { margin:22px 0 0; padding:20px; border-radius:14px; background:var(--ii-pale); color:var(--ii-navy); }
.contact-trust { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:48px; border-block:1px solid var(--ii-line); }
.contact-trust > div { padding:27px 24px; border-right:1px solid var(--ii-line); }.contact-trust > div:last-child { border:0; }
.contact-trust h3 { font-size:15px; }.contact-trust p { font-size:14px; }
.contact-final { background:var(--ii-navy); color:white; }.contact-final h2 { color:white; font-size:clamp(2rem,3.5vw,3rem); line-height:1.15; }.contact-final h2 span { color:var(--ii-orange); }
.contact-final-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
@media(max-width:980px) {
 .about-hero-portrait { max-width:520px; width:100%; }
 .about-journey-grid,.about-focus-grid,.contact-layout,.contact-final-grid { grid-template-columns:1fr; gap:40px; }
 .principle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
 .about-hero-portrait { min-height:0; }
 .about-hero-portrait .portrait-card { margin:0; width:100%; max-width:100%; height:400px; }
 .about-quote { position:relative; margin:-50px 0 0 auto; bottom:auto; }
 .about-journey { padding-left:24px; }.about-journey-item { grid-template-columns:1fr; gap:8px; }.about-journey-item::before { left:-30px; }
 .principle-grid,.contact-formgrid,.contact-trust { grid-template-columns:1fr; }
 .contact-formbox,.contact-direct { padding:24px 20px; }
 .contact-trust > div { border-right:0; border-bottom:1px solid var(--ii-line); }
}
/* Prevent intrinsic visual width from expanding narrow grid tracks. */
.about-focus-grid > *, .about-journey-grid > * { min-width:0; }
.about-page .services-hero__content h1 { max-width:none; }
@media(max-width:980px) { .about-focus-grid { grid-template-columns:minmax(0,1fr); } }
/* Text contrast override: decorative orange remains on geometry, not light-surface text. */
.about-page .services-hero__content h1 span,.contact-page .services-hero__content h1 span { color:var(--ii-orange-a11y); }
.about-page .services-hero__lead,.contact-page .services-hero__lead { color:#5f7183; }

/* Phase 7: audited text containment and contrast fixes. */
.section-intro > *, .services-bridge__grid > * { min-width:0; }
.section-intro h2, .services-bridge__content h2 { overflow-wrap:anywhere; }
.services-bridge__content h2, .projects-index .services-hero__content h1 { max-width:100%; }
.home-hero h1 em, .services-hero__content h1 span { color:var(--ii-orange-a11y); }
:root { --ii-muted:#5f7183; }
@media(max-width:980px) { .js .primary-nav { justify-content:safe center; } }
/* Long German hero words must remain inside their allocated text column. */
.services-hero__content h1 { overflow-wrap:anywhere; }
/* Let the Services heading use its reference-design grid column. */
.services-hero__content #services-title { max-width:100%; }
/* Native legal-page headings may contain long German compound words. */
.site-main > .site-shell > .wp-block-heading { overflow-wrap:anywhere; }
/* Legal copy follows the editorial scale, within the existing content column. */
.legal-page { padding-block:var(--ii-space-6) var(--ii-section-space); }
.legal-page__content { max-width:var(--ii-content); font-size:clamp(1.0625rem, 1.25vw, 1.125rem); line-height:1.6; overflow-wrap:anywhere; }
.legal-page__content h1 { font-size:clamp(2.25rem, 4vw, 3.25rem); line-height:1.12; margin-bottom:var(--ii-space-6); }
.legal-page__content h2 { font-size:clamp(1.5rem, 2.1vw, 1.75rem); line-height:1.25; margin-block:2.5rem var(--ii-space-3); text-wrap:pretty; }
.legal-page__content h3 { font-size:clamp(1.25rem, 1.6vw, 1.375rem); line-height:1.3; margin-block:var(--ii-space-5) var(--ii-space-2); }
.legal-page__content h1 + h2 { margin-top:0; }
.legal-page__content p + p, .legal-page__content ul, .legal-page__content ol { margin-top:var(--ii-space-3); }
.legal-page__content li + li { margin-top:var(--ii-space-1); }
/* Tinted panels need the darker approved orange to retain AA text contrast. */
.home-projects__intro .eyebrow--orange,.home-projects__intro .text-link,
.home-about .eyebrow--orange,.home-about .text-link { color:var(--ii-orange-hover); }
.services-bridge__content .eyebrow { color:#ffd1a3; }

/* Phase 9.6: native Gallery blocks, original image proportions, no carousel. */
.portrait-card.portrait-card--media { height:auto; aspect-ratio:534 / 719; max-width:27rem; }
.portrait-card.portrait-card--media .portrait-card__image { display:block; width:100%; height:auto; object-fit:contain; }
.project-gallery.wp-block-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; margin:2rem 0; }
.project-gallery.wp-block-gallery .wp-block-image { width:100% !important; margin:0; align-self:start; }
.project-gallery.wp-block-gallery .wp-block-image img { display:block; width:100%; height:auto; object-fit:contain; border-radius:16px; }
.project-gallery.wp-block-gallery .wp-block-image figcaption { position:static; color:var(--ii-navy); background:none; padding:.75rem 0; font-size:.875rem; }
.project-gallery.wp-block-gallery:has(> :only-child) { grid-template-columns:minmax(0,1fr); }
.project-content h3,.about-journey h3 { margin:2rem 0 .75rem; font-size:1.35rem; overflow-wrap:anywhere; }
.project-editorial-content { max-width:60rem; }
.project-editorial-content h2 { margin-bottom:1rem; }
.session-card { padding:1.5rem; margin:2rem 0; border:1px solid var(--ii-line); border-radius:18px; background:var(--ii-pale); }
.session-card p:last-child { margin-bottom:0; }
@media (max-width:600px) { .project-gallery.wp-block-gallery { grid-template-columns:minmax(0,1fr); } }
