/*
Theme Name: MHR Construction Inc.
Theme URI: https://www.mhrconstructioninc.com
Author: MHR Construction Inc.
Description: Five-page website theme for MHR Construction Inc., California Class B General Building Contractor (CSLB #1161775). On activation it creates the Home, About MHR, Our Expertise, Project Experience and Contact pages and sets the homepage. Replace images and contact details under Appearance > Customize.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mhr
*/
/* Layout: architectural-minimal. Wide margins, hairline dividers, photography full-bleed, text on a strict left axis. */
:root {
  --black: #111111;
  --ivory: #F5F4F1;
  --charcoal: #454545;
  --gold: #B18D55;
  --gold-deep: #85663A;
  --gold-light: #CDB088;
  --white: #FFFFFF;
  --rule: #E2DFD8;
  --rule-dark: #2C2C2C;

  --f-sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --space: clamp(88px, 11vw, 168px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 16px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-sans); margin: 0; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.032em; }
h2 { font-size: clamp(2rem, 3.7vw, 3.15rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.026em; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; }
h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }
p { margin: 0; }
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label.plain::before { display: none; }
.lede { font-size: clamp(1.08rem, 1.45vw, 1.24rem); line-height: 1.7; color: var(--charcoal); max-width: 58ch; }
.body-copy { display: grid; gap: 1.3em; color: var(--charcoal); max-width: 62ch; }
.statement { font-size: clamp(1.35rem, 2.3vw, 1.95rem); font-weight: 400; line-height: 1.45; letter-spacing: -0.012em; color: var(--black); max-width: 34ch; }
.muted { color: var(--charcoal); }
.light-weight { font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--f-sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; padding: 19px 30px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn .arr { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .3s ease; }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 26px; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gold-deep); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--gold-light); }
.btn-line { border-color: currentColor; color: var(--black); background: transparent; }
.btn-line:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-line-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-line-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.text-link {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--black);
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
}
.text-link .arr { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .3s ease; }
.text-link .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.text-link:hover .arr { width: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 92px; }
.brand { flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--charcoal); padding-block: 8px; position: relative; transition: color .25s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .3s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--black); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 15px 22px; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; color: var(--black);
  font: 700 0.72rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; align-items: center; gap: 12px;
}
.menu-toggle .bars { width: 22px; height: 9px; position: relative; display: inline-block; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s, top .3s, bottom .3s; }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { bottom: 3.5px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 12px var(--gutter) 28px;
    box-shadow: 0 24px 40px -28px rgba(17,17,17,.25);
  }
  .nav.is-closed { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { display: block; padding-block: 18px; border-bottom: 1px solid var(--rule); font-size: .78rem; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--gold-deep); }
  .nav .btn { margin-top: 22px; }
  .brand img { height: 40px; }
  .header-inner { min-height: 76px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17,17,17,.88) 0%, rgba(17,17,17,.72) 42%, rgba(17,17,17,.38) 100%);
}
.hero-inner { padding-block: clamp(110px, 15vw, 210px) clamp(72px, 9vw, 120px); display: grid; gap: 34px; }
.hero .label { color: var(--gold-light); }
.hero h1 { max-width: 15ch; }
.hero h1 .line-2 { display: block; color: rgba(255,255,255,.62); font-weight: 300; }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: rgba(255,255,255,.82); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-bar { border-top: 1px solid rgba(255,255,255,.16); }
.hero-bar .wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.hero-bar div { padding: 26px 0; display: grid; gap: 4px; min-width: 0; }
.hero-bar div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
.hero-bar strong { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--white); }
.hero-bar span { font-size: .9rem; color: rgba(255,255,255,.6); }
.hero-bar .gold-num { color: var(--gold-light); }

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: .08s; }
  .hero-inner > *:nth-child(3) { animation-delay: .16s; }
  .hero-inner > *:nth-child(4) { animation-delay: .24s; }
  .hero-media img { animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(80px, 10vw, 150px) clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--rule); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-head .head-copy { display: grid; gap: 26px; min-width: 0; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section.ivory { background: var(--ivory); }
.section.tight { padding-block: clamp(64px, 8vw, 112px); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 28px; align-content: start; }
.sticky-col { position: sticky; top: 140px; }
.section-head { display: grid; gap: 24px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); }

