:root {
  --navy: #0E1D2B;
  --blue: #235594;
  --ink: #0E1D2B;
  --muted: #55606E;
  --tint: #F5F5F5;
  --rule: #D9E0E8;
  --white: #FFFFFF;
  --head: "Segoe UI", "Noto Sans", Arial, sans-serif;
  --body: "Segoe UI", "Noto Sans", Arial, sans-serif;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); background: var(--white); position: sticky; top: 0; z-index: 5; }
.masthead-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand img { display: block; width: 132px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; font-family: var(--head); font-size: 0.95rem; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.site-nav .nav-cta { background: var(--navy); color: #fff; padding: 0.55rem 1rem; border-radius: 4px; border: 0; }
.site-nav .nav-cta:hover { background: var(--blue); color: #fff; }
.menu-toggle { display: none; font-family: var(--head); font-weight: 600; font-size: 0.95rem; background: none; border: 1px solid var(--rule); border-radius: 4px; padding: 0.45rem 0.9rem; color: var(--ink); }

/* Hero */
.hero::before { content: ""; display: block; }
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--rule); }
.hero h1 {
  font-family: var(--head);
  font-weight: 300;
  color: var(--navy);
  font-size: clamp(2.3rem, 5.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 1.4rem;
  max-width: 17ch;
}
.hero h1 .dot { color: var(--blue); }
.hero .sub { font-family: var(--head); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; color: var(--muted); max-width: 46ch; margin: 0 0 1.6rem; }
.hero .lede { max-width: var(--measure); margin: 0 0 2rem; }
.hero .lede:empty { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Buttons and links */
.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  border: 2px solid var(--navy);
  cursor: pointer;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-quiet { background: transparent; color: var(--navy); }
.btn-quiet:hover { background: var(--tint); color: var(--navy); border-color: var(--navy); }
.text-link { font-family: var(--head); font-weight: 600; }

/* Bands */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band.tint { background: var(--tint); }
.band h2 {
  font-family: var(--head);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin: 0 0 1.4rem;
  max-width: 26ch;
}
.band p { max-width: var(--measure); margin: 0 0 1.1rem; }
.band.close { border-top: 4px solid var(--blue); }
.aside { font-size: 1rem; color: var(--muted); margin-top: 1.6rem; }

/* Points: two-column definition list, a rule not a card */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 3rem; margin: 2rem 0 0; }
.points > div { border-top: 2px solid var(--navy); padding-top: 1rem; }
.points dt { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 0.5rem; }
.points dd { margin: 0; }

/* The method figure */
.method-fig { margin: 2.2rem 0 1.6rem; }
.method-fig img { display: block; width: 100%; }

/* Steps */
.steps { list-style: none; counter-reset: s; display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 2rem 0 0; font-family: var(--head); font-weight: 600; }
.steps li { counter-increment: s; flex: 1 1 140px; padding: 0.9rem 1rem 0.9rem 0; border-top: 2px solid var(--navy); color: var(--navy); }
.steps li::before { content: counter(s); display: block; font-size: 0.85rem; font-weight: 500; color: var(--blue); margin-bottom: 0.25rem; }

/* Tables on the method page */
.table-wrap { overflow-x: auto; margin: 1.8rem 0 1.4rem; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 1.02rem; }
caption { text-align: left; font-family: var(--head); font-size: 0.9rem; color: var(--muted); padding-bottom: 0.6rem; }
th, td { text-align: left; vertical-align: top; padding: 0.95rem 1rem 0.95rem 0; border-top: 1px solid var(--rule); }
thead th { font-family: var(--head); font-size: 0.95rem; color: var(--muted); font-weight: 600; border-top: 2px solid var(--navy); }
tbody th { font-family: var(--head); color: var(--navy); font-weight: 700; width: 18%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; }
.contact-form .field { margin: 0 0 1.2rem; border: 0; padding: 0; }
.contact-form label, .contact-form legend { display: block; font-family: var(--head); font-weight: 600; font-size: 0.98rem; margin-bottom: 0.35rem; color: var(--navy); }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: 0.7rem 0.8rem; border: 1px solid #A9B4C2; border-radius: 4px; background: #fff; color: var(--ink); }
.contact-form .choice { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; margin-right: 1.4rem; }
.contact-form .choice input { width: auto; }
.hp { position: absolute; left: -9999px; }
.direct h2 { font-size: 1.3rem; }

/* Statements */
.statement h1 { font-family: var(--head); color: var(--navy); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.015em; margin: 0 0 1.6rem; }
.stamp { color: var(--muted); font-size: 0.98rem; border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 2rem; }

/* Footer */
.site-foot { background: #07111B; color: #DCE3EC; padding: 3rem 0 1.5rem; font-family: var(--head); font-size: 0.95rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.foot-logo { filter: brightness(0) invert(1); width: 110px; }
.foot-line { margin: 0.7rem 0 1rem; color: #fff; }
.foot-contact { margin: 0; line-height: 1.7; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; line-height: 2; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.2rem; padding-top: 1.2rem; font-size: 0.85rem; color: #AEB9C7; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 0.5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--rule); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0; width: 100%; border-bottom: 1px solid var(--rule); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--blue); }
  .site-nav .nav-cta { margin-top: 0.8rem; width: auto; text-align: center; }
  .points { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .foot-links { columns: 1; }
  body { font-size: 1.0625rem; }
}

.fig-hint { display: none; font-family: var(--head); font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
@media (max-width: 700px) {
  .fig-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fig-scroll img { width: 900px; max-width: none; }
  .fig-hint { display: block; }
  table, thead, tbody, tr, th, td { display: block; min-width: 0; }
  table { min-width: 0; }
  thead { position: absolute; left: -9999px; }
  caption { display: block; width: 100%; }
  tbody tr { border-top: 2px solid var(--navy); padding: 0.9rem 0 0.4rem; }
  tbody th { width: auto; border: 0; padding: 0 0 0.4rem; font-size: 1.15rem; }
  td { border: 0; padding: 0 0 0.9rem; }
  td::before { content: attr(data-label); display: block; font-family: var(--head); font-weight: 600; font-size: 0.85rem; color: var(--blue); margin-bottom: 0.15rem; }
  .table-wrap { overflow: visible; }
}

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

/* Style System: brand rule, bento boxes, icons */
.hero .wrap::before { content: ""; display: block; width: 64px; height: 4px; background: var(--blue); margin-bottom: 1.8rem; }
.hero h1 { color: var(--navy); }
.band h2 { font-weight: 600; }
.points { gap: 1.25rem; }
.points > div { background: #fff; border: 1.5px solid var(--navy); border-top: 1.5px solid var(--navy); border-radius: 10px; padding: 1.5rem 1.5rem 1.4rem; }
.band.plain .points > div { border-color: var(--blue); }
.points .ico { display: block; width: 56px; height: 56px; margin-bottom: 0.9rem; }
.points dt { font-weight: 600; font-size: 1.15rem; }
.points dd { font-size: 1.02rem; color: #2B3846; }
.pillar-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.pillar-strip li { font-family: var(--head); font-size: 0.92rem; font-weight: 600; color: var(--navy); border: 1.5px solid var(--blue); border-radius: 999px; padding: 0.35rem 0.85rem; background: #fff; }
.steps li { border-top-width: 3px; }
.band.close { border-top: 0; background: var(--navy); color: #E6ECF3; }
.band.close h2 { color: #fff; }
.band.close .btn { background: #fff; color: var(--navy); border-color: #fff; }
.band.close .btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.band.close a { color: #fff; }
.band.close .aside { color: #B9C6D6; }
.band.close .points > div { background: transparent; border-color: rgba(255,255,255,0.35); }
.band.close .points dt { color: #fff; }
.band.close .points dd { color: #DCE3EC; }
.points + p { margin-top: 2rem; }

.figs{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(19rem,1fr));gap:1rem}
.figs + .aside{margin-top:.75rem}
.fig{border:1px solid var(--blue,#235594);background:#fff;padding:1.25rem 1.25rem 1rem;display:flex;flex-direction:column;gap:.5rem}
.fig-n{font-size:2.4rem;font-weight:300;line-height:1;color:var(--navy,#0E1D2B)}
.fig-t{font-size:.98rem;line-height:1.45}
.fig-s{margin-top:auto;font-size:.82rem;color:var(--blue,#235594)}

/* photos */
.with-photo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.with-photo figure { margin: 0; }
.with-photo img { width: 100%; height: auto; display: block; border-radius: 12px; }
.with-photo figcaption { font-size: 0.85rem; color: #4A5568; margin-top: 0.6rem; }
@media (max-width: 820px) { .with-photo { grid-template-columns: 1fr; gap: 1.5rem; } .with-photo figure { max-width: 420px; } }

/* v4: angled cards, slanted bands, graphics */
.points > div, .tiles li, .figs .fig { position: relative; z-index: 0; border: 0; border-radius: 0; background: var(--blue); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px)); }
.points > div::before, .tiles li::before, .figs .fig::before { content: ""; position: absolute; inset: 1.5px; z-index: -1; background: #fff; clip-path: polygon(0 0, calc(100% - 23.4px) 0, 100% 23.4px, 100% 100%, 23.4px 100%, 0 calc(100% - 23.4px)); }
.band.close .points > div { background: rgba(255,255,255,0.45); }
.band.close .points > div::before { background: var(--navy); }
.with-photo img { border-radius: 0; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px)); }
.band.tint { clip-path: polygon(0 2.2vw, 100% 0, 100% calc(100% - 2.2vw), 0 100%); padding-top: calc(clamp(3rem, 7vw, 5rem) + 2.2vw); padding-bottom: calc(clamp(3rem, 7vw, 5rem) + 2.2vw); }
.hero { position: relative; overflow: hidden; }
.hero-art { position: absolute; right: max(1.25rem, calc((100vw - 1120px) / 2)); top: 50%; transform: translateY(-50%); width: min(26vw, 320px); pointer-events: none; }
@media (min-width: 1041px) { .hero.has-art .wrap > * { max-width: 700px; } }
.hero-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 1040px) { .hero-art { display: none; } }
.tiles { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 0.9rem; }
.tiles li { padding: 1rem 1.1rem 1.05rem; }
.tiles li.lead { background: var(--navy); }
.tiles li.lead::before { background: var(--navy); }
.tiles b { display: block; font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.tiles span { display: block; font-size: 0.92rem; color: #2B3846; margin-top: 0.2rem; }
.tiles li.lead b, .tiles li.lead span { color: #fff; }
.life { margin: 2rem 0 0; max-width: 860px; }
.life-row { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; align-items: center; margin-bottom: 0.7rem; }
.life-label { font-family: var(--head); font-weight: 600; color: var(--navy); font-size: 0.98rem; line-height: 1.25; }
.life-label small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.life-track { display: flex; gap: 6px; height: 2.4rem; }
.life-bar { height: 100%; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); }
.life-bar.first { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.life-axis { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; margin-top: 0.2rem; }
.life-axis ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 0.4rem; }
@media (max-width: 640px) { .life-row, .life-axis { grid-template-columns: 1fr; gap: 0.3rem; } .life-axis > span { display: none; } }
