:root {
  --ink: #14252f;
  --muted: #61727b;
  --green: #167d5a;
  --green-dark: #0c493b;
  --lime: #9ed45a;
  --paper: #ffffff;
  --soft: #eef7f2;
  --line: #d9e5df;
  --amber: #b86a08;
  --red: #b83b3b;
  --navy: #102a43;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #edf2f0;
  color: var(--ink);
  font: 15px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--green); }
img { max-width: 100%; height: auto; }
.site-shell { width: min(1240px, calc(100% - 28px)); margin: 18px auto; background: var(--paper); box-shadow: 0 18px 55px #17324a1f; }
.site-header { position: relative; z-index: 20; display: grid; grid-template-columns: minmax(280px,auto) minmax(0,1fr); align-items: center; gap: 18px; padding: 14px 34px; background: #ffffffef; border-bottom: 1px solid var(--line); }
.brand { display: flex; min-width: 0; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { display: block; flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden; border-radius: 11px; background: #123f32 url("gfis-mark.svg") center/contain no-repeat; color: transparent; font-size: 0; }
.brand strong { display: block; font-size: 15px; }
.brand span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; min-width: 0; justify-content: flex-end; flex-wrap:wrap; gap: 4px; overflow:visible; }
.site-nav a { padding: 8px 9px; border-radius: 7px; color: var(--navy); font-size: 11px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--soft); color: var(--green-dark); }
.hero { padding: 72px 64px 58px; background: radial-gradient(circle at 90% 0%, #9ed45a2a 0 18%, transparent 19%), linear-gradient(135deg, #092f29, #12654d 65%, #198466); color: #fff; }
.eyebrow { color: #c9f3d8; font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 12px 0 18px; font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.hero p { max-width: 850px; margin: 0; color: #e1f5eb; font-size: 19px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 8px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.hero .button { background: #fff; color: var(--green-dark); }
.hero .button.secondary { border: 1px solid #ffffff55; background: #ffffff14; color: #fff; }
main { padding: 18px 64px 64px; }
section { padding: 38px 0; border-bottom: 1px solid var(--line); }
h2 { margin: 0 0 9px; color: var(--navy); font-size: 30px; line-height: 1.2; }
h3 { margin: 21px 0 8px; color: var(--navy); font-size: 18px; }
.lead { max-width: 940px; color: var(--muted); font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.card.accent { border-left: 5px solid var(--green); }
.card.warn { border-left: 5px solid #e7a235; background: #fffaf0; }
.card.stop { border-left: 5px solid var(--red); background: #fff7f7; }
.card h3 { margin-top: 0; }
.metric { font-size: 30px; color: var(--green); font-weight: 900; line-height: 1.1; }
.label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chapter-card { display: flex; flex-direction: column; }
.chapter-card .button { margin-top: auto; align-self: flex-start; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 24px 0; }
.flow > div { padding: 14px 9px; border-radius: 9px; background: var(--navy); color: #fff; text-align: center; font-size: 12px; font-weight: 800; }
.flow .physics { background: var(--green); }
.evidence-label { display: inline-block; padding: 4px 8px; border-radius: 999px; background: var(--soft); color: var(--green-dark); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.evidence-label.synthetic { background: #fff2cf; color: #85560a; }
.evidence-label.external { background: #dff1ff; color: #185b83; }
.equation { margin: 14px 0; padding: 15px 18px; border-left: 4px solid var(--lime); background: #f5faf7; color: var(--navy); font: 16px/1.7 "Times New Roman", serif; overflow-x: auto; }
.diagram { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, #f8fcfa, #eef7f2); }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 12px; }
th { padding: 10px; background: var(--navy); color: #fff; text-align: left; }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:nth-child(even) { background: #f7faf8; }
.figure { margin: 20px 0; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.figure img { display: block; width: 100%; border-radius: 8px; cursor: zoom-in; }
.caption { margin: 9px 3px 2px; color: var(--muted); font-size: 12px; }
.callout { padding: 16px 19px; border-radius: 12px; background: var(--navy); color: #fff; }
.callout strong { color: var(--lime); }
details { margin: 10px 0; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; }
summary { cursor: pointer; color: var(--navy); font-weight: 800; }
pre { max-width: 100%; padding: 15px; border-radius: 9px; background: #0d2537; color: #d7f5e7; overflow: auto; font-size: 11px; }
.page-intro { padding: 48px 64px 34px; background: linear-gradient(135deg, #0b3e35, #167d5a); color: #fff; }
.page-intro h1 { margin: 8px 0 12px; font-size: clamp(34px, 5vw, 52px); line-height: 1.06; }
.page-intro p { max-width: 850px; color: #e2f5eb; font-size: 18px; }
.site-footer { padding: 30px 64px; background: var(--navy); color: #c9d8df; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.site-footer h3 { margin-top: 0; color: var(--lime); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #e7f5ed; }
.fineprint { margin-top: 18px; padding-top: 14px; border-top: 1px solid #ffffff22; font-size: 11px; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: #06131dee; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 95vw; max-height: 90vh; background: #fff; }
.lightbox button { position: fixed; top: 20px; right: 22px; width: 42px; height: 42px; border: 1px solid #ffffff55; border-radius: 50%; background: #ffffff18; color: #fff; font-size: 22px; cursor: pointer; }
.response-journey { position: relative; margin: 24px 0; }
.response-journey:before { content: ""; position: absolute; top: 22px; bottom: 22px; left: 21px; width: 2px; background: var(--line); }
.response-journey article { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; margin: 0 0 18px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.response-journey h3 { margin-top: 0; }
.journey-number { z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-size: 18px; font-weight: 900; }
.before-after { display: grid; grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr); gap: 14px; align-items: stretch; }
.bridge { display: grid; place-items: center; color: var(--green); font-size: 30px; font-weight: 900; }
.status-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 22px 0; }
.status { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.status.done { background: #dff5e8; color: #116246; }
.status.partial { background: #fff0ca; color: #85560a; }
.status.next { background: #e2efff; color: #225f91; }
.system-map { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin: 24px 0; }
.system-map article { min-width: 0; padding: 16px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.system-map article strong { display: block; color: var(--navy); margin-bottom: 6px; }
.system-map .core { background: var(--green-dark); color: #e8f7ef; border-color: transparent; }
.system-map .core strong { color: var(--lime); }
.plant-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.plant-component { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg,#fff,#f4faf7); }
.plant-component strong { display: block; color: var(--navy); }
.stage-ladder { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.stage-ladder .card { position: relative; }
.stage-ladder .metric { font-size: 20px; }
.scope-band { padding: 20px; border-radius: 14px; background: linear-gradient(135deg,#102a43,#174b5b); color: #eaf4f7; }
.scope-band h3 { color: var(--lime); }

/* Version 3.1 editorial refinement: warmer GFIS product language, stronger
   hierarchy and fewer generic rounded-card patterns. */
body { background: #e9e4da; color: #211f1b; }
.site-shell { width: min(1380px, calc(100% - 32px)); margin: 16px auto; background: #fffdf8; box-shadow: 0 24px 80px #352d211f; }
.brand-mark { width:44px; height:44px; border:0; border-radius:11px; background:#123f32 url("gfis-mark.svg") center/contain no-repeat; }
.hero { position: relative; overflow: hidden; padding: 94px 72px 72px; background: linear-gradient(112deg,#171512 0 42%,#123f32 42% 100%); }
.hero:after { content:"GFIS"; position:absolute; right:-20px; bottom:-85px; color:#ffffff0a; font-size:260px; font-weight:950; letter-spacing:-.09em; line-height:1; pointer-events:none; }
.hero h1 { position:relative; z-index:1; max-width:1030px; font-size:clamp(44px,6.2vw,78px); line-height:.96; letter-spacing:-.052em; }
.industrial-hero { background:linear-gradient(110deg,#181512 0 48%,#6f3b1f 48% 100%); }
main { padding:26px 72px 76px; }
section { padding:56px 0; }
h2 { color:#211f1b; font-size:clamp(30px,3vw,44px); line-height:1.08; letter-spacing:-.035em; }
.card { padding:24px; border-radius:2px; transition:transform .2s ease,border-color .2s ease; }
.chapter-card:hover { transform:translateY(-4px); border-color:#1d6a4f77; }
.flow > div { position:relative; padding:18px 11px; border-radius:2px; background:#292621; }
.flow > div:not(:last-child):after { content:"→"; position:absolute; right:-13px; top:50%; z-index:2; color:#c56f2a; transform:translateY(-50%); }
.industrial-numbers { display:grid; grid-template-columns:2fr 1.35fr .7fr; gap:0; margin:30px 0; border-block:1px solid var(--line); }
.industrial-numbers article { padding:28px 28px 28px 0; border-right:1px solid var(--line); }
.industrial-numbers article + article { padding-left:28px; }
.industrial-numbers article:last-child { border-right:0; }
.industrial-numbers .metric { font-size:clamp(42px,6vw,78px); letter-spacing:-.06em; color:#123f32; }
.industrial-numbers p { color:var(--muted); }

@media (max-width: 900px) {
  .site-header { grid-template-columns:1fr; align-items: flex-start; padding: 12px 20px; gap: 8px; }
  .site-nav { width: 100%; }
  .hero, .page-intro, main, .site-footer { padding-left: 24px; padding-right: 24px; }
  .grid, .grid.two, .flow, .footer-grid, .status-board, .system-map, .plant-grid, .stage-ladder { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .industrial-numbers { grid-template-columns:1fr; }
  .industrial-numbers article,.industrial-numbers article + article { padding:22px 0; border-right:0; border-bottom:1px solid var(--line); }
  .flow > div:not(:last-child):after { content:"↓"; right:auto; left:50%; top:auto; bottom:-18px; transform:translateX(-50%); }
  .bridge { transform: rotate(90deg); min-height: 38px; }
}

@media (max-width: 1180px) {
  .site-header { grid-template-columns:1fr; align-items:start; }
  .site-nav { justify-content:flex-start; }
}

@media print {
  body { background: #fff; font-size: 10.5px; }
  .site-shell { width: auto; margin: 0; box-shadow: none; }
  .site-header, .hero-actions, .lightbox { display: none !important; }
  .hero, .page-intro { padding: 34px 38px; }
  main { padding: 10px 38px; }
  section { padding: 23px 0; }
  .card, .figure, table, .diagram { break-inside: avoid; }
  .site-footer { padding: 20px 38px; }
}
