/* ------------------------------
   BASIC RESET
------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}

body {
    min-height: 100vh;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

/* ------------------------------
   COLORS
------------------------------ */

:root {
    --black: #070908;
    --cream: #f3ead6;
    --gold: #c8a45c;
    --gold-light: #e3c987;
}


/* ------------------------------
   BODY
------------------------------ */

body {
    background-color: var(--black);
    color: var(--cream);
}


/* ------------------------------
   HEADER
------------------------------ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 5%;

    background: rgba(5, 7, 8, 0.82);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(200, 164, 92, 0.25);

    z-index: 1000;
}


.author-name {
    color: var(--cream);
    text-decoration: none;

    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.main-nav {
    display: flex;
    gap: 32px;
}


.main-nav a {
    color: var(--cream);
    text-decoration: none;

    font-size: 0.95rem;

    transition: color 0.3s ease;
}


.main-nav a:hover {
    color: var(--gold-light);
}


.header-button {
    color: var(--gold-light);

    text-decoration: none;
    text-transform: uppercase;

    font-size: 0.8rem;
    letter-spacing: 0.12em;

    border: 1px solid var(--gold);
    border-radius: 40px;

    padding: 11px 22px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}


.header-button:hover {
    background-color: var(--gold);
    color: var(--black);
}


/* ------------------------------
   HERO
------------------------------ */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 140px 8% 80px;

    background-image:
        linear-gradient(
            90deg,
            rgba(4, 6, 7, 0.96) 0%,
            rgba(4, 6, 7, 0.82) 27%,
            rgba(4, 6, 7, 0.28) 52%,
            rgba(4, 6, 7, 0.05) 75%
        ),
        url("assets/images/hero-serendipity.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.hero-content {
    position: relative;

    width: min(650px, 48%);

    z-index: 2;
}


.hero-kicker {
    margin-bottom: 18px;

    color: var(--gold-light);

    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}


.hero h1 {
    color: var(--cream);

    font-size: clamp(3.6rem, 6vw, 6.7rem);
    font-weight: 400;

    line-height: 0.85;

    letter-spacing: -0.035em;

    text-transform: uppercase;
}


.hero h1 span {
    display: block;
}


.hero-divider {
    width: 270px;
    height: 1px;

    margin: 30px 0;

    background: linear-gradient(
        90deg,
        var(--gold),
        rgba(200, 164, 92, 0)
    );
}


.hero-tagline {
    max-width: 600px;

    margin-bottom: 36px;

    color: var(--cream);

    font-size: clamp(1.15rem, 1.6vw, 1.55rem);
    font-style: italic;

    line-height: 1.55;
}


.hero-buttons {
    display: flex;
    gap: 18px;

    flex-wrap: wrap;
}


.button {
    display: inline-block;

    padding: 14px 30px;

    border-radius: 40px;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 0.82rem;
    letter-spacing: 0.1em;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button-gold {
    background-color: var(--gold);
    border: 1px solid var(--gold);

    color: var(--black);
}


.button-gold:hover {
    background-color: var(--gold-light);
}


.button-outline {
    color: var(--cream);

    border: 1px solid var(--gold);
    background-color: rgba(0, 0, 0, 0.25);
}


.button-outline:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* ------------------------------
   DEFINITION SECTION
------------------------------ */

.definition-section {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 650px;

    padding: 110px 8% 120px;

    text-align: center;

    /* Same background color as the rest of the website */
    background: transparent;

    overflow: hidden;
}


.definition-section {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 650px;

    padding: 110px 8% 120px;

    text-align: center;

    background: transparent;

    overflow: hidden;
}


.definition-content {
    position: relative;

    width: 100%;
    max-width: 900px;

    z-index: 1;
}


.definition-label {
    margin-bottom: 35px;

    color: var(--gold);

    font-size: 0.82rem;
    letter-spacing: 0.25em;

    text-transform: uppercase;
}


.dictionary-entry h2 {
    color: var(--cream);

    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.03em;
}


.word-type {
    margin-top: 12px;

    color: var(--gold-light);

    font-size: 1.15rem;
    font-style: italic;
}


.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    width: min(440px, 80%);

    margin: 28px auto 32px;
}


