:root {
    --cream: #F4EDE3;
    --cream-deep: #EAE0D1;
    --umber: #2A2018;
    --umber-soft: #3A2C20;
    --amber: #C08A3E;
    --amber-deep: #A5722C;
    --terra: #A8724A;
    --sage: #8E9B7C;
    --sage-deep: #74815F;
    --ink: #1A1410;
    --ink-soft: #5B4A3A;
    --cream-line: rgba(42, 32, 24, .16);
    --umber-line: rgba(244, 237, 227, .16);

    --glow-amber: rgba(192, 138, 62, .55);
    --glow-amber-soft: rgba(192, 138, 62, .28);
    --glow-terra: rgba(168, 114, 74, .4);
    --glow-sage: rgba(142, 155, 124, .4);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Instrument Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --container: 1240px;
}

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

/* ---------- grain texture ---------- */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: .035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@media (max-width: 720px) {
    .grain-overlay {
        opacity: .025;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.01em;
}

h1 em,
h2 em,
h3 em,
.accent {
    font-style: normal;
    color: var(--amber-deep);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-decoration-thickness: 2px;
    text-underline-offset: .12em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.oo {
    color: var(--amber);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 500;
    margin-bottom: 16px;
}

.eyebrow svg {
    width: 15px;
    height: 15px;
    color: var(--amber);
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 30px;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .02em;
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--umber);
    color: var(--cream);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--ink);
    box-shadow: 0 8px 30px -6px rgba(26, 20, 16, .55), 0 0 22px -4px var(--glow-amber-soft);
}

.btn-outline {
    background: transparent;
    color: var(--umber);
    border: 1px solid var(--umber);
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}

.btn-outline:hover {
    background: var(--umber);
    color: var(--cream);
    box-shadow: 0 0 20px -4px var(--glow-amber-soft);
}

.btn-whatsapp {
    background: var(--amber);
    color: var(--umber);
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    background: var(--amber-deep);
    box-shadow: 0 10px 34px -6px var(--glow-amber), 0 0 0 1px rgba(192, 138, 62, .2);
}

.btn-sm {
    padding: 11px 20px;
    font-size: .8rem;
}

/* ---------- header ---------- */
header {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 220;
    padding: 16px 0;
    border-radius: 20px;
    background: rgba(244, 237, 227, .86);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid var(--cream-line);
    box-shadow: 0 12px 32px -20px rgba(42, 32, 24, .4);
    transition: top .35s ease, padding .35s ease, box-shadow .35s ease, border-radius .35s ease;
}

header.scrolled {
    top: 10px;
    padding: 10px 0;
    box-shadow: 0 16px 40px -18px rgba(42, 32, 24, .5);
}

@media (max-width: 720px) {
    header {
        top: 10px;
        left: 10px;
        right: 10px;
        border-radius: 16px;
    }

    header.scrolled {
        top: 8px;
    }
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transform: translateY(-6px);
    transition: height .35s ease, filter .35s ease, opacity .45s ease, transform .45s ease;
}

header.scrolled .logo-img {
    height: 26px;
    opacity: 1;
    transform: none;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 10px var(--glow-amber-soft));
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-family: var(--font-mono);
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    position: relative;
    padding: 4px 0;
    transition: color .25s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width .3s ease;
}

nav a:hover {
    color: var(--umber);
}

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links-desktop {
    display: flex;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 22px;
    position: relative;
    z-index: 225;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger span {
    height: 2px;
    width: 100%;
    background: var(--umber);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}

.burger.open span {
    background: var(--cream) !important;
}

.burger.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 14, 11, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 205;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}

.mobile-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 320px);
    background: var(--umber);
    z-index: 210;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 32px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .38s cubic-bezier(.4, 0, .2, 1), visibility .38s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.mobile-panel.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--umber-line);
    margin-bottom: 20px;
}

.mobile-panel-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--cream);
    letter-spacing: -.01em;
}

.mobile-panel-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--cream);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.mobile-panel-close:hover {
    background: var(--amber);
    color: var(--umber);
    transform: scale(1.05);
}

.mobile-panel-close svg {
    width: 18px;
    height: 18px;
}

.mobile-panel-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: auto;
}

.mobile-panel-nav a {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--cream);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color .2s ease, padding-left .2s ease;
}

.mobile-panel-nav a:hover {
    color: var(--amber);
    padding-left: 6px;
}

.mobile-panel-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    margin-top: 16px;
    border-top: 1px solid var(--umber-line);
}

