@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

/* ── Palette ── */
:root {
    --cream:       #f5f0e8;
    --parchment:   #ede6d6;
    --terracotta:  #c17f5e;
    --dusty-sage:  #8a9e85;
    --faded-navy:  #3b4a5a;
    --warm-taupe:  #a89880;
    --ink:         #2c2416;
    --soft-white:  #faf7f2;
    --terra-light: #e8c9b0;
    --sage-light:  #c8d5c4;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--soft-white);
    color: var(--ink);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    min-height: 100vh;
}

/* ── Grain overlay ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ── Nav ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 3.5rem;
    background: rgba(245, 240, 232, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(168, 152, 128, 0.18);
}

.nav-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.4rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--warm-taupe);
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--terracotta); }
.nav-links a.active::after { width: 100%; }

/* ── Page wrapper ── */
.page-wrap {
    padding-top: 6rem;
    min-height: 100vh;
}

/* ── Section ── */
section {
    padding: 5rem 3.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

section.full { max-width: 100%; padding: 5rem 3.5rem; }

/* ── Display headings ── */
h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--faded-navy);
    margin-bottom: 0.5rem;
}

p {
    max-width: 62ch;
    color: var(--faded-navy);
    margin-bottom: 1.2rem;
}

p.wide { max-width: 80ch; }

/* ── Label ── */
.label {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-taupe);
    margin-bottom: 1rem;
    display: block;
}

/* ── Quote ── */
.quote-block {
    border-left: 2px solid var(--terracotta);
    padding: 1.2rem 2rem;
    margin: 4rem auto;
    max-width: 640px;
}

.quote-block blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.5;
}

.quote-block cite {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-taupe);
    font-style: normal;
}

/* ── Divider ── */
.divider {
    width: 48px;
    height: 1px;
    background: var(--terracotta);
    margin: 2rem 0;
}

/* ── Image rects ── */
.img-rect {
    background: var(--parchment);
    border: 1px solid var(--terra-light);
    display: block;
    width: 100%;
}

/* ── Footer ── */
footer {
    text-align: center;
    padding: 3rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-taupe);
    border-top: 1px solid rgba(168,152,128,0.2);
    margin-top: 4rem;
}

/* ── Fade in ── */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.85s ease forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

/* ── Responsive ── */
@media (max-width: 768px) {
    nav { padding: 1.2rem 1.5rem; }
    section { padding: 3.5rem 1.5rem; }
    .nav-links { gap: 1.4rem; }
    .nav-links a { font-size: 0.65rem; }
}