/* ── Tokens ── */

:root {
    --bg:           #FAF7F4;
    --bg-card:      #F0E8EC;
    --ink:          #1C1618;
    --ink-mid:      #6E5C64;
    --ink-muted:    #A08090;
    --accent:       #BC6B82;
    --accent-glow:  rgba(188, 107, 130, 0.14);
    --border:       #E4D8DC;
    --nav-bg:       rgba(250, 247, 244, 0.92);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --max-w:  1080px;
    --radius: 10px;
    --gap:    14px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg:          #18130F;
        --bg-card:     #221A1E;
        --ink:         #F2ECE8;
        --ink-mid:     #A89098;
        --ink-muted:   #6A5860;
        --accent:      #D4909E;
        --accent-glow: rgba(212, 144, 158, 0.16);
        --border:      #2E2228;
        --nav-bg:      rgba(24, 19, 15, 0.92);
    }
}

:root[data-theme="dark"] {
    --bg:          #18130F;
    --bg-card:     #221A1E;
    --ink:         #F2ECE8;
    --ink-mid:     #A89098;
    --ink-muted:   #6A5860;
    --accent:      #D4909E;
    --accent-glow: rgba(212, 144, 158, 0.16);
    --border:      #2E2228;
    --nav-bg:      rgba(24, 19, 15, 0.92);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .sparkle-field { mix-blend-mode: screen; }
}
:root[data-theme="dark"] .sparkle-field { mix-blend-mode: screen; }

/* ── Reset ── */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: var(--max-w);
    margin-inline: auto;
}

/* ── Paper grain overlay ── */

.grain {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.048;
    mix-blend-mode: soft-light;
}

/* ── Keyframes ── */

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0);  }
    50%      { transform: translateY(8px); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0;    transform: scale(0.4) rotate(0deg);  }
    30%, 70% { opacity: 1;    transform: scale(1)   rotate(18deg); }
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.93) translateY(10px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

@keyframes modalOut {
    from { opacity: 1; transform: scale(1)    translateY(0);   }
    to   { opacity: 0; transform: scale(0.95) translateY(6px); }
}

@keyframes menuSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Eyebrow ── */

.eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 300;
    font-style: italic;
    font-optical-sizing: auto;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: '✦ ';
    font-size: 0.52rem;
    opacity: 0.85;
    letter-spacing: 0;
}

/* ── Nav ── */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    animation: slideDown 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-mid);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links a.nav-active {
    font-weight: 700;
    color: var(--ink);
}

.nav-links a.nav-active::before {
    content: '✦ ';
    font-size: 0.6em;
    vertical-align: middle;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.site-nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Intro ── */

.intro {
    padding: 110px 0 90px;
    position: relative;
    background:
        radial-gradient(ellipse at 18% 65%, var(--accent-glow) 0%, transparent 58%),
        radial-gradient(ellipse at 82% 18%, var(--accent-glow) 0%, transparent 52%);
}

.intro-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 64px;
}

.intro-text {
    position: relative;
    z-index: 1;
}

/* ── Floating hero card ── */

@keyframes heroFloat {
    0%, 100% { translate: 0 0px;  }
    50%       { translate: 0 14px; }
}

@keyframes heroSpin {
    from { transform: perspective(900px) rotate(-10deg) rotateY(0deg); }
    to   { transform: perspective(900px) rotate(-10deg) rotateY(360deg); }
}

@keyframes processWiggle {
    0%, 100% { rotate: var(--pc-tilt); }
    20%      { rotate: calc(var(--pc-tilt) + 6deg); }
    50%      { rotate: calc(var(--pc-tilt) - 4deg); }
    75%      { rotate: calc(var(--pc-tilt) + 2deg); }
}

.intro-card-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-card {
    width: 300px;
    height: 171px; /* 3.5 : 2 business card ratio */
    background: linear-gradient(148deg, #FAF7F4 0%, #F0E8EC 100%);
    border: 1px solid var(--border);
    border-radius: 7px;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.20),
        0 6px 18px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 24px 18px;
    transform: perspective(900px) rotate(-10deg);
    animation: heroFloat 5.5s ease-in-out 0.75s infinite, heroSpin 0.9s ease-in-out both;
    transition: transform 0.15s ease-out;
    backface-visibility: hidden;
    cursor: default;
    user-select: none;
}

