/* ==========================================================
   DRC Resources Holdings SASU — design system
   ========================================================== */
:root {
  --navy: #102A45;
  --navy-2: #183E61;
  --navy-deep: #0C2238;
  --sky: #6EB1DE;
  --gold: #D7AD50;
  --gold-soft: #E6C77F;
  --off: #F4F7FA;
  --ink: #15283D;
  --ink-2: #4A5D72;
  --line: #D6DFE8;
  --white: #FFFFFF;
  --danger: #B3261E;
  --ok: #1F7A4D;

  --f-head: 'Manrope', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --r-sm: 6px;
  --r-md: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 60px -28px rgba(16, 42, 69, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); margin: 0; color: inherit; }
h2 { font-size: clamp(2rem, 3.6vw, 3.05rem); font-weight: 700; line-height: 1.1; letter-spacing: -.022em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; position: relative; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-sm);
  font: 600 1rem/1 var(--f-head); letter-spacing: .005em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 12px 28px -12px rgba(215, 173, 80, .7); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-2); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ---------- Section headings ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 .9375rem/1.2 var(--f-head); color: #9A7424; margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.sec-head-center .kicker::after { content: ""; width: 28px; height: 2px; background: var(--gold); }
.sec-head .lead { margin-top: 18px; }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }
.is-light { color: var(--white); }
.is-light .kicker { color: var(--gold); }
.is-light .lead { color: rgba(255, 255, 255, .75); }

