/* ==========================================================================
   GDI 2 — institute-as-portfolio (TASK-20260915-5720599b)
   Benchmark: Flex Persona structure (sticky brand panel + editorial scroll),
   recreated in the existing child theme — no theme switch, no purchase, no JS lib.
   Palette/typography: GDI_BRAND_MASTER (Deep Green / Gold / Stone + Playfair Display / Manrope),
   warmed toward paper per CEO art direction (quiet luxury / Japandi, 2026-09-15 follow-ups).
   ========================================================================== */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("fonts/playfair-display-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("fonts/playfair-display-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #0F3D2E;        /* brand Deep Green */
  --green-deep: #0A2B20;
  --green-ink: #102A21;
  --gold: #D4AF37;         /* brand Gold — accent lines only */
  --brass: #715A1C;        /* gold darkened for small text on paper + paper-2 (AA >= 4.5) */
  --sage: #6B8F71;         /* brand Sage — decorative */
  --sage-ink: #45624B;     /* sage for small text on paper (AA) */
  --stone: #F6F7F4;        /* brand Stone */
  --paper: #F2EEE6;        /* warm paper */
  --paper-2: #E9E3D7;
  --ink: #16201C;
  --ink-soft: #46514C;
  --line: rgba(22, 32, 28, 0.14);
  --line-light: rgba(246, 247, 244, 0.16);
  --panel-w: 340px;
  --pad-x: clamp(22px, 5.5vw, 104px);
  --pad-y: clamp(84px, 11vw, 168px);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.19, 0.72, 0.16, 1);
  --dur: 900ms;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.gdi2 { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.gdi2 img { max-width: 100%; height: auto; display: block; }
.gdi2 a { color: inherit; }
.gdi2 :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gdi2-skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--gold); color: var(--green-deep); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.gdi2-skip:focus { left: 12px; }
.gdi2-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Brand panel (Flex Persona-style sticky sidebar) ---------- */
.gdi2-panel { position: fixed; inset: 0 auto 0 0; width: var(--panel-w); z-index: 40; display: flex; flex-direction: column; padding: 40px 34px 30px; color: var(--stone); background: radial-gradient(120% 70% at 0% 0%, #14503C 0%, var(--green) 45%, var(--green-deep) 100%); overflow: hidden; }
.gdi2-panel::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.09; mix-blend-mode: overlay; pointer-events: none; }
.gdi2-panel__mark { position: absolute; width: 520px; right: -250px; bottom: -150px; opacity: 0.06; pointer-events: none; filter: grayscale(1) brightness(2.2); }
.gdi2-panel > *:not(.gdi2-panel__mark) { position: relative; }
.gdi2-panel__logo { display: block; width: 214px; }
.gdi2 .gdi2-panel__claim { margin: 22px 0 0; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246, 247, 244, 0.72); }
.gdi2-panel__claim::before { content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin-bottom: 14px; }
.gdi2-nav { margin: auto 0; padding: 28px 0; }
.gdi2-nav ol { list-style: none; margin: 0; padding: 0; }
.gdi2-nav li + li { margin-top: 2px; }
.gdi2-nav a { display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 7px 0; text-decoration: none; font-size: 14.5px; letter-spacing: 0.02em; color: rgba(246, 247, 244, 0.66); transition: color 400ms var(--ease); }
.gdi2-nav a span { font-size: 10.5px; letter-spacing: 0.14em; color: rgba(212, 175, 55, 0.62); }
.gdi2-nav a em { font-style: normal; position: relative; }
.gdi2-nav a em::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease); }
.gdi2-nav a:hover, .gdi2-nav a[aria-current="true"], .gdi2-nav a[aria-current="page"] { color: var(--stone); }
.gdi2-nav a:hover em::after, .gdi2-nav a[aria-current="true"] em::after, .gdi2-nav a[aria-current="page"] em::after { transform: scaleX(1); }
.gdi2-panel__foot { font-size: 11.5px; line-height: 1.6; color: rgba(246, 247, 244, 0.58); letter-spacing: 0.02em; }
.gdi2-lang { display: flex; gap: 4px; margin-bottom: 18px; font-size: 12px; letter-spacing: 0.18em; }
.gdi2-lang a, .gdi2-lang span { display: inline-block; padding: 5px 9px; border: 1px solid var(--line-light); text-decoration: none; color: rgba(246, 247, 244, 0.7); transition: border-color 300ms, color 300ms; }
.gdi2-lang [aria-current="true"] { border-color: var(--gold); color: var(--stone); }
.gdi2-lang a:hover { border-color: rgba(212, 175, 55, 0.6); color: var(--stone); }

