@font-face {
  font-family: "Serif";
  src: url("fonts/serif.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken";
  src: url("fonts/sans.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy-950: #081830;
  --navy-900: #0c2140;
  --navy-800: #132c52;
  --navy-700: #1d3a66;
  --brand: #2d3f5f;
  --ink: #0f1b2d;
  --body: #3d4859;
  --muted: #5c6679;
  --line: #e2e5ea;
  --line-dark: rgba(214, 224, 240, 0.16);
  --paper: #ffffff;
  --mist: #f3f4f6;
  --gold: #c9a04a;
  --gold-hi: #d8b261;
  --gold-ink: #8a6a1f;
  --on-navy: #f4f6fa;
  --on-navy-2: #b8c4d8;
  --up: #276a43;
  --down: #b4442f;
  --radius: 4px;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --serif: "Serif", Georgia, serif;
  --sans: "Hanken", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--sans);
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 60;
  letter-spacing: -0.022em;
  line-height: 1.02;
}
.d-hero { font-size: clamp(44px, 6.4vw, 96px); }
.d-1 { font-size: clamp(40px, 5vw, 76px); }
.d-2 { font-size: clamp(34px, 3.9vw, 58px); line-height: 1.06; }
.d-3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.012em; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--body); max-width: 60ch; }

/* Header: a floating rectangle split into cells */
.site-header {
  position: fixed; z-index: 50; top: 16px; left: 0; right: 0;
  padding: 0 var(--gutter); pointer-events: none;
}
.bar {
  pointer-events: auto;
  max-width: var(--max); margin: 0 auto; height: 64px;
  display: flex; align-items: stretch;
  background: var(--paper);
  border: 1px solid rgba(15, 27, 45, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -12px rgba(8, 24, 48, 0.35);
  overflow: hidden;
}
.bar > * + * { border-left: 1px solid var(--line); }
.bar .logo { display: flex; align-items: center; padding: 0 26px; flex: none; }
.bar .logo img { width: 142px; }
.bar nav { display: flex; flex: 1; }
.bar nav a, .bar .cell {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 0 14px; font-size: 14.5px; font-weight: 450; color: var(--ink);
  text-decoration: none; white-space: nowrap; transition: background 0.2s var(--ease), color 0.2s;
}
.bar nav a + a { border-left: 1px solid var(--line); }
.bar nav a:hover, .bar .cell:hover { background: var(--mist); }
.bar nav a[aria-current="page"] { color: var(--gold-ink); box-shadow: inset 0 -2px 0 var(--gold); }
.bar .cell { flex: none; padding: 0 26px; }
.bar .go {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 0 28px;
  background: var(--gold); color: var(--navy-950); font-weight: 560; font-size: 15px;
  text-decoration: none; border-left: 0; transition: background 0.2s var(--ease);
}
.bar .go:hover { background: var(--gold-hi); }
.bar .menu-btn { display: none; }
.arrow { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(3px); }

.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .bar nav, .bar .cell.signin { display: none; }
  .bar .logo { flex: 1; }
  .bar .menu-btn {
    display: flex; align-items: center; justify-content: center; width: 64px; flex: none;
    background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; color: var(--ink);
  }
  .mobile-menu {
    pointer-events: auto; max-width: var(--max); margin: 8px auto 0;
    background: var(--paper); border: 1px solid rgba(15, 27, 45, 0.1); border-radius: var(--radius);
    box-shadow: 0 20px 40px -16px rgba(8, 24, 48, 0.4);
  }
  .site-header.open .mobile-menu { display: block; }
  .mobile-menu a { display: block; padding: 16px 22px; color: var(--ink); text-decoration: none; font-size: 17px; }
  .mobile-menu a + a { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .site-header { top: 10px; }
  .bar { height: 58px; }
  .bar .logo { padding: 0 16px; }
  .bar .logo img { width: 112px; }
  .bar .go { padding: 0 16px; font-size: 14px; }
  .bar .go .arrow { display: none; }
  .bar .menu-btn { width: 54px; }
}

/* Buttons and the address form */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
  border-radius: var(--radius); border: 1px solid transparent; font: 560 15.5px/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-navy { background: var(--navy-900); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-700); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.on-navy .btn-line { border-color: rgba(244, 246, 250, 0.5); color: var(--on-navy); }
.on-navy .btn-line:hover { background: var(--on-navy); color: var(--navy-950); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 520; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.on-navy .link-arrow { color: var(--on-navy); }

.start {
  display: flex; width: 100%; max-width: 560px; height: 60px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.start:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 160, 74, 0.28); }
.start input {
  flex: 1; min-width: 0; border: 0; padding: 0 20px; font: 400 16px var(--sans); color: var(--ink);
  background: transparent; outline: none; caret-color: var(--gold-ink);
}
.start input::placeholder { color: var(--muted); }
.start button {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 0 24px; border: 0;
  background: var(--gold); color: var(--navy-950); font: 560 15.5px var(--sans); cursor: pointer;
  transition: background 0.2s var(--ease);
}
.start button:hover { background: var(--gold-hi); }
.on-navy .start { border-color: transparent; }
.start-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .start { height: auto; flex-direction: column; }
  .start input { height: 56px; }
  .start button { height: 54px; justify-content: center; }
}