/* ---------- Logo (official circular badge, extracted from company artwork) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: 52px; border-radius: 50%; flex: none; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55); transition: height .35s var(--ease), width .35s var(--ease); }
.wordmark { display: none; flex-direction: column; line-height: 1; color: var(--white); }
.logo-head .wordmark { display: flex; }
.wordmark strong { font: 800 1.125rem/1 var(--f-head); letter-spacing: -.01em; }
.wordmark em { font: 500 .72rem/1 var(--f-body); font-style: normal; letter-spacing: .14em; color: var(--gold); margin-top: 5px; }
.site-header.is-solid .logo img { height: 44px; width: 44px; }
.logo-lg img { height: 96px; width: 96px; }
.logo-card img { height: 76px; width: 76px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .35s var(--ease); }
.site-header.is-solid { background: rgba(16, 42, 69, .93); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.site-header.is-solid .header-inner { height: 72px; }
.brand { text-decoration: none; display: inline-flex; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 10px 14px; color: rgba(255, 255, 255, .82); text-decoration: none; font: 600 .9688rem/1 var(--f-head); border-radius: var(--r-sm); position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--white); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-sm); color: var(--white); cursor: pointer; }
.mobile-nav { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08); padding: 12px var(--gut) 28px; }
.mobile-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-nav a:not(.btn) { display: block; padding: 16px 0; color: var(--white); text-decoration: none; font: 600 1.25rem/1 var(--f-head); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-photo.is-loaded { opacity: .5; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(16, 42, 69, .96) 0%, rgba(16, 42, 69, .7) 55%, rgba(16, 42, 69, .35) 100%),
  linear-gradient(0deg, rgba(12, 34, 56, .9) 0%, rgba(12, 34, 56, 0) 45%); }
.hero-contours { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; opacity: .9; animation: drift 60s var(--ease) infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2.5%, -1.5%, 0) scale(1.04); } }
.hero-inner { padding-top: 140px; padding-bottom: clamp(96px, 14vh, 150px); }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; font: 700 .8125rem/1 var(--f-head); letter-spacing: .2em; color: var(--gold); margin-bottom: 28px; }
.hero-eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--gold); }
.hero-title { font-size: clamp(2.6rem, 6.6vw, 5.75rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.hero-title .line { display: block; }
.hero-title .line + .line { color: var(--sky); }
.hero-sub { margin-top: 28px; max-width: 58ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; pointer-events: none; }
.coord { font: 500 .8125rem/1 var(--f-body); letter-spacing: .06em; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
.coord span { color: var(--gold); }
.scroll-cue { pointer-events: auto; width: 26px; height: 44px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px; position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

.load-1, .load-2, .load-3, .load-4, .load-5 { opacity: 0; animation: rise .9s var(--ease) forwards; }
.load-2 { animation-delay: .12s; } .load-3 { animation-delay: .26s; } .load-4 { animation-delay: .42s; } .load-5 { animation-delay: .56s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Image slots ---------- */
.media { position: relative; overflow: hidden; background: var(--navy-2); }
.plate { position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy-2) url("../img/plate.svg") center / cover no-repeat; }
.plate-ic { color: rgba(110, 177, 222, .55); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.media img.is-loaded { opacity: 1; }

/* ---------- Intro ---------- */
.intro { background: var(--off); }
.intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.intro-media { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
.intro-media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--gold); }
.intro-copy h2 { margin-bottom: 26px; }
.intro-copy p:not(.lead) { color: var(--ink-2); max-width: 62ch; }
.disciplines { list-style: none; padding: 26px 0 0; margin: 30px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 34px; }
.disciplines li { display: inline-flex; align-items: center; gap: 10px; font: 700 1.0625rem/1 var(--f-head); color: var(--navy); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-g { background: var(--gold); } .dot-p { background: var(--sky); } .dot-s { background: #9FC7A8; }

/* ---------- Group structure ---------- */
.structure { background: var(--navy-2); color: var(--white); overflow: hidden; }
.structure-contours { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; pointer-events: none; }
.structure .wrap { position: relative; }
.tree { max-width: 980px; margin: 0 auto; }
.parent-card { display: flex; align-items: center; gap: 24px; max-width: 560px; margin: 0 auto; padding: 26px 30px; background: var(--navy); border: 1.5px solid var(--gold); border-radius: var(--r-md); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); }
.parent-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; }
.parent-logo { flex: none; }
.sub-tag { font: 600 .875rem/1 var(--f-head); color: var(--gold); margin: 0 0 8px; }
.tree-lines { position: relative; height: 72px; }
.tree-lines span { position: absolute; background: var(--gold); }
.t-stem { left: 50%; top: 0; width: 1.5px; height: 36px; margin-left: -.75px; transform-origin: top; }
.t-bar { top: 36px; left: calc((100% - 32px) / 4); right: calc((100% - 32px) / 4); height: 1.5px; transform-origin: center; }
.t-drop { top: 36px; width: 1.5px; height: 36px; transform-origin: top; }
.t-l { left: calc((100% - 32px) / 4); }
.t-r { right: calc((100% - 32px) / 4); }
.tree .t-stem, .tree .t-drop { transform: scaleY(0); transition: transform .5s var(--ease); }
.tree .t-bar { transform: scaleX(0); transition: transform .6s var(--ease) .45s; }
.tree .t-drop { transition-delay: 1s; }
.tree.in .t-stem, .tree.in .t-drop { transform: scaleY(1); }
.tree.in .t-bar { transform: scaleX(1); }
.tree .parent-card, .tree .sub-card { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tree.in .parent-card { opacity: 1; transform: none; }
.tree.in .sub-card { opacity: 1; transform: none; transition-delay: 1.25s; }
.tree.in .sub-card + .sub-card { transition-delay: 1.4s; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sub-card { position: relative; padding: 34px 32px 32px; background: rgba(16, 42, 69, .78); border: 1px solid rgba(110, 177, 222, .22); border-radius: var(--r-md); backdrop-filter: blur(4px); display: flex; flex-direction: column; align-items: flex-start; }
.sub-card::before { content: ""; position: absolute; left: 50%; top: -1px; width: 48px; height: 3px; margin-left: -24px; background: var(--gold); border-radius: 0 0 3px 3px; }
.sub-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(215, 173, 80, .5); color: var(--gold); margin-bottom: 22px; }
.sub-card h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.sub-desc { margin: 10px 0 0; color: rgba(255, 255, 255, .75); font-weight: 500; }
.sub-btn { margin-top: 26px; }
.sub-note { margin: 22px 0 0; font-size: .9375rem; color: rgba(255, 255, 255, .6); }

/* ---------- Capabilities ---------- */
.caps-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.caps-head .sec-head { margin-bottom: 0; }
.caps-aside { color: var(--ink-2); margin: 0; max-width: 44ch; justify-self: end; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cap-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), opacity .8s var(--ease); }
.cap-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.cap-card:hover .media img { transform: scale(1.06); }
.cap-media { aspect-ratio: 16 / 11; }
.cap-body { position: relative; padding: 46px 30px 34px; }
.cap-icon { position: absolute; top: -30px; left: 30px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: var(--r-sm); background: var(--navy); color: var(--gold); box-shadow: 0 12px 24px -10px rgba(16, 42, 69, .5); }
.cap-body h3 { margin-bottom: 12px; font-size: 1.375rem; }
.cap-body p { color: var(--ink-2); margin: 0; }