.ornament-divider span:not(.ornament-star) {
    flex: 1;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold)
    );
}


.ornament-divider span:last-child {
    background: linear-gradient(
        90deg,
        var(--gold),
        transparent
    );
}


.ornament-star {
    color: var(--gold-light);

    font-size: 1rem;
}


.definition-text {
    max-width: 780px;

    margin: 0 auto;

    color: var(--cream);

    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-style: italic;

    line-height: 1.75;
}


/* ------------------------------
   TRANSITION INTO THE STORY
------------------------------ */

.definition-transition {
    margin-top: 95px;
}


.definition-transition p {
    color: rgba(243, 234, 214, 0.78);

    font-size: clamp(1.15rem, 1.8vw, 1.45rem);

    line-height: 1.6;
}


.definition-transition .transition-question {
    margin-top: 10px;

    color: var(--gold-light);

    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-style: italic;

    letter-spacing: 0.02em;
}

/* ------------------------------
   SECTION 3 — THE STORY
------------------------------ */

.story-section {
    position: relative;

    padding: 130px 8% 145px;

    background: transparent;

    border-top: 1px solid rgba(200, 164, 92, 0.12);
}


.story-grid {
    width: min(1200px, 100%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.75fr 1.4fr;

    gap: clamp(60px, 8vw, 130px);

    align-items: start;
}


/* ------------------------------
   LEFT SIDE
------------------------------ */

.story-heading {
    position: sticky;
    top: 130px;
}


.section-label {
    margin-bottom: 20px;

    color: var(--gold);

    font-size: 0.82rem;
    letter-spacing: 0.25em;

    text-transform: uppercase;
}


.story-heading h2 {
    color: var(--cream);

    font-size: clamp(3rem, 5vw, 5.2rem);
    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.02em;
}


.story-heading-line {
    width: 150px;
    height: 1px;

    margin-top: 35px;

    background: linear-gradient(
        90deg,
        var(--gold),
        transparent
    );
}


/* ------------------------------
   STORY TEXT
------------------------------ */

.story-copy {
    max-width: 760px;
}


.story-copy > p {
    margin-bottom: 28px;

    color: rgba(243, 234, 214, 0.86);

    font-size: clamp(1.05rem, 1.35vw, 1.22rem);

    line-height: 1.85;
}


.story-copy .story-emphasis {
    margin: 55px 0;

    padding: 28px 0 28px 30px;

    color: var(--gold-light);

    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-style: italic;

    line-height: 1.55;

    border-left: 1px solid var(--gold);
}


/* ------------------------------
   CLOSING THOUGHT
------------------------------ */

.story-closing {
    margin-top: 65px;

    padding-top: 40px;

    border-top: 1px solid rgba(200, 164, 92, 0.25);
}


.story-closing p {
    color: var(--cream);

    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-style: italic;

    line-height: 1.7;
}


.story-closing p:first-child {
    margin-bottom: 8px;

    color: var(--gold-light);
}

/* ------------------------------
   SECTION 4 — A GLIMPSE OF SERENDIPITY
------------------------------ */

.glimpse-section {
    position: relative;

    padding: 130px 5% 145px;

    background: transparent;

    border-top: 1px solid rgba(200, 164, 92, 0.12);
}


/* ------------------------------
   SECTION HEADING
------------------------------ */

.glimpse-heading {
    width: min(1200px, 100%);

    margin: 0 auto 65px;

    text-align: center;
}


.glimpse-heading .section-label {
    margin-bottom: 18px;
}


.glimpse-heading h2 {
    color: var(--cream);

    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.02em;
}


.glimpse-heading-line {
    width: 180px;
    height: 1px;

    margin: 30px auto 0;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
}


/* ------------------------------
   WORLD IMAGE
------------------------------ */

.glimpse-image {
    width: min(1450px, 100%);

    margin: 0 auto;

    overflow: hidden;

    border: 1px solid rgba(200, 164, 92, 0.25);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45);
}