/* Mobile/tablet top bar + drawer */
.gdi2-bar { display: none; }
@media (max-width: 1099px) {
  .gdi2-panel { display: none; }
  .gdi2-bar { display: flex; position: sticky; top: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 18px; background: rgba(15, 61, 46, 0.97); color: var(--stone); backdrop-filter: blur(6px); }
  .gdi2-bar__logo { width: 150px; }
  .gdi2-bar__right { display: flex; align-items: center; gap: 10px; }
  .gdi2-bar .gdi2-lang { margin: 0; }
  .gdi2-burger { appearance: none; border: 1px solid var(--line-light); background: transparent; color: var(--stone); font: 600 11.5px/1 var(--sans); letter-spacing: 0.2em; padding: 11px 13px; cursor: pointer; }
  .gdi2-drawer { position: fixed; inset: 64px 0 0 0; z-index: 49; background: var(--green-deep); color: var(--stone); padding: 28px 24px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease), transform 360ms var(--ease), visibility 0s 360ms; }
  .gdi2-drawer[data-open="true"] { opacity: 1; transform: none; visibility: visible; transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
  .gdi2-drawer .gdi2-nav a { font-size: 19px; padding: 11px 0; }
}
@media (min-width: 1100px) { .gdi2-drawer { display: none; } }
.no-js .gdi2-drawer { position: static; opacity: 1; visibility: visible; transform: none; }

/* ---------- Main column ---------- */
.gdi2-main { position: relative; }
@media (min-width: 1100px) { .gdi2-main { margin-left: var(--panel-w); } }
.gdi2-sec { position: relative; padding: var(--pad-y) var(--pad-x); overflow: hidden; }
.gdi2-sec--dark { background: var(--green); color: var(--stone); }
.gdi2-sec--dark::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; }
.gdi2-sec--paper2 { background: var(--paper-2); }
.gdi2-wrap { position: relative; max-width: 1180px; margin: 0 auto; }
.gdi2 .gdi2-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }
.gdi2-kicker::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.gdi2-sec--dark .gdi2-kicker { color: var(--gold); }
.gdi2 h1, .gdi2 h2, .gdi2 h3, .gdi2 h4 { color: var(--ink); }
.gdi2-sec--dark h1, .gdi2-sec--dark h2, .gdi2-sec--dark h3, .gdi2-sec--dark strong, .gdi2-footer h2 { color: var(--stone); }
.gdi2-h1, .gdi2-h2, .gdi2-h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.gdi2-h1 { font-size: clamp(48px, 7.2vw, 118px); line-height: 1; letter-spacing: -0.02em; padding-bottom: 0.08em; }
.gdi2 .gdi2-hero .gdi2-lead { margin-top: 34px; }
.gdi2-h2 { font-size: clamp(36px, 5vw, 76px); line-height: 1.04; max-width: 17ch; }
.gdi2-h3 { font-size: clamp(23px, 2.2vw, 31px); line-height: 1.2; }
.gdi2-h2 i, .gdi2-h1 i { font-style: italic; font-weight: 400; color: var(--green); }
.gdi2-sec--dark .gdi2-h2 i { color: var(--gold); }
.gdi2 .gdi2-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 58ch; color: var(--ink-soft); margin: 28px 0 0; }
.gdi2-sec--dark .gdi2-lead, .gdi2-sec--dark p { color: rgba(246, 247, 244, 0.8); }
.gdi2 p { margin: 0; }
.gdi2 p + p { margin-top: 1em; }
.gdi2-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid currentColor; transition: gap 400ms var(--ease), color 300ms; }
.gdi2-link:hover { gap: 16px; color: var(--green); }
.gdi2-sec--dark .gdi2-link:hover { color: var(--gold); }
.gdi2-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; background: var(--green); color: var(--stone) !important; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; transition: background 400ms var(--ease); }
.gdi2-btn:hover { background: var(--green-deep); }
.gdi2-watermark { position: absolute; pointer-events: none; opacity: 0.05; filter: grayscale(1); z-index: 0; will-change: transform; }