/* Surfaces */
.on-navy { background: var(--navy-900); color: var(--on-navy-2); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy .display { color: var(--on-navy); }
.on-navy .lede { color: var(--on-navy-2); }
.on-mist { background: var(--mist); }
.section { padding: clamp(88px, 11vw, 152px) 0; }
.section-tight { padding: clamp(64px, 7vw, 96px) 0; }
.rule-top { border-top: 1px solid var(--line); }
.head-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head-row .lede { justify-self: end; }
@media (max-width: 860px) { .head-row { grid-template-columns: 1fr; gap: 24px; } .head-row .lede { justify-self: start; } }

/* Home hero */
.hero { padding-top: 168px; text-align: center; overflow: hidden; }
.hero h1 { max-width: 13.5em; margin: 0 auto; }
.hero .lede { margin: 28px auto 0; text-align: center; max-width: 56ch; }
.hero .start-row { justify-content: center; margin-top: 40px; }
.hero-stage { position: relative; margin-top: clamp(56px, 6vw, 84px); padding: 0 clamp(12px, 1.6vw, 24px); }
.hero-photo {
  position: relative; height: clamp(360px, 40vw, 560px); border-radius: 14px 14px 0 0; overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 33, 64, 0.55) 0%, rgba(12, 33, 64, 0) 38%); }