.glimpse-image img {
    display: block;

    width: 100%;
    height: auto;
}


/* ------------------------------
   DESCRIPTION
------------------------------ */

.glimpse-copy {
    width: min(1050px, 100%);

    margin: 75px auto 0;

    text-align: left;
}


.glimpse-copy p {
    max-width: 820px;

    margin-bottom: 30px;

    color: rgba(243, 234, 214, 0.84);

    font-size: clamp(1.05rem, 1.35vw, 1.22rem);

    line-height: 1.9;
}


/* Slightly offset the second thought */
.glimpse-copy p:nth-child(2) {
    margin-left: 9%;
}


/* Final question */
.glimpse-copy .glimpse-question {
    max-width: 700px;

    margin-top: 55px;
    margin-left: auto;
    margin-bottom: 0;

    color: var(--gold-light);

    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-style: italic;

    line-height: 1.65;

    text-align: right;
}

/* ------------------------------
   SECTION 5 — READ CHAPTER ONE
------------------------------ */

.read-section {
    position: relative;

    padding: 135px 8% 150px;

    background: transparent;

    border-top: 1px solid rgba(200, 164, 92, 0.12);
}


/* ------------------------------
   INTRO
------------------------------ */

.read-intro {
    width: min(950px, 100%);

    margin: 0 auto;

    text-align: center;
}


.read-intro .section-label {
    margin-bottom: 22px;
}


.read-invitation {
    margin-bottom: 65px;

    color: rgba(243, 234, 214, 0.72);

    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-style: italic;

    line-height: 1.7;
}


.chapter-number {
    margin-bottom: 15px;

    color: var(--gold);

    font-size: 0.85rem;

    letter-spacing: 0.28em;

    text-transform: uppercase;
}


.read-title h2 {
    color: var(--cream);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 400;

    line-height: 1.05;
}


.read-heading-line {
    width: 180px;
    height: 1px;

    margin: 30px auto;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
}


.read-description {
    color: rgba(243, 234, 214, 0.78);

    font-size: 1.1rem;

    line-height: 1.7;
}


/* ------------------------------
   AUDIO
------------------------------ */

.chapter-audio {
    width: min(900px, 100%);

    margin: 85px auto 100px;

    padding: 45px;

    border-top: 1px solid rgba(200, 164, 92, 0.22);
    border-bottom: 1px solid rgba(200, 164, 92, 0.22);
}


.audio-heading {
    margin-bottom: 38px;

    text-align: center;
}


.audio-label {
    margin-bottom: 8px;

    color: var(--gold-light);

    font-size: 1.3rem;
    font-style: italic;
}


.audio-heading > p:last-child {
    color: rgba(243, 234, 214, 0.64);

    font-size: 0.95rem;

    line-height: 1.6;
}


