/* ========================================
   STORM WITHIN
   ABOUT PAGE
======================================== */

:root {
    --lemon: #F7E493;
    --ruby: #570300;
    --green: #B9C29A;
    --cream: #FFFDF6;

    --text: #570300;

    --max-width: 1200px;
}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: var(--lemon);
    color: var(--text);

    line-height: 1.65;
}


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


a {
    color: inherit;
}


.container {
    width: min(90%, var(--max-width));
    margin-inline: auto;
}


.narrow {
    max-width: 820px;
}


/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2,
h3 {
    line-height: 1.05;
    font-weight: 800;
}


h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);

    letter-spacing: -0.05em;

    margin-bottom: 2rem;
}


h2 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);

    letter-spacing: -0.04em;

    margin-bottom: 2rem;
}


h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);

    margin-bottom: 1.2rem;
}


p {
    font-size: 1.1rem;

    margin-bottom: 1.3rem;
}


.eyebrow {
    font-size: 0.82rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    margin-bottom: 1.4rem;
}


/* ========================================
   HEADER
======================================== */

.site-header {
    background-color: var(--ruby);
    color: var(--lemon);

    padding: 1rem 0;
}


.header-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 3rem;
}


.logo-link {
    display: block;
    flex-shrink: 0;
}


.site-logo {
    width: clamp(120px, 18vw, 220px);

    height: auto;

    object-fit: contain;
}


/* ========================================
   NAVIGATION
======================================== */

.main-nav {
    display: flex;

    align-items: center;

    gap: clamp(1rem, 2.5vw, 2.5rem);
}


.main-nav a {
    position: relative;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 700;
}


.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background-color: var(--lemon);

    transition: width 0.25s ease;
}


.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* ========================================
   ABOUT HERO
======================================== */

.about-hero {
    padding: 7rem 0;
}


.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    gap: clamp(3rem, 7vw, 7rem);

    align-items: center;
}


.hero-content {
    max-width: 760px;
}


.hero-intro {
    font-size: clamp(1.2rem, 2vw, 1.45rem);

    line-height: 1.6;
}


/* ========================================
   PORTRAIT
======================================== */

.portrait-card {
    width: 100%;

    min-width: 0;

    background-color: var(--green);

    border-radius: 0 100px 0 100px;

    overflow: hidden;

    aspect-ratio: 4 / 5;
}


.about-photo {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ========================================
   ORIGIN
======================================== */

.origin-section {
    background-color: var(--cream);

    padding: 8rem 0;
}


.origin-section p {
    font-size: 1.2rem;
}


.origin-highlight {
    margin-top: 3rem;

    padding-left: 1.5rem;

    border-left: 5px solid var(--ruby);

    font-size: clamp(1.5rem, 3vw, 2.2rem) !important;

    line-height: 1.3;

    font-weight: 800;
}


/* ========================================
   STATEMENT
======================================== */

.statement-section {
    background-color: var(--ruby);
    color: var(--lemon);

    padding: 7rem 0;

    text-align: center;
}


.statement-inner {
    max-width: 950px;
}


.statement-small {
    font-size: 1rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    margin-bottom: 2rem;
}


.statement {
    font-size: clamp(2.3rem, 5vw, 4.7rem);

    font-weight: 800;

    line-height: 1.12;

    margin: 0;
}


/* ========================================
   KIM
======================================== */

.kim-section {
    background-color: var(--green);

    padding: 8rem 0;
}


.kim-grid {
    display: grid;

    grid-template-columns: 0.28fr 1fr;

    gap: clamp(2rem, 6vw, 6rem);

    align-items: start;
}


.section-number {
    font-size: clamp(5rem, 12vw, 10rem);

    line-height: 0.8;

    font-weight: 900;

    opacity: 0.15;
}


.kim-content {
    max-width: 780px;
}


/* ========================================
   WORLDS
======================================== */

.worlds-section {
    background-color: var(--lemon);

    padding: 8rem 0;
}


.worlds-heading {
    max-width: 800px;

    margin-bottom: 4rem;
}


.worlds-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1.5rem;
}


