:root {
    --paper: #f5f6f2;
    --raised: #fff;
    --ink: #1c2430;
    --soft: #58626d;
    --line: #d8dcd3;
    --accent: #a65f28;
    --sans: "Space Grotesk", system-ui, sans-serif;
    --mono: "IBM Plex Mono", monospace;
    color-scheme: light;
}
[data-theme="dark"] {
    --paper: #14181b;
    --raised: #1b2024;
    --ink: #e8e7e1;
    --soft: #a0a8b0;
    --line: #2b3338;
    --accent: #df9658;
    color-scheme: dark;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 17px/1.62 var(--sans);
}
a {
    color: inherit;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
}
a:hover {
    color: var(--accent);
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.shell {
    width: min(1180px, calc(100% - 4rem));
    margin: auto;
}
.site-header {
    border-bottom: 1px solid var(--line);
}
.header-row {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.mark {
    font: 500 1rem var(--mono);
    text-decoration: none;
}
.header-row nav {
    display: flex;
    gap: 1.35rem;
    margin-left: auto;
}
.header-row nav a {
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--soft);
}
.header-row nav a[aria-current="page"] {
    color: var(--ink);
    text-decoration: underline;
}
.theme-toggle {
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 26px;
    line-height: 1;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.home {
    padding: clamp(3.5rem, 10vw, 8rem) 0 3rem;
}
.home-intro {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}
.eyebrow,
.section-label,
.status {
    font: 500 0.76rem var(--mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: end;
}
.intro-grid h1 {
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    margin: 0;
}
.intro-copy,
.page-title > p:last-child,
.feature p,
.section p,
.two-col li {
    color: var(--soft);
}
.display-copy {
    font-size: 1.3rem;
    line-height: 1.35;
    color: var(--ink) !important;
    margin-top: 0;
}
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    font: 500 0.86rem var(--mono);
}
.trace {
    margin-top: 4rem;
    width: min(100%, 700px);
}
.trace svg {
    width: 100%;
    display: block;
}
.trace .signal {
    fill: none;
    stroke: var(--signal-color);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.25;
    transition: opacity 0.6s ease, stroke-width 0.6s ease, filter 0.6s ease;
}
.signal--amber { --signal-color: #a65f28; }
.signal--teal { --signal-color: #18776f; }
.signal--blue { --signal-color: #426cb4; }
.signal--violet { --signal-color: #8755a3; }
[data-theme="dark"] .signal--amber { --signal-color: #df9658; }
[data-theme="dark"] .signal--teal { --signal-color: #65c8b6; }
[data-theme="dark"] .signal--blue { --signal-color: #83b2ef; }
[data-theme="dark"] .signal--violet { --signal-color: #c19ae4; }
.trace .signal.is-active {
    opacity: 1;
    stroke-width: 2.4;
    filter: drop-shadow(0 0 2px var(--signal-color));
}
.signal-toggle {
    display: block;
    margin-left: auto;
    min-height: 44px;
    padding: 0.5rem;
    border: 0;
    background: transparent;
    color: var(--soft);
    font: 0.7rem var(--mono);
    cursor: pointer;
}
.signal-toggle[hidden] {
    display: none;
}
.destinations {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    border-bottom: 1px solid var(--line);
}
.destination {
    min-height: 350px;
    padding: 2rem;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.destination:hover {
    background: var(--raised);
    color: var(--ink);
}
.destination h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.45rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin: 0.4rem 0 1rem;
}
.destination p {
    color: var(--soft);
    margin: 0;
}
.destination span:last-child {
    margin-top: auto;
    font: 500 0.82rem var(--mono);
    color: var(--accent);
}
.proof-strip,
.site-footer {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.25rem 0;
    color: var(--soft);
    font: 0.76rem var(--mono);
}
.site-footer {
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 1.8rem 0 2.5rem;
}
.page {
    padding: 4.5rem 0 5rem;
}
.page-title {
    max-width: 850px;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line);
}
.page-title h1 {
    font-size: clamp(2.7rem, 6vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin: 0 0 1.5rem;
}
.feature,
.two-col,
.image-story {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 5rem;
}
.feature,
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--line);
}
h2 {
    font-size: 1.7rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 1rem;
}
.facts {
    border-left: 1px solid var(--line);
    padding-left: 1.5rem;
}
.facts dl {
    margin: 0;
}
.facts div {
    margin-bottom: 1.25rem;
}
.facts dt {
    font-size: 0.77rem;
    color: var(--soft);
}
.facts dd {
    margin: 0;
    font: 500 0.9rem/1.4 var(--mono);
}
.two-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}
.timeline li {
    border-top: 1px solid var(--line);
    padding: 1rem 0;
}
.publication {
    max-width: 800px;
}
.publication h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.citation {
    font: 0.82rem var(--mono) !important;
    color: var(--accent) !important;
}
.image-story {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
}
.image-story figure,
.hero-image {
    margin: 0;
}
.image-story img,
.hero-image img {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
}
figcaption {
    font: 0.78rem var(--mono);
    color: var(--soft);
    margin-top: 0.7rem;
}
.image-story figure + div figure {
    margin-top: 2rem;
}
.hero-image {
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
}
.hero-image img {
    max-height: 580px;
    object-fit: cover;
}
.about-title {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.about-title img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
}
.practice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
}
.practice > div {
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
}
.practice h2 {
    font-size: 1.12rem;
    margin-bottom: 0.5rem;
}
.contact {
    padding-top: 4rem;
}
.email {
    font-size: clamp(1.7rem, 4vw, 3.6rem);
    letter-spacing: -0.04em;
    word-break: break-word;
}
.mono {
    font-family: var(--mono);
    color: var(--ink);
}
@media (max-width: 800px) {
    .shell {
        width: min(100% - 2.5rem, 1180px);
    }
    .header-row {
        min-height: auto;
        padding: 1rem 0;
        flex-wrap: wrap;
        gap: 0.7rem;
    }
    .header-row nav {
        order: 3;
        width: 100%;
        margin: 0;
        justify-content: space-between;
    }
    .intro-grid,
    .feature,
    .two-col,
    .image-story {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .destinations {
        grid-template-columns: 1fr;
    }
    .destination {
        min-height: 230px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .facts {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 1.5rem 0 0;
    }
    .facts dl {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    .facts div {
        margin: 0;
    }
    .page {
        padding: 3rem 0;
    }
    .page-title,
    .feature,
    .section {
        padding-bottom: 3rem;
    }
    .practice {
        grid-template-columns: 1fr;
    }
    .site-footer {
        flex-direction: column;
    }
    .about-title {
        align-items: flex-start;
    }
    .about-title img {
        width: 92px;
        height: 92px;
    }
}
@media (max-width: 430px) {
    body {
        font-size: 16px;
    }
    .facts dl {
        grid-template-columns: 1fr;
    }
    .about-title {
        display: block;
    }
    .about-title img {
        margin-bottom: 1.5rem;
    }
}
.home-identity {
    min-width: 0;
}
.home-portrait {
    display: block;
    width: 168px;
    height: 168px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
}
.destination-preview {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin: 0.5rem 0 1.25rem;
    border-radius: 3px;
    transition: filter 0.2s ease;
}
.destination-preview--portrait {
    object-fit: contain;
    background: var(--raised);
}
.destination {
    transition: background 0.2s ease;
}
.destination:last-child {
    border-right: 0;
}
.destination > span:last-child {
    padding-top: 1.75rem;
    transition: transform 0.2s ease;
}
.destination:hover > span:last-child,
.destination:focus-visible > span:last-child {
    transform: translateX(4px);
}
.destination:focus-visible {
    background: var(--raised);
}
.intro-grid > * {
    min-width: 0;
}
.intro-grid h1 {
    font-size: clamp(2.6rem, 5.5vw, 5.4rem);
}
.theme-toggle {
    min-width: 44px;
    min-height: 44px;
}
.header-row nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
@media (max-width: 800px) {
    .home-portrait {
        width: 120px;
        height: 120px;
    }
    .destination-preview {
        height: 190px;
    }
    .destination {
        min-height: 0;
    }
    .intro-grid h1 {
        font-size: clamp(2.5rem, 10vw, 4.5rem);
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
.identity-badge {
    width: 240px;
    margin-bottom: 1rem;
}
.identity-flip {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    perspective: 900px;
}
.identity-rotor {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.identity-badge[data-side="logo"] .identity-rotor {
    transform: rotateY(180deg);
}
.identity-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    border: 1px solid var(--line);
    object-fit: cover;
}
.identity-back {
    transform: rotateY(180deg);
    display: grid;
    place-items: center;
    background: #14181b;
    overflow: hidden;
}
.identity-back img {
    width: 74%;
    height: 74%;
    object-fit: contain;
}
.identity-caption {
    height: 48px;
    display: grid;
    place-items: center;
}
.identity-link {
    opacity: 0;
    pointer-events: none;
    font: 500 0.82rem var(--mono);
    transition: opacity 0.15s;
}
.identity-badge:hover .identity-link,
.identity-badge:focus-within .identity-link {
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 800px) {
    .identity-badge {
        width: 120px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .identity-rotor,
    .identity-badge[data-side="logo"] .identity-rotor {
        transform: none;
    }
    .identity-back {
        transform: none;
        visibility: hidden;
    }
    .identity-badge[data-side="logo"] .identity-front {
        visibility: hidden;
    }
    .identity-badge[data-side="logo"] .identity-back {
        visibility: visible;
    }
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
