:root {
    --bg: #f4efe7;
    --bg-warm: #ece5d6;
    --bg-deep: #1c1917;
    --ink: #231f1c;
    --ink-soft: #5c5751;
    --ink-muted: #8a847c;
    --rule: #d9d1c3;
    --accent: #8a6c3a;
    --accent-deep: #6d5427;
    --sage: #7c8168;
    --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.005em;
    color: var(--ink);
}

h1 { font-size: clamp(3.4rem, 10vw, 7.2rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
h3 { font-size: 1.55rem; font-style: italic; font-weight: 400; }

p { max-width: 62ch; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* --- Nav --- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(244, 239, 231, 0.86);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.site-nav.scrolled { border-bottom-color: var(--rule); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem clamp(1.5rem, 5vw, 4rem);
    max-width: 1240px;
    margin: 0 auto;
}

.wordmark {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
}

.nav-links {
    display: flex;
    gap: 2.4rem;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.nav-links a { position: relative; padding: 0.25rem 0; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

@media (max-width: 640px) {
    .nav-links { display: none; }
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: clamp(4rem, 12vh, 9rem) 0 clamp(3rem, 8vh, 6rem);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 82% 25%, rgba(138, 108, 58, 0.10), transparent 60%),
        radial-gradient(ellipse 50% 60% at 15% 85%, rgba(124, 129, 104, 0.08), transparent 60%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-text .eyebrow { margin-bottom: 1.5rem; }
.hero-text h1 { margin-bottom: 1.75rem; }
.hero-text h1 .italic { font-style: italic; color: var(--accent-deep); }
.hero-sub {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    line-height: 1.5;
    color: var(--ink-soft);
    margin-bottom: 2.5rem;
    max-width: 40ch;
}

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
}
.hero-visual svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 30px 60px rgba(35, 31, 28, 0.22));
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.75rem;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--ink);
    border: 1px solid var(--ink);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-light {
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--ink);
}
.btn-light:hover { background: var(--ink); color: var(--bg); }

/* --- Prologue --- */
.prologue {
    padding: clamp(4rem, 10vh, 7rem) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg-warm);
}
.prologue p {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    font-style: italic;
    line-height: 1.55;
    color: var(--ink);
    max-width: 42ch;
    margin: 0 auto;
    text-align: center;
}

/* --- Section head --- */
.section-head {
    text-align: center;
    margin-bottom: 4.5rem;
}
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p {
    color: var(--ink-soft);
    margin: 0 auto;
    max-width: 46ch;
}

section.wide {
    padding: clamp(5rem, 12vh, 8.5rem) 0;
}

/* --- Collection grid --- */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 900px) {
    .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .collection-grid { grid-template-columns: 1fr; }
}

.piece {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.piece-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(160deg, #ece5d6, #dcd3bf);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.piece:hover .piece-frame { transform: translateY(-4px); }
.piece-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 253, 246, 0.35), transparent 70%);
    pointer-events: none;
}
.piece-frame svg {
    width: 72%;
    height: 72%;
    filter: drop-shadow(0 18px 24px rgba(35, 31, 28, 0.28));
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.piece:hover .piece-frame svg { transform: scale(1.04) rotate(-1deg); }

.piece-meta { padding: 0 0.15rem; }
.piece-tag {
    display: block;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}
.piece h3 { margin-bottom: 0.5rem; }
.piece p {
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 0.9rem;
}
.inquire-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 4px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.inquire-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.inquire-link .arrow { transition: transform 0.25s ease; }
.inquire-link:hover .arrow { transform: translateX(3px); }

/* --- Stories --- */
.stories {
    background: var(--bg-deep);
    color: #ece5d6;
}
.stories h2 { color: #fdf9ef; }
.stories .section-head p { color: rgba(236, 229, 214, 0.72); }
.stories .eyebrow { color: #c9a163; }

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
@media (max-width: 900px) {
    .story-grid { grid-template-columns: 1fr; }
}

.story {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.story-image {
    aspect-ratio: 5 / 4;
    background: linear-gradient(150deg, #2a2622, #14110f);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.story-image svg {
    width: 62%;
    height: 62%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}
.story-place {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c9a163;
}
.story h3 {
    color: #fdf9ef;
    font-style: normal;
    font-size: 1.7rem;
    line-height: 1.15;
}
.story p {
    color: rgba(236, 229, 214, 0.78);
    font-size: 15.5px;
}

/* --- About --- */
.about-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}
@media (max-width: 900px) {
    .about-inner { grid-template-columns: 1fr; }
}

.about-portrait {
    aspect-ratio: 4 / 5;
    background: linear-gradient(160deg, #d9c9a8, #b19770);
    position: relative;
    overflow: hidden;
    max-width: 460px;
    justify-self: center;
    width: 100%;
}
.about-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 45% 30%, rgba(255, 250, 232, 0.42), transparent 65%),
        radial-gradient(ellipse 70% 60% at 65% 85%, rgba(64, 48, 24, 0.28), transparent 70%);
}
.about-portrait svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.about-text .eyebrow { margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.75rem; }
.about-text p { margin-bottom: 1.2rem; color: var(--ink-soft); font-size: 17px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text .signature {
    display: block;
    margin-top: 2rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--ink);
}

/* --- Inquire --- */
.inquire {
    background: var(--bg-warm);
    border-top: 1px solid var(--rule);
}
.inquire-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.inquire h2 { margin-bottom: 1.25rem; }
.inquire p { color: var(--ink-soft); margin: 0 auto 2.25rem; }

/* --- Footer --- */
footer {
    border-top: 1px solid var(--rule);
    padding: 2.5rem 0;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Reveal on scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