.hc-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.hc-name {
    font-family: var(--font-display);
    font-size: 1.42rem;
    font-weight: 300;
    font-style: italic;
    font-optical-sizing: auto;
    color: #1C1618;
    line-height: 1.15;
    letter-spacing: 0.01em;
    display: block;
}

.hc-bottom {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hc-role {
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: block;
    margin-bottom: 2px;
}

.hc-services {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    color: #A08090;
    display: block;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.hc-location,
.hc-email {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    color: #6E5C64;
    display: block;
    letter-spacing: 0.02em;
}

.intro-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    animation: fadeUp 0.6s ease 0.3s both;
}

.avail-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--ink-mid);
    margin-bottom: 20px;
    animation: fadeUp 0.6s ease 0.4s both;
}

.avail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7ab87a;
    flex-shrink: 0;
    animation: avail-pulse 2.4s ease-in-out infinite;
}

@keyframes avail-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(122, 184, 122, 0.4); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 4px rgba(122, 184, 122, 0); }
}

.contact-avail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--ink-mid);
    margin-bottom: 10px;
}

.intro-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 6.2rem);
    font-weight: 300;
    font-optical-sizing: auto;
    line-height: 1.05;
    text-wrap: balance;
    color: var(--ink);
    max-width: 14ch;
    animation: fadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.intro-headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

/* ── Sparkle field ── */

.sparkle-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.sparkle {
    position: absolute;
    color: var(--accent);
    opacity: 0;
    user-select: none;
    animation: twinkle var(--dur, 4s) ease-in-out var(--del, 0s) infinite;
}

.sparkle::before { content: '✦'; }

.sparkle.s1  { top:  8%; left:  7%;  font-size: 1.2rem; --del: 0s;    --dur: 3.6s; }
.sparkle.s2  { top: 14%; right: 11%; font-size: 1.0rem; --del: 1.4s;  --dur: 4.3s; }
.sparkle.s3  { top: 23%; left: 38%;  font-size: 1.8rem; --del: 0.7s;  --dur: 5.1s; }
.sparkle.s4  { top: 31%; right: 26%; font-size: 1.4rem; --del: 2.1s;  --dur: 3.8s; }
.sparkle.s5  { top: 40%; left: 16%;  font-size: 0.9rem; --del: 0.4s;  --dur: 4.7s; }
.sparkle.s6  { top: 48%; right:  7%; font-size: 1.5rem; --del: 3.0s;  --dur: 3.4s; }
.sparkle.s7  { top: 55%; left: 58%;  font-size: 0.9rem; --del: 1.8s;  --dur: 4.2s; }
.sparkle.s8  { top: 62%; left: 82%;  font-size: 2.0rem; --del: 0.2s;  --dur: 5.5s; }
.sparkle.s9  { top: 70%; left:  4%;  font-size: 1.1rem; --del: 2.5s;  --dur: 3.9s; }
.sparkle.s10 { top: 77%; right: 16%; font-size: 0.9rem; --del: 1.1s;  --dur: 4.6s; }
.sparkle.s11 { top: 84%; left: 44%;  font-size: 1.3rem; --del: 3.5s;  --dur: 3.2s; }
.sparkle.s12 { top: 91%; right:  4%; font-size: 1.0rem; --del: 0.9s;  --dur: 4.8s; }
.sparkle.s13 { top:  5%; left: 52%;  font-size: 1.9rem; --del: 1.6s;  --dur: 4.0s; }
.sparkle.s14 { top: 45%; left: 90%;  font-size: 0.9rem; --del: 2.8s;  --dur: 5.2s; }
.sparkle.s15 { top: 73%; left: 27%;  font-size: 1.5rem; --del: 0.6s;  --dur: 3.7s; }
.sparkle.s16 { top: 26%; left: 73%;  font-size: 1.1rem; --del: 3.2s;  --dur: 4.4s; }
.sparkle.s17 { top: 87%; left: 68%;  font-size: 1.2rem; --del: 1.3s;  --dur: 3.6s; }
.sparkle.s18 { top: 58%; left: 32%;  font-size: 1.6rem; --del: 2.3s;  --dur: 4.9s; }

/* ── Scroll reveal ── */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Work ── */

.section-work {
    padding: 0 0 100px;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 28px;
    margin-bottom: 28px;
}

.work-header .eyebrow {
    margin-bottom: 0;
}

.filter-row {
    display: flex;
    gap: 6px;
}

.filter-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--ink-muted);
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.01em;
}