/* ---------- 01 Hero ---------- */
.gdi2-hero { min-height: calc(100svh - 0px); display: flex; align-items: center; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.gdi2-hero .gdi2-wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.gdi2 .gdi2-hero__eyebrow { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 30px; }
.gdi2 .gdi2-hero__claim { margin-top: 38px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); }
.gdi2-hero__cta { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; margin-top: 44px; }
.gdi2-plate { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(90% 75% at 62% 38%, #FBFAF6 0%, var(--stone) 45%, #E4DDCF 100%); overflow: hidden; outline: 1px solid rgba(22, 32, 28, 0.85); outline-offset: 14px; }
.gdi2-plate::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(15, 61, 46, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 61, 46, 0.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(160deg, transparent 8%, #000 50%, transparent 96%); -webkit-mask-image: linear-gradient(160deg, transparent 8%, #000 50%, transparent 96%); }
.gdi2-plate::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.1; mix-blend-mode: multiply; pointer-events: none; }
.gdi2-plate__mark { position: absolute; width: 74%; left: 13%; top: 17%; z-index: 1; }
.gdi2-plate__band { position: absolute; left: 0; right: 0; bottom: 0; height: 21%; background: var(--green); z-index: 1; }
.gdi2-plate__mark--tonal { opacity: 0.14; filter: grayscale(1) brightness(2.4); }
.gdi2-plate__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.gdi2-plate__lines path { fill: none; stroke: rgba(125, 100, 32, 0.45); stroke-width: 1; stroke-dasharray: 900; }
.gdi2-plate__caption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(246, 247, 244, 0.72); }

/* ---------- 02 What we do ---------- */
.gdi2-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); }
.gdi2-pillar { border-top: 1px solid var(--line); padding-top: 26px; position: relative; }
.gdi2-pillar::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 1100ms var(--ease); }
.gdi2-pillar:hover::before, .gdi2-pillar.is-in::before { transform: scaleX(0.28); }
.gdi2-pillar:hover::before { transform: scaleX(1); }
.gdi2-pillar__n { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--brass); }
.gdi2-pillar .gdi2-h3 { margin: 14px 0 14px; }
.gdi2-pillar p { color: var(--ink-soft); font-size: 16px; }

