/* ═══════════════════════════════════════════════
           ABOUT HERO HEADER (smaller than index nav)
           ═══════════════════════════════════════════════ */

:root {
    --white: #faf8f5;
    --sand: #f0ebe2;
    --stone: #d4cec4;
    --orange: #c8692a;
    --orange-lt: #e07840;
    --orange-pale: #f5e8dc;
    --brown: #6b4c35;
    --dark: #1a1510;
    --mid: #7a6e64;
    --text: #2e2520;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════
   NAVIGATION / HERO
   ═══════════════════════════════════════════════ */

.navigation {
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: stretch;
}

.nav-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 8, 5, 0.35) 0%,
            rgba(10, 8, 5, 0.15) 40%,
            rgba(10, 8, 5, 0.55) 100%);
    z-index: 1;
}

.nav-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.nav-toggle {
    display: none;
    position: absolute;
    top: 22px;
    left: 20px;
    z-index: 4;
    width: 32px;
    height: 28px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.95);
}

.nav-top {
    display: flex;
    width: 100%;
    padding: 1%;
    justify-content: space-between;
}

.nav-left,
.nav-right {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-left a,
.nav-right a {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(14px, 1.3vw, 18px);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    padding: 32px 25px;
    transition: color 0.3s ease;
    font-family: 'Jost', sans-serif;
    padding: 3% 10%;
}

a {
    text-decoration: none;
}

.nav-left a:hover,
.nav-right a:hover,
.navigation .nav-left a:hover,
.navigation .nav-right a:hover {
    color: var(--orange-lt) !important;
}

.nav-toggle:hover span {
    background: var(--orange-lt) !important;
}

.namn h1 em,
.namn h1 .hero-symbol {
    color: var(--orange-lt);
}

.namn {
    margin: auto 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding-bottom: 60px;
    height: 50%;
}

.namn-tag {
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--orange-lt);
    margin-bottom: 12px;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
}

.namn h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 300;
    color: white;
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 12px;
}

.namn-sub {
    font-size: clamp(10px, 1vw, 13px);
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.715);
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
}

@keyframes scroll-line {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    100% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 0;
    }
}

@media (max-width: 850px) {
    .nav-top {
        justify-content: space-between;
    }

    .namn h1 {
        font-size: 8vw;
    }

    .hero-fade {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .nav-toggle {
        display: flex;
    }

    .nav-inner {
        justify-content: center;
        align-items: center;
    }

    .nav-top {
        display: none;
    }

    .navigation.menu-open .nav-top {
        display: flex;
        width: 90%;
        max-width: 420px;
        box-sizing: border-box;
        flex-direction: column;
        position: absolute;
        justify-content: center;
        top: 72px;
        background: rgba(10, 8, 5, 0.85);
        border-radius: 18px;
        padding: 18px;
        gap: 12px;
        z-index: 3;
        margin: 0 auto;
    }

    .nav-left,
    .nav-right {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-left a,
    .nav-right a {
        width: 90%;
        padding: 14px 16px;
        font-size: 14px;
        text-align: center;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 12px;
    }

    .namn {
        padding-top: 86px;
    }

    .nav-scroll-hint {
        bottom: 16px;
    }
}


.about-hero {
    height: 55vh;
    min-height: 340px;
    position: relative;
    background: var(--dark);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 8, 5, 0.2) 0%,
            rgba(10, 8, 5, 0.7) 100%);
    z-index: 1;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    /* Replace with your own photo */
    background-image: url('_DSC4554-DxO_DeepPRIME 3.jpg');
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 8% 60px;
    width: 100%;
}

.about-hero-content .section-label {
    margin-bottom: 10px;
}

.about-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5.5vw, 80px);
    font-weight: 300;
    color: white;
    line-height: 1.05;
    letter-spacing: 2px;
}

.about-hero-title em {
    font-style: italic;
    color: var(--orange-lt);
}

/* ── top-nav (reused from index but stripped of hero height) ── */
.page-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
}

.page-nav .nav-left,
.page-nav .nav-right {
    display: flex;
    align-items: center;
}

.page-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(11px, 1.1vw, 14px);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    padding: 32px 24px;
    transition: color 0.3s ease;
    font-family: 'Jost', sans-serif;
}

.page-nav a:hover {
    color: var(--orange-lt);
}

.page-nav a.active {
    color: var(--orange-lt);
}