.filter-btn:hover {
    color: var(--ink);
}

.filter-btn.active {
    color: var(--ink);
    background: var(--bg-card);
    font-weight: 500;
}

/* ── Bento grid ── */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: var(--gap);
}

.bento-item--tall { grid-row: span 2; }
.bento-item--wide { grid-column: span 2; }

.bento-grid.is-filtered .bento-item--tall { grid-row: span 1; }
.bento-grid.is-filtered .bento-item--wide { grid-column: span 1; }

.bento-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    transition:
        opacity 0.55s ease,
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
}

.card-visual {
    flex: 1;
    min-height: 0;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bento-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bento-item:hover {
    transition-delay: 0s !important;
    transform: scale(1.018) translateY(-3px) !important;
    box-shadow: 0 14px 44px var(--accent-glow), 0 2px 12px rgba(0, 0, 0, 0.07);
}

.bento-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0);
    transition: background 0.25s ease;
}

.bento-item:hover::after {
    background: rgba(0, 0, 0, 0.05);
}

.bento-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.bento-item.is-hiding {
    opacity: 0 !important;
    transform: scale(0.92) translateY(8px) !important;
    pointer-events: none;
    transition-delay: 0s !important;
}

.card-body {
    padding: 10px 14px 14px;
    background: var(--bg-card);
    position: relative;
    z-index: 1;
}

.card-label {
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-muted);
    margin-bottom: 4px;
}

.spec-badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    border: 1px solid currentColor;
    border-radius: 20px;
    padding: 1px 6px;
    vertical-align: middle;
    margin-left: 5px;
    opacity: 0.75;
    font-family: var(--font-body);
}

.spec-badge--modal {
    display: block;
    margin: 4px 0 10px;
    font-size: 0.65rem;
    padding: 3px 9px;
    opacity: 0.8;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    font-optical-sizing: auto;
    color: var(--ink);
    line-height: 1.2;
}

/* ── About ── */

.section-about {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}

.about-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 28px;
}

.about-photo {
    width: 200px;
    aspect-ratio: 21 / 17; /* matches the photo's natural 378×306 ratio */
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px dashed var(--border);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-img[src=""] {
    display: none;
}

.about-photo-label {
    position: absolute;
    font-size: 0.72rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.about-photo:has(.about-img:not([src=""])) .about-photo-label {
    display: none;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 54ch;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--ink-mid);
    line-height: 1.78;
}


/* ── Contact ── */

.section-contact {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}

.contact-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 300;
    font-style: italic;
    font-optical-sizing: auto;
    color: var(--ink);
    margin-bottom: 28px;
    line-height: 1.1;
    text-wrap: balance;
}

.contact-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 560px;
    margin: 0 auto;
}

.contact-links a {
    font-size: 1rem;
    color: var(--ink-mid);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.contact-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.contact-dot {
    color: var(--ink-muted);
    font-size: 1.1rem;
}

/* ── Contact form ── */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-mid);
    letter-spacing: 0.03em;
}

.form-input {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    font-family: var(--font-body);
    font-size: 0.925rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.18s;
}

.form-input::placeholder {
    color: var(--ink-muted);
    opacity: 0.7;
}

.form-input:focus {
    border-color: var(--accent);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-type-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-type-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-mid);
    letter-spacing: 0.03em;
}

.form-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.form-type-opt { cursor: pointer; }

.form-type-opt input[type="radio"] { display: none; }

.form-type-opt span {
    display: inline-block;
    padding: 7px 16px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--ink-mid);
    background: var(--bg-card);
    transition: border-color 0.18s, color 0.18s, background 0.18s;
    user-select: none;
}

.form-type-opt:hover span {
    border-color: var(--ink-muted);
    color: var(--ink);
}

.form-type-opt input[type="radio"]:checked + span {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(188, 107, 130, 0.07);
}

.form-submit {
    align-self: flex-start;
    padding: 12px 26px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.form-submit:hover {
    opacity: 0.88;
}

.form-success {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.75;
}

/* ── Pricing + About shared row ── */

.section-split-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
}

.section-split-wrap .section-pricing {
    border-top: none;
    border-right: 1px solid var(--border);
    padding: 60px 48px 60px max(5vw, calc((100vw - var(--max-w)) / 2));
}

.section-split-wrap .section-about {
    border-top: none;
    padding: 60px max(5vw, calc((100vw - var(--max-w)) / 2)) 60px 48px;
}

