:root {
    --paper: #f4f0e7;
    --paper-light: #fbf8f1;
    --forest: #173c31;
    --forest-dark: #0d2a22;
    --ink: #20251f;
    --muted: #676a62;
    --accent: #a47d3c;
    --line: #d7cfbf;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shell: 1180px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

main p a,
.content-panel a,
.about-copy a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(164, 125, 60, 0.45);
    text-underline-offset: 0.18em;
    transition: color .2s ease, text-decoration-color .2s ease;
}

main p a:hover,
.content-panel a:hover,
.about-copy a:hover {
    color: var(--forest);
    text-decoration-color: var(--forest);
}
.explore-copy a:hover {
    color: var(--forest);
    text-decoration-color: var(--forest);
}


.site-shell {
    width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 240, 231, 0.96);
    border-bottom: 1px solid rgba(40, 55, 45, 0.12);
    backdrop-filter: blur(10px);
}
.header-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.brand {
    position: relative;
    z-index: 60;
    display: block;
    width: 138px;
    height: 88px;
}

.brand-logo {
    position: absolute;
    top: 10px;
    left: 0;
    display: block;
    width: 138px;
    height: 138px;
    object-fit: cover;
    border-radius: 50%;
}


.primary-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); }
.nav-link {
    position: relative;
    padding: 2rem 0;
    text-transform: uppercase;
    font-family: var(--serif);
    font-size: .82rem;
    letter-spacing: .12em;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 1.25rem;
    height: 1px;
    background: var(--accent);
    transition: right .2s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.header-actions { justify-self: end; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.nav-toggle { display: none; }

.hero { position: relative; min-height: 460px; display: grid; align-items: stretch; overflow: hidden; }
.hero-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 23, 18, .86) 0%, rgba(9, 23, 18, .58) 38%, rgba(9, 23, 18, .08) 72%),
        url('/assets/images/homepage/logo.jpg') 20% 40% / cover no-repeat;
    transform: scale(1.02);
}
.hero-content {
    position: relative;
    z-index: 1;
    align-self: center;
    color: white;
    padding-block: 5rem 2rem;
}
.hero-content h1 {
    margin: .2rem 0 1rem;
    max-width: 820px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: .88;
}
.hero-content > p:not(.eyebrow) { max-width: 880px; font-size: 1.05rem; }
.eyebrow {
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 1.6rem;
    font-weight: 700;
}

.accent { color: var(--accent); }
.rule { width: 180px; height: 1px; background: var(--accent); margin: 1.5rem 0; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: .95rem 1.4rem;
    border: 1px solid currentColor;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
    font-weight: 700;
}
.button-primary { background: var(--forest); color: white; border-color: rgba(255,255,255,.6); }
.button-primary:hover { background: var(--forest-dark); }


.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-intro {
    background: var(--paper);
    padding-top: clamp(2rem, 4vw, 3rem);
}

.centered {
    text-align: center;
}

.section-heading {
    max-width: 1000px;
    margin: 0 auto 2.5rem;
}

.section-heading .eyebrow {
    margin: 0 0 .25rem;
}

.section-heading h2,
.journal-intro h2,
.page-hero h1,
.content-panel h2 {
    margin: .35rem 0 .6rem;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
}

.section-heading h2 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.section-heading > p:not(.eyebrow) {
    max-width: 800px;
    margin: 0 auto;
}



.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.path-card { background: var(--paper-light); border: 1px solid var(--line); }
.card-image,
.journal-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-image {
    aspect-ratio: 4 / 2.45;
}

.image-learn {
    background-image: url('/assets/images/homepage/learn.jpg');
}

.image-build {
    background-image: url('/assets/images/homepage/build.jpg');
}

.image-explore {
    background-image: url('/assets/images/homepage/explore.jpg');
    background-size: 100%;
    background-position: 40% 40%;
}
.card-body { padding: 1.5rem; }
.card-body h3 { margin: 0 0 .8rem; font: 400 2rem/1 var(--serif); text-transform: uppercase; letter-spacing: .04em; }
.card-body h3::after { content: ''; display: block; width: 34px; height: 1px; background: var(--accent); margin-top: .8rem; }
.card-body a, .journal-intro a { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; }

.section-journal { padding-top: 0; }
.journal-panel { border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; grid-template-columns: 190px 1fr; gap: 2rem; }
.journal-intro h2 { font-size: 2rem; }
.journal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.journal-image { aspect-ratio: 1.45 / 1; }
.image-fish { background-position: 6% 88%; }
.image-rod { background-position: 48% 82%; }
.image-launch { background-position: 77% 61%; }
.image-fly { background-position: 99% 88%; }
.kicker { margin: .7rem 0 .25rem; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; }
.journal-card h3 { margin: 0; font: 400 1rem/1.35 var(--serif); }