/* ---------- 03 Projects / ecosystem ---------- */
.gdi2-cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); margin-top: clamp(48px, 6vw, 84px); }
.gdi2-case { grid-column: span 6; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.gdi2-case--wide { grid-column: span 7; }
.gdi2-case--narrow { grid-column: span 5; margin-top: clamp(0px, 9vw, 140px); }
.gdi2-case--full { grid-column: 3 / span 10; }
.gdi2-case__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--green); display: grid; place-items: center; }
.gdi2-case__media--paper { background: var(--stone); outline: 1px solid var(--line); }
.gdi2-case__media--ink { background: #121815; }
.gdi2-case__media::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.1; mix-blend-mode: overlay; pointer-events: none; }
.gdi2-case__inner { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 1400ms var(--ease); }
.gdi2-case:hover .gdi2-case__inner { transform: scale(1.025); }
.gdi2-case__logo { width: min(62%, 360px); }
.gdi2-case__word { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 54px); color: var(--stone); letter-spacing: -0.01em; text-align: center; padding: 0 24px; line-height: 1.05; }
.gdi2-case__word small { display: block; margin-top: 12px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.gdi2-case__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(246, 247, 244, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 247, 244, 0.05) 1px, transparent 1px); background-size: 40px 40px; }
.gdi2-case__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-ink); }
.gdi2-case__meta b { color: var(--brass); font-weight: 600; }
.gdi2-case .gdi2-h3 { margin-top: 10px; }
.gdi2-case p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; max-width: 52ch; }
.gdi2-case__go { margin-top: 16px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.gdi2-case__go::after { content: " \2192"; display: inline-block; transition: transform 500ms var(--ease); }
.gdi2-case:hover .gdi2-case__go::after { transform: translateX(6px); }

.gdi2-subhead { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px; margin: clamp(80px, 10vw, 140px) 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gdi2-subhead h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); margin: 0; }
.gdi2-subhead p { color: var(--ink-soft); font-size: 15px; max-width: 48ch; }
.gdi2-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.gdi2-filters button { appearance: none; background: transparent; border: 1px solid var(--line); color: var(--ink-soft); font: 600 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 13px; cursor: pointer; transition: all 300ms var(--ease); }
.gdi2-filters button[aria-pressed="true"], .gdi2-filters button:hover { background: var(--green); border-color: var(--green); color: var(--stone); }
.gdi2-index { list-style: none; margin: 0; padding: 0; }
.gdi2-index li { border-bottom: 1px solid var(--line); }
.gdi2-index li[hidden] { display: none; }
.gdi2-index a, .gdi2-index .gdi2-index__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 0.8fr) 24px; gap: 18px; align-items: baseline; padding: 20px 0; text-decoration: none; transition: padding 500ms var(--ease), background 500ms; }
.gdi2-index a:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(15, 61, 46, 0.05), transparent 70%); }
.gdi2-index__name { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 26px); }
.gdi2-index__desc { color: var(--ink-soft); font-size: 15px; }
.gdi2-index__cat { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-ink); }
.gdi2-index__arrow { color: var(--brass); transition: transform 500ms var(--ease); }
.gdi2-index a:hover .gdi2-index__arrow { transform: translateX(4px); }

.gdi2-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.gdi2-soon li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 24px 24px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; transition: background 600ms var(--ease); }
.gdi2-soon li:hover { background: rgba(246, 247, 244, 0.6); }
.gdi2-subhead h3 .gdi2-soon__tag { vertical-align: middle; margin: 0 0 0 12px; display: inline-block; }
.gdi2-soon__name { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 25px); color: #646861; line-height: 1.2; word-break: break-word; }
.gdi2-soon__tag { align-self: flex-start; margin-top: 18px; font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); padding: 5px 8px; }
.gdi2-soon__cat { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); }
.gdi2-soon ul, ul.gdi2-soon { margin: 0; padding: 0; }

