:root {
  --paper: #f4efe5;
  --white: #fffdfa;
  --ink: #202824;
  --muted: #59635e;
  --forest: #17392f;
  --forest-2: #28564a;
  --orange: #bd572f;
  --gold: #d49a45;
  --blue: #416f79;
  --line: #cfc6b8;
  --pale-green: #e1ebe4;
  --pale-orange: #f0ddd1;
  --focus: #0067d9;
  --shadow: 0 20px 60px rgba(23, 57, 47, .12);
  --radius: 28px;
  --body-size: clamp(1.125rem, 1.03rem + .25vw, 1.3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: var(--body-size);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.large-text { font-size: clamp(1.3rem, 1.18rem + .35vw, 1.56rem); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, output { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-160%);
  padding: 14px 18px; color: #fff; background: #000; border-radius: 10px;
}
.skip-link:focus { transform: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: clamp(74px, 9vw, 128px) 0; }

.topbar {
  position: sticky; top: 0; z-index: 100; min-height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(244,239,229,.95); border-bottom: 1px solid rgba(32,40,36,.13); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 900; text-decoration: none; }
.brand-mark { width: 18px; height: 18px; margin-right: 20px; border-radius: 50%; background: var(--orange); box-shadow: 20px 0 0 var(--gold); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.text-size-button { min-width: 48px; min-height: 48px; border: 2px solid var(--forest); border-radius: 50%; color: var(--forest); background: transparent; font-weight: 900; cursor: pointer; }

.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px;
  border: 2px solid transparent; border-radius: 999px; font-weight: 900; text-align: center; text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 48px; padding: 10px 18px; color: #fff; background: var(--forest); }
.button-accent { color: #fff; background: var(--orange); }
.button-accent:hover { background: #9f3f1d; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.72); background: rgba(0,0,0,.18); }
.button-light { color: var(--forest); background: var(--white); }

.hero { position: relative; min-height: min(850px, calc(100svh - 72px)); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background: url("./assets/hero.webp") center / cover no-repeat; }
.hero-shade { background: linear-gradient(90deg, rgba(10,38,31,.99) 0%, rgba(10,38,31,.9) 48%, rgba(10,38,31,.26) 80%, rgba(0,0,0,.12) 100%); }
.hero-content { position: relative; z-index: 1; padding: 90px 0; }
.hero-content h1 { max-width: 800px; margin: 18px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.3rem, 8vw, 6.9rem); line-height: .96; letter-spacing: -.04em; }
.hero-lead { max-width: 800px; margin: 0 0 42px; color: #edf4ef; font-size: clamp(1.3rem, 2vw, 1.68rem); }
.hero-facts { max-width: 980px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 42px; }
.hero-facts div { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.38); }
.hero-facts strong { display: block; font-family: Georgia, serif; font-size: clamp(1.75rem,3vw,2.48rem); line-height: 1.1; }
.hero-facts span { display: block; margin-top: 8px; color: #d7e2dc; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: 1rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #f1b66b; }
h2 { max-width: 1040px; margin: 0 0 28px; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem,5vw,4.5rem); line-height: 1.04; letter-spacing: -.025em; }
h3 { margin: 0 0 14px; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem,2.2vw,1.95rem); line-height: 1.15; }
.section-lead { max-width: 980px; margin: 0 0 42px; font-size: 1.18em; }
.source-note { margin: 30px 0 0; color: var(--muted); font-size: max(1rem, 16px); line-height: 1.5; }
.source-note a { color: var(--forest); font-weight: 800; }

.section-location { background: var(--white); }
.location-layout { display: grid; grid-template-columns: 1fr; }
.map-frame { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.map-frame img { width: 100%; border-radius: calc(var(--radius) - 10px); }
.map-frame-wide { max-width: 960px; margin: 8px auto 0; }
.number-list { display: grid; gap: 18px; margin-top: 40px; }
.number-list-four { grid-template-columns: repeat(4,1fr); }
.number-list div { padding: 22px 0; border-top: 4px solid var(--orange); }
.number-list div:nth-child(even) { border-color: var(--gold); }
.number-list strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: clamp(1.8rem,3vw,2.5rem); }
.number-list span { display: block; margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.35; }

.section-dark { color: #fff; background: var(--forest); }
.section-dark h2 { color: #fff; }
.asset-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; }
.asset-heading p { color: #d3e0d9; }
.asset-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; margin-top: 50px; }
.asset-primary { min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding: clamp(30px,5vw,58px); color: var(--forest); background: #f4b75d; border-radius: var(--radius); }
.royal-number { font-family: Georgia, serif; font-size: clamp(4rem,9vw,7.4rem); line-height: .9; letter-spacing: -.05em; }
.royal-number small { font-size: .28em; }
.asset-primary span { margin-top: 22px; font-weight: 900; }
.asset-details { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); overflow: hidden; }
.asset-details div { padding: 28px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.asset-details dt { color: #b7c6bf; font-size: 1rem; }
.asset-details dd { margin: 10px 0 0; font-size: 1.15em; font-weight: 900; overflow-wrap: anywhere; }
.capacity-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 42px; }
.capacity-grid div { padding: 24px 0; border-top: 3px solid #f4b75d; }
.capacity-grid strong { display: block; font-family: Georgia, serif; font-size: 2rem; }
.capacity-grid span { display: block; margin-top: 8px; color: #cddbd4; font-size: 1rem; }
.light-note { color: #cddbd4; }

.operator-section { background: var(--paper); }
.brief-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; }
.brief-grid article { min-height: 260px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 34px rgba(23,57,47,.06); }
.brief-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 28px; color: #fff; background: var(--orange); border-radius: 50%; font-weight: 900; }
.brief-grid article:nth-child(even) > span { background: var(--blue); }
.brief-grid p { color: var(--muted); }

.section-economics { background: #e7e0d5; }
.calculator { margin-top: 44px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.calculator-body { display: grid; grid-template-columns: .82fr 1.18fr; }
.control-panel { padding: clamp(30px,5vw,56px); border-right: 1px solid var(--line); }
.control-block + .control-block { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line); }
.control-block label { display: block; font-weight: 900; }
.range-value { display: block; margin: 10px 0 16px; color: var(--forest); font-family: Georgia, serif; font-size: clamp(2.55rem,5vw,4.2rem); font-weight: 900; line-height: 1.05; }
input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--orange); cursor: pointer; }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 1rem; }
.assumption { margin: 36px 0 0; padding: 20px; color: var(--forest); background: var(--pale-green); border-radius: 16px; font-weight: 800; }
.results-panel { display: grid; grid-template-columns: 1fr 1fr; }
.results-panel div { min-height: 180px; display: flex; flex-direction: column; justify-content: center; padding: clamp(26px,4vw,40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.results-panel span { color: var(--muted); font-size: 1rem; }
.results-panel output { margin-top: 10px; color: var(--forest); font-family: Georgia, serif; font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; line-height: 1.05; }
.results-panel .result-wide { grid-column: 1 / -1; min-height: 160px; color: #fff; background: var(--forest); }
.results-panel .result-wide span { color: #d1ddd7; }
.results-panel .result-wide output { color: #f4b75d; }
.budget-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 1px; padding: 1px; background: var(--line); }
.budget-strip span { min-height: 100px; display: flex; flex-direction: column; justify-content: center; padding: 18px; background: var(--paper); font-size: 1rem; }
.budget-strip strong { color: var(--forest); font-family: Georgia, serif; font-size: 1.55rem; }

.timeline { display: grid; gap: 18px; margin: 54px 0 0; padding: 0; list-style: none; counter-reset: step; }
.timeline-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.timeline li { padding: 28px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.timeline li::before { counter-increment: step; content: counter(step,decimal-leading-zero); display: block; width: 48px; height: 48px; margin-bottom: 24px; color: #fff; background: var(--orange); border-radius: 50%; text-align: center; line-height: 48px; font-weight: 900; }
.timeline li:nth-child(n+3)::before { background: var(--forest); }
.timeline li > span { display: inline-block; margin-bottom: 14px; padding: 7px 12px; color: #753416; background: var(--pale-orange); border-radius: 999px; font-size: 1rem; font-weight: 900; }
.timeline p { color: var(--muted); font-size: 1rem; }
.timeline-total { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 28px; color: #fff; background: var(--forest); border-radius: 20px; }
.timeline-total strong { font-family: Georgia, serif; font-size: 1.45rem; }
.timeline-total span { color: #d3e0d9; }

.alternative-section { background: var(--pale-green); }
.alternative-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.alternative-cards { display: grid; gap: 20px; }
.alternative-cards article { padding: 30px; background: var(--white); border: 1px solid #bdccc2; border-radius: 22px; }
.alternative-cards p { margin-bottom: 0; color: var(--muted); }

.documents-section { background: var(--white); }
.documents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.document-card { display: grid; grid-template-columns: minmax(190px,.72fr) 1.28fr; min-height: 350px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.document-card > img { width: 100%; height: 100%; object-fit: cover; object-position: top; background: #fff; }
.document-card > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px; }
.document-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.document-actions a, .document-button { min-height: 48px; display: inline-flex; align-items: center; padding: 10px 17px; border-radius: 999px; font-size: 1rem; font-weight: 900; cursor: pointer; text-decoration: none; }
.document-button { color: #fff; background: var(--forest); border: 0; }
.document-actions a { color: var(--forest); background: var(--white); border: 2px solid var(--forest); }
.download-panel { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 34px; padding: clamp(28px,5vw,48px); color: #fff; background: var(--forest); border-radius: var(--radius); }
.download-panel h3 { color: #fff; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-section { color: #fff; background: var(--forest); }
.contact-section h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.contact-card { padding: clamp(30px,5vw,52px); color: var(--ink); background: var(--white); border-radius: var(--radius); }
.contact-card > strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: clamp(3rem,6vw,5rem); line-height: 1; }
.contact-card > span { display: block; margin-top: 10px; color: var(--muted); }
.contact-card p { margin: 30px 0; }
.referral { padding: 16px; color: var(--forest); background: var(--pale-green); border-radius: 14px; }

.footer { padding: 54px 0; color: #e4ece7; background: #0c241e; }
.footer p { max-width: 1040px; margin: 0 0 18px; font-size: max(1rem,16px); }
.footer a { display: inline-flex; align-items: center; min-height: 48px; color: #f4b75d; font-weight: 900; }

.document-dialog { width: min(1100px,calc(100% - 24px)); height: min(92svh,980px); padding: 0; background: var(--paper); border: 0; border-radius: 22px; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.document-dialog::backdrop { background: rgba(3,15,12,.82); }
.dialog-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; background: var(--white); border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font-size: clamp(1.7rem,3vw,2.4rem); }
.dialog-close { min-height: 48px; padding: 10px 18px; color: #fff; background: var(--forest); border: 0; border-radius: 999px; font-weight: 900; cursor: pointer; }
.dialog-body { height: calc(100% - 86px); padding: 18px; overflow: auto; }
.dialog-body img { width: auto; min-width: min(100%,800px); max-width: none; margin: 0 auto; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.14); }

@media (max-width: 960px) {
  .asset-heading, .asset-grid, .calculator-body, .alternative-layout, .contact-grid { grid-template-columns: 1fr; }
  .number-list-four, .capacity-grid, .brief-grid, .timeline-four { grid-template-columns: 1fr 1fr; }
  .control-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .budget-strip { grid-template-columns: repeat(3,1fr); }
  .documents-grid { grid-template-columns: 1fr; }
  .timeline-total { flex-direction: column; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px,1180px); }
  .topbar { min-height: 64px; padding: 8px 14px; }
  .brand { gap: 8px; font-size: 1rem; }
  .brand-mark { width: 14px; height: 14px; margin-right: 16px; box-shadow: 16px 0 0 var(--gold); }
  .topbar .button-small { display: none; }
  .hero { min-height: calc(100svh - 64px); align-items: flex-end; }
  .hero-content { padding: 58px 0 38px; }
  .hero-content h1 { font-size: clamp(3rem,17vw,4.9rem); }
  .hero-shade { background: linear-gradient(180deg,rgba(10,38,31,.62) 0%,rgba(10,38,31,.96) 55%,rgba(10,38,31,.99) 100%); }
  .hero-facts, .number-list-four, .capacity-grid, .brief-grid, .results-panel, .timeline-four { grid-template-columns: 1fr; }
  .hero-facts { gap: 0; }
  .hero-actions .button { width: 100%; }
  .map-frame { padding: 8px; }
  .asset-details { grid-template-columns: 1fr; }
  .asset-details div { border-right: 0; }
  .results-panel .result-wide { grid-column: auto; }
  .results-panel div { min-height: 138px; border-right: 0; }
  .budget-strip { grid-template-columns: 1fr 1fr; }
  .document-card { grid-template-columns: 1fr; }
  .document-card > img { height: 300px; }
  .document-actions { width: 100%; }
  .document-actions a, .document-button { flex: 1 1 auto; justify-content: center; }
  .download-panel { align-items: stretch; flex-direction: column; }
  .download-actions, .download-actions .button { width: 100%; }
  .document-dialog { height: 96svh; }
}

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

@media print {
  .topbar, .hero-actions, .text-size-button, .document-button, .dialog-close { display: none !important; }
  .hero { min-height: auto; padding: 80px 0; }
  .section { padding: 52px 0; }
}
