:root {
  --site-font: 'Inter', sans-serif;
  --display-weight: 300;
  --body-weight: 400;
  --ui-weight: 500;
  --enkeme-blue: #005470;
  --enkeme-blue-dark: #003d51;
  --enkeme-gray: #5a5b5b;
  --ink: #17191a;
  --muted: #60676a;
  --paper: #ffffff;
  --soft: #eef3f4;
  --line: #dbe1e3;
  --rail-width: 82px;
  --header-height: 78px;
  --header-logo-height: 44px;
  --header-logo-gap: clamp(.85rem, 1.4vw, 1.35rem);
  --page-pad: clamp(1.35rem, 4.2vw, 5rem);
  --section-space: clamp(4.75rem, 8vw, 8.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--site-font);
  font-weight: var(--body-weight);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}
body::before { display: none !important; content: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: var(--site-font); }

.skip-link {
  position: fixed;
  z-index: 5000;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 1rem; }

/* Simplified cover motion: exact logo appears, rises, and reveals the page. */
body:not(.dept-home) .dept-intro { display: none; }
.dept-intro {
  position: fixed;
  z-index: 4000;
  inset: 0;
  height: 100vh;
  height: 100lvh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  overflow: hidden;
  background: var(--enkeme-blue);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  overscroll-behavior: none;
  touch-action: none;
  transition: transform 1.28s cubic-bezier(.65, 0, .35, 1);
}
.dept-intro-logo {
  width: clamp(76px, 9vw, 132px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: translateY(14px);
  animation: introLogoIn .5s var(--ease) .08s forwards;
  transition: transform 1.28s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
  backface-visibility: hidden;
}
.dept-intro.is-curtain-entry .dept-intro-logo {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
.dept-intro.is-curtain-entry.is-left-to-right { justify-content: flex-end; }
.dept-intro.is-opening { transform: translate3d(0, calc(-100% - 4px), 0); }
.dept-intro.is-opening .dept-intro-logo {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.dept-intro.is-finished { visibility: hidden; pointer-events: none; }
@keyframes introLogoIn { to { opacity: 1; transform: translateY(0); } }

.sitemap-groups { align-items: stretch; }
.sitemap-groups .feature-card h2 { margin-bottom: 2rem; }
.sitemap-groups .feature-card h2 a { color: inherit; }
.sitemap-groups .footer-nav { display: grid; gap: .8rem; }

.dept-shell { width: 100%; max-width: none; margin: 0; }
.dept-body > main,
.dept-footer { width: 100%; margin-left: 0; }

/* Narrow practice rail and quiet top navigation, inspired by the reference. */
.dept-header {
  position: fixed;
  z-index: 1500;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(23,25,26,.12);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  transition: box-shadow .3s ease;
}
.dept-header.is-scrolled { box-shadow: 0 10px 30px rgba(18,35,42,.06); }
.dept-header-inner {
  width: 100%;
  height: 100%;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}
.dept-header-inner::before {
  display: none;
}
.dept-brand {
  position: fixed;
  z-index: 1600;
  top: 0;
  left: 0;
  width: var(--rail-width);
  height: var(--header-height);
  border: 0;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
}
.dept-brand::before,
.dept-brand::after {
  position: absolute;
  z-index: 1700;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, transform .22s var(--ease);
}
.dept-brand::before {
  content: '';
  left: 50%;
  top: calc(100% + 2px);
  border: 6px solid transparent;
  border-bottom-color: var(--enkeme-blue);
  transform: translate(-50%, -5px);
}
.dept-brand::after {
  content: 'All Departments';
  left: .7rem;
  top: calc(100% + 14px);
  padding: .55rem .72rem;
  background: var(--enkeme-blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 40, 54, .16);
  white-space: nowrap;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(-5px);
}
.dept-brand:hover::before,
.dept-brand:hover::after,
.dept-brand:focus-visible::before,
.dept-brand:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.dept-brand:hover::after,
.dept-brand:focus-visible::after { transform: translateY(0); }
.dept-brand:focus-visible { outline: 2px solid var(--enkeme-blue); outline-offset: -4px; }
.dept-brand .dept-brand-mark {
  width: auto;
  height: var(--header-logo-height);
  object-fit: contain;
}
.dept-identity {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  height: 100%;
  min-width: 0;
  padding: 0;
}
.dept-identity img {
  width: auto;
  height: var(--header-logo-height);
  max-width: min(320px, 30vw);
  object-fit: contain;
  object-position: left center;
  transition: opacity .2s ease;
}
.dept-identity:hover img,
.dept-identity:focus-visible img { opacity: .72; }
.dept-nav { display: flex; align-items: center; gap: clamp(.8rem, 1.8vw, 1.8rem); }
.dept-nav-list { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.9rem); list-style: none; }
.dept-nav a {
  position: relative;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.dept-nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.52rem;
  height: 1px;
  background: var(--enkeme-blue);
  transition: right .3s var(--ease);
}
.dept-nav-list a:hover::after,
.dept-nav-list a[aria-current='page']::after { right: 0; }
.dept-switch {
  display: none !important;
  align-items: center;
  gap: .45rem;
  min-height: 40px;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  transition: background .22s, color .22s, border-color .22s;
}
.dept-switch::after { content: '↗'; font-size: .85rem; }
.dept-switch:hover,
.dept-switch:focus-visible { background: var(--enkeme-blue); border-color: var(--enkeme-blue); color: #fff; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  position: relative;
  width: 18px;
  height: 1px;
  background: var(--ink);
  content: '';
  transition: transform .25s, top .25s, opacity .25s;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded='true'] span { background: transparent; }
.menu-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

/* One active department identity with a clearly separated Enkeme switcher. */
.enkeme-switcher-trigger {
  flex: 0 0 auto;
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--site-font);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .11em;
  line-height: inherit;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.enkeme-switcher-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.52rem;
  height: 1px;
  background: var(--enkeme-blue);
  transition: right .3s var(--ease);
}
.enkeme-switcher-trigger:hover::after,
.enkeme-switcher-trigger:focus-visible::after,
.enkeme-switcher-trigger[aria-expanded='true']::after { right: 0; }
.enkeme-switcher-trigger:hover,
.enkeme-switcher-trigger:focus-visible { color: var(--ink); }
.enkeme-switcher-trigger:focus-visible { outline: none; }
.enkeme-switcher-mobile { display: none; }

.enkeme-switcher-dropdown {
  position: fixed;
  z-index: 1700;
  top: var(--header-height);
  right: var(--page-pad);
  width: 220px;
  padding: .6rem 0;
  border: 1px solid var(--line);
  border-top: 2px solid var(--enkeme-blue);
  background: rgba(255,255,255,.98);
}
.enkeme-switcher-dropdown[hidden] { display: none; }
.enkeme-switcher-dropdown a {
  display: block;
  padding: .72rem 1rem;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.enkeme-switcher-dropdown a:hover,
.enkeme-switcher-dropdown a:focus-visible { color: var(--enkeme-blue); outline: none; }
.enkeme-switcher-mobile-menu {
  margin: .8rem 0 0;
  padding: .25rem 0 0 1rem;
  border-left: 1px solid var(--enkeme-blue);
  list-style: none;
}
.enkeme-switcher-mobile-menu[hidden] { display: none; }
.enkeme-switcher-mobile-menu li + li { margin-top: .65rem; }
.enkeme-switcher-mobile-menu a { color: var(--muted); font-size: .7rem; }
.enkeme-switcher-mobile-menu a:hover,
.enkeme-switcher-mobile-menu a:focus-visible { color: var(--enkeme-blue); }

main { display: block; }
.dept-hero {
  min-height: 100svh;
  padding: calc(var(--header-height) + 3.5rem) var(--page-pad) 3.5rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  grid-template-rows: 1fr auto;
  gap: 2rem;
  overflow: hidden;
  background: var(--soft);
}
.dept-construction .dept-hero { background: #242829; color: #fff; }
.hero-field { display: none; }
.hero-copy { grid-column: 1 / 12; align-self: center; }
.hero-kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: clamp(1.4rem, 2.5vw, 2.4rem);
  color: var(--enkeme-blue);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-kicker::before,
.section-kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.dept-construction .hero-kicker { color: #88c1d4; }
.hero-title {
  max-width: 14ch;
  font-size: clamp(3.8rem, 8.5vw, 9rem);
  font-weight: var(--display-weight);
  letter-spacing: -.07em;
  line-height: .9;
  text-wrap: balance;
}
.hero-title .title-line { display: block; }
.hero-title strong { color: var(--enkeme-blue); font-weight: 500; }
.dept-construction .hero-title strong { color: #86bfd2; }
.dept-home .hero-copy {
  grid-column: 1 / 8;
  grid-row: 1;
}
.hero-home-visual {
  position: relative;
  grid-column: 9 / -1;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 460px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-left: 3px solid var(--enkeme-blue);
  background: #e5ebed;
}
.dept-construction .hero-home-visual {
  border-left-color: #86bfd2;
  background: #303638;
}
.hero-home-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dept-architects .hero-home-visual img { object-position: 50% 46%; }
.dept-construction .hero-home-visual img { object-position: 50% 52%; }
.hero-home-visual figcaption {
  position: absolute;
  right: .85rem;
  bottom: .7rem;
  color: rgba(255,255,255,.92);
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: right;
  text-shadow: 0 1px 5px rgba(0,0,0,.65);
  text-transform: uppercase;
}
.hero-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, .55fr);
  gap: 2rem;
  align-items: end;
  padding-top: 1.35rem;
}
.hero-intro { max-width: 720px; font-size: clamp(1rem, 1.35vw, 1.28rem); line-height: 1.65; }
.hero-meta { font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; opacity: .68; }
.hero-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-link::after { content: '↓'; font-size: 1rem; }

.ticker,
.dept-home .quote-band,
.dept-architects.dept-home .dept-section.is-blue,
.dept-construction.dept-home .dept-section.is-dark { display: none; }

.dept-section { padding: var(--section-space) var(--page-pad); }
.dept-section.is-soft { background: var(--soft); }
.dept-section.is-blue { background: var(--enkeme-blue); color: #fff; }
.dept-section.is-dark { background: #202426; color: #fff; }
.section-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(1.5rem,3vw,3.5rem); }
.section-heading {
  grid-column: 1 / 10;
  max-width: 22ch;
  font-size: clamp(2.6rem, 4.7vw, 5.2rem);
  font-weight: var(--display-weight);
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}
.section-lede {
  grid-column: 10 / -1;
  align-self: end;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(.98rem, 1.15vw, 1.15rem);
  line-height: 1.75;
}
.is-blue .section-kicker,
.is-blue .section-lede,
.is-dark .section-kicker,
.is-dark .section-lede { color: rgba(255,255,255,.74); }

.capability-list { margin-top: clamp(2.75rem, 5vw, 5rem); border-top: 1px solid currentColor; }
.capability-row {
  position: relative;
  min-height: 120px;
  overflow: hidden;
  border-bottom: 1px solid currentColor;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) minmax(220px,.62fr) 36px;
  gap: 1.3rem;
  align-items: center;
}
.capability-row::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--enkeme-blue);
  transform: translateY(102%);
  transition: transform .4s var(--ease);
}
.is-blue .capability-row::before { background: #fff; }
.is-dark .capability-row::before { background: #86bfd2; }
.capability-row:hover::before { transform: translateY(0); }
.capability-row > * { position: relative; z-index: 1; }
.capability-number { font-size: .66rem; letter-spacing: .13em; opacity: .62; }
.capability-title { font-size: clamp(1.35rem, 2.5vw, 2.8rem); font-weight: var(--display-weight); letter-spacing: -.045em; line-height: 1.05; }
.capability-copy { color: var(--muted); font-size: .86rem; line-height: 1.65; }
.capability-arrow { text-align: right; font-size: 1.25rem; transition: transform .25s; }
.capability-row:hover { color: #fff; }
.capability-row:hover .capability-copy { color: rgba(255,255,255,.78); }
.capability-row:hover .capability-arrow { transform: translateX(.25rem); }
.is-blue .capability-row:hover,
.is-dark .capability-row:hover { color: var(--ink); }
.is-blue .capability-row:hover .capability-copy,
.is-dark .capability-row:hover .capability-copy { color: var(--muted); }

.project-list { margin-top: clamp(2.75rem,5vw,5rem); border-top: 1px solid var(--line); }
.project-row {
  display: grid;
  grid-template-columns: 58px minmax(0,1.3fr) minmax(150px,.45fr) 32px;
  gap: 1.3rem;
  align-items: center;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
  transition: color .22s, padding .3s var(--ease);
}
.project-row:hover { color: var(--enkeme-blue); padding-left: .8rem; padding-right: .8rem; }
.project-index,
.project-sector { font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.project-index,
.project-sector { color: var(--muted); }
.project-name { font-size: clamp(1.25rem,2.2vw,2.4rem); font-weight: var(--display-weight); letter-spacing: -.04em; }
.project-arrow { justify-self: end; font-size: 1.2rem; }

.feature-grid {
  margin-top: clamp(2.75rem,5vw,5rem);
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid currentColor;
}
.feature-card { padding: 2.2rem 1.8rem 2.7rem 0; border-bottom: 1px solid currentColor; }
.feature-card + .feature-card { padding-left: 1.8rem; border-left: 1px solid currentColor; }
.feature-card-number { display: block; margin-bottom: 3.5rem; font-size: .65rem; letter-spacing: .15em; opacity: .65; }
.feature-card h3 { max-width: 18ch; margin-bottom: 1rem; font-size: clamp(1.25rem,1.9vw,1.85rem); font-weight: 400; letter-spacing: -.03em; }
.feature-card p { max-width: 40ch; opacity: .74; line-height: 1.7; }

.dept-cta {
  padding: clamp(4.8rem, 8vw, 8.5rem) var(--page-pad);
  overflow: hidden;
  background: var(--enkeme-blue);
  color: #fff;
}
.dept-construction .dept-cta { background: #2a2f31; }
.dept-cta h2 {
  max-width: 15ch;
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  font-weight: var(--display-weight);
  letter-spacing: -.065em;
  line-height: .94;
  text-wrap: balance;
}
.dept-cta p { max-width: 620px; margin: 1.7rem 0; font-size: clamp(1rem,1.2vw,1.18rem); opacity: .8; line-height: 1.7; }
.text-link,
.solid-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: Inter, Arial, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.text-link::after,
.solid-link::after { content: '→'; font-size: 1.1rem; transition: transform .22s; }
.text-link:hover::after,
.solid-link:hover::after { transform: translateX(.3rem); }
.solid-link { min-height: 46px; margin-top: .6rem; padding: .85rem 1.15rem; border: 1px solid currentColor; }
.solid-link:hover,
.solid-link:focus-visible { background: #fff; color: var(--enkeme-blue); }

.page-hero {
  min-height: 66svh;
  padding: calc(var(--header-height) + 4rem) var(--page-pad) 4.5rem;
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  align-items: end;
  overflow: hidden;
  background: var(--soft);
}
.dept-construction .page-hero { background: #282d2f; color: #fff; }
.page-hero-copy { grid-column: 1 / 12; }
.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(3.5rem, 7vw, 7.6rem);
  font-weight: var(--display-weight);
  letter-spacing: -.07em;
  line-height: .92;
  text-wrap: balance;
}
.page-hero p { max-width: 720px; margin-top: 2rem; font-size: clamp(1rem,1.25vw,1.22rem); line-height: 1.7; }

.page-image {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  height: clamp(420px, 58svh, 720px);
  margin: 0;
  overflow: hidden;
  background: #e8ebeb;
}
.page-image-short { height: clamp(340px, 46svh, 560px); }
.page-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.page-image:hover img { transform: scale(1.01); }
.dept-architects .page-image img { object-position: 50% 48%; }
.dept-construction .page-image img { object-position: 50% 52%; }
.page-image figcaption {
  padding: .85rem var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--enkeme-gray);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-hero-split {
  min-height: clamp(620px, 74svh, 860px);
  padding: var(--header-height) 0 0;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
}
.page-hero-split .page-hero-copy {
  grid-column: auto;
  order: 2;
  min-width: 0;
  padding: clamp(3.5rem,6vw,7rem) var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero-split h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem,5.8vw,6.6rem);
}
.page-hero-split .page-hero-visual {
  position: relative;
  order: 1;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #e8ebeb;
}
.page-hero-split .page-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dept-architects .page-hero-visual img { object-position: 50% 50%; }
.dept-construction .page-hero-visual img { object-position: 50% 50%; }
.page-hero-split .page-hero-visual figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  color: rgba(255,255,255,.88);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.4;
  text-shadow: 0 1px 5px rgba(0,0,0,.62);
  text-transform: uppercase;
}

.detail-grid { display: grid; grid-template-columns: minmax(120px,.55fr) minmax(0,2fr); gap: clamp(2rem,6vw,7rem); }
.detail-aside { color: var(--enkeme-blue); font-size: .66rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.detail-copy h2 {
  max-width: 16ch;
  margin-bottom: 2rem;
  font-size: clamp(2.4rem,4.4vw,4.8rem);
  font-weight: var(--display-weight);
  letter-spacing: -.05em;
  line-height: 1;
  text-wrap: balance;
}
.detail-copy p { max-width: 820px; margin-bottom: 1.25rem; color: var(--muted); font-size: clamp(.98rem,1.05vw,1.1rem); line-height: 1.8; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.filter-button {
  min-height: 42px;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter-button:hover,
.filter-button.is-active { background: var(--enkeme-blue); border-color: var(--enkeme-blue); color: #fff; }
.portfolio-list { border-top: 1px solid var(--line); }
.portfolio-item {
  display: grid;
  grid-template-columns: 58px minmax(220px,1fr) minmax(150px,.34fr) minmax(260px,.72fr);
  gap: 1.3rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.portfolio-item[hidden] { display: none; }
.portfolio-item h2 { font-size: clamp(1.2rem,1.8vw,1.8rem); font-weight: 450; letter-spacing: -.025em; line-height: 1.15; }
.portfolio-item p { max-width: 46ch; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.portfolio-meta { color: var(--enkeme-blue); font-size: .62rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem,7vw,8rem); }
.contact-panel h2 {
  max-width: 15ch;
  font-size: clamp(2.2rem,3.8vw,4rem);
  font-weight: var(--display-weight);
  letter-spacing: -.05em;
  line-height: 1.03;
  text-wrap: balance;
}
.contact-panel p { max-width: 36rem; margin-top: 1.25rem; color: var(--muted); line-height: 1.75; }
.contact-details { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.contact-details a,
.contact-details span { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.form-field { display: grid; gap: .5rem; }
.form-field.is-wide { grid-column: 1 / -1; }
.form-field label { font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .9rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--enkeme-blue); box-shadow: 0 1px 0 var(--enkeme-blue); }
.form-submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 46px;
  padding: .85rem 1.2rem;
  border: 1px solid var(--enkeme-blue);
  background: var(--enkeme-blue);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.form-submit:hover,
.form-submit:focus-visible { background: var(--enkeme-blue-dark); }

.editorial-feature {
  display: grid;
  grid-template-columns: minmax(320px,.9fr) minmax(0,1.1fr);
  min-height: clamp(590px,72svh,860px);
  background: var(--soft);
}
.editorial-visual { min-height: 590px; overflow: hidden; background: #e9ebeb; }
.editorial-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.editorial-feature:hover .editorial-visual img { transform: scale(1.012); }
.editorial-feature-architects .editorial-visual img { object-position: 50% 47%; }
.editorial-feature-construction .editorial-visual img { object-position: 50% 50%; }
.editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3.5rem,7vw,8rem) var(--page-pad);
}
.editorial-kicker {
  margin-bottom: auto;
  padding-bottom: 4rem;
  color: var(--enkeme-blue);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.editorial-copy h2 {
  max-width: 13ch;
  scroll-margin-top: calc(var(--header-height) + 3rem);
  font-size: clamp(3rem,4.5vw,5.4rem);
  font-weight: var(--display-weight);
  letter-spacing: -.06em;
  line-height: .96;
  text-wrap: balance;
}
.editorial-copy > p:not(.editorial-kicker) {
  max-width: 38rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: clamp(.98rem,1.15vw,1.12rem);
  line-height: 1.75;
}
.editorial-note {
  margin-top: 2.5rem;
  color: var(--enkeme-gray);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dept-footer { padding: 4rem var(--page-pad) 2rem; border-top: 1px solid var(--line); background: var(--soft); color: var(--ink); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand-logo { display: inline-flex; align-self: start; justify-self: start; }
.footer-brand-logo img { width: min(440px,100%); height: auto; }
.footer-nav { list-style: none; }
.footer-nav li + li { margin-top: .6rem; }
.footer-nav a { color: var(--muted); font-size: .84rem; }
.footer-nav a:hover { color: var(--enkeme-blue); }
.footer-label { margin-bottom: 1.1rem; color: var(--enkeme-gray); font-size: .62rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.footer-bottom {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(23,25,26,.14);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .05em;
}
.footer-utility-nav { display: flex; align-items: center; gap: 1.25rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .dept-header-inner::before { display: none; }
  .menu-toggle { display: inline-flex; }
  .dept-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    padding: 1.8rem var(--page-pad) 2.2rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
    display: grid;
    gap: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-120%);
    transition: transform .35s var(--ease), opacity .22s;
  }
  .dept-header.is-menu-open .dept-nav { opacity: 1; pointer-events: auto; transform: none; }
  .dept-nav-list { display: grid; gap: 1.15rem; }
  .enkeme-switcher-desktop { display: none; }
  .enkeme-switcher-mobile { display: list-item; padding-top: .45rem; border-top: 1px solid var(--line); }
  .enkeme-switcher-mobile .enkeme-switcher-trigger { width: 100%; justify-content: space-between; padding-left: 0; font-size: .76rem; }
  .dept-nav a { font-size: .76rem; }
  .dept-switch { justify-self: start; }
  .hero-copy { grid-column: 1 / -1; }
  .dept-home .hero-copy { grid-column: 1 / 8; }
  .hero-home-visual { grid-column: 9 / -1; width: min(100%, 380px); }
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-intro { grid-column: 1 / -1; }
  .hero-link { justify-self: start; }
  .section-heading,
  .section-lede { grid-column: 1 / -1; }
  .section-lede { max-width: 720px; }
  .capability-row { grid-template-columns: 48px 1fr 32px; }
  .capability-copy { grid-column: 2 / 3; padding-bottom: 1.35rem; }
  .capability-arrow { grid-column: 3; grid-row: 1; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card,
  .feature-card + .feature-card { padding: 1.8rem 0; border-left: 0; }
  .feature-card-number { margin-bottom: 1.8rem; }
  .editorial-feature { grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); }
  .editorial-copy h2 { font-size: clamp(2.8rem,5.6vw,5rem); }
  .page-hero-copy { grid-column: 1 / -1; }
  .page-image { height: clamp(380px,54svh,620px); }
  .page-image-short { height: clamp(320px,42svh,480px); }
  .detail-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .portfolio-item { grid-template-columns: 48px 1fr; }
  .portfolio-meta,
  .portfolio-item p { grid-column: 2 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-logo { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --rail-width: 62px; --header-height: 68px; --header-logo-height: 34px; }
  .dept-brand .dept-brand-mark,
  .dept-identity img { height: var(--header-logo-height); }
  .dept-identity img { max-width: min(190px, 50vw); }
  .dept-intro {
    --curtain-viewport-width: 100vw;
    --curtain-viewport-height: 100dvh;
    --curtain-overscan: 144px;
    inset: auto;
    top: calc(0px - var(--curtain-overscan));
    right: auto;
    bottom: auto;
    left: -2px;
    width: calc(var(--curtain-viewport-width) + 4px);
    height: calc(var(--curtain-viewport-height) + var(--curtain-overscan) + var(--curtain-overscan));
    padding: 0;
  }
  .dept-intro-logo {
    position: absolute;
    right: auto;
    bottom: calc(var(--curtain-overscan) + 1.5rem);
    left: 1.5rem;
    width: 76px;
  }
  .dept-intro.is-curtain-entry.is-left-to-right .dept-intro-logo {
    right: 1.5rem;
    left: auto;
  }
  .dept-hero { min-height: 100svh; padding-top: calc(var(--header-height) + 2.5rem); }
  .dept-home .dept-hero {
    grid-template-rows: auto auto auto;
    align-content: center;
  }
  .dept-home .hero-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .hero-home-visual {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .dept-home .hero-bottom {
    grid-row: 3;
  }
  .hero-title { font-size: clamp(2.8rem,12vw,4.5rem); max-width: 14ch; }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-link { justify-self: start; }
  .editorial-feature { grid-template-columns: 1fr; min-height: 0; }
  .editorial-visual { min-height: 0; aspect-ratio: 4 / 5; }
  .editorial-copy { min-height: 500px; padding-top: 3rem; padding-bottom: 3.5rem; }
  .editorial-kicker { padding-bottom: 3rem; }
  .editorial-copy h2 { font-size: clamp(2.75rem,12vw,4.5rem); }
  .page-hero { min-height: 58svh; padding-top: calc(var(--header-height) + 3rem); }
  .page-hero h1 { font-size: clamp(3rem,13vw,5.2rem); }
  .page-hero-split {
    min-height: 0;
    padding: var(--header-height) 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px,44svh) auto;
  }
  .page-hero-split .page-hero-visual { grid-column: 1; grid-row: 1; min-height: 0; }
  .page-hero-split .page-hero-copy { grid-column: 1; grid-row: 2; padding: 3rem var(--page-pad) 3.5rem; }
  .page-hero-split h1 { font-size: clamp(2.75rem,12vw,4.5rem); }
  .page-image,
  .page-image-short { height: auto; grid-template-rows: auto auto; }
  .page-image img { height: auto; aspect-ratio: 4 / 3; }
  .dept-architects .page-image img { object-position: 50% 50%; }
  .dept-construction .page-image img { object-position: 50% 50%; }
  .section-heading { font-size: clamp(2.35rem,10vw,4rem); }
  .dept-cta h2 { font-size: clamp(2.8rem,12vw,4.5rem); }
  .capability-row { min-height: 104px; grid-template-columns: 38px 1fr 24px; gap: .75rem; }
  .capability-copy { display: none; }
  .project-row { grid-template-columns: 38px 1fr 22px; gap: .75rem; }
  .project-sector { grid-column: 2; }
  .project-arrow { grid-column: 3; grid-row: 1; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field,
  .form-field.is-wide,
  .form-submit { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand-logo { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .dept-intro { display: none; }
}

/* Compact Architects editorial system.
   Construction intentionally keeps its established layout. */
.dept-architects {
  --section-space: clamp(3.5rem, 5.4vw, 5.8rem);
}

.dept-architects .dept-hero {
  min-height: clamp(560px, 78svh, 760px);
  padding-top: calc(var(--header-height) + 2.75rem);
  padding-bottom: 2.75rem;
}

.dept-architects .hero-title {
  max-width: 12ch;
  font-size: clamp(3.7rem, 7.4vw, 7.7rem);
}

.dept-architects .editorial-feature-architects {
  width: calc(100% - (2 * var(--page-pad)));
  min-height: 0;
  margin: var(--page-pad);
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.dept-architects .editorial-feature-architects .editorial-visual {
  min-height: 0;
  height: clamp(280px, 29vw, 390px);
}

.dept-architects .editorial-feature-architects .editorial-copy {
  min-height: 0;
  padding: clamp(2.25rem, 4.5vw, 4.75rem);
  justify-content: center;
}

.dept-architects .editorial-feature-architects .editorial-kicker {
  margin-bottom: clamp(1.5rem, 2.6vw, 2.5rem);
  padding-bottom: 0;
}

.dept-architects .editorial-feature-architects .editorial-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 4vw, 4.45rem);
}

.dept-architects .editorial-feature-architects .editorial-copy > p:not(.editorial-kicker) {
  max-width: 32rem;
  margin-top: 1.35rem;
  line-height: 1.65;
}

.dept-architects .editorial-feature-architects .editorial-note {
  margin-top: 1.6rem;
}

.dept-architects .page-hero-split {
  min-height: 0;
  padding: calc(var(--header-height) + clamp(2.75rem, 5vw, 5.25rem)) var(--page-pad) clamp(3rem, 5vw, 5.25rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(2.75rem, 6vw, 7.5rem);
  align-items: center;
  background: #fff;
}

.dept-architects .page-hero-split .page-hero-copy {
  grid-column: auto;
  order: 1;
  padding: 0;
  justify-content: center;
}

.dept-architects .page-hero-split h1 {
  max-width: 12ch;
  font-size: clamp(2.85rem, 4.7vw, 5.2rem);
  line-height: .96;
}

.dept-architects .page-hero-split .page-hero-copy > p:not(.hero-kicker) {
  max-width: 35rem;
  margin-top: 1.35rem;
  font-size: clamp(.96rem, 1.05vw, 1.08rem);
  line-height: 1.65;
}

.dept-architects .page-hero-split .hero-kicker {
  margin-bottom: 1.35rem;
}

.dept-architects .page-hero-split .page-hero-visual {
  order: 2;
  min-height: 0;
  height: clamp(225px, 23vw, 310px);
  border-left: 3px solid var(--enkeme-blue);
  background: #eef3f4;
}

.dept-architects .page-hero-split .page-hero-visual figcaption {
  right: 1rem;
  left: auto;
  bottom: .8rem;
  max-width: calc(100% - 2rem);
  text-align: right;
}

.dept-architects .section-heading {
  max-width: 19ch;
  font-size: clamp(2.3rem, 3.9vw, 4.35rem);
  line-height: 1;
}

.dept-architects .section-lede {
  line-height: 1.65;
}

.dept-architects .capability-list,
.dept-architects .project-list,
.dept-architects .feature-grid {
  margin-top: clamp(2.1rem, 3.5vw, 3.5rem);
}

.dept-architects .capability-row {
  min-height: 88px;
  grid-template-columns: 48px minmax(0, 1fr) minmax(220px, .62fr) 28px;
}

.dept-architects .capability-title {
  font-size: clamp(1.2rem, 1.9vw, 2.05rem);
}

.dept-architects .feature-card,
.dept-architects .feature-card + .feature-card {
  padding-top: 1.6rem;
  padding-bottom: 1.9rem;
}

.dept-architects .feature-card-number {
  margin-bottom: 1.7rem;
}

.dept-architects .detail-copy h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.25rem, 3.7vw, 4rem);
}

.dept-architects .detail-copy p {
  margin-bottom: .9rem;
  line-height: 1.68;
}

.dept-architects .portfolio-item {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.dept-architects .filter-bar {
  margin-top: 1.8rem;
}

.dept-architects .filter-bar-compact {
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.dept-architects .filter-button {
  min-height: 36px;
  padding: .55rem .72rem;
}

.dept-architects .portfolio-more {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 1.75rem;
  padding: .7rem 1rem;
  border: 1px solid var(--enkeme-blue);
  background: #fff;
  color: var(--enkeme-blue);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.dept-architects .portfolio-more:hover,
.dept-architects .portfolio-more:focus-visible {
  background: var(--enkeme-blue);
  color: #fff;
}

.dept-architects .contact-layout {
  gap: clamp(2.5rem, 5vw, 5.5rem);
}

.dept-architects .contact-panel h2 {
  font-size: clamp(2.15rem, 3.25vw, 3.5rem);
}

.dept-architects .contact-details {
  margin-top: 1.75rem;
}

.dept-architects .dept-cta {
  padding-top: clamp(3.8rem, 5.6vw, 5.8rem);
  padding-bottom: clamp(3.8rem, 5.6vw, 5.8rem);
}

.dept-architects .dept-cta h2 {
  max-width: 17ch;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: .98;
}

@media (max-width: 1100px) {
  .dept-architects .page-hero-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .dept-architects .capability-row {
    grid-template-columns: 42px minmax(0, 1fr) 26px;
  }
}

@media (max-width: 680px) {
  .dept-architects {
    --section-space: clamp(3rem, 12vw, 4.25rem);
  }

  .dept-architects .dept-hero {
    min-height: 78svh;
    padding-top: calc(var(--header-height) + 2.25rem);
    padding-bottom: 2rem;
  }

  .dept-architects .hero-title {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .dept-architects .editorial-feature-architects {
    width: calc(100% - 2rem);
    margin: 1rem;
    grid-template-columns: 1fr;
  }

  .dept-architects .editorial-feature-architects .editorial-visual {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .dept-architects .editorial-feature-architects .editorial-copy {
    padding: 2.25rem 1.35rem 2.5rem;
  }

  .dept-architects .editorial-feature-architects .editorial-copy h2 {
    font-size: clamp(2.4rem, 10.5vw, 3.6rem);
  }

  .dept-architects .page-hero-split {
    padding: calc(var(--header-height) + 2.4rem) var(--page-pad) 3rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2.25rem;
  }

  .dept-architects .page-hero-split .page-hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .dept-architects .page-hero-split h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .dept-architects .page-hero-split .page-hero-visual {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-left-width: 2px;
  }

  .dept-architects .section-heading {
    font-size: clamp(2.25rem, 10vw, 3.6rem);
  }

  .dept-architects .capability-row {
    min-height: 82px;
  }

  .dept-architects .dept-cta h2 {
    font-size: clamp(2.5rem, 11vw, 3.9rem);
  }
}

/* Unified editorial system — shared by Architects and Construction. */
body .hero-kicker,
body .section-kicker,
body .editorial-kicker,
body .detail-aside {
  margin-bottom: clamp(1.35rem, 2vw, 2rem);
  color: var(--enkeme-blue);
  font-size: clamp(.95rem, 1vw, 1.06rem);
  font-weight: 500;
  letter-spacing: .065em;
  line-height: 1.2;
  text-transform: none;
}

.hero-kicker::before,
.section-kicker::before {
  width: 42px;
  height: 2px;
}

.section-kicker { grid-column: 1 / -1; }
.editorial-kicker { padding-bottom: 0; }
.detail-aside { font-weight: 500; }
.dept-construction .hero-kicker,
.dept-construction .is-dark .editorial-kicker,
.dept-construction .is-dark .section-kicker { color: #86bfd2; }
.dept-construction .editorial-kicker,
.dept-construction .section-kicker { color: var(--enkeme-blue); }

.editorial-note,
.hero-home-visual figcaption,
.page-hero-visual figcaption {
  display: none;
}

.dept-home .hero-copy {
  grid-column: 1 / 7;
}

.hero-home-visual {
  grid-column: 7 / -1;
  width: min(100%, 560px);
  aspect-ratio: 16 / 10;
}

.dept-home .editorial-feature,
.dept-architects .editorial-feature-architects {
  width: 100%;
  height: clamp(560px, 70svh, 760px);
  min-height: clamp(560px, 70svh, 760px);
  margin: 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  border: 0;
  background: var(--soft);
}

.dept-home .editorial-visual,
.dept-architects .editorial-feature-architects .editorial-visual {
  height: 100%;
  min-height: clamp(560px, 70svh, 760px);
}

.dept-home .editorial-copy,
.dept-architects .editorial-feature-architects .editorial-copy {
  min-height: 0;
  padding: clamp(4rem, 7vw, 8rem) var(--page-pad);
  justify-content: center;
}

.dept-home .editorial-copy h2,
.dept-architects .editorial-feature-architects .editorial-copy h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 4.8vw, 5.6rem);
}

.page-hero-split,
.dept-architects .page-hero-split {
  height: clamp(590px, 72svh, 800px);
  min-height: clamp(590px, 72svh, 800px);
  padding: var(--header-height) 0 0;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 0;
  align-items: stretch;
}

.page-hero-split .page-hero-copy,
.dept-architects .page-hero-split .page-hero-copy {
  grid-column: auto;
  order: 1;
  padding: clamp(3.5rem, 6vw, 7rem) var(--page-pad);
  justify-content: center;
}

.page-hero-split h1,
.dept-architects .page-hero-split h1 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 5.4vw, 6.3rem);
  line-height: .94;
}

.page-hero-split .page-hero-copy > p:not(.hero-kicker),
.dept-architects .page-hero-split .page-hero-copy > p:not(.hero-kicker) {
  max-width: 36rem;
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.65;
}

.page-hero-split .page-hero-visual,
.dept-architects .page-hero-split .page-hero-visual {
  order: 2;
  min-height: 100%;
  height: 100%;
  border: 0;
}

.page-hero-split .page-hero-visual img,
.dept-architects .page-hero-split .page-hero-visual img {
  transition: transform 1.2s var(--ease);
}

.page-hero-split:hover .page-hero-visual img { transform: scale(1.012); }

.section-grid { row-gap: 1.15rem; }
.section-heading,
.dept-architects .section-heading {
  grid-column: 1 / 9;
  max-width: 18ch;
  font-size: clamp(2.8rem, 4.7vw, 5.35rem);
}
.section-lede {
  grid-column: 9 / -1;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
}

.feature-card-number {
  font-size: clamp(.72rem, .78vw, .84rem);
  letter-spacing: .08em;
}

.media-principles {
  height: clamp(600px, 74svh, 820px);
  min-height: clamp(600px, 74svh, 820px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.principle-visual {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #dce4e7;
}

.principle-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.media-principles:hover .principle-visual img { transform: scale(1.012); }

.principle-content {
  align-self: center;
  padding: clamp(3.75rem, 6vw, 7rem) var(--page-pad);
}

.principle-content .section-grid { display: block; }
.principle-content .section-heading {
  max-width: 11ch;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
}

.principle-content .feature-grid {
  margin-top: clamp(2.5rem, 4vw, 4rem);
  grid-template-columns: 1fr;
}

.principle-content .feature-card,
.principle-content .feature-card + .feature-card,
.dept-architects .principle-content .feature-card,
.dept-architects .principle-content .feature-card + .feature-card {
  display: grid;
  grid-template-columns: minmax(100px, .34fr) minmax(0, .7fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-left: 0;
}

.principle-content .feature-card-number { margin: .15rem 0 0; }
.principle-content .feature-card h3 { margin: 0; }
.principle-content .feature-card p { line-height: 1.55; }

@media (max-width: 1100px) {
  .dept-home .hero-copy { grid-column: 1 / 7; }
  .hero-home-visual { grid-column: 7 / -1; width: min(100%, 500px); }
  .section-heading,
  .dept-architects .section-heading,
  .section-lede { grid-column: 1 / -1; }
  .media-principles { grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); }
  .principle-content .feature-card,
  .principle-content .feature-card + .feature-card,
  .dept-architects .principle-content .feature-card,
  .dept-architects .principle-content .feature-card + .feature-card {
    grid-template-columns: 86px minmax(0, .75fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .dept-home .dept-hero {
    grid-template-rows: auto auto auto;
    align-content: center;
  }
  .dept-home .hero-copy {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .hero-home-visual {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .dept-home .hero-bottom { grid-row: 3; }
  .dept-home .editorial-feature,
  .dept-architects .editorial-feature-architects {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .dept-home .editorial-visual,
  .dept-architects .editorial-feature-architects .editorial-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .dept-home .editorial-copy,
  .dept-architects .editorial-feature-architects .editorial-copy {
    padding: 3.25rem var(--page-pad) 4rem;
  }
  .page-hero-split,
  .dept-architects .page-hero-split {
    height: auto;
    min-height: 0;
    padding: var(--header-height) 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(320px, 54svh);
  }
  .page-hero-split .page-hero-copy,
  .dept-architects .page-hero-split .page-hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 3.25rem var(--page-pad) 3.5rem;
  }
  .page-hero-split .page-hero-visual,
  .dept-architects .page-hero-split .page-hero-visual {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    aspect-ratio: auto;
  }
  .media-principles {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .principle-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .principle-content { padding: 3.5rem var(--page-pad) 4rem; }
  .principle-content .feature-card,
  .principle-content .feature-card + .feature-card,
  .dept-architects .principle-content .feature-card,
  .dept-architects .principle-content .feature-card + .feature-card {
    grid-template-columns: 1fr;
    gap: .65rem;
  }
}

/* Department home heroes use the same confident image/type split as the
   interior page heroes, with the image filling its entire half. */
@media (min-width: 900px) {
  .dept-home .dept-hero,
  .dept-architects.dept-home .dept-hero {
    min-height: clamp(700px, 100svh, 940px);
    padding: var(--header-height) 0 0;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 0;
  }

  .dept-home .hero-copy,
  .dept-architects.dept-home .hero-copy {
    grid-column: 1 / 7;
    grid-row: 1;
    align-self: center;
    padding: clamp(4.5rem, 8vh, 7rem) var(--page-pad) clamp(11rem, 21vh, 14rem);
  }

  .dept-home .hero-home-visual,
  .dept-architects.dept-home .hero-home-visual {
    grid-column: 7 / -1;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-left-width: 0;
  }

  .dept-home .hero-bottom,
  .dept-architects.dept-home .hero-bottom {
    grid-column: 1 / 7;
    grid-row: 1;
    align-self: end;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 0 var(--page-pad) clamp(3rem, 5vh, 4.5rem);
  }

  .dept-home .hero-link { justify-self: start; }
}

.footer-social { margin-top: 1.6rem; }
.footer-social-label {
  margin-bottom: .75rem;
  color: var(--enkeme-gray);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.social-icon-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.social-icon-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(23, 25, 26, .22);
  display: grid;
  place-items: center;
  color: var(--ink);
  line-height: 1;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-icon-link:hover,
.social-icon-link:focus-visible {
  border-color: var(--enkeme-blue);
  background: var(--enkeme-blue);
  color: #fff;
  transform: translateY(-2px);
}
.social-icon-mark {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: -.03em;
}
.social-icon-mark.is-facebook { font-family: Arial, sans-serif; font-size: 1rem; font-weight: 700; }
.social-icon-mark.is-instagram { font-size: 1.25rem; font-weight: 400; }
.social-icon-mark.is-linkedin { font-family: Arial, sans-serif; font-size: .72rem; font-weight: 700; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Keep compact section labels consistent with the line-led label system. */
body .editorial-kicker,
.detail-grid .detail-aside {
  display: flex;
  align-items: center;
  align-self: start;
  gap: .7rem;
}
body .editorial-kicker::before,
.detail-grid .detail-aside::before {
  content: '';
  width: 42px;
  height: 2px;
  flex: 0 0 42px;
  background: currentColor;
}

/* Compatibility rule for department menus already created by an older script. */
.enkeme-switcher-dropdown a[aria-current="true"],
.enkeme-switcher-mobile-menu a[aria-current="true"] {
  display: none;
}