.mobile-panel-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    padding: 180px 0 110px;
    overflow: hidden;
}

.hero-center {
    text-align: center;
    padding: 170px 0 120px;
}

.hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-center .eyebrow {
    justify-content: center;
}

.hero-logo {
    width: min(78%, 540px);
    height: auto;
    margin: 8px auto 4px;
    display: block;
    opacity: 0;
    transform: translateY(16px);
    animation: logo-in 1.1s cubic-bezier(.2, .7, .2, 1) forwards .2s;
    position: relative;
    filter: drop-shadow(0 0 26px rgba(192, 138, 62, 0));
    animation: logo-in 1.1s cubic-bezier(.2, .7, .2, 1) forwards .2s, logoGlow 5s ease-in-out infinite 1.4s;
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 22px rgba(192, 138, 62, .16));
    }

    50% {
        filter: drop-shadow(0 0 34px rgba(192, 138, 62, .3));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo {
        animation: logo-in 1.1s cubic-bezier(.2, .7, .2, 1) forwards .2s;
    }
}

@keyframes logo-in {
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 400;
    color: var(--umber);
    margin-top: 18px;
    line-height: 1.2;
}

.hero-tagline em {
    font-style: normal;
    color: var(--amber-deep);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-decoration-thickness: 2px;
    text-underline-offset: .12em;
}

.hero-center .lede {
    margin: 20px auto 32px;
    max-width: 52ch;
}

.hero-center .hero-actions {
    justify-content: center;
}

.hero-center .hero-meta {
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 460px;
    height: 460px;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 138, 62, .16), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity .5s ease;
}

.hero-glow.active {
    opacity: 1;
}

.ginkgo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(120vw, 1400px);
    max-width: 100%;
    height: 600px;
    transform: translate(-50%, -46%);
    background-image: url("img/bloom-logo-dark.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .035;
    z-index: 1;
    pointer-events: none;
}

.hero .lede {
    font-size: 1.05rem;
    color: var(--ink-soft);
    max-width: 46ch;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    font-family: var(--font-mono);
    font-size: .74rem;
    letter-spacing: .04em;
    color: var(--ink-soft);
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-chip svg {
    width: 15px;
    height: 15px;
    color: var(--terra);
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--amber);
}

.stars svg {
    width: 15px;
    height: 15px;
}

/* ---------- section rhythm ---------- */
.section-head {
    margin-bottom: 48px;
    max-width: 640px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head.center .eyebrow {
    justify-content: center;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-head h2 em {
    text-decoration: none;
}

.section-head h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--amber), var(--terra));
    transition: width 1s cubic-bezier(.2, .7, .2, 1) .2s;
}

.section-head.center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-head.reveal.in h2::after {
    width: 72px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 1.02rem;
}

/* ---------- about ---------- */
.about {
    background: var(--umber);
    color: var(--cream);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-monogram {
    position: absolute;
    top: 50%;
    right: -8%;
    width: 460px;
    max-width: 55%;
    aspect-ratio: 1;
    transform: translateY(-50%) rotate(0deg);
    background-image: url("img/bloom-monogramma.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .05;
    filter: invert(1) brightness(1.8);
    z-index: 0;
    pointer-events: none;
    animation: monogramSpin 140s linear infinite;
}

@keyframes monogramSpin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about h2 {
    color: var(--cream);
}

.about p {
    color: #CBB8A4;
}

.about .eyebrow {
    color: var(--amber);
}

.about-art {
    position: relative;
}

.about-art img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 3px;
}

.about-quote {
    position: absolute;
    bottom: -28px;
    right: -28px;
    max-width: 260px;
    background: var(--amber);
    color: var(--umber);
    padding: 22px 24px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.35;
    border-radius: 3px;
}

.about-quote span {
    display: block;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--umber-soft);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
    margin-top: 40px;
}

.value-card {
    border-top: 1px solid var(--umber-line);
    padding-top: 18px;
}

.value-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.value-card svg {
    width: 22px;
    height: 22px;
    color: var(--amber);
    flex-shrink: 0;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.value-card:hover svg {
    transform: scale(1.12) rotate(-4deg);
}

.value-card h4 {
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: 0;
}

.value-card p {
    font-size: .88rem;
    color: #B49E86;
    line-height: 1.5;
}

/* ---------- founder ---------- */
.founder {
    padding: 100px 0;
    background: var(--cream);
}

.founder-grid {
    display: grid;
    grid-template-columns: .62fr 1.38fr;
    gap: 56px;
    align-items: center;
}

.founder-photo {
    position: relative;
    max-width: 320px;
}

.founder-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
}