.section-split-wrap .about-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: start;
}

.section-split-wrap .about-photo {
    width: 180px;
    max-width: 100%;
    aspect-ratio: 21 / 17;
    margin: 0;
}

/* ── Pricing ── */

.section-pricing {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.pricing-card-left {
    flex: 0 0 auto;
    min-width: 120px;
}

.pricing-card-right {
    flex: 1;
}

.pricing-card--invitations {
    border-top: 2px solid var(--accent);
    position: relative;
}

.pricing-card--invitations::before {
    content: '✦';
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 0.65rem;
    color: var(--accent);
    opacity: 0.45;
}

.pricing-type {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    font-optical-sizing: auto;
    color: var(--ink);
    margin-bottom: 16px;
}

.pricing-from {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-bottom: 4px;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 300;
    font-optical-sizing: auto;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0;
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-list li {
    font-size: 0.88rem;
    color: var(--ink-mid);
    padding-left: 18px;
    position: relative;
}

.pricing-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    font-size: 0.5rem;
    color: var(--accent);
    top: 4px;
    opacity: 0.7;
}

.pricing-note {
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.pricing-note a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
    transition: opacity 0.2s;
}

.pricing-note a:hover {
    opacity: 0.7;
}

/* ── Footer ── */

footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--ink-mid);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.footer-linkedin {
    display: flex;
    align-items: center;
    color: var(--ink-mid);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-linkedin-text {
    display: none;
    font-size: 0.8rem;
}

.footer-linkedin:hover {
    color: var(--ink);
}

.footer-credit {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-credit:hover {
    color: var(--ink-mid);
}


/* ── Modal ── */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.is-open,
.modal.is-closing {
    display: flex;
}

.modal.is-open .modal-panel {
    animation: modalIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal.is-closing .modal-panel {
    animation: modalOut 0.26s ease forwards;
}

.modal-panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 580px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 10;
    background: rgba(250, 247, 244, 0.88);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--ink-muted);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
    color: var(--ink);
    background: var(--bg);
}

.modal-image-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
    line-height: 0;
    position: relative;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3D card scene — hidden unless .has-back is set */
.card-3d-scene {
    display: none;
    width: 100%;
    height: 100%;
    background: var(--bg);
    perspective: 1000px;
    align-items: center;
    justify-content: center;
}

.modal-image-wrap.has-back .modal-image { display: none; }
.modal-image-wrap.has-back .card-3d-scene { display: flex; }

.card-3d {
    width: 82%;
    height: 82%;
    position: relative;
    transform-style: preserve-3d;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.card-3d:active { cursor: grabbing; }

.card-3d-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.16), 0 1px 6px rgba(0,0,0,0.08);
}

.card-3d-face--back {
    transform: rotateY(180deg);
    background: var(--bg-card);
}

.card-face-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-3d-hint {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    opacity: 0.5;
    pointer-events: none;
}

.modal-body {
    padding: 28px 36px 24px;
}

.modal-panel:not(.has-image) .modal-body {
    padding-top: 44px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.2;
}

.modal-desc {
    font-size: 0.97rem;
    color: var(--ink-mid);
    line-height: 1.72;
    margin-bottom: 24px;
}

.modal-cta {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: opacity 0.2s;
}

.modal-cta:hover {
    opacity: 0.72;
}

.modal-website {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--ink-muted);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.modal-website[hidden] {
    display: none;
}

.modal-website:hover {
    color: var(--accent);
}

.modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 36px 24px;
    border-top: 1px solid var(--border);
}

.modal-nav-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--ink-mid);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.modal-nav-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.modal-nav-btn:disabled {
    opacity: 0.28;
    cursor: default;
}

/* ── Portrait flyer modal: image left, text right ── */
.modal-panel--portrait {
    max-width: 820px;
    display: grid;
    grid-template-columns: auto 1fr;
}

.modal-panel--portrait .modal-image-wrap {
    grid-column: 1;
    grid-row: 1;
}

.modal-panel--portrait .modal-body {
    grid-column: 2;
    grid-row: 1;
    padding: 48px 32px 24px;
    border-left: 1px solid var(--border);
    align-self: start;
}

.modal-panel--portrait .modal-nav {
    grid-column: 1 / -1;
    grid-row: 2;
}

/* ── Process ── */

