/* ============================================================
   MERIDIAN HOLDINGS GROUP — Editorial identity
   Ink & bone, bronze. Cormorant Garamond / Inter.
   Quiet confidence: the work is the announcement.
   ============================================================ */
:root {
  --ink: #16150F;
  --ink-2: #23221B;
  --ink-3: #2E2C22;
  --bone: #F5F1E8;
  --bone-2: #ECE5D6;
  --line: #D8D0BE;
  --line-dark: #3A382C;
  --bronze: #A98A4F;
  --bronze-2: #C6A15B;
  --text: #211F18;
  --muted: #6F6A5C;
  --muted-dark: #A29B88;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--bronze); color: var(--bone); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--bronze); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.01em; }
p { color: var(--muted); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 26px;
}
.sec-no {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.sec-head { margin-bottom: 56px; max-width: 760px; }
.sec-sub { margin-top: 18px; font-size: 1.02rem; color: var(--muted); max-width: 620px; }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.sec { padding: 112px 0; }
.sec-alt { background: var(--bone-2); }
.sec-note { max-width: 720px; margin-bottom: 64px; font-size: 1.05rem; color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 40px;
}
.topbar span { white-space: nowrap; }
.topbar-cities { display: none; }
@media (min-width: 900px) { .topbar-cities { display: inline; } }

/* ---------- Nav ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top.scrolled { box-shadow: 0 10px 40px rgba(22, 21, 15, 0.06); }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 40px; height: 40px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.18em;
  color: var(--ink);
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.links { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.links a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s;
}
.links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.links a:hover, .links a.active { color: var(--ink); }
.links a:hover::after, .links a.active::after { transform: scaleX(1); }
.links a.nav-cta {
  border: 1px solid var(--ink);
  padding: 10px 20px;
  color: var(--ink);
  margin-left: 8px;
}
.links a.nav-cta::after { display: none; }
.links a.nav-cta:hover { background: var(--ink); color: var(--bone); }

.burger { display: none; margin-left: auto; font-size: 22px; color: var(--ink); cursor: pointer; background: none; border: none; }
@media (max-width: 1060px) {
  .burger { display: block; }
  .links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(360px, 86vw);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 60px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .links.open { transform: translateX(0); }
  .links a { color: var(--muted-dark); font-size: 14px; }
  .links a:hover, .links a.active { color: var(--bone); }
  .links a.nav-cta { border-color: var(--bronze); color: var(--bronze-2); margin-left: 0; }
}

/* ---------- Masthead ---------- */
.masthead {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 120px);
  max-height: 980px;
  border-bottom: 1px solid var(--line);
}
.masthead-text {
  padding: 96px 56px 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}
.masthead .lede {
  margin-top: 30px;
  font-size: 1.13rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
}
.masthead-media { position: relative; overflow: hidden; }
.masthead-media .ph-frame, .masthead-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.masthead-media .ph { object-fit: cover; animation: kb 26s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero-actions { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 17px 30px;
  border: 1px solid var(--ink);
  transition: all 0.28s;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-gold { background: var(--ink); color: var(--bone); }
.btn-gold:hover { background: var(--bronze); border-color: var(--bronze); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }

.hero-meta {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.stat .lbl {
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Ticker ---------- */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bone-2);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track { display: flex; white-space: nowrap; animation: tick 46s linear infinite; }
.ticker-track span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 8px;
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Rows (editorial list) ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.3s;
}
.row:hover { padding-left: 12px; }
.row-no { font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: var(--bronze); }
.row-body { display: flex; flex-direction: column; gap: 6px; }
.row-title { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; color: var(--ink); line-height: 1.15; }
.row-desc { font-size: 0.95rem; color: var(--muted); max-width: 640px; }
.row-link {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
}
.row-link:hover { color: var(--ink); }

/* ---------- Cards (portfolio) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.card { display: flex; flex-direction: column; background: var(--bone); border: 1px solid var(--line); transition: transform 0.35s, box-shadow 0.35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(22, 21, 15, 0.1); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card:hover .card-img .ph { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.card-body h3 { font-size: 1.5rem; }
.card-body p { font-size: 0.93rem; line-height: 1.6; flex: 1; }
.card-body .row-link { margin-top: 10px; }

/* ---------- Band (dark quote) ---------- */
.band { background: var(--ink); color: var(--bone); padding: 96px 0; }
.band .wrap { text-align: center; }
.band-quote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  color: var(--bone);
  max-width: 900px;
  margin: 0 auto;
}
.band-sig { margin-top: 28px; font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bronze-2); }
.band .stat .num { color: var(--bone); }
.band .stat .lbl { color: var(--muted-dark); }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left; }