/* ── mobile toggle ── */
.nav-toggle {
    display: none;
    position: absolute;
    top: 22px;
    left: 20px;
    z-index: 4;
    width: 32px;
    height: 28px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.95);
}

/* ═══════════════════════════════════════════════
           CHAPTER SECTIONS  (alternating layout)
           ═══════════════════════════════════════════════ */

.chapter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    gap: 40px;
    padding: 0 5%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.chapter.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reversed layout for odd chapters */
.chapter.reverse {
    direction: rtl;
}

.chapter.reverse>* {
    direction: ltr;
}

.chapter-image {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    margin: 3%;
}

#ch-lynx,
#ch-lynx .chapter-image,
#ch-lynx .chapter-image-placeholder {
    background: #0a0a08;
}

.chapter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.chapter:hover .chapter-image img {
    transform: scale(1.04);
}

.chapter-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chapter-image-placeholder span {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--stone);
    font-family: 'Jost', sans-serif;
}

.chapter-text {
    min-height: 320px;
    margin: 3%;
    padding: 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

/* Dark variant for Lynx */
.chapter-text.dark {
    background: #0a0a08;
}

#lynx-text {
    color: #faf8f5a0;
}

.chapter-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(60px, 7vw, 110px);
    font-weight: 300;
    color: var(--sand);
    line-height: 0.85;
    margin-bottom: 28px;
    user-select: none;
}

.chapter-text.dark .chapter-number {
    color: #1a1a14;
}

.chapter-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 2.8vw, 44px);
    font-weight: 300;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 10px;
}

.chapter-text.dark .chapter-title {
    color: white;
}

.chapter-title em {
    font-style: italic;
    color: var(--orange);
}

.chapter-text.dark .chapter-title em {
    color: #4caf72;
}

.chapter-year {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 22px;
    font-family: 'Jost', sans-serif;
}

.chapter-text.dark .chapter-year {
    color: #4caf72;
}

.chapter-body {
    font-size: clamp(13px, 1.1vw, 15px);
    color: var(--mid);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 28px;
}

.chapter-text.dark .chapter-body {
    color: #797979;
}

/* Tags / facts row */
.chapter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.chapter-tags span {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid var(--orange);
    padding: 5px 12px;
    font-weight: 400;
}

.chapter-text.dark .chapter-tags span {
    color: #4caf72;
    border-color: #4caf72;
}

/* CTA button inside chapter */
.chapter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid var(--orange-pale);
    padding: 13px 26px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.chapter-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.chapter-btn.green {
    color: #4caf72;
    border-color: #1f3d1f;
}

.chapter-btn.green:hover {
    background: #4caf72;
    border-color: #4caf72;
    color: white;
}

/* Fun fact badge */
.fun-fact {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--sand);
    border-left: 3px solid var(--orange);
    padding: 14px 18px;
    margin-bottom: 26px;
    max-width: 420px;
}

.fun-fact-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.fun-fact-text {
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--brown);
    line-height: 1.7;
    font-weight: 400;
}

.chapter-text.dark .fun-fact {
    background: #111;
    border-color: #4caf72;
}

.chapter-text.dark .fun-fact-text {
    color: #888;
}

/* Divider between chapters */
.chapter-divider {
    height: 1px;
    background: var(--sand);
    margin: 0 8%;
}

/* Dark divider */
.chapter-divider.dark {
    background: #111;
    margin: 0;
}


@media (max-width: 480px) {
    .chapter-title {
        font-size: 7vw;
    }

    .chapter-number {
        font-size: 25vw;
    }

    .chapter-body {
        font-size: 4vw;
    }

    .fun-fact {
        max-width: 100%;
        align-items: center;
    }

    .fun-fact-text {
        font-size: 3.5vw;
    }

    .fun-fact-icon {
        font-size: 20px;
    }

    .chapter-tags span {
        font-size: 3.5vw;
        padding: 4px 10px;
    }

    .chapter-btn {
        font-size: 3.5vw;
        padding: 13px 20px;
        border-width: 1.5px;
    }
}

/* ═══════════════════════════════════════════════
           BILLIARDS section — full-width dark
           ═══════════════════════════════════════════════ */

.billiards-section {
    background: var(--dark);
    padding: 100px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.billiards-section.visible {
    opacity: 1;
    transform: translateY(0);
}

#billiards-text {
    color: var(--orange-lt);
}

.billiards-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 50px);
    font-weight: 300;
    color: white;
    line-height: 1.2;
    margin-bottom: 10px;
}

