/* ========================================
   penclos.com - Styles
   Palette: Paper White #FAFAF8, Ink Black #1A1A1A,
            Charcoal #3D3D3D, Ash Gray #9E9E9E,
            Warm Cream #F0EDE6
   Fonts:   Cormorant Garamond (Display), Crimson Text (Body)
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FAFAF8;
    color: #3D3D3D;
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Hero Section ---- */

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.hero-inner {
    max-width: 600px;
    width: 100%;
}

.logotype {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-weight: 300;
    font-style: normal;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #1A1A1A;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.logotype em {
    font-style: italic;
    font-weight: 300;
}

.tagline {
    font-family: 'Crimson Text', Georgia, serif;
    font-style: normal;
    font-size: 1.125rem;
    color: #9E9E9E;
    margin-bottom: 2.5rem;
    letter-spacing: 0.03em;
}

.tagline em {
    font-style: italic;
}

/* ---- Hero Navigation ---- */

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-nav a {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 0.9375rem;
    color: #9E9E9E;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.4s ease;
}

.hero-nav a:hover {
    color: #1A1A1A;
}

.nav-divider {
    color: #9E9E9E;
    font-size: 0.75rem;
    user-select: none;
}

/* ---- Main Content ---- */

#content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* ---- Content Sections ---- */

.content-section {
    border: 1px solid transparent;
    padding: 2.5rem 2rem;
    margin-bottom: 0;
    transition: border-color 1s ease;
    position: relative;
}

.content-section.visible {
    border-color: #9E9E9E;
}

.content-section:hover {
    border-color: #1A1A1A;
}

/* ---- Section Marker ---- */

.section-marker {
    display: block;
    width: 5px;
    height: 5px;
    border: 1px solid #9E9E9E;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* ---- Typography ---- */

.content-section h2 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-weight: 300;
    font-size: 1.75rem;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.content-section p {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.0625rem;
    color: #3D3D3D;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 1rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* ---- Pen Flourish Divider ---- */

.flourish-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.pen-flourish {
    width: 120px;
    height: 12px;
    opacity: 0.5;
}

/* ---- Footer ---- */

#footer {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    text-align: center;
}

#footer p {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 0.8rem;
    color: #9E9E9E;
    letter-spacing: 0.04em;
}

/* ---- Selection ---- */

::selection {
    background-color: #F0EDE6;
    color: #1A1A1A;
}