.hero-portal {
  position: absolute; z-index: 2; left: 50%; top: 0; width: min(820px, calc(100% - 48px));
  transform: translate(-50%, -12%);
  animation: rise 1.1s 0.15s var(--ease) both;
}
@keyframes rise { from { transform: translate(-50%, 0%); opacity: 0.001; } to { transform: translate(-50%, -12%); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-portal { animation: none; } }
@media (max-width: 720px) {
  .hero { padding-top: 132px; }
  .hero-stage { padding: 0; }
  .hero-photo { border-radius: 0; height: 300px; }
  .hero-portal { position: relative; left: auto; transform: none; width: auto; margin: -120px 16px 0; animation: none; }
}

/* Portal window (product UI rendered in HTML) */
.portal {
  background: var(--paper); color: var(--ink); border-radius: 8px; text-align: left;
  border: 1px solid rgba(15, 27, 45, 0.08);
  box-shadow: 0 40px 80px -30px rgba(5, 15, 32, 0.55), 0 12px 24px -12px rgba(5, 15, 32, 0.3);
  overflow: hidden;
}
.portal-top { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.portal-top .pt { font: 600 17px var(--sans); letter-spacing: -0.01em; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 3px; font: 550 11.5px var(--sans); letter-spacing: 0.02em; }
.tag-sample { background: #f6eed9; color: #7a5c17; }
.tag-red { background: #f8e4df; color: #9c3a25; }
.tag-blue { background: #e3eaf5; color: #2b4a78; }
.tag-plain { border: 1px solid var(--line); color: var(--body); }
.portal-top .tools { margin-left: auto; display: flex; gap: 8px; }
.tool-btn {
  height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  font: 500 13px var(--sans); color: var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.tool-btn:hover { border-color: #c9ced7; color: var(--ink); }
.tool-btn[aria-pressed="true"] { background: var(--navy-900); color: var(--on-navy); border-color: var(--navy-900); }

.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: left; font: 500 12px var(--sans); color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--body); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable th:first-child, .ptable td:first-child { padding-left: 22px; }
.ptable .prop { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 520; }
.ptable .prop small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.ptable .thumb { width: 38px; height: 30px; border-radius: 3px; object-fit: cover; flex: none; }
.score { display: inline-flex; align-items: baseline; gap: 3px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.score small { color: var(--muted); font-weight: 400; font-size: 12px; }
.pill-score { display: inline-flex; justify-content: center; min-width: 36px; padding: 3px 0; border-radius: 3px; font-weight: 600; font-variant-numeric: tabular-nums; }
.s-good { background: #e5f0e8; color: #24603d; }
.s-mid { background: #f6eed9; color: #7a5c17; }
.s-low { background: #f8e4df; color: #9c3a25; }
.delta { font-weight: 550; font-variant-numeric: tabular-nums; }
.delta.up { color: var(--up); }
.delta.down { color: var(--down); }
.delta.flat { color: var(--muted); }
.ptable tbody tr { cursor: pointer; transition: background 0.15s; }
.ptable tbody tr:hover { background: #f7f8fa; }
.ptable tbody tr[aria-selected="true"] { background: #eaf0f8; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none; } }

/* Figures strip */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures > div { padding: 40px 24px 36px; text-align: center; }
.figures > div + div { border-left: 1px solid var(--line); }
.figure { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 60; font-size: clamp(44px, 4.6vw, 68px); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.figure small { font-size: max(0.42em, 16px); letter-spacing: 0; margin-left: 6px; }
.figure-label { margin-top: 12px; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div:nth-child(3) { border-left: 0; }
  .figures > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* Portfolio section */
.portfolio { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.6fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.portfolio-copy { position: sticky; top: 120px; }
.portfolio-copy .lede { margin-top: 24px; }
.portfolio-copy ul { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line-dark); }
.portfolio-copy li { padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-navy); display: flex; gap: 14px; }
.portfolio-copy li span { color: var(--gold); font-variant-numeric: tabular-nums; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.workspace .ptable .prop { display: block; }
.workspace .portal-main { min-width: 0; border-right: 1px solid var(--line); }
.finding { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.finding img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.finding h3 { font: 600 17px/1.3 var(--sans); color: var(--ink); }
.finding .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.finding dl { margin: 0; display: grid; gap: 10px; font-size: 13.5px; }
.finding dt { color: var(--muted); font-size: 12px; }
.finding dd { margin: 2px 0 0; color: var(--ink); }
.finding .meta { font-size: 12px; color: var(--muted); }
@media (max-width: 1080px) {
  .portfolio { grid-template-columns: 1fr; }
  .portfolio-copy { position: static; }
}
@media (max-width: 760px) { .workspace { grid-template-columns: 1fr; } .workspace .portal-main { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 1px solid var(--ink); padding-top: 24px; }
.step-n { font: 400 15px var(--sans); color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 18px; font: 600 20px/1.3 var(--sans); letter-spacing: -0.01em; }
.step p { margin-top: 10px; font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-media { border-radius: 10px; overflow: hidden; aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split .lede { margin-top: 22px; }
.split .actions { margin-top: 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Area index */
.areas { border-top: 1px solid var(--ink); }
.area-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) 90px; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.area-row .n { color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.area-row h3 { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); font-variation-settings: "opsz" 40; letter-spacing: -0.01em; }
.area-row p { font-size: 16px; }
.area-row .count { text-align: right; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .area-row { grid-template-columns: 40px 1fr; } .area-row p { grid-column: 2; } .area-row .count { grid-column: 2; text-align: left; } }

/* Report pages */
.pages { position: relative; aspect-ratio: 10 / 8; }
.pages img { position: absolute; width: 47%; border-radius: 3px; box-shadow: 0 24px 50px -20px rgba(8, 24, 48, 0.45); }
.pages img:nth-child(1) { left: 0; top: 10%; z-index: 3; }
.pages img:nth-child(2) { left: 26%; top: 4%; z-index: 2; }
.pages img:nth-child(3) { right: 0; top: 0; z-index: 1; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.plan { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: var(--navy-900); color: var(--on-navy-2); border-radius: 0; position: relative; }
.plan.featured::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--gold); }
.plan h3 { font: 600 20px var(--sans); color: var(--ink); }
.plan.featured h3, .plan.featured .price { color: var(--on-navy); }
.plan .for { font-size: 15px; color: var(--muted); margin-top: 6px; }
.plan.featured .for { color: var(--on-navy-2); }
.price { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 60; font-size: 64px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.price-unit { font-size: 15px; color: var(--muted); margin-top: 10px; }
.plan.featured .price-unit { color: var(--on-navy-2); }
.plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15.5px; flex: 1; }
.plan.featured ul { border-top-color: var(--line-dark); color: var(--on-navy); }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: ""; flex: none; width: 12px; height: 1px; background: var(--gold); margin-top: 0.8em; }
.plan .btn { justify-content: center; }
.plan-note { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } }

.freq { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.freq th, .freq td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.freq th { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.freq td:not(:first-child), .freq th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.freq td:first-child { color: var(--ink); font-weight: 520; }

/* Closing band */
.closing { text-align: center; }
.closing h2 { max-width: 18ch; margin: 0 auto; }
.closing .start-row { justify-content: center; margin-top: 40px; }

/* Page header for inner pages */
.page-head { padding: 176px 0 clamp(72px, 8vw, 112px); }
.page-head h1 { max-width: 14em; }
.page-head .lede { margin-top: 28px; }
.page-head .start-row { margin-top: 36px; }
.crumb { font-size: 14px; color: var(--on-navy-2); margin-bottom: 28px; display: flex; gap: 10px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--on-navy); }

/* Prose and lists */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 860px) { .cols-2 { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts li strong { color: var(--ink); font-weight: 560; }
@media (max-width: 640px) { .facts li { grid-template-columns: 1fr; gap: 6px; } }
.check-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.check-list li { break-inside: avoid; padding: 9px 0 9px 22px; position: relative; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 10px; height: 1px; background: var(--gold); }
@media (max-width: 640px) { .check-list { columns: 1; } }

.area-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 64px); padding: 56px 0; border-top: 1px solid var(--line); }
.area-block .n { color: var(--gold-ink); font-variant-numeric: tabular-nums; font-size: 15px; }
.area-block h2 { margin-top: 12px; }
.area-block .sum { margin-top: 16px; font-size: 16px; }
.area-block .count { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .area-block { grid-template-columns: 1fr; } }

.statuses { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.statuses > div { padding: 32px; }
.statuses > div + div { border-left: 1px solid var(--line-dark); }
.statuses h3 { font: 600 18px var(--sans); color: var(--on-navy); margin-bottom: 10px; }
@media (max-width: 860px) { .statuses { grid-template-columns: 1fr; } .statuses > div + div { border-left: 0; border-top: 1px solid var(--line-dark); } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 26px 0; font: 400 clamp(21px, 1.9vw, 26px)/1.3 var(--serif); font-variation-settings: "opsz" 36; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--gold-ink); }
.faq .a { padding: 0 0 28px; max-width: 72ch; }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group > h2 { margin-bottom: 24px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.contact-cards > div { padding: 32px 32px 32px 0; }
.contact-cards > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.contact-cards h2 { font: 600 18px var(--sans); }
.contact-cards p { margin-top: 10px; font-size: 16px; }
.contact-cards a.big { display: inline-block; margin-top: 18px; font: 400 26px/1.2 var(--serif); font-variation-settings: "opsz" 36; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-cards a.big:hover { border-color: var(--gold); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } .contact-cards > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-navy-2); padding: 88px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot-grid img { width: 150px; }
.foot-grid .about { margin-top: 22px; max-width: 32ch; }
.foot-grid h4 { font: 600 14px var(--sans); color: var(--on-navy); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--on-navy); }
.foot-base { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }
.foot-base a { text-decoration: none; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Scroll reveal: content is visible by default; JS only adds the lift */
.js .reveal { transform: translateY(18px); opacity: 0.001; transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); }
.js .reveal.in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .reveal { transform: none; opacity: 1; transition: none; } }

html { scrollbar-color: #9aa5b8 transparent; }
.rule-bottom { border-bottom: 1px solid var(--line); }
.portfolio-copy li .dash { flex: none; width: 14px; height: 1px; background: var(--gold); margin-top: 0.85em; }

.on-navy .portal .pt, .on-navy .portal h3 { color: var(--ink); }
html:focus-within { scroll-behavior: smooth; }
@media (max-width: 560px) {
  .start input { flex: none; }
  .portal-top { flex-wrap: wrap; }
  .portal-top .tools { margin-left: 0; width: 100%; }
  .portal-top .tools .tool-btn { flex: 1; justify-content: center; padding: 0 6px; }
}

.portal-top .pt { margin: 0; color: var(--ink); }

.points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.points li { padding: 22px 24px 0 0; color: var(--on-navy); display: flex; gap: 14px; font-size: 16px; }
.points li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.points .dash { flex: none; width: 14px; height: 1px; background: var(--gold); margin-top: 0.8em; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr 1fr; } .points li:nth-child(3) { border-left: 0; padding-left: 0; } .points li { padding-bottom: 18px; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } .points li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 18px; } }
.workspace { grid-template-columns: minmax(0, 1fr) 340px; }

/* Inner page heads: copy left, a working element right */
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 5vw, 80px); align-items: end; }
.ph-grid h1 { max-width: none; }
.ph-photo { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .ph-grid { grid-template-columns: 1fr; } }
.card-list { list-style: none; margin: 0; padding: 0; }
.card-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--body); }
.card-list li:last-child { border-bottom: 0; }
.card-list b { color: var(--ink); font-weight: 560; }
.card-list .r { text-align: right; font-variant-numeric: tabular-nums; }
.card-list small { color: var(--muted); font-size: 12.5px; }
.timeline { list-style: none; margin: 0; padding: 8px 22px 18px; }
.timeline li { position: relative; padding: 12px 0 12px 26px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink); }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 30px; bottom: -14px; width: 1px; background: var(--line); }
.timeline time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-pass { background: #e5f0e8; color: #24603d; }
.r-fair { background: #f6eed9; color: #7a5c17; }
.r-viol { background: #f8e4df; color: #9c3a25; }
.r-unable { background: #eceef2; color: var(--body); }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); background: #fafbfc; }
.big-score { display: flex; align-items: baseline; gap: 6px; padding: 18px 22px 6px; }
.big-score .figure { font-size: 56px; }
.big-score span { color: var(--muted); font-size: 14px; }
.on-navy .freq { color: var(--body); }
.freq td, .freq th { white-space: nowrap; } .freq td[colspan] { white-space: normal; }
.ph-grid > * { min-width: 0; }
@media (max-width: 560px) { .freq { font-size: 14.5px; } .freq th, .freq td { padding: 14px 6px; } .ph-aside .scroll-x { padding: 0 14px !important; } }
