:root {
  --paper: #f5f0e6;
  --paper-light: #fbf8f1;
  --ink: #062f50;
  --ink-soft: #34526a;
  --sky: #d8e8f1;
  --sky-strong: #b9d5e5;
  --signal: #e96524;
  --line: #9bb3c1;
  --white: #fff;
  --shadow: 0 18px 48px rgba(6, 47, 80, .09);
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 80% 5%, rgba(216,232,241,.55), transparent 26rem), var(--paper); color: var(--ink); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .15; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"); }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

.ad-strip { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: .6rem; min-height: 34px; padding: .35rem 1rem; background: var(--sky); border-bottom: 1px solid var(--line); color: var(--ink); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.ad-strip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.site-header { position: relative; z-index: 2; background: rgba(251,248,241,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { max-width: 1440px; min-height: 74px; margin: auto; padding: 0 clamp(1rem, 4vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border: 1px solid var(--signal); border-radius: 50%; position: relative; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--signal); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.brand-mark::before { width: 1px; height: 40px; }
.brand-mark::after { width: 40px; height: 1px; }
.brand-name { font: 700 1.55rem Georgia, 'Times New Roman', serif; letter-spacing: -.02em; }
.brand-note { display: block; margin-top: -.25rem; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--paper-light); color: var(--ink); border-radius: 8px; min-width: 44px; min-height: 44px; font-size: 1.2rem; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.site-nav a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--signal); }

.page-layout { position: relative; max-width: 1440px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 4.5rem) clamp(1rem, 4vw, 3.5rem) clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); }
.section-rail { align-self: start; position: sticky; top: 1.25rem; border-right: 1px solid var(--line); padding-right: 1.25rem; }
.section-rail p { margin: 0 0 1.2rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.section-rail ol { list-style: none; padding: 0; margin: 0; counter-reset: rail; }
.section-rail li { counter-increment: rail; border-top: 1px solid rgba(155,179,193,.65); }
.section-rail a { display: grid; grid-template-columns: 2rem 1fr; gap: .35rem; padding: .9rem 0; text-decoration: none; font-size: .72rem; font-weight: 700; line-height: 1.3; }
.section-rail a::before { content: counter(rail, decimal-leading-zero); font: 1rem Georgia, serif; color: var(--signal); }
.narrative { min-width: 0; }

.hero { text-align: center; margin-bottom: clamp(3rem, 7vw, 6rem); }
.hero-copy { width: min(58%, 760px); margin: 0 auto clamp(1.5rem, 3vw, 2.5rem); }
.eyebrow { margin: 0 0 .8rem; font-size: .73rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--signal); }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; text-wrap: balance; }
h1 { max-width: 100%; margin: 0; font-size: clamp(2.25rem, 3.4vw, 2.85rem); line-height: 1.03; letter-spacing: -.035em; }
.hero-lead { max-width: 720px; margin: 1.25rem auto 1.5rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .65rem; min-height: 50px; padding: .8rem 1.25rem; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: var(--white); text-decoration: none; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 20px rgba(6,47,80,.14); }
.button::after { content: "↗"; font-size: 1rem; }
.button.secondary { background: transparent; color: var(--ink); box-shadow: none; }
.hero-media, [data-content-media] { align-self: start; height: auto; }
.hero-media { width: 100%; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.hero-media img, [data-content-media] img { width: 100%; height: auto; object-fit: contain; }
.media-caption { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .9rem; background: var(--paper-light); color: var(--ink-soft); font-size: .7rem; text-align: left; border-top: 1px solid var(--line); }

.chapter { scroll-margin-top: 1.5rem; margin: clamp(3rem, 7vw, 6.5rem) 0 0; }
.chapter-band { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; padding: .8rem 1rem; background: linear-gradient(90deg, var(--sky), rgba(216,232,241,.15)); border: 1px solid var(--line); border-radius: 8px; }
.chapter-no { font: 1.55rem Georgia, serif; color: var(--signal); }
.chapter-band h2 { margin: 0; font-size: clamp(1.55rem, 2.8vw, 2.35rem); line-height: 1.08; }
.chapter-intro { max-width: 760px; margin: -0.4rem 0 1.5rem; color: var(--ink-soft); }
.ledger { border: 1px solid var(--line); border-radius: 10px; background: rgba(251,248,241,.85); overflow: hidden; }
.ledger-row { display: grid; grid-template-columns: minmax(170px,.8fr) minmax(0,2fr); gap: 1rem; padding: 1rem 1.2rem; border-top: 1px solid rgba(155,179,193,.55); }
.ledger-row:first-child { border-top: 0; }
.ledger-row dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ledger-row dd { margin: 0; color: var(--ink-soft); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.paper-card { position: relative; min-height: 190px; padding: 1.35rem; background: var(--paper-light); border: 1px solid var(--line); border-radius: 10px; box-shadow: 7px 7px 0 var(--sky); }
.paper-card .card-no { display: inline-block; margin-bottom: .8rem; color: var(--signal); font: 1.2rem Georgia, serif; }
.paper-card h3 { margin: 0 0 .7rem; font-size: 1.25rem; }
.paper-card p, .paper-card li { color: var(--ink-soft); }
.paper-card ul { padding-left: 1.1rem; }
.fit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fit-cell { padding: 1.2rem; background: var(--paper-light); }
.fit-cell strong { display: block; margin-bottom: .5rem; font-family: Georgia, serif; }
.fit-cell p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.gateway { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; padding: clamp(1.5rem,4vw,3rem); background: var(--sky); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.gateway h2, .gateway h3 { margin: .25rem 0 .7rem; font-size: clamp(1.7rem,3vw,2.5rem); }
.gateway p { max-width: 680px; margin: 0; color: var(--ink-soft); }
.gateway-note { margin-top: .75rem !important; font-size: .75rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: var(--paper-light); font-size: .9rem; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid rgba(155,179,193,.55); text-align: left; vertical-align: top; }
th { background: var(--sky); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.cost-band { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--sky); }
.cost-band > div { padding: 1.4rem; border-left: 1px solid var(--line); }
.cost-band > div:first-child { border-left: 0; }
.cost-band span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cost-band strong { display: block; margin-top: .4rem; font: 1.3rem Georgia, serif; }
.boundary { padding: 1.4rem 1.6rem; border-left: 5px solid var(--signal); background: var(--paper-light); box-shadow: var(--shadow); }
.boundary h3 { margin-top: 0; }
.boundary ul { margin-bottom: 0; }
.panorama { margin: 2rem 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.panorama img { width: 100%; height: auto; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); background: rgba(251,248,241,.72); }
.accordion summary { cursor: pointer; padding: 1.1rem; font-weight: 800; }
.accordion details p { margin: 0; padding: 0 1.1rem 1.2rem; color: var(--ink-soft); }
.path { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; counter-reset: path; }
.path-step { counter-increment: path; position: relative; padding: 1rem 1rem 1rem 3rem; border-top: 1px solid var(--line); }
.path-step::before { content: counter(path); position: absolute; left: 0; top: .75rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: white; font-family: Georgia, serif; }
.checklist { columns: 2; column-gap: 2rem; padding: 1.5rem; background: var(--paper-light); border: 1px solid var(--line); border-radius: 10px; }
.checklist li { break-inside: avoid; margin-bottom: .75rem; }
.center-statement { max-width: 850px; margin: 0 auto; padding: clamp(2rem,5vw,4rem); text-align: center; font: clamp(1.7rem,3vw,2.8rem)/1.2 Georgia, serif; color: var(--ink); }

.blog-layout { grid-template-columns: 136px minmax(0,1fr); gap: clamp(1.5rem,3vw,2.5rem); padding-top: clamp(1.5rem,3vw,3rem); }
.blog-layout .section-rail { padding-inline-end: 1rem; }
.blog-layout .chapter { margin-top: clamp(2.25rem,4vw,4rem); }
.blog-layout .chapter-band { margin-bottom: 1rem; }
.blog-masthead { max-width: 1050px; margin: 0 0 2rem; }
.blog-masthead + .chapter { margin-top: 0; }
.blog-masthead h1, .blog-article-header h1 { font-size: clamp(2.2rem,4.1vw,4rem); line-height: 1.02; }
.blog-masthead .hero-lead { max-width: 760px; margin: 1rem 0 0; text-wrap: pretty; }
.blog-article-header { display: grid; grid-template-columns: minmax(0,1fr) 300px; column-gap: 2rem; max-width: 100%; margin: 0 0 1.25rem; }
.blog-article-header .eyebrow, .blog-article-header h1 { grid-column: 1 / -1; }
.blog-article-header .hero-lead { max-width: 760px; margin: 1rem 0 0; text-wrap: pretty; }
.blog-article-header .article-meta { align-self: end; display: grid; gap: .35rem; margin: 1rem 0 0; padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--line); }
.blog-article-header .article-meta span::before { content: none; margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; color: var(--ink-soft); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.article-meta span + span::before, .article-meta time + span::before { content: "·"; margin-right: 1rem; color: var(--signal); }
.blog-card { display: grid; grid-template-columns: 340px minmax(0,1fr); max-width: 1020px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-light); box-shadow: var(--shadow); }
.blog-card-media { display: block; align-self: stretch; min-height: 0; background: var(--sky); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-copy { padding: clamp(1.4rem,3vw,2.25rem); }
.blog-card-copy h2 { margin: .2rem 0 .8rem; font-size: clamp(1.5rem,2.5vw,2.1rem); line-height: 1.1; }
.blog-card-copy h2 a { text-decoration: none; }
.blog-card-copy p { margin-block: .7rem; color: var(--ink-soft); }
.text-link { font-weight: 800; text-underline-offset: .25em; }
.article-hero-media { width: min(100%,900px); margin: 0 auto clamp(2rem,4vw,3rem); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.article-hero-media img { width: 100%; height: auto; display: block; }
.article-prose > p, .article-prose > ul { max-width: 780px; font-size: clamp(1rem,1.4vw,1.12rem); line-height: 1.75; }
.method-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.method-step { display: grid; grid-template-columns: 2.75rem minmax(0,1fr); grid-template-rows: auto 1fr; column-gap: 1rem; padding: 1.4rem; background: var(--paper-light); border: 1px solid var(--line); border-radius: 9px; box-shadow: 5px 5px 0 var(--sky); }
.method-step > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sky); color: var(--signal); font: 1.15rem Georgia, serif; }
.method-step h3 { margin: .1rem 0 .4rem; }
.method-step p { margin: 0; color: var(--ink-soft); }
.transfer-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.transfer-list article { padding: 1.25rem; border-top: 3px solid var(--signal); background: var(--paper-light); box-shadow: var(--shadow); }
.transfer-list h3 { margin-top: 0; }
.transfer-list p { margin-bottom: 0; color: var(--ink-soft); }
.quote-panel { max-width: 850px; padding: clamp(1.5rem,4vw,3rem); background: var(--ink); color: white; border-radius: 10px; }
.quote-panel p { margin: 0; font: clamp(1.2rem,2.2vw,1.8rem)/1.45 Georgia, serif; }

.legal-layout .narrative { max-width: 900px; }
.legal-masthead { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.legal-masthead h1 { margin-bottom: .8rem; }
.legal-section { scroll-margin-top: 1.5rem; margin: 0 0 2.8rem; }
.legal-section h2 { padding: .65rem .8rem; margin: 0 0 1rem; background: var(--sky); border-left: 3px solid var(--signal); font-size: 1.45rem; }
.legal-section h3 { font-size: 1.05rem; }
.legal-section p, .legal-section li { color: var(--ink-soft); }
.legal-section address { font-style: normal; }

.publisher-footer { position: relative; z-index: 1; background: var(--ink); color: #eaf3f8; }
.footer-inner { max-width: 1440px; margin: auto; padding: clamp(2.5rem,6vw,5rem) clamp(1rem,4vw,3.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: clamp(1.5rem,4vw,4rem); }
.publisher-footer h2 { margin: 0 0 .7rem; font-size: 1.7rem; color: white; }
.publisher-footer h3 { margin: 0 0 .8rem; font: .75rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-strong); }
.publisher-footer p, .publisher-footer address { margin: 0 0 .45rem; color: #d5e3eb; font-size: .86rem; font-style: normal; }
.publisher-footer a { color: white; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
.footer-links a { font-size: .84rem; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(216,232,241,.3); font-size: .72rem; color: #bdd0dc; }

.cookie-panel { position: fixed; z-index: 20; right: 1rem; bottom: 1rem; width: min(440px, calc(100vw - 2rem)); padding: 1.25rem; background: var(--paper-light); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 80px rgba(6,47,80,.25); }
.cookie-panel[hidden] { display: none; }
.cookie-panel h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.cookie-panel p { margin: 0 0 1rem; color: var(--ink-soft); font-size: .88rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions button { min-height: 44px; padding: .6rem .9rem; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: white; font-weight: 700; }
.cookie-actions button.secondary { background: transparent; color: var(--ink); }
.cookie-preferences { margin: 1rem 0; padding: .75rem; border: 1px solid var(--line); }
.cookie-preferences label { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
.cookie-link { border: 0; padding: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

@media (max-width: 1080px) {
  .page-layout { grid-template-columns: 112px minmax(0,1fr); gap: 2rem; }
  .section-rail { padding-right: .8rem; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .path { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .hero-copy { width: min(82%, 720px); }
}

@media (max-width: 760px) {
  .header-inner { min-height: 64px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); padding: 1rem; flex-direction: column; align-items: stretch; background: var(--paper-light); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .page-layout { display: block; padding-top: 1rem; }
  .section-rail { position: static; overflow: hidden; margin: 0 0 2rem; padding: 0; border: 0; }
  .section-rail p { margin-bottom: .4rem; }
  .section-rail ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(105px, 1fr); overflow-x: auto; border-block: 1px solid var(--line); scrollbar-width: thin; }
  .section-rail li { border: 0; }
  .section-rail a { padding: .75rem .45rem; grid-template-columns: 1fr; }
  .hero { margin-bottom: 3.5rem; }
  h1 { font-size: clamp(2.05rem, 9vw, 2.25rem); }
  .hero-copy { width: 100%; }
  .media-caption { display: block; }
  .ledger-row { grid-template-columns: 1fr; gap: .25rem; }
  .card-grid, .fit-grid, .cost-band, .path { grid-template-columns: 1fr; }
  .cost-band > div { border-left: 0; border-top: 1px solid var(--line); }
  .cost-band > div:first-child { border-top: 0; }
  .gateway { grid-template-columns: 1fr; gap: 1.25rem; }
  .button { width: 100%; }
  .checklist { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .blog-card, .method-grid, .transfer-list { grid-template-columns: 1fr; }
  .blog-layout .chapter { margin-top: 2.25rem; }
  .blog-masthead { margin-bottom: 1.5rem; }
  .blog-article-header { display: block; margin-bottom: 1.25rem; }
  .blog-article-header .article-meta { display: flex; padding: .8rem 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .blog-card-media { aspect-ratio: 16 / 9; }
  .blog-card-media img { height: 100%; }
  .article-hero-media { margin-bottom: 2.25rem; }
  .method-step { grid-template-columns: 2.5rem minmax(0,1fr); padding: 1.15rem; }
  .article-meta span + span::before, .article-meta time + span::before { content: ""; margin: 0; }
}

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