.founder-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(42, 32, 24, .08);
    pointer-events: none;
}

.founder-text h2 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    margin: 4px 0 20px;
}

.founder-text p {
    color: var(--ink-soft);
    font-size: 1.03rem;
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 52ch;
}

.founder-sign {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--terra) !important;
    font-size: 1.15rem !important;
    margin-top: 8px;
}

/* ---------- manifesto ---------- */
.manifesto {
    position: relative;
    padding: 88px 0;
    text-align: center;
    overflow: hidden;
}

.manifesto p {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 3.6vw, 2.6rem);
    line-height: 1.35;
    max-width: 18ch;
    margin: 0 auto;
    color: var(--umber);
    position: relative;
    z-index: 1;
}

.manifesto p em {
    font-style: normal;
    color: var(--amber-deep);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-decoration-thickness: 2px;
    text-underline-offset: .12em;
}

.manifesto-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    color: var(--terra);
    opacity: .07;
    z-index: 0;
    pointer-events: none;
}

.manifesto-mark svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 720px) {
    .manifesto {
        padding: 64px 0;
    }

    .manifesto-mark {
        width: 220px;
        height: 220px;
    }
}

/* ---------- gallery ---------- */
.gallery {
    padding: 100px 0;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 240px 240px;
    gap: 14px;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin: 0;
    cursor: pointer;
    transition: box-shadow .4s ease;
}

.mosaic-item:hover {
    box-shadow: 0 0 0 2px var(--amber), 0 14px 40px -14px var(--glow-amber);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .9s cubic-bezier(.2, .6, .2, 1);
    transform: scale(1.01);
}

.mosaic-item:hover img {
    transform: scale(1.07);
}

.mosaic-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 32, 24, .3), transparent 55%);
    opacity: 0;
    transition: opacity .5s ease;
}

.mosaic-item:hover::after {
    opacity: 1;
}

.mosaic-item::before {
    content: "⤢";
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(244, 237, 227, .92);
    color: var(--umber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s ease, transform .35s ease;
}

.mosaic-item:hover::before,
.mosaic-item:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.mosaic-item:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

.mosaic-a {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.mosaic-b {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.mosaic-c {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.mosaic-d {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.mosaic-e {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.mosaic-f {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(26, 20, 16, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 86vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(.94);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.lightbox.open .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
}

.lightbox-content figcaption {
    margin-top: 16px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber);
}

.lightbox-content figcaption:empty {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(244, 237, 227, .12);
    color: var(--cream);
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, transform .3s ease;
}

.lightbox-close:hover {
    background: rgba(244, 237, 227, .24);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(244, 237, 227, .1);
    color: var(--cream);
    font-size: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
    z-index: 2;
}

.lightbox-nav:hover {
    background: var(--amber);
    color: var(--umber);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

/* ---------- services ---------- */
.services {
    background: var(--cream-deep);
    padding: 100px 0;
}

.service-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--umber);
}

.cat-card {
    --cat-accent: var(--amber);
    position: relative;
    padding: 40px 40px 44px;
    border-right: 1px solid var(--cream-line);
    border-bottom: 1px solid var(--cream-line);
    transition: background .4s ease, color .4s ease, box-shadow .5s ease;
    overflow: hidden;
}

.cat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--cat-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.cat-card:hover::before {
    transform: scaleY(1);
}

.service-cats>.cat-card:nth-child(1) {
    --cat-accent: var(--sage);
}

.service-cats>.cat-card:nth-child(2) {
    --cat-accent: var(--amber);
}

.service-cats>.cat-card:nth-child(3) {
    --cat-accent: var(--terra);
}

.service-cats>.cat-card:nth-child(4) {
    --cat-accent: var(--amber-deep);
}

.service-cats>.cat-card:nth-child(2n) {
    border-right: none;
}

.cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.cat-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.4rem;
    color: var(--cat-accent);
    line-height: 1;
    transition: color .4s ease;
}

.cat-card .service-icon {
    margin: 0;
}

.cat-card .service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--umber);
    transition: color .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
}

.cat-card:hover .service-icon svg {
    transform: scale(1.12) rotate(6deg);
}

.cat-card h3 {
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.cat-card>p {
    font-size: .94rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 22px;
}

.cat-list {
    border-top: 1px solid var(--cream-line);
    padding-top: 18px;
}

.cat-list li {
    position: relative;
    padding: 7px 0 7px 22px;
    font-size: .92rem;
    color: var(--umber);
}

.cat-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    border: 1px solid var(--terra);
    border-radius: 50%;
}

.cat-card:hover {
    background: var(--umber);
    color: var(--cream);
    box-shadow: 0 20px 45px -22px rgba(20, 14, 10, .55);
}

.cat-card:hover h3,
.cat-card:hover .cat-list li {
    color: var(--cream);
}

.cat-card:hover>p {
    color: #CBB8A4;
}

.cat-card:hover .service-icon svg {
    color: var(--cat-accent);
}

.cat-card:hover .cat-list {
    border-color: var(--umber-line);
}

.cat-card:hover .cat-list li::before {
    border-color: var(--cat-accent);
}

/* ---------- works ---------- */
.works {
    padding: 100px 0;
    background: var(--cream-deep);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.work-item {
    position: relative;
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.2, .6, .2, 1);
}

.work-item:hover img {
    transform: scale(1.06);
}

.work-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 16px 14px;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cream);
    background: linear-gradient(to top, rgba(42, 32, 24, .82), transparent);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s ease, transform .4s ease;
}