.audio-parts {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.audio-part {
    text-align: center;
}


.audio-part span {
    display: block;

    margin-bottom: 14px;

    color: var(--cream);

    font-size: 0.8rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.audio-part audio {
    width: 100%;
}


/* ------------------------------
   CHAPTER TEXT
------------------------------ */

.chapter-text {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #2b2118;
  white-space: normal;
  gap: 0;
}

.chapter-text p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0;
  text-indent: 1.4em;
  line-height: 1.5;
}

.chapter-text p.no-indent {
  text-indent: 0;
}

.chapter-opening {
    margin-bottom: 70px;

    text-align: center;
}


.chapter-number-small {
    margin-bottom: 14px;

    color: var(--gold);

    font-size: 0.78rem;

    letter-spacing: 0.25em;

    text-transform: uppercase;
}


.chapter-opening h3 {
    color: var(--cream);

    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 400;

    line-height: 1.15;
}


.chapter-ornament {
    margin-top: 25px;

    color: var(--gold);

    font-size: 0.9rem;
}


.chapter-text > p {
    margin-bottom: 1.55em;

    font-size: clamp(1.05rem, 1.2vw, 1.16rem);

    line-height: 1.95;
}


/* Slightly larger first letter of first paragraph */

.chapter-text > p:first-of-type::first-letter {
    float: left;

    margin: 0.07em 0.12em 0 0;

    color: var(--gold-light);

    font-size: 4.2rem;

    line-height: 0.78;
}


/* ------------------------------
   END OF CHAPTER
------------------------------ */

.chapter-continue {
    width: min(760px, 100%);

    margin: 120px auto 0;

    padding-top: 70px;

    text-align: center;

    border-top: 1px solid rgba(200, 164, 92, 0.25);
}


.chapter-continue-ornament {
    margin-bottom: 25px;

    color: var(--gold);

    font-size: 1rem;
}


.continue-label {
    margin-bottom: 16px;

    color: var(--gold);

    font-size: 0.78rem;

    letter-spacing: 0.25em;

    text-transform: uppercase;
}


.chapter-continue h3 {
    margin-bottom: 22px;

    color: var(--cream);

    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 400;
}


.chapter-continue > p:not(.continue-label) {
    max-width: 650px;

    margin: 0 auto 35px;

    color: rgba(243, 234, 214, 0.78);

    font-size: 1.08rem;

    line-height: 1.8;
}

.read-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;

    margin-top: 42px;

    flex-wrap: wrap;
}

/* ==================================================
   CHAPTER ONE — READING PAGE
================================================== */


/* ------------------------------
   PAGE
------------------------------ */

.chapter-page {
    background: var(--black);
    color: var(--cream);
}


/* ------------------------------
   CHAPTER HEADER
------------------------------ */

.chapter-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 5%;

    background: rgba(5, 7, 8, 0.92);

    border-bottom: 1px solid rgba(200, 164, 92, 0.2);
}


.chapter-author,
.chapter-home-link {
    text-decoration: none;
}