.billiards-title em {
    font-style: italic;
    color: var(--orange-lt);
}

.billiards-body {
    font-size: clamp(13px, 1.1vw, 15px);
    color: #a3a3a3;
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 32px;
}

/* Achievement list */
.achievements {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid #1d1d15;
    transition: border-color 0.3s ease;
}

.achievement:hover {
    border-color: var(--orange);
}

.achievement-medal {
    font-size: 24px;
    flex-shrink: 0;
}

.achievement-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 400;
    color: white;
    margin-bottom: 2px;
}

.achievement-year {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 400;
}

.billiards-image {
    position: relative;
    overflow: hidden;
}

.billiards-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.billiards-image-placeholder span {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
}

.billiards-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.billiards-section:hover .billiards-image img {
    transform: scale(1.03);
}

@media (max-width: 480px) {
    .billiards-body {
        font-size: 4vw;
    }

    .billiards-title {
        font-size: 8vw;
    }

    .achievement-title {
        font-size: 4vw;
    }

    .achievement-year {
        font-size: 3.5vw;
    }
}

/* ═══════════════════════════════════════════════
           CONTACT STRIP
           ═══════════════════════════════════════════════ */

.contact-strip {
    background: var(--white);
    padding: 100px 8%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-strip.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-strip-inner {
    max-width: 900px;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 54px);
    font-weight: 300;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 14px;
}

.contact-title em {
    font-style: italic;
    color: var(--orange);
}

.contact-sub {
    font-size: clamp(13px, 1.1vw, 16px);
    color: var(--mid);
    line-height: 1.8;
    font-weight: 300;
    max-width: 520px;
    margin-bottom: 48px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.contact-method {
    background: var(--white);
    border: 1px solid var(--sand);
    padding: 36px 30px;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-method::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-method:hover {
    background: var(--sand);
    border-color: var(--stone);
}

.contact-method:hover::before {
    transform: scaleX(1);
}

.contact-method-icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: block;
}

.contact-method-label {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.contact-method-value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(14px, 1.3vw, 18px);
    font-weight: 300;
    color: var(--dark);
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 8vw;
    }

    .contact-sub {
        font-size: 4vw;
    }

    .contact-method-value {
        font-size: 4vw;
    }
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.footer {
    background: var(--dark);
    padding: 70px 8% 40px;
    border-top: 1px solid #1a1510;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 300;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 11px;
    letter-spacing: 2px;
    color: #979797;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 14px;
    color: #979797;
    font-weight: 300;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--orange-lt);
}

.footer-bottom {
    border-top: 1px solid #111;
    font-size: 11px;
    color: #555;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-bottom img {
    width: 120px;
    object-fit: contain;
}

@media (max-width: 850px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════
           RESPONSIVE
           ═══════════════════════════════════════════════ */

@media (max-width: 850px) {
    .chapter {
        grid-template-columns: 1fr;
    }

    .chapter.reverse {
        direction: ltr;
    }

    .chapter-image {
        min-height: 300px;
        order: -1;
    }

    .chapter-image-placeholder {
        min-height: 300px;
    }

    .chapter-text {
        padding: 60px 6%;
    }

    .billiards-section {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 70px 6%;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-strip {
        padding: 70px 6%;
    }

    .about-hero-content {
        padding: 0 6% 50px;
    }

    .page-nav a {
        padding: 26px 14px;
    }
}

@media (max-width: 480px) {
    .nav-toggle {
        display: flex;
    }

    .page-nav .nav-left,
    .page-nav .nav-right {
        display: none;
    }

    .about-hero {
        height: 50vh;
    }

    .about-hero-content {
        padding: 0 5% 40px;
    }

    .chapter-text {
        padding: 50px 5%;
    }

    .billiards-section {
        padding: 60px 5%;
    }

    .contact-strip {
        padding: 60px 5%;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .chapter-number {
        font-size: 18vw;
    }

    .page-nav.menu-open .nav-left,
    .page-nav.menu-open .nav-right {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .page-nav.mobile-open {
        flex-direction: column;
        align-items: flex-start;
        background: rgba(10, 8, 5, 0.92);
        padding: 80px 5% 20px;
        position: fixed;
        height: 100vh;
    }

    .page-nav.mobile-open .nav-left,
    .page-nav.mobile-open .nav-right {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .page-nav.mobile-open a {
        padding: 14px 0;
        font-size: 15px;
        border-bottom: 1px solid #1a1510;
        width: 100%;
    }
}