@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;

    /* ── Easing ── */
    --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-std:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::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;
    cursor: none;
}

@media (hover: none) { body { cursor: auto; } }

/* ── 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.35s var(--ease-out);
}

.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;
}

/* ── Scroll reveals ── */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Hero name — clip-path curtain lift instead of translate */
.hero-name.fade-in {
    transform: none;
    clip-path: inset(0 0 100% 0);
    transition: opacity 0.95s var(--ease-out), clip-path 0.95s var(--ease-out);
}
.hero-name.fade-in.in-view {
    clip-path: inset(0 0 0% 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.44s; }
.delay-5 { transition-delay: 0.56s; }

/* ── Quote block — border draws in on reveal ── */
.quote-block {
    border-left: none;
    position: relative;
}
.quote-block::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 2px;
    height: 0;
    background: var(--terracotta);
    transition: height 0.9s var(--ease-out);
    transition-delay: 0.1s;
}
.quote-block.in-view::before {
    height: 100%;
}

/* ── Image hover zoom ── */
.hero-photo img,
.passion-img img,
.teaser-img img {
    transition: transform 0.7s var(--ease-out);
}
.hero-photo:hover img,
.passion-img:hover img,
.teaser-img:hover img {
    transform: scale(1.04);
}

/* ── CTA / link press feedback ── */
.hero-cta {
    transition: color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), transform 0.14s var(--ease-out);
    display: inline-block;
}
.hero-cta:active { transform: scale(0.96); }

a, button { cursor: none; }

/* ── Card hover lifts ── */
.family-card {
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.family-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(44, 36, 22, 0.07);
}

/* ── Custom cursor ── */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    opacity: 0;
    will-change: transform;
    transition: opacity 0.4s ease, width 0.25s var(--ease-out), height 0.25s var(--ease-out), background 0.2s ease;
}
.cursor-dot.visible { opacity: 0.85; }
.cursor-dot::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid var(--terracotta);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.28s var(--ease-out), opacity 0.28s ease;
}
.cursor-dot.cursor-hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
}
/* Shrink dot on hover so ring is more prominent */
.cursor-dot.cursor-hover {
    opacity: 0.5;
}

@media (hover: none) { .cursor-dot { display: none; } }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        transform: none !important;
        clip-path: none !important;
        transition: opacity 0.4s ease !important;
    }
    .hero-name.fade-in { clip-path: none !important; }
    .quote-block::before { transition: none !important; }
    .hero-photo img, .passion-img img, .teaser-img img { transition: none !important; }
    .family-card { transition: none !important; }
    .cursor-dot { display: none !important; }
    body, a, button { cursor: auto !important; }
}

/* ── 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; }
}