.work-item:hover figcaption,
.work-item:focus-visible figcaption {
    opacity: 1;
    transform: translateY(0);
}

.work-item::before {
    content: "⤢";
    position: absolute;
    z-index: 2;
    right: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(244, 237, 227, .92);
    color: var(--umber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s ease, transform .35s ease;
}

.work-item:hover::before,
.work-item:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.work-item:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

/* ---------- promo ---------- */
.promo {
    padding: 100px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.promo-card {
    padding: 32px 28px;
    background: var(--cream-deep);
    border-radius: 4px;
    border-left: 2px solid var(--amber);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -18px rgba(42, 32, 24, .35), 0 0 24px -8px var(--glow-amber-soft);
}

.promo-card svg {
    width: 28px;
    height: 28px;
    color: var(--terra);
    margin-bottom: 16px;
    transition: filter .4s ease;
}

.promo-card:hover svg {
    filter: drop-shadow(0 0 6px var(--glow-terra));
}

.promo-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.promo-card p {
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

.promo-cta {
    text-align: center;
}

.promo-cta p {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 1.4rem;
    color: var(--umber);
    margin-bottom: 22px;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- reviews ---------- */
.reviews {
    background: var(--umber);
    color: var(--cream);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.reviews .container {
    position: relative;
    z-index: 1;
}

.reviews h2 {
    color: var(--cream);
}

.reviews .eyebrow {
    color: var(--amber);
}

.rating-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 56px;
}

.rating-num {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--amber);
    line-height: 1;
    text-shadow: 0 0 40px var(--glow-amber-soft);
}

.rating-side .stars svg {
    width: 20px;
    height: 20px;
}

.rating-side span {
    display: block;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: .74rem;
    letter-spacing: .06em;
    color: #B49E86;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    border: 1px solid var(--umber-line);
    border-radius: 4px;
    padding: 28px 26px;
    transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(192, 138, 62, .5);
    box-shadow: 0 0 30px -10px var(--glow-amber-soft);
}

.review-card .stars {
    margin-bottom: 16px;
}

.review-card .stars svg {
    width: 16px;
    height: 16px;
}

.review-card p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--cream);
    margin-bottom: 22px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--umber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-weight: 500;
    font-size: .95rem;
    color: var(--cream);
}

.review-author small {
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .04em;
    color: #B49E86;
}

/* ---------- contact ---------- */
.contact {
    padding: 100px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
}

.info-card {
    background: var(--umber);
    color: var(--cream);
    border-radius: 4px;
    padding: 40px 36px;
    height: 100%;
}

.info-row {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--umber-line);
}

.info-row:first-child {
    padding-top: 0;
}

.info-row svg {
    width: 20px;
    height: 20px;
    color: var(--amber);
    flex-shrink: 0;
    margin-top: 3px;
}

.info-row h4 {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 6px;
}

.info-row p,
.info-row a {
    color: var(--cream);
    font-size: .96rem;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 3px 0;
    font-size: .9rem;
    color: #CBB8A4;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--cream);
}

.info-note {
    font-size: .78rem !important;
    color: #B49E86 !important;
    margin-top: 10px;
    font-style: italic;
}