.section-process {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.process-step {
    min-width: 0;
}

.process-card-scene {
    perspective: 1100px;
    aspect-ratio: 1.74;
    cursor: pointer;
    rotate: var(--pc-tilt, 0deg);
}

.process-step:nth-child(1) .process-card-scene { --pc-tilt: -3deg; }
.process-step:nth-child(2) .process-card-scene { --pc-tilt:  2.5deg; }
.process-step:nth-child(3) .process-card-scene { --pc-tilt: -1.5deg; }

.process-card-scene:hover {
    animation: processWiggle 0.4s ease forwards;
}

.process-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card-scene:hover .process-card,
.process-card-scene.is-flipped .process-card {
    transform: rotateY(180deg);
}

.process-card-front,
.process-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 7px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.process-card-front {
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 22px 16px;
}

.process-card-back {
    background: var(--bg-card);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    padding: 20px 22px;
}

.pc-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.pc-flip-hint {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    opacity: 0.45;
    font-family: var(--font-body);
    pointer-events: none;
}

.process-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    font-optical-sizing: auto;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
    display: block;
}

.process-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    color: var(--ink);
    line-height: 1.25;
}

.process-desc {
    font-size: 0.88rem;
    color: var(--ink-mid);
    line-height: 1.65;
}

/* ── Reviews ── */

@keyframes waveTop {
    from { background-position-x: 0; }
    to   { background-position-x: -1440px; }
}

@keyframes waveBottom {
    from { background-position-x: 0; }
    to   { background-position-x: 1440px; }
}

@keyframes reviewScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes reviewFloat {
    0%, 100% { transform: translateY(0px);  }
    50%       { transform: translateY(-16px); }
}

.section-reviews {
    padding: 110px 0;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

/* SVG sine-wave caps — fill matches page background, slides to animate */
.section-reviews::before,
.section-reviews::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 90px;
    background-repeat: repeat-x;
    background-size: 1440px 90px;
    pointer-events: none;
    z-index: 2;
}

.section-reviews::before {
    top: 0;
    /* top wave: fill covers above the curve, exposing --bg-card below */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='90'%3e%3cpath d='M0,45 C240,0 480,90 720,45 C960,0 1200,90 1440,45 L1440,0 L0,0 Z' fill='%23FAF7F4'/%3e%3c/svg%3e");
    animation: waveTop 4s linear infinite;
}

.section-reviews::after {
    bottom: 0;
    /* bottom wave: fill covers below the curve */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='90'%3e%3cpath d='M0,45 C240,90 480,0 720,45 C960,90 1200,0 1440,45 L1440,90 L0,90 Z' fill='%23FAF7F4'/%3e%3c/svg%3e");
    animation: waveBottom 4s linear infinite;
}

/* Dark mode wave fills */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .section-reviews::before {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='90'%3e%3cpath d='M0,45 C240,0 480,90 720,45 C960,0 1200,90 1440,45 L1440,0 L0,0 Z' fill='%2318130F'/%3e%3c/svg%3e");
    }
    :root:not([data-theme="light"]) .section-reviews::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='90'%3e%3cpath d='M0,45 C240,90 480,0 720,45 C960,90 1200,0 1440,45 L1440,90 L0,90 Z' fill='%2318130F'/%3e%3c/svg%3e");
    }
}
:root[data-theme="dark"] .section-reviews::before {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='90'%3e%3cpath d='M0,45 C240,0 480,90 720,45 C960,0 1200,90 1440,45 L1440,0 L0,0 Z' fill='%2318130F'/%3e%3c/svg%3e");
}
:root[data-theme="dark"] .section-reviews::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='90'%3e%3cpath d='M0,45 C240,90 480,0 720,45 C960,90 1200,0 1440,45 L1440,90 L0,90 Z' fill='%2318130F'/%3e%3c/svg%3e");
}

/* Keep content above wave pseudo-elements */
.section-reviews > .container {
    position: relative;
    z-index: 3;
}

.reviews-marquee {
    overflow: hidden;
    margin-top: 32px;
    padding-top: 20px;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: reviewScroll 30s linear infinite;
}

.reviews-marquee:hover .reviews-track {
    animation-play-state: paused;
}

.reviews-track.reviews-static {
    animation: none;
    width: auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 8px;
}

.reviews-marquee:has(.reviews-static) {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
}

.reviews-track.reviews-static .review-card {
    max-width: 520px;
    flex-shrink: 1;
}