/* ---------- 04 President ---------- */
.gdi2-president .gdi2-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.gdi2-president__bgname { position: absolute; z-index: 0; right: -2vw; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: clamp(120px, 17vw, 300px); line-height: 1; color: rgba(246, 247, 244, 0.035); white-space: nowrap; pointer-events: none; }
.gdi2-portrait { position: relative; aspect-ratio: 4 / 5; }
.gdi2-portrait::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid rgba(212, 175, 55, 0.55); }
.gdi2-portrait__frame { position: relative; height: 100%; overflow: hidden; background: radial-gradient(100% 80% at 70% 20%, #1E5C45 0%, #0D3226 70%); }
.gdi2-portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.gdi2-portrait__slot { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.gdi2-portrait__slot img { position: absolute; width: 92%; height: auto; right: -18%; top: 8%; opacity: 0.08; filter: grayscale(1) brightness(2.4); }
.gdi2-portrait__mono { position: relative; font-family: var(--serif); font-size: clamp(64px, 7vw, 108px); line-height: 0.9; color: rgba(246, 247, 244, 0.9); }
.gdi2-portrait__mono span { display: block; margin-top: 16px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(246, 247, 244, 0.55); }
.gdi2 .gdi2-president__role { margin-top: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.gdi2-president p.gdi2-lead { max-width: 50ch; }
.gdi2-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 30px 0 0; padding: 0; }
.gdi2-tags li { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line-light); color: rgba(246, 247, 244, 0.8); }

/* ---------- 05 Mission ---------- */
.gdi2-statement { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 70px); line-height: 1.1; letter-spacing: -0.01em; max-width: 20ch; margin: 0; }
.gdi2-statement em { color: var(--green); }
.gdi2-goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 5vw, 72px) clamp(28px, 5vw, 88px); margin-top: clamp(56px, 7vw, 100px); }
.gdi2-goal { border-top: 1px solid var(--line); padding-top: 22px; }
.gdi2-goal h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.25; margin: 0 0 12px; }
.gdi2-goal p { color: var(--ink-soft); font-size: 16px; }
.gdi2-future { position: relative; margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(246, 247, 244, 0.7), rgba(233, 227, 215, 0.5)); }
.gdi2-future__seal { width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(125, 100, 32, 0.45); display: grid; place-items: center; position: relative; }
.gdi2-future__seal::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px dashed rgba(125, 100, 32, 0.35); }
.gdi2-future__seal img { width: 62px; opacity: 0.55; filter: grayscale(0.6); }
.gdi2-future__label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }
.gdi2-future h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); margin: 10px 0 12px; }
.gdi2-future p { color: var(--ink-soft); max-width: 64ch; }

/* ---------- 06 Institution / status ---------- */
.gdi2-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin: clamp(44px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); }
.gdi2-facts div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.gdi2-facts dt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-ink); }
.gdi2-facts dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.3; }
.gdi2-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); margin-top: clamp(44px, 6vw, 72px); }
.gdi2-trust h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 10px; color: var(--green); }
.gdi2-trust p { color: var(--ink-soft); font-size: 15.5px; }
.gdi2-trust a, .gdi2-prose a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- 07 Contact + footer brand moment ---------- */
.gdi2-contact .gdi2-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 100px); align-items: end; }
.gdi2-contact address { font-style: normal; font-size: 17px; line-height: 1.8; color: rgba(246, 247, 244, 0.85); }
.gdi2-contact address strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--stone); margin-bottom: 8px; }
.gdi2 .gdi2-contact__email { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.3; color: var(--stone); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.gdi2 .gdi2-contact__email:hover { color: var(--gold); }
.gdi2-contact address .gdi2-contact__email { display: block; width: fit-content; max-width: 100%; margin: 2px 0 20px; }
.gdi2-contact__label { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; line-height: 1.8; text-transform: uppercase; color: rgba(246, 247, 244, 0.72); }
.gdi2-pkd { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gdi2-pkd summary { cursor: pointer; padding: 16px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); }
.gdi2-pkd dl { margin: 0 0 18px; }
.gdi2-pkd dl div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.gdi2-pkd dt { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--green); }
.gdi2-pkd dd { margin: 0; color: var(--ink-soft); }
.gdi2-footer { position: relative; background: var(--green-deep); color: rgba(246, 247, 244, 0.7); padding: clamp(56px, 7vw, 96px) var(--pad-x) 34px; overflow: hidden; }
.gdi2-footer__lockup { width: min(420px, 80%); }
.gdi2 .gdi2-footer__claim { margin-top: 26px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.gdi2-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 13px; }
.gdi2-footer__row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.gdi2-footer__row a { text-decoration: none; color: rgba(246, 247, 244, 0.8); }
.gdi2-footer__row a:hover { color: var(--gold); }
.gdi2-footer .gdi2-watermark { width: 640px; right: -180px; top: -120px; opacity: 0.045; filter: grayscale(1) brightness(2.2); }