.info-actions {
    display: flex;
    gap: 12px;
    margin: 26px 0 22px;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--umber-line);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    color: var(--cream);
}

.social-icon:hover {
    background: var(--amber);
    border-color: var(--amber);
    box-shadow: 0 0 22px -4px var(--glow-amber);
}

.social-icon:hover svg {
    color: var(--umber);
}

.map-wrap {
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    filter: grayscale(.3) sepia(.15);
}

/* ---------- footer ---------- */
footer {
    background: var(--ink);
    color: var(--cream);
    padding: 72px 0 32px;
    position: relative;
    overflow: hidden;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-statement {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.6vw, 2.5rem);
    line-height: 1.15;
    max-width: 18ch;
    color: var(--cream);
    margin-bottom: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--umber-line);
    border-bottom: 1px solid var(--umber-line);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.footer-logo-mark {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-grid>div>p {
    color: #B49E86;
    font-size: .92rem;
    max-width: 40ch;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #CBB8A4;
    font-size: .92rem;
    padding: 6px 0;
    transition: color .25s ease;
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 26px;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .04em;
    color: #8A755E;
}

/* ---------- animations ---------- */

.anim-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFade .9s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: none;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.2, .7, .2, 1), transform .65s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--i, 0) * .09s);
}

.reveal-up.in {
    opacity: 1;
    transform: none;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal-zoom.in {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal-left.in,
.reveal-right.in {
    opacity: 1;
    transform: none;
}

.section-head h2 {
    position: relative;
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}

.btn:hover::before {
    left: 140%;
}

.btn svg {
    transition: transform .3s ease;
}

.btn:hover svg {
    transform: translateX(2px) scale(1.08);
}

.eyebrow svg {
    animation: eyebrowPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 3px var(--glow-amber-soft));
}

@keyframes eyebrowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: .7;
    }
}

.rating-num {
    transition: transform .3s ease;
}

.scroll-cue {
    position: absolute;
    bottom: 34px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    opacity: 0;
    animation: heroFade .9s ease forwards 1.3s;
    z-index: 2;
    transition: opacity .5s ease;
}

.scroll-cue-text {
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-right: -.18em;
}

.scroll-cue.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.scroll-cue span {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--terra), transparent);
    animation: scrollLine 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }

    40% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(0);
        opacity: 0;
        transform-origin: bottom;
    }
}

@media (prefers-reduced-motion: reduce) {

    .anim-fade,
    .reveal,
    .reveal-up,
    .reveal-zoom,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .eyebrow svg,
    .scroll-cue span {
        animation: none !important;
    }

    .lightbox,
    .lightbox-content,
    .lightbox-close {
        transition: opacity .2s ease, visibility .2s !important;
        transform: none !important;
    }
}

/* ---------- refinements ---------- */

.cat-num {
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), color .4s ease;
}

.cat-card:hover .cat-num {
    transform: translateY(-3px);
}

.btn {
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), background .3s ease, color .3s ease, box-shadow .3s ease;
}

.btn:active {
    transform: translateY(0) scale(.98);
}

.btn-primary:hover,
.btn-whatsapp:hover {
    box-shadow: 0 14px 30px -12px rgba(42, 32, 24, .5);
}

.review-card {
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .5s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--amber);
}

.promo-card {
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -22px rgba(42, 32, 24, .35);
}

.social-icon {
    transition: background .3s ease, border-color .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}

.social-icon:hover {
    transform: translateY(-3px);
}

.about-quote {
    letter-spacing: .005em;
}

.hero-meta .stars:hover svg {
    animation: twinkle .6s ease;
}

@keyframes twinkle {
    50% {
        transform: scale(1.3);
    }
}

.section-head h2 {
    letter-spacing: -.015em;
}