.review-card {
    background: none;
    border: none;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    padding: 4px 32px 4px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    flex-shrink: 0;
    width: 360px;
    animation: reviewFloat 4s ease-in-out infinite;
}

.review-card:nth-child(even) {
    animation-delay: -2s;
}

.review-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-style: italic;
    color: var(--accent);
    opacity: 0.35;
    line-height: 0.8;
    display: block;
}

.review-quote {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    font-optical-sizing: auto;
    color: var(--ink);
    line-height: 1.72;
    margin: 0;
    flex: 1;
}

.review-byline {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.review-name {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink);
}

.review-business {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .section-split-wrap {
        grid-template-columns: 1fr;
    }

    .section-split-wrap .section-pricing {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 60px 5vw;
    }

    .section-split-wrap .section-about {
        padding: 60px 5vw;
    }

    .section-split-wrap .about-photo {
        width: 180px;
    }

    .section-split-wrap .about-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .intro {
        padding: 82px 0 66px;
    }

    .intro-inner {
        gap: 36px;
    }

    .hero-card {
        width: 240px;
        height: 137px;
        font-size: 90%;
    }

    .section-about,
    .section-contact,
    .section-process,
    .section-reviews,
    .section-pricing {
        padding: 72px 0;
    }

    .section-work {
        padding-bottom: 80px;
    }

    .bento-grid {
        grid-auto-rows: 200px;
    }
}

@media (max-width: 700px) {
    .intro {
        padding: 70px 0 56px;
    }

    .intro-inner {
        grid-template-columns: 1fr;
    }

    .intro-card-wrap {
        display: none;
    }

    .section-about,
    .section-contact,
    .section-process,
    .section-reviews,
    .section-pricing {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-card-scene {
        aspect-ratio: 2.2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 170px;
    }

    .bento-item--tall { grid-row: span 1; }
    .bento-item--wide { grid-column: span 2; }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-photo {
        width: 180px;
        aspect-ratio: 21 / 17;
        margin: 0 auto;
        justify-self: center;
    }

    .section-split-wrap .about-inner {
        grid-template-columns: 1fr;
    }

    .section-split-wrap .about-photo {
        width: 220px;
        max-width: 100%;
        justify-self: center;
        margin: 0 auto;
    }

    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 8px 5%;
    }

    .site-nav.nav-open .nav-links {
        display: flex;
        animation: menuSlide 0.22s ease;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 0.95rem;
    }

    .modal-panel {
        border-radius: 14px;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-image-wrap {
        height: 200px;
    }

    .modal-panel--portrait {
        grid-template-columns: 1fr;
    }

    .modal-panel--portrait .modal-image-wrap {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 4;
    }

    .modal-panel--portrait .modal-body {
        grid-column: 1;
        grid-row: 2;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .modal-panel--portrait .modal-nav {
        grid-row: 3;
    }

    .modal-body {
        padding: 20px 24px 16px;
    }

    .modal-panel:not(.has-image) .modal-body {
        padding-top: 40px;
    }

    .modal-nav {
        padding: 14px 24px 20px;
    }
}

@media (max-width: 440px) {
    .intro {
        padding: 56px 0 44px;
    }

    .section-about,
    .section-contact,
    .section-process,
    .section-reviews,
    .section-pricing {
        padding: 48px 0;
    }

    .section-work {
        padding-bottom: 60px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 190px;
        gap: 10px;
    }

    .bento-item--tall,
    .bento-item--wide { grid-column: span 1; grid-row: span 1; }

    .filter-row { flex-wrap: wrap; }

    .nav-name { font-size: 1rem; }

    .contact-heading { margin-bottom: 20px; }

    .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .footer-name {
        width: 100%;
        text-align: center;
    }

    .footer-linkedin-icon { display: none; }
    .footer-linkedin-text { display: inline; }
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .sparkle-field { display: none; }

    .site-nav,
    .intro-label,
    .intro-headline,
    .reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-card {
        animation: none !important;
        transform: perspective(900px) rotate(-10deg) !important;
        transition: none !important;
    }

    .process-card {
        transition: none !important;
    }

    .process-card-scene:hover {
        animation: none !important;
    }

    .section-reviews::before,
    .section-reviews::after,
    .reviews-track,
    .review-card {
        animation: none !important;
    }

    .bento-item {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: box-shadow 0.2s ease !important;
    }

    .bento-item:hover {
        transform: none !important;
    }
}