.world-card {
    min-width: 0;

    padding: clamp(2rem, 4vw, 3rem);

    border: 2px solid var(--ruby);

    display: flex;
    flex-direction: column;

    align-items: flex-start;
}


.world-card:nth-child(2) {
    background-color: var(--green);

    border-radius: 0 55px 0 55px;
}


.world-number {
    display: block;

    margin-bottom: 3rem;

    font-size: 1rem;

    font-weight: 800;

    opacity: 0.6;
}


.world-card p {
    flex-grow: 1;
}


.world-card a {
    margin-top: 1rem;

    font-weight: 800;

    text-decoration-thickness: 2px;

    text-underline-offset: 5px;
}


/* ========================================
   APPROACH
======================================== */

.approach-section {
    background-color: var(--cream);

    padding: 8rem 0;
}


.approach-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: clamp(3rem, 7vw, 7rem);

    align-items: start;
}


.approach-content {
    max-width: 620px;
}


.approach-content p {
    font-size: 1.15rem;
}


/* ========================================
   PERSONAL
======================================== */

.personal-section {
    background-color: var(--green);

    padding: 8rem 0;
}


.personal-inner {
    max-width: 850px;
}


.personal-inner h2 {
    max-width: 800px;
}


.personal-inner p {
    max-width: 720px;

    font-size: 1.15rem;
}


/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-block;

    padding: 1rem 1.7rem;

    border-radius: 100px;

    text-decoration: none;

    font-weight: 800;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


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

    opacity: 0.88;
}


.button-secondary {
    background-color: var(--lemon);
    color: var(--ruby);
}


.button-outline {
    border: 2px solid var(--lemon);

    color: var(--lemon);
}


/* ========================================
   CTA
======================================== */

.cta-section {
    background-color: var(--ruby);
    color: var(--lemon);

    padding: 8rem 0;

    text-align: center;
}


.cta-inner {
    max-width: 800px;
}


.cta-inner > p {
    max-width: 650px;

    margin-left: auto;
    margin-right: auto;
}


.cta-buttons {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 1rem;

    margin-top: 2.5rem;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    background-color: var(--lemon);
    color: var(--ruby);

    padding: 4rem 0;
}


.footer-inner {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


.footer-logo-link {
    display: block;

    margin-bottom: 2rem;
}


.footer-logo {
    width: clamp(130px, 20vw, 230px);

    height: auto;

    object-fit: contain;
}


.copyright {
    margin-top: 1.5rem;

    font-size: 0.85rem;

    opacity: 0.7;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .header-inner {
        flex-direction: column;

        gap: 1.3rem;
    }


    .site-logo {
        width: clamp(140px, 30vw, 200px);
    }


    .main-nav {
        flex-wrap: wrap;

        justify-content: center;
    }


    .hero-grid,
    .kim-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }


    .portrait-card {
        max-width: 600px;

        aspect-ratio: 4 / 4.5;
    }


    .section-number {
        font-size: 5rem;
    }


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


    .world-card {
        max-width: 700px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .container {
        width: min(88%, var(--max-width));
    }


    .site-header {
        padding: 1.2rem 0;
    }


    .site-logo {
        width: min(55vw, 180px);
    }


    .main-nav {
        gap: 0.6rem 1rem;
    }


    .main-nav a {
        font-size: 0.82rem;
    }


    .about-hero,
    .origin-section,
    .statement-section,
    .kim-section,
    .worlds-section,
    .approach-section,
    .personal-section,
    .cta-section {
        padding: 5rem 0;
    }


    .portrait-card {
        border-radius: 0 55px 0 55px;
    }


    .origin-highlight {
        padding-left: 1rem;

        border-left-width: 4px;
    }


    .world-card {
        padding: 2rem;
    }


    .world-card:nth-child(2) {
        border-radius: 0 40px 0 40px;
    }


    .cta-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .cta-buttons .button {
        text-align: center;
    }

}