:root {
  --ink: #17231f;
  --muted: #66736e;
  --forest: #173f35;
  --green: #28705d;
  --green-2: #3f846e;
  --mint: #e8f1ec;
  --cream: #f7f3e9;
  --paper: #fffefa;
  --sand: #efe3d4;
  --coral: #c57b59;
  --gold: #e5b47f;
  --line: #d7e0db;
  --red: #9d4e43;
  --shadow: 0 24px 70px rgba(23, 63, 53, .1);
  --header: 76px;
  --sidebar: 302px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
kbd { padding: 2px 6px; border: 1px solid #d5ded9; border-radius: 6px; background: #fff; color: var(--muted); font-size: 10px; }

.skip-link { position: fixed; top: -60px; left: 18px; z-index: 400; padding: 10px 15px; border-radius: 9px; background: var(--forest); color: #fff; text-decoration: none; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(210, 221, 215, .8);
  background: rgba(255, 254, 250, .88);
  backdrop-filter: blur(20px) saturate(150%);
}
.site-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.site-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 12px; }
.site-brand span { display: grid; line-height: 1.15; }
.site-brand b { font-size: 14px; letter-spacing: .035em; }
.site-brand small { margin-top: 5px; color: #83908a; font-size: 9px; letter-spacing: .12em; }
.site-header nav { display: flex; align-items: center; gap: 5px; }
.site-header nav a { padding: 9px 13px; border-radius: 99px; color: #53615b; text-decoration: none; font-size: 12px; font-weight: 650; }
.site-header nav a:hover { background: var(--mint); color: var(--forest); }
.site-header nav a.active { background: var(--forest); color: #fff; }
.mobile-site-nav { display: none; height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid #cedbd4;
  border-radius: 12px;
  background: rgba(255,255,255,.76);
  color: var(--forest);
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  transition: .2s ease;
}
.button:hover { transform: translateY(-1px); border-color: #9ebcad; box-shadow: 0 8px 22px rgba(23,63,53,.08); }
.button.primary { border-color: var(--forest); background: var(--forest); color: #fff; }
.button.primary kbd { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.12); color: #fff; }
.mobile-only { display: none; }

/* Portal */
.portal-page {
  background:
    radial-gradient(circle at 90% 4%, rgba(175, 208, 190, .35), transparent 25rem),
    linear-gradient(180deg, #f8f4ea, #f4f2eb 60%, #f8f5ed);
}
.portal-main { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: calc(var(--header) + 42px) 0 42px; }
.portal-hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1fr .92fr;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(55, 100, 82, .2);
  border-radius: 32px;
  background: rgba(255, 254, 250, .86);
  box-shadow: var(--shadow);
}
.portal-copy { align-self: center; padding: 70px 64px; }
.portal-copy > span, .portal-thesis > span, .portal-map span, .document-card > span, .eyebrow, .chapter-kicker, .side-intro > span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .17em;
}
.portal-copy h1 { max-width: 620px; margin: 20px 0 24px; color: var(--forest); font-size: clamp(54px, 6.3vw, 86px); line-height: 1.02; letter-spacing: -.06em; }
.portal-copy p { max-width: 560px; margin: 0; color: #55645e; font-size: 19px; line-height: 1.65; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.portal-hero > figure { position: relative; min-height: 630px; margin: 0; overflow: hidden; }
.portal-hero > figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,254,250,.82), transparent 32%), linear-gradient(180deg, transparent 64%, rgba(16,49,41,.46)); }
.portal-hero > figure img { width: 100%; height: 100%; object-fit: cover; }
.portal-hero > figure figcaption { position: absolute; right: 28px; bottom: 24px; z-index: 2; display: grid; color: #fff; text-align: right; }
.portal-hero > figure figcaption b { font-size: 14px; }
.portal-hero > figure figcaption span { font-size: 10px; opacity: .75; }
.portal-thesis { margin: 24px 0; padding: 44px 48px; border-radius: 24px; background: var(--forest); color: #fff; }
.portal-thesis > span { color: var(--gold); }
.portal-thesis h2 { max-width: 1050px; margin: 12px 0 30px; color: #fff; font-size: clamp(25px, 3vw, 40px); line-height: 1.35; letter-spacing: -.03em; }
.portal-thesis > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.portal-thesis p { margin: 0; padding: 17px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: rgba(255,255,255,.74); font-size: 13px; }
.portal-thesis p b { display: block; margin-bottom: 3px; color: #fff; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.document-card { position: relative; min-height: 340px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,254,250,.86); color: inherit; text-decoration: none; transition: .25s ease; }
.document-card::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(141,187,166,.26), transparent 67%); }
.document-card:hover { transform: translateY(-5px); border-color: #acc7ba; box-shadow: var(--shadow); }
.document-card.featured { border-color: #2b6857; background: linear-gradient(145deg, #fdfaf2, #e9f2ed); }
.document-card h2 { margin: 20px 0 13px; color: var(--forest); font-size: 32px; letter-spacing: -.035em; }
.document-card p { margin: 0; color: #5c6964; font-size: 14px; }
.card-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); }
.card-meta b { color: var(--forest); font-size: 11px; }
.card-meta i { color: var(--green); font-size: 11px; font-style: normal; font-weight: 750; }
.portal-map { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 30px; margin-top: 24px; padding: 48px; border: 1px solid var(--line); border-radius: 26px; background: #fffefa; }
.portal-map h2 { margin: 12px 0 14px; color: var(--forest); font-size: 32px; line-height: 1.25; }
.portal-map p { margin: 0; color: var(--muted); font-size: 14px; }
.portal-map img { border-radius: 18px; }
.portal-footer { display: flex; justify-content: space-between; gap: 20px; padding: 34px 6px 0; color: #75827c; font-size: 10px; }

/* Document shell */
.document-page { background: linear-gradient(180deg, #f7f4eb, #f4f3ed 38%, #f8f6ef); }
.doc-shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); padding-top: var(--header); }
.doc-sidebar { position: sticky; top: var(--header); height: calc(100vh - var(--header)); padding: 27px 18px 25px 24px; overflow-y: auto; border-right: 1px solid var(--line); background: rgba(247,245,239,.83); overscroll-behavior: contain; }
.side-intro { padding: 0 10px 18px; border-bottom: 1px solid var(--line); }
.side-intro p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.doc-sidebar nav { display: grid; gap: 2px; margin-top: 13px; }
.doc-sidebar nav a { display: grid; grid-template-columns: 28px 1fr; gap: 7px; padding: 8px 9px; border-radius: 9px; color: #56635e; text-decoration: none; font-size: 11px; line-height: 1.35; transition: .18s ease; }
.doc-sidebar nav a span { padding-top: 1px; color: #a0aaa5; font-size: 9px; }
.doc-sidebar nav a:hover { background: #eaf1ed; color: var(--forest); }
.doc-sidebar nav a.active { background: #e2ede7; color: var(--forest); font-weight: 750; box-shadow: inset 3px 0 var(--green); }
.doc-sidebar nav a.active span { color: var(--green); }
.side-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; margin: 22px 8px 0; padding-top: 15px; border-top: 1px solid var(--line); color: #7f8a85; font-size: 9px; }
.side-meta b { color: #4e5d57; text-align: right; font-weight: 700; }
.doc-main { width: min(100%, 1160px); min-width: 0; margin: 0 auto; padding: 42px 48px 120px; }
.doc-hero { min-height: 520px; display: grid; grid-template-columns: 1.04fr .96fr; overflow: hidden; border: 1px solid rgba(48,97,79,.19); border-radius: 28px; background: #fffefa; box-shadow: var(--shadow); }
.doc-hero-copy { align-self: center; padding: 52px 48px; }
.eyebrow { color: var(--green); }
.doc-hero h1 { margin: 18px 0 22px; color: var(--forest); font-size: clamp(46px, 5.7vw, 72px); line-height: 1.05; letter-spacing: -.055em; }
.doc-hero p { margin: 0; color: #56645f; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.doc-hero > figure { position: relative; min-height: 520px; margin: 0; overflow: hidden; }
.doc-hero > figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,254,250,.65), transparent 30%), linear-gradient(180deg, transparent 62%, rgba(15,50,41,.52)); }
.doc-hero > figure img { width: 100%; height: 100%; object-fit: cover; }
.doc-hero > figure figcaption { position: absolute; right: 20px; bottom: 18px; z-index: 2; padding: 6px 10px; border-radius: 99px; background: rgba(16,51,42,.7); color: #fff; font-size: 9px; letter-spacing: .08em; }
.doc-snapshot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.doc-snapshot article { padding: 19px 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,254,250,.8); }
.doc-snapshot strong { display: block; color: var(--forest); font-size: 29px; line-height: 1.1; letter-spacing: -.035em; }
.doc-snapshot span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.doc-principle { margin: 0 0 26px; padding: 34px 38px; border-radius: 20px; background: var(--forest); color: #fff; }
.doc-principle > span { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.doc-principle h2 { max-width: 940px; margin: 9px 0 0; color: #fff; font-size: 25px; line-height: 1.45; letter-spacing: -.02em; }

.chapter { margin-top: 76px; padding-top: 17px; border-top: 1px solid var(--line); }
.chapter > h1 { margin: 8px 0 24px; color: var(--forest); font-size: clamp(34px, 4vw, 49px); line-height: 1.2; letter-spacing: -.04em; }
.chapter h2 { position: relative; margin: 52px 0 18px; color: var(--forest); font-size: 25px; line-height: 1.35; letter-spacing: -.022em; }
.chapter h3 { position: relative; margin: 34px 0 13px; color: #315f50; font-size: 19px; }
.anchor { margin-left: 8px; opacity: 0; font-size: .7em; text-decoration: none; }
.chapter h2:hover .anchor, .chapter h3:hover .anchor, .anchor:focus { opacity: .48; }
.chapter p { margin: 0 0 14px; color: #3d4944; }
.chapter ul, .chapter ol { margin: 14px 0 23px; padding-left: 1.45em; }
.chapter li { margin: 8px 0; padding-left: 5px; color: #35433e; }
.chapter li::marker { color: var(--green); font-weight: 850; }
.chapter strong { color: #214e40; }
.chapter a { overflow-wrap: anywhere; word-break: break-word; }
.chapter blockquote { margin: 22px 0; padding: 24px 26px; border: 0; border-radius: 16px; background: var(--forest); color: #fff; font-size: 17px; font-weight: 650; line-height: 1.65; }

.visual-card { margin: 28px 0 38px; padding: 16px; border: 1px solid #d4e0da; border-radius: 21px; background: #fff; box-shadow: 0 18px 45px rgba(23,63,53,.07); }
.visual-card img { width: 100%; aspect-ratio: 1400 / 760; object-fit: contain; border-radius: 13px; background: #f7f8f4; }
.visual-card figcaption { display: flex; justify-content: space-between; gap: 25px; padding: 13px 5px 1px; }
.visual-card figcaption strong { color: var(--forest); font-size: 11px; }
.visual-card figcaption span { max-width: 650px; color: var(--muted); font-size: 10px; text-align: right; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 38px; }
.photo-strip figure { position: relative; min-height: 240px; margin: 0; overflow: hidden; border-radius: 18px; background: #e8eee9; box-shadow: 0 14px 34px rgba(23,63,53,.08); }
.photo-strip figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(14,44,36,.62)); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip figcaption { position: absolute; right: 14px; bottom: 12px; left: 14px; z-index: 2; color: #fff; font-size: 10px; font-weight: 700; }

.callout { display: grid; grid-template-columns: 104px 1fr; gap: 16px; margin: 22px 0; padding: 18px 20px; border-left: 4px solid var(--green); border-radius: 4px 14px 14px 4px; background: var(--mint); }
.callout > span { color: var(--forest); font-size: 11px; font-weight: 850; }
.callout p { margin: 0; color: #30413a; }
.callout.risk { border-color: var(--red); background: #f7ece9; }
.callout.risk > span { color: var(--red); }
.table-wrap { max-width: 100%; margin: 20px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(23,63,53,.04); }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 12.5px; line-height: 1.55; }
th { padding: 13px 14px; background: #e6efea; color: #204e40; text-align: left; font-size: 11px; }
td { padding: 13px 14px; border-top: 1px solid #e5ebe7; vertical-align: top; color: #3c4843; }
td:first-child { color: #284f43; font-weight: 700; }
tbody tr:nth-child(even) td { background: #fbfcfb; }
tbody tr:hover td { background: #f1f6f3; }

.search-dialog { width: min(720px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; background: transparent; box-shadow: 0 35px 100px rgba(10,35,28,.3); }
.search-dialog::backdrop { background: rgba(16,32,26,.58); backdrop-filter: blur(5px); }
.search-box { overflow: hidden; border-radius: 18px; background: #fffefa; }
.search-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; }
.search-head label { color: var(--forest); font-size: 12px; font-weight: 800; }
.search-head button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #edf2ef; }
#searchInput { width: calc(100% - 36px); margin: 0 18px 14px; padding: 14px 15px; border: 1px solid #cedad4; border-radius: 12px; outline: 0; background: #fff; }
#searchInput:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(40,112,93,.12); }
.search-results { max-height: 58vh; overflow: auto; padding: 0 12px 14px; }
.search-results > p { margin: 18px; color: var(--muted); font-size: 12px; }
.search-result { display: block; padding: 12px 14px; border-radius: 10px; color: inherit; text-decoration: none; }
.search-result:hover { background: var(--mint); }
.search-result strong { display: block; color: var(--forest); font-size: 12px; }
.search-result span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.search-result mark { background: #f5d897; }
.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--forest); color: #fff; box-shadow: 0 10px 30px rgba(23,63,53,.25); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.nav-backdrop { display: none; }

/* Pitch deck */
.pitch-page { height: 100vh; overflow: hidden; background: #102d26; color: #fff; }
.pitch-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(12,38,31,.9); backdrop-filter: blur(18px); }
.pitch-header .site-brand { color: #fff; }
.pitch-header .site-brand img { width: 34px; height: 34px; }
.pitch-header .site-brand small { color: rgba(255,255,255,.5); }
.pitch-header > div { display: flex; align-items: center; gap: 8px; }
.pitch-header > div > span { max-width: 260px; overflow: hidden; color: rgba(255,255,255,.58); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.pitch-header button, .pitch-header > div > a { height: 32px; padding: 0 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; font-size: 10px; }
.pitch-header > div > a { display: inline-flex; align-items: center; }
.pitch-deck { position: fixed; inset: 58px 0 64px; display: grid; place-items: center; padding: 14px 0; }
.pitch-slide {
  position: relative;
  width: min(calc(100vw - 64px), calc((100vh - 150px) * 1.7778));
  aspect-ratio: 16 / 9;
  display: none;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding: 5.2%;
  border: 1px solid rgba(28,87,71,.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(155,204,181,.28), transparent 26%),
    linear-gradient(145deg, #fffdf7, #f2f6f1);
  color: var(--ink);
  box-shadow: 0 36px 100px rgba(0,0,0,.24);
}
.pitch-slide.active { display: grid; animation: pitch-in .28s ease; }
@keyframes pitch-in { from { opacity: .4; transform: translateY(8px) scale(.995); } }
.slide-number { position: absolute; top: 4.2%; right: 4.4%; z-index: 5; color: var(--coral); font-size: 13px; font-weight: 850; letter-spacing: .1em; }
.slide-number span { color: #95a19c; font-size: 9px; }
.slide-copy { position: relative; z-index: 3; max-width: 100%; }
.slide-copy h2 { max-width: 1050px; margin: 0 0 3.2%; color: var(--forest); font-size: clamp(34px, 3.2vw, 58px); line-height: 1.13; letter-spacing: -.045em; }
.slide-copy h3 { margin: 18px 0 5px; color: var(--green); font-size: clamp(16px, 1.45vw, 24px); }
.slide-copy p { max-width: 980px; margin: 8px 0; color: #52605b; font-size: clamp(12px, 1.1vw, 19px); line-height: 1.55; }
.slide-copy strong { color: var(--forest); }
.slide-copy ul, .slide-copy ol { max-width: 980px; margin: 14px 0; padding-left: 1.3em; }
.slide-copy li { margin: 9px 0; color: #42514b; font-size: clamp(12px, 1.08vw, 18px); line-height: 1.5; }
.slide-copy li::marker { color: var(--green); font-weight: 850; }
.slide-copy blockquote { max-width: 990px; margin: 22px 0 0; padding: 16px 20px; border-left: 4px solid var(--gold); border-radius: 4px 14px 14px 4px; background: var(--forest); color: #fff; font-size: clamp(13px, 1.3vw, 21px); font-weight: 700; }
.pitch-slide .table-wrap { margin: 14px 0 0; border-radius: 12px; box-shadow: none; }
.pitch-slide table { min-width: 0; font-size: clamp(9px, .8vw, 13px); line-height: 1.32; }
.pitch-slide th, .pitch-slide td { padding: clamp(7px, .75vw, 12px); }
.pitch-slide th { font-size: clamp(8px, .72vw, 12px); }
.pitch-art, .pitch-product-shot { position: relative; z-index: 2; margin: 0; }
.pitch-art img { width: 100%; border-radius: 16px; box-shadow: 0 18px 50px rgba(23,63,53,.1); }
.pitch-product-shot { display: grid; place-items: center; height: 84%; overflow: hidden; border-radius: 20px; background: #eef4f0; }
.pitch-product-shot img { width: 100%; height: 100%; object-fit: contain; }
.layout-split { grid-template-columns: minmax(0, .82fr) minmax(410px, 1.18fr); gap: 4%; }
.layout-split .slide-copy h2 { font-size: clamp(30px, 2.75vw, 49px); }
.layout-split .pitch-art img { box-shadow: none; }
.layout-visual { grid-template-rows: auto 1fr; align-items: stretch; padding: 4.1% 4.7%; }
.layout-visual .slide-copy h2 { margin-bottom: 2.4%; font-size: clamp(29px, 2.7vw, 48px); }
.layout-visual .pitch-art { min-height: 0; }
.layout-visual .pitch-art img { width: 100%; height: 100%; object-fit: contain; box-shadow: none; }
.layout-cover, .layout-end { grid-template-columns: 1.05fr .95fr; padding: 0; background: #f8f3e8; }
.layout-cover .slide-copy, .layout-end .slide-copy { align-self: center; padding: 11%; }
.layout-cover .slide-copy > p:first-of-type { color: var(--coral); font-size: clamp(13px, 1.15vw, 18px); font-weight: 800; letter-spacing: .12em; }
.layout-cover .slide-copy h2, .layout-end .slide-copy h2 { font-size: clamp(38px, 4.15vw, 70px); }
.pitch-cover-image { position: absolute; inset: 0 0 0 53%; background-position: center; background-size: cover; }
.pitch-cover-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f8f3e8, transparent 35%), linear-gradient(180deg, transparent 62%, rgba(20,62,51,.35)); }
.layout-photo { grid-template-columns: .62fr 1.38fr; }
.layout-photo .slide-copy { max-width: 580px; }
.pitch-photo { position: absolute; inset: 0 0 0 44%; background-position: center; background-size: cover; }
.pitch-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #faf7ef, transparent 38%); }
.pitch-collage { height: 78%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; }
.pitch-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.pitch-collage img:last-child { object-position: 60% center; }
.funding-visual { display: grid; grid-template-columns: 1fr; place-items: center; gap: 22px; }
.funding-donut { width: min(260px, 20vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--forest) 0 40%, var(--green-2) 40% 65%, var(--gold) 65% 90%, var(--coral) 90% 100%); box-shadow: 0 18px 55px rgba(23,63,53,.18); }
.funding-donut::before { content: ""; width: 62%; aspect-ratio: 1; border-radius: 50%; background: #fffefa; }
.funding-donut span { position: absolute; display: grid; color: var(--forest); font-size: clamp(22px, 2.4vw, 40px); font-weight: 850; text-align: center; }
.funding-donut small { color: var(--muted); font-size: 10px; font-weight: 650; }
.funding-legend { display: grid; grid-template-columns: 11px 1fr 11px 1fr; gap: 8px 10px; color: #56635e; font-size: 10px; }
.funding-legend i { width: 10px; height: 10px; border-radius: 3px; }
.funding-legend .f1 { background: var(--forest); }.funding-legend .f2 { background: var(--green-2); }.funding-legend .f3 { background: var(--gold); }.funding-legend .f4 { background: var(--coral); }
.pitch-controls { position: fixed; inset: auto 0 0; z-index: 110; height: 64px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 22px; border-top: 1px solid rgba(255,255,255,.09); background: rgba(12,38,31,.92); }
.pitch-controls > button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; }
.pitch-controls > button:disabled { opacity: .25; }
.pitch-progress { max-width: min(640px, 55vw); display: flex; align-items: center; gap: 5px; }
.pitch-progress button { width: 15px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.2); transition: .2s ease; }
.pitch-progress button.active { width: 28px; background: var(--gold); }
#pitchCounter { min-width: 48px; color: rgba(255,255,255,.65); font-size: 10px; text-align: center; }
.pitch-page.pitch-overview { overflow: auto; }
.pitch-overview .pitch-header, .pitch-overview .pitch-controls { position: sticky; }
.pitch-overview .pitch-deck { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 90px 28px 90px; background: #102d26; }
.pitch-overview .pitch-slide { width: 100%; display: grid; border-radius: 14px; cursor: pointer; }
.pitch-overview .pitch-slide:hover { outline: 3px solid var(--gold); }

@media (max-width: 1120px) {
  :root { --sidebar: 265px; }
  .doc-main { padding-inline: 32px; }
  .portal-copy { padding: 56px 44px; }
  .portal-hero { min-height: 560px; }
  .portal-hero > figure { min-height: 560px; }
  .layout-split { grid-template-columns: .92fr 1.08fr; }
}

@media (max-width: 850px) {
  .site-header { padding: 0 14px; }
  .site-header nav { position: fixed; top: var(--header); right: 12px; left: 12px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fffefa; box-shadow: var(--shadow); }
  body.site-nav-open .site-header nav { display: grid; }
  .mobile-site-nav { display: inline-block; }
  .portal-main { width: min(100% - 26px, 720px); padding-top: calc(var(--header) + 20px); }
  .portal-hero { min-height: 0; grid-template-columns: 1fr; }
  .portal-copy { padding: 46px 28px; }
  .portal-copy h1 { font-size: clamp(48px, 14vw, 72px); }
  .portal-hero > figure { min-height: 360px; }
  .portal-thesis { padding: 32px 26px; }
  .portal-thesis > div, .document-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 270px; }
  .portal-map { grid-template-columns: 1fr; padding: 28px 22px; }
  .portal-footer { display: grid; }
  .doc-shell { grid-template-columns: 1fr; }
  .doc-sidebar { position: fixed; top: var(--header); left: 0; z-index: 90; width: min(86vw, 340px); transform: translateX(-105%); background: #f7f5ef; box-shadow: 20px 0 55px rgba(13,34,27,.2); transition: transform .23s ease; }
  body.nav-open .doc-sidebar { transform: none; }
  .nav-backdrop { position: fixed; inset: var(--header) 0 0; z-index: 80; background: rgba(15,28,23,.44); }
  body.nav-open .nav-backdrop { display: block; }
  .doc-main { max-width: 720px; padding: 24px 16px 90px; }
  .doc-hero { grid-template-columns: 1fr; min-height: 0; }
  .doc-hero-copy { padding: 42px 26px; }
  .doc-hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .doc-hero > figure { min-height: 330px; }
  .doc-snapshot { grid-template-columns: 1fr 1fr; }
  .mobile-only { display: inline-flex; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip figure { min-height: 280px; }
  .callout { grid-template-columns: 1fr; gap: 5px; }
  .visual-card figcaption { display: grid; }
  .visual-card figcaption span { text-align: left; }
  .pitch-header > div > span, .pitch-header > div > a { display: none; }
  .pitch-deck { padding-inline: 8px; }
  .pitch-slide { width: calc(100vw - 16px); height: calc(100vh - 142px); aspect-ratio: auto; display: none; padding: 32px 24px; overflow-y: auto; border-radius: 14px; }
  .pitch-slide.active { display: grid; }
  .pitch-slide .slide-number { top: auto; right: 16px; bottom: 12px; padding: 3px 7px; border-radius: 99px; background: rgba(255,254,250,.86); font-size: 9px; }
  .layout-split, .layout-cover, .layout-end, .layout-photo { grid-template-columns: 1fr; align-content: start; gap: 20px; }
  .layout-cover .slide-copy, .layout-end .slide-copy { padding: 0; }
  .pitch-cover-image, .pitch-photo { position: relative; inset: auto; min-height: 250px; border-radius: 15px; }
  .pitch-cover-image::after, .pitch-photo::after { background: linear-gradient(180deg, transparent 60%, rgba(16,49,41,.32)); }
  .slide-copy h2, .layout-split .slide-copy h2, .layout-cover .slide-copy h2, .layout-end .slide-copy h2 { font-size: 31px; }
  .slide-copy p, .slide-copy li { font-size: 13px; }
  .layout-visual { grid-template-rows: auto auto; align-content: start; }
  .layout-visual .pitch-art { height: auto; }
  .layout-visual .pitch-art img { height: auto; }
  .pitch-product-shot, .pitch-collage { min-height: 300px; height: 300px; }
  .pitch-overview .pitch-deck { grid-template-columns: 1fr; padding-inline: 12px; }
  .pitch-overview .pitch-slide { height: auto; min-height: 500px; aspect-ratio: auto; }
}

@media (max-width: 520px) {
  .site-brand small { display: none; }
  .portal-copy h1 { font-size: 48px; }
  .portal-hero > figure { min-height: 300px; }
  .portal-thesis h2 { font-size: 25px; }
  .doc-snapshot strong { font-size: 25px; }
  .doc-principle { padding: 27px 23px; }
  .doc-principle h2 { font-size: 21px; }
  .chapter { margin-top: 60px; }
  .chapter > h1 { font-size: 31px; }
  .chapter h2 { font-size: 22px; }
  .pitch-header { padding-inline: 12px; }
  .pitch-progress { max-width: 54vw; overflow: hidden; }
  .pitch-progress button { min-width: 8px; width: 8px; }
  .pitch-progress button.active { min-width: 18px; width: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  @page { size: A4; margin: 15mm; }
  body { background: #fff; font-size: 9.5pt; }
  .site-header, .doc-sidebar, .back-top, .search-dialog, .nav-backdrop, .hero-actions { display: none !important; }
  .doc-shell { display: block; padding: 0; }
  .doc-main { width: auto; max-width: none; padding: 0; }
  .doc-hero { min-height: 0; break-after: page; box-shadow: none; }
  .doc-hero > figure { min-height: 340px; }
  .chapter { margin-top: 0; break-before: page; }
  .visual-card, .photo-strip, .table-wrap, .callout { break-inside: avoid; box-shadow: none; }
  .pitch-page { height: auto; overflow: visible; background: #fff; }
  .pitch-header, .pitch-controls { display: none !important; }
  .pitch-deck { position: static; display: block; padding: 0; }
  .pitch-slide, .pitch-slide.active { width: 100%; height: auto; min-height: 180mm; display: grid; aspect-ratio: 16/9; margin: 0; break-after: page; border: 0; border-radius: 0; box-shadow: none; }
  .pitch-slide:last-child { break-after: auto; }
}
