:root {
    --ink: #182522;
    --forest: #17342f;
    --forest-deep: #0e2420;
    --paper: #f3efe6;
    --paper-deep: #e7dfd0;
    --white: #fffdf8;
    --terracotta: #c96f4e;
    --terracotta-deep: #9f4f35;
    --sage: #8da092;
    --sand: #d8bc8b;
    --line: rgba(24, 37, 34, 0.18);
    --line-light: rgba(255, 253, 248, 0.22);
    --display: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
    --sans: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    --container: min(1240px, calc(100vw - 64px));
    --header-height: 88px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(201, 111, 78, 0.72);
    outline-offset: 4px;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 16px;
    color: var(--white);
    background: var(--forest);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    color: var(--white);
    transform: translateY(0);
}

.travel-container {
    width: var(--container);
    margin-inline: auto;
}

.section-space {
    padding-block: 144px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 26px;
    color: var(--terracotta-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.section-kicker--light {
    color: #dfaa90;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 430px);
    align-items: end;
    gap: 80px;
    margin-bottom: 66px;
}

.section-heading h2,
.section-intro h2,
.services__title h2,
.planners h2,
.closing-cta h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.section-heading h2 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
}

.section-heading > p {
    margin: 0 0 8px;
    color: rgba(24, 37, 34, 0.72);
    font-size: 15px;
    line-height: 1.9;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-content: center;
    gap: 18px;
    color: var(--white);
    background: var(--forest-deep);
    text-align: center;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.page-loader p {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.24em;
}

.page-loader__mark {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 32px;
}

.page-loader__mark span {
    display: block;
    width: 2px;
    margin-inline: 4px;
    background: var(--paper);
    animation: loader-line 0.9s ease-in-out infinite alternate;
}

.page-loader__mark span:nth-child(1) { height: 12px; }
.page-loader__mark span:nth-child(2) { height: 28px; animation-delay: 0.16s; }
.page-loader__mark span:nth-child(3) { height: 18px; animation-delay: 0.32s; }

@keyframes loader-line {
    to { transform: scaleY(0.45); opacity: 0.45; }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: color 0.35s ease, background-color 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled,
body[data-page="profile"] .site-header {
    color: var(--ink);
    background: rgba(243, 239, 230, 0.94);
    border-bottom-color: var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex: 0 0 auto;
}

.brand__seal {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    color: var(--forest);
    background: var(--paper);
    font-family: var(--display);
    font-size: 22px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.brand__seal img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transform: scale(1.5);
}

.is-scrolled .brand__seal,
body[data-page="profile"] .brand__seal,
.brand--footer .brand__seal {
    color: var(--paper);
    background: var(--forest);
    border-color: var(--forest);
}

.brand__copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand__copy strong {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.brand__copy small {
    margin-top: 7px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
    margin-left: auto;
    margin-right: clamp(28px, 4vw, 58px);
}

.site-nav__links {
    display: contents;
}

.site-nav__panel {
    display: none;
}

.site-nav a {
    position: relative;
    padding-block: 31px;
    font-size: 13px;
    letter-spacing: 0.06em;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 17px 12px 20px;
    color: var(--forest);
    background: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.is-scrolled .header-cta,
body[data-page="profile"] .header-cta {
    color: var(--white);
    background: var(--forest);
}

.header-cta:hover {
    color: var(--white);
    background: var(--terracotta);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
}

.nav-toggle > span:not(.sr-only) {
    display: block;
    width: 26px;
    height: 1px;
    margin: 7px auto;
    background: currentColor;
    transition: transform 0.3s ease;
}

.hero {
    position: relative;
    display: flex;
    min-height: 790px;
    height: min(960px, 100svh);
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--forest-deep);
}

.hero__media,
.hero__veil {
    position: absolute;
    inset: 0;
}

.hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
    transform: scale(1.035);
    animation: hero-breathe 16s ease-out both;
}

@keyframes hero-breathe {
    to { transform: scale(1); }
}

.hero__veil {
    background:
        linear-gradient(90deg, rgba(8, 28, 25, 0.82) 0%, rgba(8, 28, 25, 0.46) 46%, rgba(8, 28, 25, 0.12) 72%),
        linear-gradient(0deg, rgba(7, 23, 20, 0.5) 0%, transparent 36%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 74px;
}

.hero__eyebrow {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero__eyebrow span + span {
    position: relative;
    padding-left: 32px;
}

.hero__eyebrow span + span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 15px;
    height: 1px;
    background: currentColor;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(72px, 8.2vw, 126px);
    font-weight: 400;
    line-height: 0.93;
    letter-spacing: -0.055em;
}

.hero h1 em {
    color: #e9d0ae;
    font-style: italic;
    font-weight: 400;
}

.hero__lead {
    max-width: 500px;
    margin: 37px 0 0 5px;
    color: rgba(255, 253, 248, 0.86);
    font-size: 16px;
    line-height: 1.95;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 36px 0 0 5px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--light {
    color: var(--forest);
    background: var(--white);
}

.button--light:hover {
    color: var(--white);
    background: var(--terracotta);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.text-link--light {
    color: var(--white);
}

.hero-card {
    position: absolute;
    right: max(32px, calc((100vw - 1240px) / 2));
    bottom: 82px;
    z-index: 3;
    width: 280px;
    padding: 28px 30px 26px;
    color: var(--ink);
    background: rgba(243, 239, 230, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-card__label {
    margin: 0 0 20px;
    color: var(--terracotta-deep);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hero-card > strong {
    display: block;
    font-family: var(--display);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-card > span {
    display: block;
    margin-top: 2px;
    color: rgba(24, 37, 34, 0.68);
    font-size: 12px;
}

.hero-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 21px 0;
}

.hero-card__meta span {
    padding: 4px 8px;
    border: 1px solid var(--line);
    font-size: 9px;
    letter-spacing: 0.04em;
}

.hero-card > a {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
}

.hero__index {
    position: absolute;
    bottom: 34px;
    left: max(32px, calc((100vw - 1240px) / 2));
    z-index: 2;
    font-size: 9px;
    letter-spacing: 0.16em;
    opacity: 0.7;
}

.travel-note {
    background: var(--forest);
    color: var(--white);
}

.travel-note__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.travel-note p {
    display: flex;
    min-height: 128px;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 24px 36px;
    border-left: 1px solid var(--line-light);
}

.travel-note p:last-child {
    border-right: 1px solid var(--line-light);
}

.travel-note strong {
    font-family: var(--display);
    font-size: 33px;
    font-weight: 400;
    white-space: nowrap;
}

.travel-note span {
    color: rgba(255, 253, 248, 0.68);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

.manifesto {
    background: var(--paper);
}

.manifesto__grid {
    display: grid;
    grid-template-columns: minmax(330px, 0.9fr) minmax(460px, 1.1fr);
    gap: clamp(70px, 10vw, 150px);
}

.section-intro--sticky {
    align-self: start;
    position: sticky;
    top: 130px;
}

.section-intro h2 {
    font-size: clamp(52px, 5.6vw, 78px);
    line-height: 1.08;
}

.section-intro p {
    max-width: 430px;
    margin: 34px 0 0;
    color: rgba(24, 37, 34, 0.68);
    line-height: 1.95;
}

.principle-card {
    display: grid;
    min-height: 205px;
    grid-template-columns: 70px 1fr;
    gap: 28px;
    align-items: start;
    padding: 39px 34px;
    border-top: 1px solid var(--line);
}

.principle-card:last-child {
    border-bottom: 1px solid var(--line);
}

.principle-card--accent {
    color: var(--white);
    background: var(--terracotta);
    border-color: var(--terracotta);
}

.principle-card__number {
    padding-top: 5px;
    font-family: var(--display);
    font-size: 14px;
}

.principle-card h3 {
    margin: 0 0 15px;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 500;
}

.principle-card p {
    max-width: 430px;
    margin: 0;
    color: rgba(24, 37, 34, 0.68);
    font-size: 14px;
    line-height: 1.9;
}

.principle-card--accent p {
    color: rgba(255, 253, 248, 0.78);
}

.routes {
    background: var(--white);
}

.route-grid {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr;
    grid-template-rows: repeat(2, 410px);
    gap: 20px;
}

.route-card {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: var(--forest);
}

.route-card--wide {
    grid-row: 1 / 3;
}

.route-card > a {
    position: absolute;
    inset: 0;
    display: block;
    color: var(--white);
}

.route-card__media,
.route-card__overlay,
.route-card__abstract {
    position: absolute;
    inset: 0;
}

.route-card__media img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.route-card--wide .route-card__media img {
    object-position: 45% center;
}

.route-card:hover .route-card__media img {
    transform: scale(1.045);
}

.route-card__overlay {
    background: linear-gradient(0deg, rgba(10, 28, 24, 0.75), transparent 65%);
}

.route-card__top {
    position: absolute;
    top: 28px;
    right: 30px;
    left: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.route-card__body {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
}

.route-card__body p {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.route-card__body h3 {
    max-width: 520px;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(28px, 3.2vw, 50px);
    font-weight: 400;
    line-height: 1.22;
}

.route-card:not(.route-card--wide) .route-card__body h3 {
    font-size: clamp(24px, 2.3vw, 34px);
}

.route-card__arrow {
    position: absolute;
    right: 0;
    bottom: 2px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.route-card:hover .route-card__arrow {
    color: var(--forest);
    background: var(--white);
    transform: rotate(8deg);
}

.route-card--sand,
.route-card--sand > a {
    color: var(--ink);
    background: #d9c6a2;
}

.route-card__abstract {
    overflow: hidden;
    background: linear-gradient(180deg, #c6d1c8 0%, #d7d6bd 57%, #d4ad7f 58%, #c17654 100%);
}

.route-card__abstract .sun {
    position: absolute;
    top: 68px;
    right: 21%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 253, 248, 0.62);
    border-radius: 50%;
    background: rgba(255, 244, 211, 0.42);
}

.coast {
    position: absolute;
    left: -8%;
    width: 116%;
    height: 120px;
    border-radius: 50% 50% 0 0;
    transform: rotate(-4deg);
}

.coast--one {
    bottom: 70px;
    background: #6b857a;
}

.coast--two {
    bottom: 0;
    background: #294c45;
    transform: rotate(3deg);
}

.route-card__body--dark {
    color: var(--white);
}

.route-card__arrow--dark {
    border-color: rgba(255, 255, 255, 0.48);
}

.services {
    color: var(--white);
    background: var(--forest-deep);
}

.services__title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 70px;
}

.services__title h2 {
    font-size: clamp(50px, 6vw, 86px);
    line-height: 1.02;
}

.service-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    grid-template-rows: 340px 230px 230px;
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.service-card > span {
    display: block;
    margin-bottom: 48px;
    color: #dfaa90;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.service-card h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 31px;
    font-weight: 400;
    line-height: 1.25;
}

.service-card p {
    max-width: 440px;
    margin: 22px 0 0;
    color: rgba(255, 253, 248, 0.64);
    font-size: 13px;
    line-height: 1.85;
}

.service-card--large {
    grid-row: 1 / 4;
    padding: 55px 56px;
    background: var(--terracotta);
}

.service-card--large > span,
.service-card--large p {
    color: rgba(255, 253, 248, 0.76);
}

.service-card--large h3 {
    font-size: clamp(42px, 4.3vw, 64px);
}

.service-card--large a {
    position: absolute;
    right: 56px;
    bottom: 52px;
    left: 56px;
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.36);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.service-card--image {
    padding: 0;
}

.service-card--image img {
    height: 100%;
    object-fit: cover;
}

.service-card--line {
    display: grid;
    grid-template-columns: 0.34fr 0.66fr;
    grid-template-rows: auto 1fr;
    align-items: start;
}

.service-card--line > span {
    grid-row: 1 / 3;
    margin: 0;
}

.service-card--line h3 {
    font-size: 28px;
}

.service-card--line p {
    margin-top: 16px;
}

.traveler-story {
    background: var(--paper-deep);
}

.traveler-story__grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.85fr) minmax(440px, 1.15fr);
    gap: clamp(60px, 9vw, 140px);
    align-items: center;
}

.traveler-story__photo {
    position: relative;
}

.traveler-story__photo img {
    aspect-ratio: 0.84;
    object-fit: cover;
}

.traveler-story__photo span {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 20px;
    color: var(--white);
    background: var(--forest);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.traveler-story__quote {
    margin: 0;
}

.quote-mark {
    display: block;
    height: 74px;
    color: var(--terracotta);
    font-family: var(--display);
    font-size: 116px;
    line-height: 1;
}

.traveler-story blockquote {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(38px, 4.5vw, 61px);
    font-weight: 400;
    line-height: 1.34;
    letter-spacing: -0.035em;
}

.traveler-story figcaption {
    display: flex;
    flex-direction: column;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.traveler-story figcaption strong {
    font-family: var(--display);
    font-size: 18px;
}

.traveler-story figcaption span {
    margin-top: 4px;
    color: rgba(24, 37, 34, 0.58);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.planners {
    background: var(--white);
}

.planners__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 52px 100px;
}

.planners h2 {
    font-size: clamp(48px, 5.5vw, 78px);
    line-height: 1.08;
}

.planners__intro {
    max-width: 460px;
    align-self: end;
    margin: 0 0 8px auto;
    color: rgba(24, 37, 34, 0.66);
    line-height: 1.9;
}

.planner-list {
    grid-column: 1 / 3;
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.planner {
    display: grid;
    grid-template-columns: 82px 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 26px 12px;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.3s ease, background-color 0.3s ease;
}

.planner:hover {
    padding-left: 24px;
    background: var(--paper);
}

.planner__initial {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    color: var(--white);
    background: var(--forest);
    border-radius: 50%;
    font-family: var(--display);
    font-size: 25px;
}

.planner:nth-child(2) .planner__initial { background: var(--terracotta); }
.planner:nth-child(3) .planner__initial { color: var(--ink); background: var(--sand); }

.planner h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
}

.planner p {
    margin: 4px 0 0;
    color: rgba(24, 37, 34, 0.56);
    font-size: 12px;
}

.planner > span:last-child {
    color: var(--terracotta-deep);
    font-family: var(--display);
    font-size: 18px;
}

.journal {
    background: var(--paper);
}

.journal-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    grid-template-rows: repeat(2, 320px);
    gap: 20px;
}

.journal-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
}

.journal-card > a {
    display: block;
    height: 100%;
}

.journal-card--feature {
    grid-row: 1 / 3;
    color: var(--white);
    border: 0;
}

.journal-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.journal-card:hover img {
    transform: scale(1.035);
}

.journal-card--feature::after,
.journal-card--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9, 27, 24, 0.76), transparent 64%);
    pointer-events: none;
}

.journal-card__copy {
    position: absolute;
    right: 34px;
    bottom: 32px;
    left: 34px;
    z-index: 2;
}

.journal-card__copy span,
.journal-card--text > a > span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.journal-card__copy h3 {
    max-width: 540px;
    margin: 14px 0 0;
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 43px);
    font-weight: 400;
    line-height: 1.26;
}

.journal-card__copy p {
    margin: 17px 0 0;
    font-size: 10px;
    letter-spacing: 0.06em;
    opacity: 0.78;
}

.journal-card--text > a {
    display: flex;
    flex-direction: column;
    padding: 35px 38px;
    background: var(--white);
}

.journal-card--text h3 {
    margin: 26px 0 0;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.32;
}

.journal-card--text p {
    margin: 15px 0 0;
    color: rgba(24, 37, 34, 0.6);
    font-size: 13px;
}

.journal-card--text small {
    margin-top: auto;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.journal-card--image {
    color: var(--white);
    border: 0;
}

.journal-card--image .journal-card__copy h3 {
    font-size: 30px;
}

.closing-cta {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--forest-deep);
}

.closing-cta__media,
.closing-cta__veil {
    position: absolute;
    inset: 0;
}

.closing-cta__media img {
    height: 100%;
    object-fit: cover;
    object-position: 56% 54%;
}

.closing-cta__veil {
    background: linear-gradient(90deg, rgba(8, 28, 25, 0.84), rgba(8, 28, 25, 0.24));
}

.closing-cta__content {
    position: relative;
    z-index: 2;
}

.closing-cta__content > span {
    display: block;
    margin-bottom: 28px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.closing-cta h2 {
    max-width: 780px;
    font-size: clamp(58px, 7vw, 100px);
    line-height: 1.02;
}

.closing-cta .button {
    margin-top: 44px;
}

.site-footer {
    color: rgba(255, 253, 248, 0.72);
    background: var(--forest-deep);
}

.site-footer__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 75px 0 58px;
    border-bottom: 1px solid var(--line-light);
}

.brand--footer {
    color: var(--white);
}

.brand--footer .brand__seal {
    color: var(--forest);
    background: var(--paper);
    border-color: var(--paper);
}

.site-footer__top p {
    margin: 0;
    color: var(--white);
    font-family: var(--display);
    font-size: 23px;
    line-height: 1.5;
    text-align: right;
}

.site-footer__links {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    gap: 70px;
    padding: 58px 0 64px;
}

.site-footer__links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.site-footer__links strong {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.site-footer__links a,
.site-footer__links span {
    font-size: 12px;
}

.site-footer__links a:hover {
    color: var(--white);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    padding: 24px 0 34px;
    border-top: 1px solid var(--line-light);
    font-size: 10px;
    letter-spacing: 0.06em;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--white);
    background: var(--terracotta);
    border: 0;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--forest);
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
}

body.is-ready .reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.is-ready .reveal-item:nth-child(2) { transition-delay: 0.08s; }
body.is-ready .reveal-item:nth-child(3) { transition-delay: 0.16s; }
body.is-ready .reveal-item:nth-child(4) { transition-delay: 0.24s; }

/* Profile page */
.profile-page {
    min-height: 100vh;
    padding: 150px 0 120px;
    background:
        radial-gradient(circle at 85% 8%, rgba(201, 111, 78, 0.13), transparent 30%),
        var(--paper);
}

.profile-heading {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 56px;
}

.profile-heading .section-kicker {
    margin-bottom: 18px;
}

.profile-heading h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(52px, 6vw, 84px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.profile-heading p {
    max-width: 470px;
    justify-self: end;
    margin: 0;
    color: rgba(24, 37, 34, 0.64);
    line-height: 1.9;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(290px, 0.72fr) minmax(520px, 1.28fr);
    gap: 24px;
    align-items: start;
}

.user-profile-card,
.user-info-card,
.training-records-card,
.user-actions-card {
    border: 1px solid var(--line);
    background: var(--white);
}

.user-profile-card {
    position: sticky;
    top: 116px;
    overflow: hidden;
}

.profile-cover {
    position: relative;
    min-height: 220px;
    padding: 32px;
    color: var(--white);
    background: var(--forest);
}

.profile-cover::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -80px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.035), 0 0 0 56px rgba(255, 255, 255, 0.025);
}

.profile-avatar {
    position: relative;
    z-index: 1;
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    color: var(--forest);
    background: var(--paper);
    border-radius: 50%;
    font-family: var(--display);
    font-size: 27px;
}

.profile-status {
    position: absolute;
    right: 0;
    bottom: 4px;
    width: 12px;
    height: 12px;
    background: #81a970;
    border: 3px solid var(--paper);
    border-radius: 50%;
}

.profile-cover h2,
.profile-cover .register-section {
    position: relative;
    z-index: 1;
    margin-top: 29px;
}

.profile-cover h2,
.register-section h2 {
    margin-bottom: 7px;
    font-family: var(--display);
    font-size: 26px;
    font-weight: 500;
}

.profile-cover > p,
.register-section p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 253, 248, 0.65);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.register-btn {
    margin-top: 15px;
    padding: 9px 13px;
    color: var(--forest);
    background: var(--paper);
    border: 0;
    font-size: 11px;
    font-weight: 700;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 28px 18px;
}

.stat-item {
    padding: 3px 8px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-number {
    font-family: var(--display);
    font-size: 27px;
    line-height: 1.2;
}

.stat-label {
    margin-top: 7px;
    color: rgba(24, 37, 34, 0.55);
    font-size: 9px;
    letter-spacing: 0.06em;
}

.profile-main {
    display: grid;
    gap: 24px;
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
}

.card-heading h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 23px;
    font-weight: 500;
}

.card-heading span {
    color: var(--terracotta-deep);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.unlogged-content {
    padding: 46px 34px;
    text-align: center;
}

.unlogged-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 23px;
    place-items: center;
    color: var(--terracotta);
    background: var(--paper);
    border-radius: 50%;
}

.unlogged-icon svg {
    width: 34px;
    height: 34px;
}

.unlogged-content h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 31px;
    font-weight: 500;
}

.unlogged-content > p {
    margin: 10px 0 25px;
    color: rgba(24, 37, 34, 0.6);
    font-size: 13px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 540px;
    margin: 0 auto 28px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 12px 14px;
    background: var(--paper);
    font-size: 12px;
}

.register-now-btn,
.action-button {
    min-height: 46px;
    padding: 11px 21px;
    color: var(--white);
    background: var(--forest);
    border: 1px solid var(--forest);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.register-now-btn:hover,
.action-button:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 28px 28px;
}

.info-item {
    padding: 18px 14px;
    border-bottom: 1px solid var(--line);
}

.info-item label {
    display: block;
    margin-bottom: 6px;
    color: rgba(24, 37, 34, 0.52);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.info-value {
    font-family: var(--display);
    font-size: 18px;
}

.info-item--wide {
    grid-column: 1 / 3;
}

.training-list {
    padding: 14px 28px 28px;
}

.empty-training {
    width: 100%;
    padding: 36px 16px 24px;
    text-align: center;
}

.empty-training strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
}

.empty-training p {
    margin: 0 0 20px;
    color: rgba(24, 37, 34, 0.56);
    font-size: 12px;
}

.training-list#logged-training {
    display: flex;
    flex-direction: column;
}

.training-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 17px;
    align-items: center;
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.training-item:last-child {
    border-bottom: 0;
}

.training-date {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--white);
    background: var(--terracotta);
    font-family: var(--display);
    font-size: 14px;
    line-height: 1.1;
    text-align: center;
}