.trust-section { padding-top: 0; }
.trust-grid { border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid article { padding: 1.5rem; display: grid; gap: .35rem; border-right: 1px solid var(--line); }
.trust-grid article:last-child { border-right: 0; }
.trust-grid strong { font-family: var(--serif); }
.trust-grid span { color: var(--muted); font-size: .82rem; }

.page-hero { background: var(--forest); color: white; padding: clamp(4rem, 8vw, 7rem) 0; }
.page-hero .site-shell { max-width: 900px; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6rem); }
.page-hero p { max-width: 700px; font-size: 1.1rem; color: rgba(255,255,255,.82); }
.content-section { padding: 5rem 0; }
.content-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; }
.content-panel { background: var(--paper-light); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); }
.content-panel h2 { font-size: 2.5rem; }
.feature-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.feature-list li { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }

.site-footer { background: var(--forest); color: white; padding-top: 3.5rem; }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) 1fr 1fr 1.6fr;
    gap: 3rem;
}
.site-footer h2 { margin: 0 0 .8rem; text-transform: uppercase; letter-spacing: .1em; font: 600 .72rem/1 var(--sans); }
.site-footer section { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.75); font-size: .82rem; }

.brand-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: auto;
    height: auto;
    max-width: 100%;
}

.footer-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: contain;
    flex: 0 0 72px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.brand-copy strong {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.brand-copy small {
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.signup-form { display: flex; width: 100%; margin-top: .6rem; }
.signup-form input { width: 100%; border: 0; padding: .8rem; }
.signup-form button { border: 1px solid rgba(255,255,255,.55); background: transparent; color: white; padding: 0 1rem; }

.about-hero,
.explore-hero {
    position: relative;
    min-height: 0;
    padding: 3.25rem 0;
    overflow: hidden;
}

.about-hero .site-shell,
.explore-hero .site-shell {
    position: relative;
    z-index: 1;
    padding: 0;
}

.about-hero h1,
.explore-hero h1 {
    max-width: 700px;
    margin: .35rem 0 .8rem;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: .98;
}

.about-hero p:not(.eyebrow),
.explore-hero p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 0;
    font-size: 1rem;
}

.about-intro,
.explore-intro {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

.about-split,
.explore-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.about-image,
.explore-image {
    max-height: 340px;
    overflow: hidden;
    border-radius: 4px;
}

.about-image img,
.explore-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-founder .about-image {
    height: 400px;
}

.about-founder .about-image img {
    object-position: center 35%;
}

.about-region .about-image {
    height: 300px;
}

.about-region .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 60%;
    transform: scale(1.68);
}

.about-intro,
.about-region,
.about-philosophy,
.about-founder,
.about-closing {
    padding: 2rem 0;
}

.about-hero {
    background:
        linear-gradient(
            90deg,
            rgba(9, 23, 18, .78) 0%,
            rgba(9, 23, 18, .48) 48%,
            rgba(9, 23, 18, .12) 100%
        ),
        url("/assets/images/about/hero.jpg") 58% center / cover no-repeat;
}

.explore-hero {
    background:
        linear-gradient(
            90deg,
            rgba(9, 23, 18, .78) 0%,
            rgba(9, 23, 18, .48) 48%,
            rgba(9, 23, 18, .12) 100%
        ),
        url("/assets/images/explore/hero.jpg") center center / cover no-repeat;
}

.explore-regions {
    padding-top: 2rem;
}

.explore-regions .section-heading {
    margin-bottom: 1.5rem;
}

.footer-bottom { margin-top: 2.5rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; color: rgba(255,255,255,.6); font-size: .72rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 900px) {
    .header-inner { grid-template-columns: 1fr auto; }
    .header-actions { display: none; }
    .nav-toggle { display: inline-flex; justify-self: end; background: none; border: 1px solid var(--forest); padding: .6rem .8rem; text-transform: uppercase; letter-spacing: .08em; }
    .primary-nav { display: none; position: absolute; top: 88px; left: 0; right: 0; padding: 1rem var(--gutter) 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
    .primary-nav.is-open { display: flex; }
    .nav-link { padding: .65rem 0; }
    .nav-link::after { bottom: .35rem; }
    .path-grid, .journal-grid, .trust-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .journal-panel { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
    .trust-grid article:nth-child(2) { border-right: 0; }
    .trust-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
    .brand-copy { display: none; }
    .hero { min-height: 500px; }
    .hero-image { background-position: 56% center; }
    .hero-content h1 { font-size: 4rem; }
    .path-grid, .journal-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
    .trust-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-grid article:last-child { border-bottom: 0; }
    .footer-bottom { flex-direction: column; gap: .5rem; }
}