/* ---------- Grids / columns ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.col { padding-top: 22px; border-top: 1px solid var(--line); }
.col-no {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
}
.col h3 { margin-bottom: 14px; }
.col p { font-size: 0.95rem; line-height: 1.7; }
.col .row-link { display: inline-block; margin-top: 18px; }

/* ---------- Footprint ---------- */
.footprint { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.footprint-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.footprint-img .ph { width: 100%; height: 100%; object-fit: cover; }
.footprint-list { border-top: 1px solid var(--line); }
.fp-item { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fp-item b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.fp-item span { font-size: 0.92rem; color: var(--muted); align-self: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--bone); padding: 104px 0; text-align: center; }
.cta-band h2 { color: var(--bone); font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-band h2 em { color: var(--bronze-2); }
.cta-band p { color: var(--muted-dark); max-width: 560px; margin: 20px auto 0; }
.cta-band .hero-actions { justify-content: center; margin-top: 40px; }
.cta-band .btn-ghost { border-color: var(--bronze-2); color: var(--bone); }
.cta-band .btn-ghost:hover { background: var(--bronze); border-color: var(--bronze); color: var(--ink); }

/* ---------- Division entries ---------- */
.div-list { display: flex; flex-direction: column; gap: 88px; }
.div-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.div-entry:nth-child(even) .div-img { order: 2; }
.div-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.div-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.div-entry:hover .div-img .ph { transform: scale(1.04); }
.div-body { display: flex; flex-direction: column; gap: 16px; }
.div-body h3 { font-size: 2rem; }
.div-body p { font-size: 0.98rem; line-height: 1.75; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.fact span { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact b { font-family: var(--serif); font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.div-links { display: flex; gap: 28px; margin-top: 8px; flex-wrap: wrap; }

/* ---------- Essay ---------- */
.essay { max-width: 820px; }
.essay p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 32px;
}
.essay p:first-of-type::first-letter {
  font-size: 3.2em;
  float: left;
  line-height: 0.82;
  padding-right: 14px;
  color: var(--bronze);
}

/* ---------- Timeline ---------- */
.timeline { border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tl-item b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--bronze); }
.tl-item span { color: var(--muted); font-size: 0.98rem; align-self: center; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.person { padding-top: 22px; border-top: 1px solid var(--line); }
.person b { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); display: block; }
.person span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin: 8px 0 14px; }
.person p { font-size: 0.9rem; line-height: 1.65; }

/* ---------- IR card ---------- */
.ir-card {
  background: var(--ink);
  color: var(--bone);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 64px;
  align-items: center;
}
.ir-card .sec-no { color: var(--bronze-2); }
.ir-card h3 { color: var(--bone); font-size: 1.9rem; margin-bottom: 16px; }
.ir-card p { color: var(--muted-dark); font-size: 0.98rem; }
.ir-right { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ir-right .btn { width: 100%; text-align: center; border-color: var(--bronze); background: var(--bronze); color: var(--ink); }
.ir-right .btn:hover { background: var(--bronze-2); }
.ir-line { font-size: 0.95rem; color: var(--muted-dark); letter-spacing: 0.04em; }

/* ---------- Roles ---------- */
.roles { border-top: 1px solid var(--line); max-width: 900px; }
.role {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.role h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.role p { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Contact / RFQ ---------- */
.contact-info { list-style: none; }
.contact-info li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info b { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.contact-info span { font-size: 0.98rem; color: var(--text); }
.rfq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }

/* ---------- Forms ---------- */
form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--bronze); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-ok { display: none; border: 1px solid var(--bronze); color: var(--ink); background: var(--bone-2); padding: 18px 22px; font-size: 0.95rem; }
.form-ok.show { display: block; }
.contact-form { max-width: 760px; }
.offices .col p { font-size: 0.95rem; line-height: 1.8; }

/* ---------- Connect band ---------- */
.connect-band { background: var(--bone-2); border-top: 1px solid var(--line); padding: 96px 0; }
.connect-head { display: flex; align-items: baseline; gap: 24px; margin-bottom: 52px; }
.connect-head h3 { font-size: 2rem; }
.connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.connect-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.connect-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(22, 21, 15, 0.09); }
.connect-ico {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
}
.connect-card h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.connect-card p { font-size: 0.88rem; line-height: 1.6; }
.connect-cta { margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); display: inline-block; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--muted-dark); padding: 96px 0 40px; }
.foot-mark {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--bone);
  line-height: 1;
  margin-bottom: 64px;
  opacity: 0.92;
}
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.foot-col h5 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze-2);
  margin-bottom: 20px;
}
.foot-col a { display: block; font-size: 0.93rem; color: var(--muted-dark); padding: 6px 0; transition: color 0.25s; }
.foot-col a:hover { color: var(--bone); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.foot-bottom a { color: var(--muted-dark); }
.foot-bottom a:hover { color: var(--bone); }

/* ---------- House XII (shadow parent, subtle) ---------- */
.house-line {
  margin-top: 34px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.house-line b { font-weight: 600; color: var(--bronze); }
.house-seal {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
}
.house-seal .seal-xii {
  font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--bronze); border: 1px solid var(--line); padding: 6px 10px; line-height: 1;
}
.house-seal .seal-txt { font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.foot-house {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.foot-house b { color: var(--bronze-2); font-weight: 600; }

/* ---------- Article (Perspectives) ---------- */
.article { max-width: 760px; }
.article .article-meta { display: flex; gap: 18px; align-items: center; margin-bottom: 34px; }
.article .article-meta .card-tag { color: var(--bronze); }
.article .article-meta span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.article-body p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 30px;
}
.article-body p:first-of-type::first-letter {
  font-size: 3.4em; float: left; line-height: 0.8; padding-right: 16px; color: var(--bronze);
}
.article-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 46px 0 18px; }
.pull-quote {
  border-left: 2px solid var(--bronze);
  padding: 8px 0 8px 30px;
  margin: 44px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  color: var(--ink);
}
.pull-quote span { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.article-foot { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }

/* ---------- Photo treatment ---------- */
.ph { filter: saturate(0.82) contrast(1.02); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .masthead { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .masthead-text { padding: 72px 40px 48px; max-width: none; }
  .masthead-media { aspect-ratio: 16 / 9; }
  .masthead-media .ph-frame, .masthead-media .ph { position: absolute; inset: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .div-entry { grid-template-columns: 1fr; gap: 32px; }
  .div-entry:nth-child(even) .div-img { order: 0; }
  .ir-card { grid-template-columns: 1fr; padding: 44px; }
  .rfq-layout { grid-template-columns: 1fr; gap: 48px; }
  .footprint { grid-template-columns: 1fr; gap: 40px; }
  .connect-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 28px; }
  .sec { padding: 80px 0; }
}
@media (max-width: 640px) {
  .cards, .grid-3, .grid-2, .people, .stats-band, .hero-meta, .foot-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .row-link { white-space: normal; }
  .topbar { justify-content: center; }
  .topbar span:not(.topbar-cities) { display: none; }
  .facts { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .role { flex-direction: column; align-items: flex-start; gap: 12px; }
  .fp-item { grid-template-columns: 1fr; gap: 4px; }
}