.chapter-author {
    color: var(--cream);

    font-size: 1.15rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.chapter-home-link {
    color: var(--gold-light);

    font-size: 0.85rem;

    letter-spacing: 0.08em;

    transition: color 0.3s ease;
}


.chapter-home-link:hover,
.chapter-author:hover {
    color: var(--gold);
}


/* ------------------------------
   CHAPTER INTRO
------------------------------ */

.chapter-page-intro {
    width: min(1000px, 90%);

    margin: 0 auto;

    padding: 110px 0 65px;

    text-align: center;
}


.chapter-page-intro .section-label {
    margin-bottom: 45px;
}


.chapter-page-intro .chapter-number {
    margin-bottom: 16px;

    color: var(--gold);

    font-size: 0.85rem;

    letter-spacing: 0.28em;

    text-transform: uppercase;
}


.chapter-page-intro h1 {
    color: var(--cream);

    font-size: clamp(3rem, 6vw, 5.7rem);

    font-weight: 400;

    line-height: 1.05;
}


.chapter-title-divider {
    width: 220px;
    height: 1px;

    margin: 32px auto;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
}


.chapter-page-description {
    color: rgba(243, 234, 214, 0.72);

    font-size: 1.1rem;

    line-height: 1.7;
}


/* ------------------------------
   AUDIO AREA
------------------------------ */

.chapter-listen {
    width: min(1050px, 90%);

    margin: 0 auto 110px;

    padding: 45px 50px;

    border-top: 1px solid rgba(200, 164, 92, 0.22);
    border-bottom: 1px solid rgba(200, 164, 92, 0.22);
}


.listen-heading {
    margin-bottom: 40px;

    text-align: center;
}


.listen-heading .audio-label {
    margin-bottom: 10px;

    color: var(--gold-light);

    font-size: 1.45rem;

    font-style: italic;
}


.listen-heading p:last-child {
    color: rgba(243, 234, 214, 0.65);

    font-size: 0.95rem;

    line-height: 1.6;
}


.chapter-listen .audio-parts {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


.chapter-listen .audio-part {
    text-align: center;
}


.chapter-listen .audio-part span {
    display: block;

    margin-bottom: 14px;

    color: var(--gold-light);

    font-size: 0.78rem;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}


.chapter-listen audio {
    width: 100%;
}


/* ------------------------------
   CHAPTER TEXT
------------------------------ */

.chapter-page .chapter-text {
    width: min(760px, 86%);

    margin: 0 auto;

    padding-top: 20px;
}


.chapter-page .chapter-text > p {
    margin-bottom: 1.5em;

    color: rgba(243, 234, 214, 0.9);

    font-size: clamp(1.05rem, 1.25vw, 1.16rem);

    line-height: 1.95;
}


.chapter-page .chapter-text > p:first-of-type::first-letter {
    float: left;

    margin: 0.08em 0.12em 0 0;

    color: var(--gold-light);

    font-size: 4.3rem;

    line-height: 0.78;
}


/* Short dramatic lines */

.chapter-page .beat-lines,
.chapter-page .dialogue-run {
    margin-top: 1.8em;
    margin-bottom: 1.8em;
}


/* ------------------------------
   END OF CHAPTER CTA
------------------------------ */

.chapter-page .chapter-continue {
    width: min(760px, 86%);

    margin: 35px auto 0;

    padding: 35px 0 110px;

    text-align: center;

    border-top: 1px solid rgba(200, 164, 92, 0.25);
}


.chapter-page .chapter-continue h2 {
    margin-bottom: 24px;

    color: var(--cream);

    font-size: clamp(2rem, 4vw, 3.2rem);

    font-weight: 400;
}


/* ------------------------------
   CHAPTER FOOTER
------------------------------ */

.chapter-footer {
    display: flex;
    justify-content: space-between;

    padding: 35px 5%;

    color: rgba(243, 234, 214, 0.5);

    font-size: 0.8rem;

    border-top: 1px solid rgba(200, 164, 92, 0.15);
}


.chapter-footer a {
    color: var(--gold-light);

    text-decoration: none;
}

/* ------------------------------
   SECTION 6 — THE BOOK
------------------------------ */

.book-section {
    padding: 130px 5% 145px;

    background: transparent;

    border-top: 1px solid rgba(200, 164, 92, 0.12);
}


.book-promo {
    position: relative;

    width: min(1536px, 100%);

    margin: 0 auto;
}


.book-promo img {
    display: block;

    width: 100%;
    height: auto;
}


/* ------------------------------
   INVISIBLE CLICKABLE AREAS
------------------------------ */

.book-hotspot {
    position: absolute;

    display: block;

    background: rgba(0, 0, 0, 0.01);

    cursor: pointer;

    z-index: 2;
}


/* Get Release Updates */

.book-updates {
    left: 49.3%;
    top: 70.8%;

    width: 34.7%;
    height: 7.8%;
}


/* Read Chapter One */

.book-read {
    left: 49.3%;
    top: 80.6%;

    width: 34.7%;
    height: 6.7%;
}


/* Optional subtle hover effect */

.book-hotspot:hover {
    background: rgba(227, 201, 135, 0.06);
}

/* Chapter 1 page footer legend */

.chapter-copyright {
    max-width: 760px;
    margin: 45px auto 0;
    padding-top: 24px;

    color: rgba(243, 234, 214, 0.42);

    font-size: 0.75rem;
    line-height: 1.6;
    text-align: center;

    border-top: 1px solid rgba(200, 164, 92, 0.12);
}

/* ------------------------------
   BOOK DESCRIPTION
------------------------------ */

.book-description {
    width: min(780px, 100%);

    margin: 55px auto 0;

    text-align: center;
}


.book-description p {
    color: rgba(243, 234, 214, 0.78);

    font-size: clamp(1.05rem, 1.35vw, 1.2rem);

    line-height: 1.8;
}

/* ------------------------------
   SECTION 7 — ABOUT THE AUTHOR
------------------------------ */

.about-section {
    padding: 130px 8% 145px;

    background: transparent;

    border-top: 1px solid rgba(200, 164, 92, 0.12);
}


.about-grid {
    width: min(1150px, 100%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.8fr 1.4fr;

    gap: clamp(60px, 8vw, 120px);

    align-items: center;
}


/* ------------------------------
   AUTHOR LOGO
------------------------------ */

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}


.about-visual img {
    width: min(360px, 100%);

    height: auto;

    opacity: 0.95;
}


/* ------------------------------
   AUTHOR TEXT
------------------------------ */

.about-copy .section-label {
    margin-bottom: 18px;
}


.about-copy h2 {
    color: var(--cream);

    font-size: clamp(2.8rem, 4.5vw, 4.6rem);
    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.02em;
}


.about-heading-line {
    width: 150px;
    height: 1px;

    margin: 30px 0 38px;

    background: linear-gradient(
        90deg,
        var(--gold),
        transparent
    );
}


.about-copy > p:not(.section-label) {
    margin-bottom: 24px;

    color: rgba(243, 234, 214, 0.82);

    font-size: clamp(1.02rem, 1.25vw, 1.15rem);

    line-height: 1.85;
}


/* Final thought */

.about-copy .about-belief {
    margin-top: 38px;
    margin-bottom: 0;

    padding-left: 25px;

    color: var(--gold-light);

    font-style: italic;

    border-left: 1px solid rgba(200, 164, 92, 0.65);
}

/* ------------------------------
   SECTION 8 — FOLLOW THE JOURNEY
------------------------------ */

.follow-section {
    position: relative;

    padding: 140px 8% 135px;

    text-align: center;

    background: transparent;

    border-top: 1px solid rgba(200, 164, 92, 0.12);
}


.follow-content {
    width: min(850px, 100%);

    margin: 0 auto;
}


.follow-content .section-label {
    margin-bottom: 20px;
}


.follow-content h2 {
    color: var(--cream);

    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 400;

    line-height: 1.08;
}


.follow-heading-line {
    width: 180px;
    height: 1px;

    margin: 30px auto 35px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
}


.follow-description {
    max-width: 680px;

    margin: 0 auto 45px;

    color: rgba(243, 234, 214, 0.78);

    font-size: clamp(1.05rem, 1.4vw, 1.2rem);

    line-height: 1.8;
}


/* ------------------------------
   SIGNUP FORM
------------------------------ */

.signup-form {
    width: min(650px, 100%);

    margin: 0 auto;

    display: flex;

    gap: 12px;
}


.signup-form input {
    flex: 1;

    min-width: 0;

    padding: 15px 20px;

    color: var(--cream);

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(200, 164, 92, 0.45);

    border-radius: 40px;

    outline: none;
}


.signup-form input::placeholder {
    color: rgba(243, 234, 214, 0.45);
}


.signup-form input:focus {
    border-color: var(--gold-light);
}


.signup-form .button {
    border: 1px solid var(--gold);

    cursor: pointer;
}


.signup-note {
    margin-top: 18px;

    color: rgba(243, 234, 214, 0.48);

    font-size: 0.82rem;

    letter-spacing: 0.03em;
}

.signup-message {
    margin-top: 18px;

    min-height: 24px;

    color: var(--gold-light);

    font-size: 0.9rem;
    font-style: italic;

    opacity: 0;

    transition: opacity 0.3s ease;
}


.signup-message.visible {
    opacity: 1;
}

/* ------------------------------
   SOCIAL LINKS
------------------------------ */

.social-links {
    display: flex;
    justify-content: center;

    gap: 30px;

    margin-top: 55px;
}


.social-links a {
    color: var(--gold-light);

    text-decoration: none;

    font-size: 0.85rem;
    letter-spacing: 0.12em;

    text-transform: uppercase;

    transition: color 0.3s ease;
}


.social-links a:hover {
    color: var(--cream);
}


/* ------------------------------
   ACCESSIBILITY
------------------------------ */

.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;
}


/* ------------------------------
   SECTION 9 — FOOTER
------------------------------ */

.site-footer {
    padding: 32px 5%;

    border-top: 1px solid rgba(200, 164, 92, 0.18);

    background: rgba(0, 0, 0, 0.18);
}


.footer-inner {
    width: min(1300px, 100%);

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.footer-brand {
    color: rgba(243, 234, 214, 0.45);

    font-size: 0.78rem;
}


.footer-book {
    margin-top: 4px;

    color: rgba(200, 164, 92, 0.65);
}


.footer-nav {
    display: flex;

    gap: 24px;
}


.footer-nav a {
    color: rgba(243, 234, 214, 0.58);

    text-decoration: none;

    font-size: 0.78rem;

    transition: color 0.3s ease;
}


.footer-nav a:hover {
    color: var(--gold-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    margin: 6px 0;
    background: var(--gold-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ------------------------------
   PRIVACY PAGE
------------------------------ */

.privacy-page {
    background: var(--black);
    color: var(--cream);
}

.privacy-content {
    width: min(760px, 86%);
    margin: 0 auto;
    padding: 140px 0 110px;
}

.privacy-content h1 {
    margin: 10px 0 12px;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: normal;
}

.privacy-updated {
    margin-bottom: 55px;
    color: rgba(243, 234, 214, 0.55);
    font-size: 0.9rem;
}

.privacy-content h2 {
    margin: 50px 0 15px;
    color: var(--gold-light);
    font-size: 1.35rem;
    font-weight: normal;
}

.privacy-content p {
    line-height: 1.85;
    font-size: 1.05rem;
    color: rgba(243, 234, 214, 0.82);
}

.privacy-content a {
    color: var(--gold-light);
}

.privacy-return {
    margin-top: 65px;
}

/* ------------------------------
---------------------------------
   MOBILE SECTION COMPLETE
   ------------------------------
------------------------------ */

@media (max-width: 900px) {

    .site-header {
        padding: 18px 5%;
    }

    .header-button {
    display: none;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 25px 0;
        background: rgba(7, 9, 8, 0.97);
        border-top: 1px solid rgba(200, 164, 92, 0.25);
        border-bottom: 1px solid rgba(200, 164, 92, 0.25);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 20px;
        text-align: center;
    }


    .hero {
        min-height: 100svh;

        padding: 130px 7% 70px;

        align-items: flex-end;

        background-image:
            linear-gradient(
                0deg,
                rgba(4, 6, 7, 0.95) 0%,
                rgba(4, 6, 7, 0.70) 45%,
                rgba(4, 6, 7, 0.10) 80%
            ),
            url("assets/images/hero-serendipity.png");

        background-position: 62% center;
    }


    .hero-content {
        width: 100%;
    }


    .hero h1 {
        font-size: clamp(3rem, 13vw, 5rem);
    }


    .hero-tagline {
        max-width: 500px;
    }



 .definition-section {
        min-height: 360px;

        padding: 80px 7%;
    }


    .definition-section h2 {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }


    .definition-text {
        font-size: 1.2rem;
    }

      .definition-section {
        min-height: auto;

        padding: 85px 7% 95px;
    }


    .dictionary-entry h2 {
        font-size: clamp(2.8rem, 14vw, 4.3rem);
    }


    .definition-text {
        font-size: 1.15rem;
    }


    .definition-transition {
        margin-top: 70px;
    }


    .definition-transition p {
        font-size: 1.1rem;
    }


    .definition-transition .transition-question {
    font-size: 1.4rem;
    }


       /* --------------------------
       SECTION 3 — MOBILE
    -------------------------- */

    .story-section {
        padding: 90px 7% 105px;
    }


    .story-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .story-heading {
        position: static;
    }


    .story-heading h2 {
        font-size: clamp(2.8rem, 12vw, 4.2rem);
    }


    .story-copy {
        max-width: none;
    }


    .story-copy > p {
        font-size: 1.05rem;

        line-height: 1.8;
    }


    .story-copy .story-emphasis {
        margin: 45px 0;

        padding-left: 22px;

        font-size: 1.35rem;
    }


    .story-closing {
        margin-top: 55px;
    }

     /* --------------------------
       SECTION 4 — MOBILE
    -------------------------- */

    .glimpse-section {
        padding: 90px 0 105px;
    }


    .glimpse-heading {
        margin-bottom: 45px;

        padding: 0 7%;
    }


    .glimpse-heading h2 {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }


    .glimpse-image {
        width: 100%;

        border-left: none;
        border-right: none;
    }


    .glimpse-copy {
    margin-top: 55px;
    padding: 0 7%;

    text-align: left;
}


    .glimpse-copy p,
    .glimpse-copy p:nth-child(2) {
        max-width: none;

        margin-left: 0;

        font-size: 1.05rem;

        line-height: 1.8;
    }


    .glimpse-copy .glimpse-question {
        max-width: none;

        margin-top: 40px;
        margin-left: 0;

        font-size: 1.35rem;

        text-align: left;
    }

    /* --------------------------
       SECTION 5 — MOBILE
    -------------------------- */

    .read-section {
        padding: 95px 7% 110px;
    }


    .read-invitation {
        margin-bottom: 50px;
    }


    .read-title h2 {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }


    .chapter-audio {
        margin: 65px auto 80px;

        padding: 35px 0;
    }


    .audio-parts {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .chapter-opening {
        margin-bottom: 55px;
    }


    .chapter-text > p {
        font-size: 1.05rem;

        line-height: 1.85;
    }


    .chapter-text > p:first-of-type::first-letter {
        font-size: 3.6rem;
    }


    .chapter-continue {
        margin-top: 90px;

        padding-top: 55px;
    }

    .read-buttons {
    flex-direction: column;
    align-items: center;
    }

    .read-buttons .button {
    width: min(300px, 100%);
    text-align: center;
    }
     /* --------------------------
       CHAPTER PAGE — MOBILE
    -------------------------- */

    .chapter-header {
        padding: 18px 5%;
    }


    .chapter-author {
        font-size: 0.95rem;
    }


    .chapter-home-link {
        font-size: 0.75rem;
    }


    .chapter-page-intro {
        padding: 80px 0 55px;
    }


    .chapter-page-intro h1 {
        font-size: clamp(2.6rem, 12vw, 4.2rem);
    }


    .chapter-listen {
        width: 86%;

        margin-bottom: 80px;

        padding: 35px 0;
    }


    .chapter-listen .audio-parts {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .chapter-page .chapter-text {
        width: 86%;
    }


    .chapter-page .chapter-text > p {
        font-size: 1.05rem;

        line-height: 1.85;
    }


    .chapter-footer {
        flex-direction: column;

        gap: 10px;

        text-align: center;
    }

        /* --------------------------
       SECTION 6 — MOBILE
    -------------------------- */

    .book-section {
        padding: 90px 0 105px;
    }


    .book-promo {
        width: 100%;
    }


    .book-description {
        padding: 0 7%;

        margin-top: 45px;
    }


    .book-description p {
        font-size: 1.05rem;
    }

    /* --------------------------
       SECTION 7 — MOBILE
    -------------------------- */

    .about-section {
        padding: 90px 7% 105px;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .about-visual img {
        width: min(280px, 75%);
    }


    .about-copy {
        max-width: 680px;

        margin: 0 auto;
    }


    .about-copy h2 {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }


    .about-copy > p:not(.section-label) {
        font-size: 1.05rem;

        line-height: 1.8;
    }


    .about-copy .about-belief {
        padding-left: 20px;
    }

    /* --------------------------
       FOLLOW / FOOTER — MOBILE
    -------------------------- */

    .follow-section {
        padding: 95px 7% 100px;
    }


    .follow-content h2 {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }


    .signup-form {
        flex-direction: column;

        max-width: 450px;
    }


    .signup-form input,
    .signup-form .button {
        width: 100%;
    }


    .social-links {
        flex-wrap: wrap;

        gap: 20px 28px;
    }


    .footer-inner {
        flex-direction: column;

        text-align: center;
    }


    .footer-nav {
        justify-content: center;

        flex-wrap: wrap;
    }
}