/* ---------- Inner pages (About / Contact / Legal) ---------- */
.gdi2-page-hero { padding-top: clamp(90px, 12vw, 180px); padding-bottom: clamp(40px, 6vw, 80px); }
.gdi2-prose { max-width: 74ch; }
.gdi2-prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; margin: 2.2em 0 0.6em; }
.gdi2-prose h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.9vw, 26px); margin: 1.8em 0 0.5em; }
.gdi2-prose p, .gdi2-prose li { color: var(--ink-soft); }
.gdi2-prose ul, .gdi2-prose ol { padding-left: 1.2em; }
.gdi2-prose li + li { margin-top: 0.5em; }
.gdi2-prose a { color: var(--green); }
.gdi2-note { margin-top: 28px; padding: 14px 18px; border-left: 2px solid var(--gold); background: rgba(246, 247, 244, 0.7); font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Motion (progressive: only when JS confirmed + motion allowed) ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1200ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js-motion [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
.js-motion [data-reveal="side"] { opacity: 0; transform: translate3d(-28px, 0, 0); clip-path: inset(0 100% 0 0); transition: clip-path 1300ms var(--ease), transform 1300ms var(--ease), opacity 700ms var(--ease); }
.js-motion [data-reveal="side"].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
/* Above-the-fold intro: pure CSS on first paint (no JS/IO wait, so LCP text is never held back). */
@keyframes gdi2-mask-up { from { clip-path: inset(0 0 100% 0); transform: translate3d(0, 18px, 0); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes gdi2-mask-side { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes gdi2-fade { from { opacity: 0; } to { opacity: 1; } }
.js-motion .gdi2-intro { animation: gdi2-mask-up 1100ms var(--ease) both; }
.js-motion .gdi2-intro--late { animation: gdi2-fade 900ms var(--ease) 700ms both; }
.js-motion .gdi2-intro--plate { animation: gdi2-mask-side 1400ms var(--ease) 150ms both; }
@keyframes gdi2-draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
.gdi2-plate__lines path { stroke-dashoffset: 0; }
.js-motion .gdi2-plate__lines path { animation: gdi2-draw 2600ms var(--ease) 700ms both; }
.no-js .gdi2-plate__lines path, .gdi2-reduced .gdi2-plate__lines path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gdi2 *, .gdi2 *::before, .gdi2 *::after { transition-duration: 1ms !important; transition-delay: 0s !important; animation-duration: 1ms !important; animation-delay: 0s !important; }
  .gdi2-plate__lines path { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .gdi2-hero { min-height: auto; }
}
@media (max-width: 900px) {
  body.gdi2 { font-size: 16px; }
  .gdi2-hero .gdi2-wrap, .gdi2-president .gdi2-wrap, .gdi2-contact .gdi2-wrap { grid-template-columns: 1fr; }
  .gdi2-plate { aspect-ratio: 5 / 4; outline-offset: 8px; max-width: 560px; width: calc(100% - 8px); margin-left: 4px !important; }
  .gdi2-plate__mark { width: 50%; left: 25%; top: 7%; }
  .gdi2-plate__band { height: 17%; }
  .gdi2-plate__caption { bottom: 4.5%; }
  .gdi2-pillars, .gdi2-goals, .gdi2-trust { grid-template-columns: 1fr; }
  .gdi2-case, .gdi2-case--wide, .gdi2-case--narrow, .gdi2-case--full { grid-column: 1 / -1; margin-top: 0; }
  .gdi2-index a, .gdi2-index .gdi2-index__row { grid-template-columns: minmax(0, 1fr) 24px; gap: 4px 12px; }
  .gdi2-index__desc, .gdi2-index__cat { grid-column: 1; }
  .gdi2-index__arrow { grid-column: 2; grid-row: 1; }
  .gdi2-portrait { max-width: 420px; }
  .gdi2-portrait::before { inset: 12px -12px -12px 12px; }
  .gdi2-president__bgname { display: none; }
  .gdi2-future { grid-template-columns: 1fr; }
  .gdi2-future__seal { width: 100px; height: 100px; }
  .gdi2-future__seal img { width: 44px; }
}
@media print { .gdi2-panel, .gdi2-bar, .gdi2-drawer { display: none; } .gdi2-main { margin: 0; } }