nav a::after {
    transition: width .35s cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {

    .cat-card:hover .cat-num,
    .review-card:hover,
    .promo-card:hover,
    .social-icon:hover,
    .value-card:hover svg {
        transform: none !important;
    }

    .hero-meta .stars:hover svg {
        animation: none !important;
    }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {

    .about-grid,
    .contact-grid,
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-photo img {
        aspect-ratio: 4 / 4;
    }

    .about-quote {
        position: static;
        margin-top: 20px;
        max-width: none;
    }

    .service-cats,
    .promo-grid,
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-mosaic {
        grid-template-rows: 190px 190px;
    }
}

@media (max-width: 720px) {

    .nav-links-desktop,
    .nav-cta .btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 130px 0 70px;
    }

    .hero-center {
        padding: 130px 0 118px;
    }

    .hero-logo {
        width: 88%;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .value-card {
        padding: 18px 0;
    }

    .service-cats,
    .promo-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cats>.cat-card {
        border-right: none !important;
    }

    .cat-card {
        padding: 32px 24px 36px;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 150px);
    }

    .mosaic-a {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .mosaic-b {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .mosaic-c {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .mosaic-d {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .mosaic-e {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .mosaic-f {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }

    .rating-num {
        font-size: 3.4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .contact-grid>.reveal {
        width: 100%;
    }

    .info-card {
        padding: 30px 22px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        margin: 0 auto;
        width: 100%;
    }

    .info-row {
        gap: 12px;
        padding: 14px 0;
    }

    .info-actions {
        flex-direction: column;
        gap: 10px;
        margin: 22px 0 18px;
        width: 100%;
    }

    .info-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hours-table tr {
        display: flex;
        flex-direction: column;
        padding: 6px 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    }

    .hours-table tr:last-child {
        border-bottom: none;
    }

    .hours-table td {
        padding: 1px 0;
    }

    .hours-table td:first-child {
        font-weight: 500;
        color: var(--amber);
        font-size: 0.8rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .hours-table td:last-child {
        text-align: left;
        color: var(--cream);
        font-size: 0.88rem;
    }

    .social-row {
        justify-content: center;
        margin-top: 14px;
    }

    .map-wrap {
        min-height: 280px;
        border-radius: 12px;
        width: 100%;
    }
}

/* ---------- intro splash ---------- */
.intro-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--umber);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1), visibility 1.2s;
}

.intro-splash.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(70vw, 460px);
    transition: transform 1.2s cubic-bezier(.4, 0, .2, 1), filter 1.2s ease;
}

.intro-splash.done .intro-logo {
    transform: scale(1.08);
    filter: blur(2px);
}

.intro-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 663 / 172;
}

.intro-letter {
    position: absolute;
    filter: brightness(0) invert(1);
    opacity: 0;
    transform: translateY(20px);
    animation: introRise .9s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(var(--n) * .2s);
}

.intro-beauty {
    width: 52%;
    margin-top: 8%;
    filter: brightness(0) invert(1);
    opacity: 0;
    transform: translateY(14px);
    animation: introRise .9s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(var(--n) * .2s);
}

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

.site-reveal {
    opacity: 0;
    transform: translateY(12px);
}

.site-reveal.in {
    opacity: 1;
    transform: none;
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {

    .intro-letter,
    .intro-beauty {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .intro-splash {
        transition: opacity .3s ease, visibility .3s;
    }
}

/* ---------- template: text logo ---------- */
.logo {
    gap: 8px;
}

.logo-mark {
    width: 22px;
    height: 22px;
    color: var(--amber);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: -.01em;
    color: var(--umber);
}

.hero-logo {
    width: auto;
    max-width: 100%;
    margin: 8px 0 4px;
    opacity: 1;
    transform: none;
    animation: none;
    filter: none;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--umber);
}

.hero-mark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(60vw, 640px);
    height: min(60vw, 640px);
    transform: translate(-50%, -46%);
    color: var(--umber);
    opacity: .05;
    z-index: 1;
    pointer-events: none;
}

.about-monogram {
    background-image: none;
    filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-monogram svg {
    width: 70%;
    height: 70%;
    color: var(--cream);
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-mark {
    width: 28px;
    height: 28px;
    color: var(--amber);
    margin-right: 10px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--cream);
}

/* ---------- template: placeholder blocks (foto reali da inserire) ---------- */
.ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: repeating-linear-gradient(135deg, var(--cream-deep), var(--cream-deep) 10px, var(--cream) 10px, var(--cream) 20px);
    border: 1px dashed var(--cream-line);
    color: var(--ink-soft);
    cursor: default;
}

.ph svg {
    width: 26px;
    height: 26px;
    opacity: .45;
}

.ph span {
    font-family: var(--font-mono);
    font-size: .64rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .55;
    text-align: center;
    padding: 0 12px;
}

.ph-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 3px;
}

.mosaic-item.ph::before,
.work-item.ph::before {
    content: none;
}

.work-item.ph {
    position: relative;
}

.work-item.ph figcaption {
    position: static;
    background: none;
    opacity: 1;
    transform: none;
    color: var(--ink-soft);
    padding: 10px 0 0;
}