/* Intro statement */
.creed { display: grid; gap: 6px; padding-top: 30px; border-top: 1px solid var(--rule); margin-top: 12px; }
.creed span { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 600; letter-spacing: -0.005em; }
.creed span:nth-child(2) { color: var(--charcoal); }
.creed span:nth-child(3) { color: var(--gold-deep); }

/* Expertise index (home) */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--black); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) 40px; gap: 32px; align-items: baseline;
  padding: 30px 0; text-decoration: none; transition: padding .35s ease;
}
.index-list a:hover { padding-left: 14px; }
.index-list h3 { font-weight: 500; }
.index-list p { color: var(--charcoal); font-size: .98rem; }
.index-list .go { justify-self: end; width: 22px; height: 1px; background: var(--gold); position: relative; align-self: center; transition: width .35s ease; }
.index-list .go::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.index-list a:hover .go { width: 36px; }

/* The MHR Standard */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(28px, 3vw, 48px); }
.principle { display: grid; gap: 16px; align-content: start; padding-top: 28px; border-top: 1px solid var(--rule); position: relative; min-width: 0; }
.principle::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--gold); }
.principle p { color: var(--charcoal); font-size: .98rem; }

/* Feature (image + text) */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 560px; background: var(--ivory); }
.feature-media { position: relative; overflow: hidden; min-height: 360px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: clamp(40px, 6vw, 96px); display: grid; gap: 28px; align-content: center; min-width: 0; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cat-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.cat-list li span:last-child { color: var(--charcoal); font-weight: 400; font-size: .92rem; text-align: right; }

/* Figure captions on representative imagery */
.figcap { position: absolute; left: 16px; bottom: 14px; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.78); background: rgba(17,17,17,.45); padding: 6px 10px; }
.hero .figcap { left: auto; right: var(--gutter); bottom: 108px; }

/* CTA band */
.cta-band { padding-block: clamp(80px, 10vw, 140px); border-top: 1px solid var(--rule); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: end; }
.cta-band .stack { gap: 20px; }

/* ---------- About ---------- */
.full-media { position: relative; height: clamp(320px, 46vw, 620px); overflow: hidden; }
.full-media img { width: 100%; height: 100%; object-fit: cover; }
.leader { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; background: var(--ivory); position: relative; overflow: hidden; display: grid; place-items: center; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-ph { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 24px; }
.portrait-ph .mono { width: 112px; height: 112px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 300; letter-spacing: .08em; color: var(--gold-deep); }
.portrait-ph span { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--charcoal); }
.leader-name { display: grid; gap: 10px; }
.leader-name .tagline { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 300; color: var(--charcoal); letter-spacing: -0.01em; }
.philosophy { padding: 34px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 12px; }
.philosophy p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; font-weight: 500; letter-spacing: -0.012em; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 32px; }
.facts li { padding: 16px 0; border-top: 1px solid var(--rule); display: grid; gap: 2px; min-width: 0; }
.facts li span:first-child { font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.facts li span:last-child { font-weight: 500; }

/* ---------- Expertise ---------- */
.disciplines { display: grid; border-top: 1px solid var(--black); }
.discipline { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); padding-block: clamp(36px, 4.5vw, 60px); border-bottom: 1px solid var(--rule); align-items: start; }
.discipline > * { min-width: 0; }
.discipline .d-title { display: grid; gap: 14px; }
.discipline .d-title h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tag { width: fit-content; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--rule); color: var(--charcoal); }
.tag.company { border-color: var(--gold); color: var(--gold-deep); }
.discipline p { color: var(--charcoal); font-size: 1.05rem; max-width: 56ch; }
.license-note { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: auto minmax(0,1fr); gap: 24px; padding: 30px 32px; background: var(--ivory); align-items: start; }
.license-note .label { white-space: nowrap; }
.license-note p { color: var(--charcoal); font-size: .95rem; max-width: 80ch; }

