@font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/newsreader-500.woff2") format("woff2");
}
@font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/newsreader-600.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/source-sans-400.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/source-sans-600.woff2") format("woff2");
}

:root {
    --ink: #132029;
    --ink-soft: #243640;
    --paper: #f3eee6;
    --paper-2: #e7e0d4;
    --copper: #c4622d;
    --copper-deep: #8d3f1d;
    --tide: #1e5f59;
    --tide-deep: #143f3b;
    --tide-mist: #d7e6e2;
    --line: rgba(19, 32, 41, 0.14);
    --text: #1a242c;
    --muted: #4c5962;
    --white: #fbf8f3;
    --shadow: 0 18px 50px rgba(19, 32, 41, 0.12);
    --serif: "Newsreader", Georgia, serif;
    --sans: "Source Sans 3", "Segoe UI", sans-serif;
    --measure: 68ch;
    --space: clamp(1.1rem, 2vw, 1.75rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(1200px 500px at 100% -10%, rgba(196, 98, 45, 0.16), transparent 55%),
        radial-gradient(900px 420px at -10% 20%, rgba(30, 95, 89, 0.12), transparent 50%),
        var(--paper);
    color: var(--text);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    min-width: 320px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tide-deep); text-underline-offset: 0.18em; }

a:hover { color: var(--copper-deep); }

p { margin: 0 0 1rem; }

h1, h2, h3, p, li, a, td, th, address, summary, label {
    overflow-wrap: break-word;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--ink);
    margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.15rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: var(--white);
    padding: 0.6rem 0.9rem;
    z-index: 20;
}

.skip-link:focus { top: 0.6rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(243, 238, 230, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.85rem var(--space);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--serif);
    font-size: clamp(1rem, 2.2vw, 1.28rem);
    letter-spacing: -0.03em;
    min-width: 0;
}

.brand span { min-width: 0; }

.site-nav { margin-left: auto; }

.site-nav ul {
    display: flex;
    gap: 0.35rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.98rem;
}

.site-nav a[aria-current="page"] {
    color: var(--copper-deep);
    box-shadow: inset 0 -2px 0 var(--copper);
}

.nav-toggle {
    margin-left: auto;
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
    padding: 0;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 6px 11px;
    background: var(--ink);
}

main { overflow: clip; }

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(2.2rem, 5vw, 4.5rem) var(--space);
}

.wrap-narrow { max-width: 820px; }

.kicker {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tide);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.lede {
    font-size: 1.18rem;
    max-width: var(--measure);
    color: var(--ink-soft);
}

.mast {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: end;
}

.mast-copy h1 { max-width: 14em; }

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.button,
button,
.cookie-actions button {
    font: inherit;
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.75rem 1.15rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    max-width: 100%;
}

.button-primary,
.cookie-actions button[value="all"] {
    background: var(--ink);
    color: var(--white);
}

.button-primary:hover { background: var(--tide-deep); color: var(--white); }

.button-line {
    background: transparent;
    color: var(--ink);
    border-color: rgba(19, 32, 41, 0.3);
}

.button-line:hover { border-color: var(--copper); color: var(--copper-deep); }

.frame {
    position: relative;
    min-width: 0;
}

.motion {
    position: relative;
    min-height: 280px;
    border-radius: 22px 22px 48px 22px;
    overflow: hidden;
    background: #132029;
}