/* ---------- Integrated ---------- */
.integrated { background: var(--off); }
.int-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.int-copy .sec-head { margin-bottom: 24px; }
.int-copy > p { color: var(--ink-2); max-width: 52ch; }
.int-toggles { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.tog { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink-2); font: 600 .9688rem/1 var(--f-head); cursor: pointer; transition: all .25s var(--ease); }
.tog .dot { opacity: .35; transition: opacity .25s; }
.tog[aria-pressed="true"] { border-color: var(--navy); color: var(--navy); background: var(--white); box-shadow: 0 6px 16px -10px rgba(16, 42, 69, .45); }
.tog[aria-pressed="true"] .dot { opacity: 1; }
.tog:hover { border-color: var(--navy-2); }
.int-out { min-height: 150px; padding: 24px 26px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.int-label { font: 800 1.25rem/1.3 var(--f-head); color: var(--navy); margin-bottom: 8px; }
.int-text { margin: 0; color: var(--ink-2); }
.venn-wrap { max-width: 520px; width: 100%; justify-self: center; }
.venn .vc { stroke-width: 1.5; transition: fill-opacity .5s var(--ease), stroke-opacity .5s var(--ease); fill-opacity: .2; }
.vc-g { fill: var(--gold); stroke: #B58A2E; }
.vc-p { fill: var(--sky); stroke: #3F86B8; }
.vc-s { fill: #9FC7A8; stroke: #5E957A; }
.venn .vc.off { fill-opacity: .03; stroke-opacity: .25; stroke-dasharray: 4 6; }
.vcore { fill: var(--navy); fill-opacity: 0; transition: fill-opacity .5s var(--ease); }
.venn.all .vcore { fill-opacity: .9; }
.vstar { fill: var(--gold); opacity: 0; transition: opacity .4s; }
.venn.all .vstar { opacity: 1; }
.vt { font: 700 15px var(--f-head); fill: var(--navy); text-anchor: middle; }

/* ---------- Presence ---------- */
.presence { background: var(--navy); color: var(--white); overflow: hidden; }
.presence .kicker { color: var(--gold); }
.pres-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.loc-list { list-style: none; margin: 0 0 32px; padding: 0; }
.loc { display: grid; grid-template-columns: 16px 1fr; column-gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.loc::before { content: ""; grid-row: span 2; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(215, 173, 80, .18); }
.loc-soon::before { background: transparent; border: 2px dashed var(--sky); box-shadow: none; }
.loc h3 { font-size: 1.3125rem; }
.loc p { margin: 2px 0 0; color: rgba(255, 255, 255, .65); font-size: .9688rem; }
.presence .text-link { color: var(--white); }
.presence .text-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.map-fig { margin: 0; }
.map-fig figcaption { margin-top: 10px; font-size: .8125rem; color: rgba(255, 255, 255, .45); text-align: right; }
.drc-map { width: 100%; height: auto; }
.grat { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.nb { fill: rgba(255, 255, 255, .02); stroke: rgba(110, 177, 222, .18); stroke-width: .8; }
.drc { fill: var(--navy-2); stroke: var(--sky); stroke-width: 1.4; stroke-linejoin: round; }
.mk-dot { fill: var(--gold); stroke: var(--navy); stroke-width: 2; }
.mk-pulse { fill: var(--gold); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.mk-soon .mk-dot { fill: var(--navy); stroke: var(--sky); stroke-dasharray: 3 2.5; stroke-width: 2; }
.mk-soon .mk-pulse { display: none; }
.mk-city { font: 700 15px var(--f-head); fill: var(--white); }
.mk-role { font: 500 11.5px var(--f-body); fill: rgba(255, 255, 255, .6); }
@keyframes pulse { 0% { transform: scale(.45); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Gallery ---------- */
.g-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(160px, 17vw, 220px); gap: 16px; grid-template-areas: "a a b b b b" "a a b b b b" "c c d d e e"; }
.g-item { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; }
.g-item:nth-child(1) { grid-area: a; } .g-item:nth-child(2) { grid-area: b; } .g-item:nth-child(3) { grid-area: c; } .g-item:nth-child(4) { grid-area: d; } .g-item:nth-child(5) { grid-area: e; }
.g-media { position: absolute; inset: 0; }
.g-item:hover .media img { transform: scale(1.05); }
.g-item:nth-child(2) .plate { background-position: 20% 70%; } .g-item:nth-child(3) .plate { background-position: 90% 10%; } .g-item:nth-child(4) .plate { background-position: 10% 90%; } .g-item:nth-child(5) .plate { background-position: 70% 30%; }
.cap-card:nth-child(2) .plate { background-position: 80% 20%; } .cap-card:nth-child(3) .plate { background-position: 15% 85%; }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(0deg, rgba(12, 34, 56, .85), rgba(12, 34, 56, 0)); color: var(--white); font: 700 1rem/1.2 var(--f-head); }
.g-note { margin: 18px 0 0; font-size: .875rem; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy); color: var(--white); text-align: center; padding: clamp(88px, 12vw, 150px) 0; overflow: hidden; isolation: isolate; }
.cta-contours { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .8; }
.cta-inner { max-width: 820px; }
.cta h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
.cta p { margin: 20px auto 36px; max-width: 54ch; color: rgba(255, 255, 255, .78); font-size: 1.125rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 80px 0 0; font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-name { margin: 24px 0 6px; color: var(--white); font: 700 1.0625rem/1.3 var(--f-head); }
.footer-slogan { margin: 0; color: var(--gold); font: 600 .9375rem/1.5 var(--f-head); max-width: 30ch; }
.footer-h { font: 700 .9375rem/1 var(--f-head); color: var(--white); margin: 6px 0 16px; }
.footer-h-gap { margin-top: 28px; }
.footer-links { margin: 14px 0 0; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-base { padding: 24px var(--gut) 32px; font-size: .875rem; color: rgba(255, 255, 255, .5); }
.footer-base p { margin: 0; }

/* ---------- Contact page ---------- */
.c-hero { position: relative; background: var(--navy); color: var(--white); padding: clamp(150px, 18vw, 210px) 0 clamp(64px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.c-hero-contours { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .7; }
.c-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; max-width: 16ch; }
.c-hero p { margin: 22px 0 0; max-width: 56ch; color: rgba(255, 255, 255, .78); font-size: 1.1875rem; }
.c-quick { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.c-quick a { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-md); text-decoration: none; background: rgba(255, 255, 255, .04); transition: border-color .25s, background-color .25s; color: var(--gold); }
.c-quick a:hover { border-color: var(--gold); background: rgba(255, 255, 255, .07); }
.c-quick span { display: flex; flex-direction: column; color: var(--white); font-weight: 600; }
.c-quick em { font-style: normal; font-size: .8125rem; color: rgba(255, 255, 255, .55); font-weight: 500; }
.c-body { background: var(--off); padding-top: clamp(56px, 7vw, 96px); }
.c-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.c-h2 { font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.office { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 26px 22px; margin-bottom: 18px; }
.office:first-of-type { border-top: 3px solid var(--gold); }
.office-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.office h3 { font-size: 1.1875rem; }
.badge { display: inline-block; padding: 5px 11px; border-radius: 999px; font: 600 .8125rem/1.2 var(--f-head); border: 1px dashed #3F86B8; color: #2C6A96; }
.badge-solid { border: 0; background: rgba(215, 173, 80, .16); color: #8A6620; }
.office address { color: var(--ink-2); margin-bottom: 14px; font-size: 1rem; }
.person { display: flex; flex-direction: column; margin-bottom: 14px; }
.person span { font-size: .8125rem; color: var(--ink-2); }
.person strong { font-family: var(--f-head); font-size: 1.0625rem; }
.person em { font-style: normal; color: var(--ink-2); font-size: .9375rem; }
.mini { font-size: .8125rem; color: var(--ink-2); margin: 0 0 4px; }
.rows { list-style: none; padding: 0; margin: 0 0 16px; }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 5px 0; }
.row > .ic { color: var(--navy-2); flex: none; }
.row a { text-decoration: none; font-weight: 500; min-height: 32px; display: inline-flex; align-items: center; }
.row a:hover { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.row .wa { gap: 6px; padding: 0 10px; min-height: 30px; border-radius: 999px; background: #E7F5EC; color: #1C6B3F; font-size: .8125rem; font-weight: 600; }
.row .wa:hover { text-decoration: none; background: #D4EEDD; color: #1C6B3F; }
.map-link { font-size: .9375rem; }
.form-card { background: var(--white); border-radius: var(--r-md); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-intro { color: var(--ink-2); font-size: .9375rem; margin-top: -10px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 .9063rem/1.3 var(--f-head); margin-bottom: 8px; color: var(--ink); }
.opt { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #C5D1DD; border-radius: var(--r-sm); font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23183E61' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(110, 177, 222, .3); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: .8125rem; color: var(--ink-2); margin: 6px 0 0; }
.err { font-size: .875rem; color: var(--danger); margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.check label { flex: 1; font: 400 .9375rem/1.5 var(--f-body); color: var(--ink-2); margin: 0; min-width: 0; }
.check .err { flex-basis: 100%; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.form-status { margin: 0; font-size: .9688rem; font-weight: 500; flex: 1 1 240px; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--danger); }
.form-status.is-dev { color: #8A6620; }
.spin { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spin { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .intro-grid, .int-grid, .pres-grid, .c-grid { grid-template-columns: 1fr; }
  .intro-media { aspect-ratio: 16 / 10; max-height: 520px; }
  .caps-head { grid-template-columns: 1fr; gap: 16px; }
  .caps-aside { justify-self: start; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-card:last-child { grid-column: 1 / -1; }
  .cap-card:last-child .cap-media { aspect-ratio: 21 / 9; }
  .venn-wrap { max-width: 440px; }
  .map-fig { max-width: 560px; justify-self: center; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-list, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .tree-lines { display: none; }
  .parent-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
  .sub-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; padding-left: 28px; }
  .sub-card::before { left: -20px; top: -28px; width: 1.5px; height: calc(50% + 28px); margin: 0; border-radius: 0; }
  .sub-card::after { content: ""; position: absolute; left: -20px; top: 50%; width: 20px; height: 1.5px; background: var(--gold); }
  .sub-card { padding: 28px 24px; }
  .g-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "a b" "a c" "d e"; grid-auto-rows: 170px; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mk-city { font-size: 24px; } .mk-role { font-size: 17px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card:last-child .cap-media { aspect-ratio: 16 / 11; }
  .g-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; grid-auto-rows: 220px; }
  .hero-actions .btn { width: 100%; }
  .coord { display: none; }
  .hero-foot { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .c-quick a { width: 100%; }
  .form-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .load-1, .load-2, .load-3, .load-4, .load-5, .tree .parent-card, .tree .sub-card { opacity: 1 !important; transform: none !important; }
  .tree .tree-lines span { transform: none !important; }
  .hero-contours { animation: none; }
}