.process { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(28px, 3vw, 48px); }
.stage { display: grid; gap: 14px; align-content: start; min-width: 0; }
.stage .n { font-size: .78rem; font-weight: 700; letter-spacing: .2em; color: var(--gold-deep); padding-bottom: 20px; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.stage h3 { margin-top: 10px; }
.stage p { color: var(--charcoal); font-size: .98rem; }

/* ---------- Projects ---------- */
.portfolio { display: grid; gap: clamp(72px, 9vw, 140px); }
.sector { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sector:nth-child(even) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.sector:nth-child(even) .sector-media { order: 2; }
.sector-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ivory); }
.sector-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sector:hover .sector-media img { transform: scale(1.025); }
.sector-copy { display: grid; gap: 22px; min-width: 0; }
.sector-copy .count { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--charcoal); }
.proj-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--black); }
.proj-list li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.proj-list .pname { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -0.012em; }
.proj-list .ploc { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal); }
.proj-list .ploc .confirm { color: var(--gold-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 12px 18px; background: var(--white); border: 1px solid var(--rule); font-weight: 500; font-size: .95rem; }
.disclosure { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: .88rem; color: var(--charcoal); max-width: 88ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-grid > * { min-width: 0; }
.info { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--black); }
.info li { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 8.5rem minmax(0,1fr); gap: 16px; align-items: baseline; }
.info li span:first-child { font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.info li span:last-child, .info a { font-weight: 500; overflow-wrap: anywhere; text-decoration: none; }
.info a { border-bottom: 1px solid var(--rule); transition: border-color .25s; }
.info a:hover { border-color: var(--gold); }
.form { background: var(--ivory); padding: clamp(28px, 4.5vw, 60px); display: grid; gap: 24px; position: relative; }
.form h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.row-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--black);
  background: var(--white); border: 1px solid var(--rule); border-radius: 0; padding: 15px 16px;
  transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 16px 18px; background: var(--white); border-left: 2px solid var(--gold); font-size: .95rem; }
.form-note.error { border-left-color: #A3352B; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.form-foot small { color: var(--charcoal); font-size: .82rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.72); padding-block: clamp(72px, 8vw, 112px) 36px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--gold-light); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); padding-bottom: 56px; border-bottom: 1px solid var(--rule-dark); }
.foot-top > * { min-width: 0; }
.foot-brand { display: grid; gap: 22px; align-content: start; }
.foot-brand img { height: 66px; width: auto; }
.foot-brand .motto { font-size: 1.15rem; font-weight: 300; color: var(--white); letter-spacing: -0.01em; }
.foot-col { display: grid; gap: 12px; align-content: start; font-size: .95rem; }
.foot-col h2 { font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-col .who { color: var(--white); font-weight: 500; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 28px; font-size: .74rem; letter-spacing: .08em; color: rgba(255,255,255,.5); }

/* Generic WP content */
.entry-wrap { padding-block: 96px; max-width: 760px; }
.entry-wrap h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 28px; }
.entry > * + * { margin-top: 1.1em; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .principles, .process { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 48px; }
  .hero-bar .wrap { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-bar div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-bar div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .hero .figcap { display: none; }
}
@media (max-width: 900px) {
  .sector:nth-child(even),
  .split, .page-head .wrap, .feature, .leader, .discipline, .sector, .contact-grid, .cta-band .wrap, .foot-top { grid-template-columns: minmax(0,1fr); }
  .sticky-col { position: static; }
  .sector:nth-child(even) .sector-media { order: 0; }
  .feature { min-height: 0; }
  .feature-media { height: 64vw; max-height: 520px; min-height: 0; }
  .index-list a { grid-template-columns: minmax(0,1fr) 30px; gap: 10px 20px; }
  .index-list p { grid-column: 1; }
  .index-list .go { grid-row: 1; grid-column: 2; }
  .portrait { max-width: 440px; }
  .foot-top > :first-child { grid-column: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .principles, .process, .row-2, .facts { grid-template-columns: minmax(0,1fr); }
  .hero-bar .wrap { grid-template-columns: minmax(0,1fr); }
  .hero-bar div, .hero-bar div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .hero-bar div:last-child { border-bottom: 0; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .info li { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .license-note { grid-template-columns: minmax(0,1fr); padding: 24px 20px; }
  .cat-list li { flex-direction: column; gap: 2px; }
  .cat-list li span:last-child { text-align: left; }
}