.training-details h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
}

.training-details p {
    margin: 3px 0 0;
    color: rgba(24, 37, 34, 0.56);
    font-size: 11px;
}

.training-status {
    color: var(--terracotta-deep);
    font-size: 10px;
    font-weight: 700;
}

.user-actions-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
}

.user-actions-card p {
    margin: 0;
    color: rgba(24, 37, 34, 0.6);
    font-size: 12px;
}

.action-button--secondary {
    color: var(--ink);
    background: transparent;
    border-color: var(--line);
}

@media (max-width: 1100px) {
    :root {
        --container: min(100% - 48px, 980px);
    }

    .site-nav {
        gap: 22px;
        margin-right: 28px;
    }

    .site-nav a {
        font-size: 12px;
    }

    .hero-card {
        right: 24px;
    }

    .travel-note p {
        padding-inline: 20px;
    }

    .manifesto__grid {
        gap: 70px;
    }

    .service-grid {
        grid-template-rows: 330px 280px;
    }

    .profile-layout {
        grid-template-columns: 320px 1fr;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 76px;
    }

    .nav-toggle {
        display: block;
        order: 3;
        margin-left: 15px;
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .site-nav {
        position: absolute;
        top: var(--header-height);
        right: 0;
        left: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        min-height: 0;
        margin: 0;
        padding: 28px 24px max(28px, env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        contain: layout paint;
        color: var(--ink);
        background: var(--paper);
        opacity: 0;
        transform: translateY(-12px);
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .site-nav__links {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .site-nav__panel {
        display: grid;
        flex: 0 0 auto;
        gap: 18px;
        width: 100%;
        margin-top: auto;
        padding-top: 36px;
    }

    .site-nav__tagline {
        margin: 0;
        max-width: 16em;
        font-family: var(--display);
        font-size: clamp(22px, 6vw, 28px);
        font-weight: 400;
        line-height: 1.25;
        letter-spacing: -0.03em;
        color: var(--ink);
    }

    .site-nav a.site-nav__cta {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 52px;
        margin-top: 0;
        padding: 0 18px;
        border: 0;
        color: var(--paper);
        background: var(--forest);
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.06em;
    }

    .site-nav a.site-nav__cta::after {
        display: none;
    }

    .site-nav__meta {
        margin: 0;
        color: rgba(24, 37, 34, 0.55);
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    /*
     * Android browsers may treat a fixed descendant as header-bound when its
     * ancestor has backdrop-filter. Disable that compositing layer while the
     * viewport menu is open so the menu always fills the remaining screen.
     */
    body.nav-open .site-header {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        color: var(--ink);
        background: var(--paper);
        border-bottom-color: var(--line);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.nav-open .brand__seal {
        color: var(--paper);
        background: var(--forest);
        border-color: var(--forest);
    }

    .site-nav a {
        flex: 0 0 auto;
        width: 100%;
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
        font-family: var(--display);
        font-size: 24px;
        line-height: 1.3;
        letter-spacing: -0.02em;
    }

    .site-nav a::after {
        display: none;
    }

    @media (max-height: 680px) {
        .site-nav {
            padding-top: 18px;
        }

        .site-nav a {
            padding-block: 9px;
            font-size: 22px;
        }

        .site-nav__panel {
            gap: 12px;
            padding-top: 22px;
        }

        .site-nav__tagline {
            font-size: 20px;
        }

        .site-nav__cta {
            min-height: 46px;
        }
    }

    .header-cta {
        margin-left: auto;
    }

    .hero {
        min-height: 720px;
    }

    .hero-card {
        display: none;
    }

    .travel-note__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .travel-note p:nth-child(3) {
        border-top: 1px solid var(--line-light);
    }

    .travel-note p:nth-child(4) {
        border-top: 1px solid var(--line-light);
    }

    .manifesto__grid,
    .traveler-story__grid,
    .profile-heading,
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .section-intro--sticky,
    .user-profile-card {
        position: static;
    }

    .section-heading {
        gap: 45px;
    }

    .route-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 600px 390px;
    }

    .route-card--wide {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .services__title {
        display: block;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 510px 330px;
    }

    .service-card--large {
        grid-row: auto;
    }

    .service-card--line {
        display: block;
    }

    .service-card--line > span {
        margin-bottom: 38px;
    }

    .traveler-story__photo {
        max-width: 560px;
    }

    .planners__grid {
        grid-template-columns: 1fr;
    }

    .planners__intro,
    .planner-list {
        grid-column: auto;
        justify-self: start;
        margin-left: 0;
    }

    .profile-heading p {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    :root {
        --container: calc(100% - 36px);
    }

    .section-space {
        padding-block: 92px;
    }

    .brand__seal {
        width: 38px;
        height: 38px;
    }

    .brand__copy strong {
        font-size: 18px;
    }

    .brand__copy small {
        font-size: 6px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 720px;
        height: 100svh;
        align-items: flex-end;
    }

    .hero__media img {
        object-position: 60% center;
    }

    .hero__veil {
        background: linear-gradient(0deg, rgba(8, 28, 25, 0.92), rgba(8, 28, 25, 0.12) 82%);
    }

    .hero__content {
        padding: 0 0 108px;
    }

    .hero__eyebrow {
        display: block;
        margin-bottom: 22px;
    }

    .hero__eyebrow span:last-child {
        display: none;
    }

    .hero h1 {
        font-size: clamp(58px, 18vw, 82px);
        line-height: 0.98;
    }

    .hero__lead {
        margin-top: 24px;
        font-size: 14px;
        line-height: 1.8;
    }

    .hero__actions {
        gap: 20px;
        margin-top: 28px;
    }

    .text-link--light {
        display: none;
    }

    .hero__index {
        bottom: 24px;
        left: 18px;
    }

    .travel-note p {
        min-height: 105px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2px;
        padding: 18px;
    }

    .travel-note p:nth-child(odd) {
        border-left: 0;
    }

    .travel-note p:last-child {
        border-right: 0;
    }

    .travel-note strong {
        font-size: 27px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 42px;
    }

    .section-heading h2,
    .section-intro h2,
    .services__title h2,
    .planners h2 {
        font-size: 48px;
    }

    .manifesto__grid {
        gap: 55px;
    }

    .principle-card {
        min-height: 0;
        grid-template-columns: 48px 1fr;
        gap: 10px;
        padding: 30px 13px;
    }

    .principle-card h3 {
        font-size: 25px;
    }

    .route-grid {
        display: block;
    }

    .route-card,
    .route-card--wide {
        min-height: 490px;
        margin-bottom: 14px;
    }

    .route-card__top,
    .route-card__body {
        right: 21px;
        left: 21px;
    }

    .route-card__body h3,
    .route-card:not(.route-card--wide) .route-card__body h3 {
        max-width: calc(100% - 42px);
        font-size: 31px;
    }

    .route-card__arrow {
        width: 42px;
        height: 42px;
    }

    .service-grid {
        display: block;
        border-top: 1px solid var(--line-light);
    }

    .service-card {
        min-height: 320px;
        padding: 30px 25px;
    }

    .service-card--large {
        min-height: 520px;
    }

    .service-card--large h3 {
        font-size: 42px;
    }

    .service-card--large a {
        right: 25px;
        bottom: 30px;
        left: 25px;
    }

    .service-card--image {
        min-height: 380px;
        padding: 0;
    }

    .traveler-story__grid {
        gap: 50px;
    }

    .traveler-story blockquote {
        font-size: 36px;
    }

    .planners__grid {
        gap: 28px;
    }

    .planner {
        grid-template-columns: 58px 1fr;
        gap: 14px;
        padding-inline: 0;
    }

    .planner__initial {
        width: 50px;
        height: 50px;
    }

    .planner > span:last-child {
        display: none;
    }

    .journal-grid {
        display: block;
    }

    .journal-card {
        min-height: 410px;
        margin-bottom: 14px;
    }

    .journal-card--text {
        min-height: 350px;
    }

    .journal-card__copy {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    .journal-card__copy h3,
    .journal-card--image .journal-card__copy h3 {
        font-size: 29px;
    }

    .closing-cta {
        min-height: 650px;
    }

    .closing-cta h2 {
        font-size: 55px;
    }

    .site-footer__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 42px;
    }

    .site-footer__top p {
        font-size: 20px;
        text-align: left;
    }

    .site-footer__links {
        grid-template-columns: 1fr 1fr;
        gap: 45px 24px;
    }

    .site-footer__links > div:last-child {
        grid-column: 1 / 3;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: 9px;
    }

    .profile-page {
        padding: 120px 0 78px;
    }

    .profile-heading {
        gap: 22px;
        margin-bottom: 38px;
    }

    .profile-heading h1 {
        font-size: 52px;
    }

    .profile-layout,
    .profile-main {
        gap: 16px;
    }

    .profile-cover {
        min-height: 210px;
        padding: 27px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
        padding-inline: 19px;
    }

    .info-item--wide {
        grid-column: auto;
    }

    .training-list {
        padding-inline: 20px;
    }

    .training-item {
        grid-template-columns: 52px 1fr;
    }

    .training-status {
        grid-column: 2;
    }

    .user-actions-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}