.motion-route { background: linear-gradient(165deg, #10242c, #1a3c38); }
.route-rail {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 46%;
    height: 2px;
    background: rgba(243, 238, 230, 0.35);
}
.motion-route .token {
    position: absolute;
    top: calc(46% - 7px);
    left: 10%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c4622d;
    animation: travel 7s ease-in-out infinite;
}
.motion-route i {
    position: absolute;
    top: calc(46% - 6px);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #f3eee6;
    background: #1e5f59;
}
.motion-route i:nth-child(3) { left: 12%; }
.motion-route i:nth-child(4) { left: 36%; }
.motion-route i:nth-child(5) { left: 60%; }
.motion-route i:nth-child(6) { left: 84%; }
.motion-route i { animation: station 7s ease-in-out infinite; }
.motion-route i:nth-child(4) { animation-delay: 1.4s; }
.motion-route i:nth-child(5) { animation-delay: 2.8s; }
.motion-route i:nth-child(6) { animation-delay: 4.2s; }

.motion-orbit { background: radial-gradient(circle at 50% 50%, #245e58, #102028 68%); }
.ring {
    position: absolute;
    left: 50%;
    top: 46%;
    border: 1px solid rgba(243, 238, 230, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.r1 { width: 90px; height: 90px; animation: spin 10s linear infinite; border-style: dashed; }
.r2 { width: 150px; height: 150px; animation: spin 16s linear infinite reverse; }
.r3 { width: 210px; height: 210px; animation: spin 22s linear infinite; border-color: rgba(196, 98, 45, 0.7); }
.sat {
    position: absolute;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: #f3eee6;
    left: 50%;
    top: 46%;
}
.sa { animation: orbit-a 10s linear infinite; background: #c4622d; }
.sb { animation: orbit-b 16s linear infinite; }

.motion-lattice { background: #16302e; }
.cells {
    position: absolute;
    inset: 14%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.cells i {
    display: block;
    border-radius: 8px;
    background: rgba(243, 238, 230, 0.08);
    animation: cell 3.6s ease-in-out infinite;
}
.cells i:nth-child(3n) { animation-delay: 0.4s; }
.cells i:nth-child(4n) { animation-delay: 0.9s; }
.cells i:nth-child(5n) { animation-delay: 1.4s; }
.cells i:nth-child(2n) { animation-delay: 0.2s; }

.motion-cadence { background: linear-gradient(#1a242c, #2a211c); display: flex; align-items: flex-end; }
.bars {
    display: flex;
    align-items: flex-end;
    gap: 8%;
    width: 78%;
    height: 62%;
    margin: auto auto 18%;
}
.bars i {
    flex: 1;
    display: block;
    height: 30%;
    border-radius: 8px 8px 0 0;
    background: #1e5f59;
    transform-origin: bottom;
    animation: rise 2.8s ease-in-out infinite;
}
.bars i:nth-child(2) { animation-delay: 0.25s; background: #c4622d; }
.bars i:nth-child(3) { animation-delay: 0.5s; }
.bars i:nth-child(4) { animation-delay: 0.75s; background: #f3eee6; }
.bars i:nth-child(5) { animation-delay: 1s; background: #c4622d; }

.motion-draft { background: #f4efe6; }
.lines {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 18%;
    display: grid;
    gap: 14px;
}
.lines i {
    display: block;
    height: 8px;
    width: 0;
    border-radius: 99px;
    background: #1e5f59;
    animation: write 4.8s ease-in-out infinite;
}
.lines i:nth-child(2) { animation-delay: 0.35s; background: #c4622d; }
.lines i:nth-child(3) { animation-delay: 0.7s; }
.lines i:nth-child(4) { animation-delay: 1.05s; width: 0; }
.lines i:nth-child(5) { animation-delay: 1.4s; background: #8d3f1d; }
.lines i:nth-child(6) { animation-delay: 1.75s; }

.motion-signal { background: radial-gradient(circle at 50% 50%, #1e5f59, #101a21 70%); }
.wave, .core {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.core { width: 16px; height: 16px; background: #f3eee6; }
.wave {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(243, 238, 230, 0.7);
    animation: ping 3.2s ease-out infinite;
}
.w2 { animation-delay: 1s; border-color: rgba(196, 98, 45, 0.8); }
.w3 { animation-delay: 2s; }

.brand-mark { flex: 0 0 auto; }
.brand-path { stroke-dasharray: 80; stroke-dashoffset: 0; animation: draw 4.5s ease-in-out infinite; }

.glass-note { z-index: 2; }

@keyframes travel {
    0% { left: 10%; }
    70%, 100% { left: 84%; }
}
@keyframes station {
    0%, 100% { background: #1e5f59; }
    40% { background: #c4622d; }
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbit-a {
    from { transform: rotate(0deg) translateX(45px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(45px) rotate(-360deg); }
}
@keyframes orbit-b {
    from { transform: rotate(0deg) translateX(75px) rotate(0deg); }
    to { transform: rotate(-360deg) translateX(75px) rotate(360deg); }
}
@keyframes cell {
    0%, 100% { background: rgba(243, 238, 230, 0.08); transform: scale(0.92); }
    50% { background: #c4622d; transform: scale(1); }
}
@keyframes rise {
    0%, 100% { height: 28%; }
    50% { height: 100%; }
}
@keyframes write {
    0% { width: 0; }
    45%, 70% { width: 100%; }
    100% { width: 0; }
}
@keyframes ping {
    0% { width: 20px; height: 20px; opacity: 0.9; }
    100% { width: 230px; height: 230px; opacity: 0; }
}
@keyframes draw {
    0%, 100% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: 80; }
}

.glass-note {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: rgba(19, 32, 41, 0.92);
    color: var(--white);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.glass-note strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.glass-note span { color: #d5e4e0; font-size: 0.95rem; }

.question-band {
    background: var(--tide);
    color: #f4faf8;
}

.question-band h2,
.ink-band h2 { color: inherit; }

.question-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.question-grid article {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding-top: 0.9rem;
}

.question-grid span {
    display: block;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: #f0c2a8;
    margin-bottom: 0.4rem;
}

.ledger {
    width: 100%;
    border-collapse: collapse;
}

.ledger th,
.ledger td {
    text-align: left;
    vertical-align: top;
    padding: 1rem 0.8rem 1rem 0;
    border-bottom: 1px solid var(--line);
}

.ledger th {
    font-weight: 500;
    color: var(--muted);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ledger a { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.35rem); text-decoration: none; color: var(--ink); }
.ledger a:hover { color: var(--copper-deep); }

.spine {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 1.5rem;
}

.spine article {
    padding: 1rem 1rem 0.2rem 0;
    border-top: 3px solid var(--copper);
    margin-right: 0.8rem;
}

.spine strong { display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: 0.35rem; }

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.4rem, 3vw, 3rem);
    align-items: center;
}

.split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

.prose { max-width: var(--measure); }
.prose p:last-child { margin-bottom: 0; }

.principles { list-style: none; margin: 0; padding: 0; }
.principles li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}
.principles strong { font-family: var(--serif); font-size: 1.2rem; display: block; }

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 0;
}
.faq summary {
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.28rem;
    color: var(--ink);
}
.faq details p { margin: 0.7rem 0 0.3rem; max-width: var(--measure); }

.ink-band {
    background: var(--ink);
    color: #e7eeec;
}
.ink-band a { color: #f0c2a8; }

.service-block {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.7fr);
    gap: 1.5rem 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
}

.meta-card {
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}
.meta-card h3 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--sans); color: var(--tide); }
.meta-card ul { margin: 0; padding-left: 1.1rem; }

.service-block:nth-child(even) { background: linear-gradient(90deg, transparent, rgba(215, 230, 226, 0.45) 12%, transparent); }

.path-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.path-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}
.path-list li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--copper-deep);
}

.offer-letter {
    background: var(--white);
    border-radius: 28px;
    padding: clamp(1.2rem, 3vw, 2.4rem);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.2rem;
}

.offer-grid article {
    background: var(--tide-mist);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
    gap: clamp(1.4rem, 3vw, 3rem);
}

address { font-style: normal; }

.letterhead {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.2;
}

form .field { margin-bottom: 0.95rem; }
label { display: block; font-weight: 560; margin-bottom: 0.3rem; }
input, select, textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(19, 32, 41, 0.22);
    border-radius: 12px;
    padding: 0.75rem 0.8rem;
}
textarea { min-height: 150px; resize: vertical; }
.field-error { color: var(--copper-deep); font-size: 0.92rem; margin: 0.25rem 0 0; }
.notice {
    background: var(--tide-mist);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}
.notice.warn { background: #f6e2d6; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: auto; margin-top: 0.3rem; }
.hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    background: #101a21;
    color: #d5dedc;
    padding: 2.5rem var(--space) 6.5rem;
}
.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
    gap: 1.5rem;
}
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: white; margin-bottom: 0.4rem; }
.footer-label { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; color: #f0c2a8; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a, .site-footer a { color: #f4faf8; }
.link-button {
    background: none;
    border: 0;
    padding: 0;
    color: #f4faf8;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    border-radius: 0;
}
.footer-note {
    max-width: 1180px;
    margin: 1.5rem auto 0;
    color: #9aaba8;
    font-size: 0.92rem;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 0.8rem;
}
.cookie-banner.is-hidden { display: none; }
.cookie-panel {
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(251, 248, 243, 0.96);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
    backdrop-filter: blur(10px);
}
.cookie-panel p { margin: 0 0 0.5rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0; }
.button-ghost, .cookie-actions .button-ghost {
    background: transparent;
    border-color: rgba(19, 32, 41, 0.28);
    color: var(--ink);
}
.cookie-prefs { border: 0; margin: 0.4rem 0 0; padding: 0; }
.cookie-prefs.is-hidden { display: none; }
.check-row { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.45rem 0; }
.check-row input { width: auto; margin-top: 0.25rem; }
.fine-print { font-size: 0.92rem; }

.page-hero { padding-bottom: 0.4rem; }
.page-hero h1 { max-width: 18em; }

@media (max-width: 980px) {
    .mast, .split, .split.reverse, .service-block, .contact-layout, .question-grid, .footer-grid, .offer-grid, .spine {
        grid-template-columns: 1fr;
    }
    .spine article { margin-right: 0; }
    .footer-grid { gap: 1.2rem; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-block; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: rgba(243, 238, 230, 0.98);
        border-bottom: 1px solid var(--line);
        padding: 0.4rem var(--space) 1rem;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: flex-start; }
    .site-nav a { display: inline-block; padding: 0.45rem 0; font-size: 1.08rem; }
    .mast-copy h1 { max-width: none; }
    .header-inner { position: relative; }
    .site-footer { padding-bottom: 8rem; }
}

@media (max-width: 414px) {
    body { font-size: 1.05rem; }
    .glass-note { position: static; margin-top: 0.7rem; }
    .motion { border-radius: 16px; min-height: 220px; }
    .ledger, .ledger tbody, .ledger tr, .ledger td, .ledger th { display: block; width: 100%; }
    .ledger thead { display: none; }
    .ledger tr { padding: 0.85rem 0; }
}

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

:focus-visible {
    outline: 3px solid var(--copper);
    outline-offset: 2px;
}
