/* =========================================================================
   ROMANTIC PAPER · литературный editorial для Анастасии
   ========================================================================= */

:root {
    /* paper palette */
    --paper:        #f3e8cf;
    --paper-warm:   #ecddbb;
    --paper-deep:   #e2cfa5;
    --paper-shadow: #c8b58a;

    /* ink */
    --ink:          #1d1610;
    --ink-soft:     #3d3122;
    --ink-faint:    #6c5a40;
    --ink-ghost:    rgba(29, 22, 16, 0.18);

    /* accent — рыжая печать / sealing wax */
    --rouge:        #9b2f23;
    --rouge-deep:   #6e1c14;
    --rouge-wash:   rgba(155, 47, 35, 0.10);

    /* sepia secondary */
    --sepia:        #a07a4a;
    --sepia-wash:   rgba(160, 122, 74, 0.12);

    /* type */
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --serif-sc: 'Cormorant SC', 'Cormorant Garamond', serif;
    --hand: 'Marck Script', cursive;
    --mono: 'PT Mono', 'Courier New', monospace;

    /* rhythm */
    --gutter: clamp(1.2rem, 4vw, 3rem);
    --maxw: 1320px;
    --reveal-d: .9s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.55;
    font-feature-settings: "kern", "liga", "onum";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --- paper background layers ------------------------------------------- */

body::before {
    /* warm radial paper tint */
    content: "";
    position: fixed; inset: 0;
    background:
        radial-gradient(120% 80% at 20% 0%, rgba(255,240,210,.45), transparent 60%),
        radial-gradient(100% 80% at 100% 100%, rgba(160,122,74,.18), transparent 55%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
    z-index: -3;
    pointer-events: none;
}

.grain {
    position: fixed; inset: 0;
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: .35;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.08  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.vignette {
    position: fixed; inset: 0;
    z-index: 99;
    pointer-events: none;
    background:
        radial-gradient(140% 100% at 50% 50%, transparent 55%, rgba(60,40,20,0.22) 100%);
}

/* --- header ------------------------------------------------------------ */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 1.1rem var(--gutter);
    backdrop-filter: blur(2px);
    background: linear-gradient(180deg, rgba(243,232,207,.78), rgba(243,232,207,0));
    transition: background .4s ease;
}
.site-header.is-scrolled {
    background: linear-gradient(180deg, rgba(243,232,207,.96), rgba(243,232,207,.85));
    border-bottom: 1px solid var(--ink-ghost);
}

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-monogram {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.45rem;
    letter-spacing: .12em;
}
.brand-sub {
    margin-top: .35rem;
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.nav {
    display: flex;
    gap: 2.2rem;
    font-family: var(--serif);
    font-size: .98rem;
    letter-spacing: .02em;
}
.nav a {
    position: relative;
    padding-bottom: .18rem;
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, color .3s ease;
}
.nav a:hover { border-color: var(--rouge); color: var(--rouge); }
.nav-num {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .1em;
    color: var(--rouge);
    margin-right: .3rem;
    vertical-align: 2px;
}

.nav-toggle { display: none; }

/* --- shared section pieces -------------------------------------------- */

main { padding-top: 0; }

section {
    position: relative;
    padding: clamp(5rem, 12vh, 9rem) var(--gutter);
    max-width: var(--maxw);
    margin: 0 auto;
}

.section-head {
    margin-bottom: clamp(2.5rem, 6vh, 4rem);
    max-width: 720px;
}
.section-head--center {
    margin-left: auto; margin-right: auto;
    text-align: center;
}
.section-head__meta {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.2rem;
}
.section-head--center .section-head__meta { justify-content: center; }
.section-num {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--rouge);
    letter-spacing: .1em;
}
.section-kicker {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.section-kicker::before {
    content: "—— ";
    color: var(--ink-ghost);
}

.section-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.01em;
    margin: 0 0 1rem;
    color: var(--ink);
}
.section-title em {
    font-style: italic;
    color: var(--rouge-deep);
    font-weight: 400;
}
.section-sub {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink-faint);
    margin: 0;
    max-width: 38ch;
}
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* --- buttons ----------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem 1.6rem;
    font-family: var(--serif);
    font-size: 1rem;
    letter-spacing: .04em;
    border-radius: 0;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}
.btn svg { width: 1.8rem; height: .5rem; transition: transform .35s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn--ink {
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
}
.btn--ink:hover {
    background: var(--rouge-deep);
    border-color: var(--rouge-deep);
}

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

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr minmax(0, 760px) 1fr;
    align-items: center;
    padding-top: 9rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    grid-column: 2;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 2.5rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "·";
    margin: 0 .8rem;
    color: var(--rouge);
}

.hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(3.6rem, 10vw, 8.8rem);
    line-height: .96;
    letter-spacing: -.02em;
    margin: 0;
    color: var(--ink);
}
.hero-title__line {
    display: block;
}
.hero-title__italic {
    font-style: italic;
    color: var(--rouge-deep);
    padding-left: clamp(1rem, 5vw, 4rem);
}
.hero-title .period {
    color: var(--rouge);
    display: inline-block;
    transform: translateY(-.05em);
}

.hero-sub {
    margin: 2.4rem auto 0;
    max-width: 36rem;
    font-size: 1.18rem;
    line-height: 1.6;
    color: var(--ink-soft);
}

.hero-actions {
    margin-top: 2.4rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-signature {
    margin-top: 3.2rem;
    font-family: var(--hand);
    font-size: 1.9rem;
    color: var(--rouge);
    transform: rotate(-3deg);
    display: inline-block;
}

/* marginalia */
.hero-marginalia {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-faint);
    z-index: 2;
}
.hero-marginalia--left {
    grid-column: 1;
    justify-self: start;
    padding-left: 1rem;
    align-self: start;
    margin-top: 3rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.hero-marginalia--right {
    grid-column: 3;
    justify-self: end;
    padding-right: 1rem;
    align-self: end;
    margin-bottom: 4rem;
    text-align: right;
}
.hero-marginalia .folio { color: var(--rouge); }
.hero-marginalia .hero-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink-soft);
    max-width: 14rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 1rem;
}

/* watercolor stains */
.hero-stain {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
    height: auto;
}
.hero-stain--rouge {
    width: clamp(420px, 58vw, 820px);
    top: 4%;
    right: -10%;
    opacity: .55;
    animation: drift 22s ease-in-out infinite alternate;
}
.hero-stain--sepia {
    width: clamp(320px, 44vw, 600px);
    bottom: -8%;
    left: -8%;
    opacity: .5;
    animation: drift 28s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    from { transform: translate(0, 0) rotate(0deg); }
    to   { transform: translate(2.5%, -2%) rotate(8deg); }
}

/* scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    z-index: 2;
}
.scroll-cue svg {
    width: .5rem; height: 2.5rem;
    color: var(--rouge);
    animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob {
    0%, 100% { transform: translateY(0); opacity: .7; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise var(--reveal-d) cubic-bezier(.2,.6,.2,1) both;
    animation-delay: var(--d, 0s);
}
@keyframes rise {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   ABOUT
   ========================================================================= */

.about {
    border-top: 1px solid var(--ink-ghost);
    padding-top: clamp(5rem, 12vh, 9rem);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.portrait {
    position: sticky;
    top: 6rem;
    margin: 0;
}
.portrait-frame {
    position: relative;
    padding: 1.6rem 1.6rem 2.2rem;
    background: var(--paper-warm);
    box-shadow:
        0 1px 0 var(--paper-shadow),
        0 18px 50px -20px rgba(60,40,20,.45),
        inset 0 0 0 1px rgba(0,0,0,.05);
    transform: rotate(-2.2deg);
    transition: transform .6s ease;
}
.portrait-frame:hover { transform: rotate(-1deg) scale(1.01); }
.portrait-img {
    aspect-ratio: 5/6;
    overflow: hidden;
    filter: contrast(1.02) saturate(.95);
    background: var(--paper-warm);
}
.portrait-img img,
.portrait-img svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
}
.portrait-caption {
    display: block;
    margin-top: 1rem;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: .95rem;
    color: var(--ink-soft);
}
.portrait-stamp {
    position: absolute;
    top: -.6rem; right: -1.2rem;
    font-family: var(--serif-sc);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rouge);
    background: var(--paper);
    border: 1px solid var(--rouge);
    padding: .35rem .7rem;
    transform: rotate(8deg);
}

.about-text {
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--ink-soft);
}
.about-text p { margin: 0 0 1.4rem; }
.about-text .lead {
    font-size: 1.45rem;
    line-height: 1.45;
    color: var(--ink);
    font-style: italic;
}

.dropcap {
    float: left;
    font-family: var(--serif);
    font-style: normal;
    font-weight: 500;
    font-size: 4.2rem;
    line-height: .85;
    color: var(--rouge);
    padding: .25rem .55rem 0 0;
    margin-top: .1rem;
}

.about-meta {
    list-style: none;
    padding: 0;
    margin: 2.4rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--ink-ghost);
    border-bottom: 1px solid var(--ink-ghost);
    padding: 1.5rem 0;
}
.about-meta li {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.about-meta .num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--rouge);
}
.about-meta .label {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.about-clients {
    margin: 0;
    font-size: .98rem;
    line-height: 1.7;
}
.clients-label {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rouge);
    display: block;
    margin-bottom: .4rem;
}
.clients-list {
    font-style: italic;
    color: var(--ink-soft);
}

/* =========================================================================
   WORKS
   ========================================================================= */

.works {
    border-top: 1px solid var(--ink-ghost);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 2rem;
}

.work-card {
    position: relative;
    padding: 2rem 1.8rem 1.7rem;
    background: var(--paper-warm);
    border: 1px solid var(--ink-ghost);
    transform: rotate(var(--rot, 0));
    transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    /* deckled / torn edge */
    clip-path: polygon(
        0 1%, 3% 0, 8% 1%, 15% 0, 22% 1%, 30% 0, 38% 1%, 45% 0, 52% 1%, 60% 0, 68% 1%, 75% 0, 82% 1%, 90% 0, 97% 1%, 100% 2%,
        99% 8%, 100% 16%, 99% 24%, 100% 32%, 99% 40%, 100% 48%, 99% 56%, 100% 64%, 99% 72%, 100% 80%, 99% 88%, 100% 96%,
        97% 100%, 90% 99%, 82% 100%, 75% 99%, 68% 100%, 60% 99%, 52% 100%, 45% 99%, 38% 100%, 30% 99%, 22% 100%, 15% 99%, 8% 100%, 3% 99%, 0 98%,
        1% 92%, 0 84%, 1% 76%, 0 68%, 1% 60%, 0 52%, 1% 44%, 0 36%, 1% 28%, 0 20%, 1% 12%, 0 4%
    );
}
.work-card:hover {
    transform: rotate(0) translateY(-6px);
    box-shadow: 0 30px 60px -20px rgba(60,40,20,.4);
    z-index: 5;
}

.work-card::before {
    /* paper subtle gradient */
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(80% 60% at 0 0, rgba(255,240,210,.4), transparent 60%),
        radial-gradient(80% 60% at 100% 100%, rgba(160,122,74,.12), transparent 60%);
    pointer-events: none;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.2rem;
}
.work-cat {
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rouge);
    padding: .25rem .5rem;
    border: 1px solid var(--rouge);
}
.work-year {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .15em;
    color: var(--ink-faint);
}

.work-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--ink);
}
.work-title em { color: var(--rouge-deep); }

.work-desc {
    flex: 1;
    font-size: .95rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 1.5rem;
}

.work-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px dashed var(--ink-ghost);
}
.work-tag {
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: lowercase;
    color: var(--ink-faint);
}
.work-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: .95rem;
    color: var(--rouge);
    transition: gap .3s ease;
}
.work-cta svg { width: 1.4rem; height: .5rem; }
.work-card:hover .work-cta { gap: .9rem; }

.work-stamp {
    position: absolute;
    top: 1rem; right: -.4rem;
    font-family: var(--serif-sc);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rouge);
    border: 1px solid var(--rouge);
    padding: .3rem .55rem;
    background: var(--paper);
    transform: rotate(8deg);
    z-index: 2;
}
.work-handwritten {
    position: absolute;
    bottom: 4.5rem;
    right: -1rem;
    font-family: var(--hand);
    font-size: 1.4rem;
    color: var(--rouge);
    transform: rotate(-12deg);
    pointer-events: none;
}

.work-card--featured {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.work-card--featured .work-title { color: var(--paper); }
.work-card--featured .work-title em { color: #e8a89e; }
.work-card--featured .work-desc { color: rgba(243,232,207,.78); }
.work-card--featured .work-cat { color: #e8a89e; border-color: #e8a89e; }
.work-card--featured .work-year { color: rgba(243,232,207,.55); }
.work-card--featured .work-tag { color: rgba(243,232,207,.55); }
.work-card--featured .work-cta { color: #e8a89e; }
.work-card--featured .work-foot { border-top-color: rgba(243,232,207,.18); }
.work-card--featured::before { display: none; }

/* =========================================================================
   APPROACH
   ========================================================================= */

.approach {
    border-top: 1px solid var(--ink-ghost);
    background:
        radial-gradient(60% 50% at 80% 20%, var(--rouge-wash), transparent 70%),
        radial-gradient(50% 50% at 20% 80%, var(--sepia-wash), transparent 70%);
}

.approach-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
    counter-reset: approach;
}

.approach-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.6rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--ink-ghost);
}

.approach-num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 3.2rem;
    line-height: 1;
    color: var(--rouge);
    align-self: start;
}

.approach-body h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.1;
    margin: 0 0 .7rem;
    color: var(--ink);
}
.approach-body p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

/* =========================================================================
   CONTACT
   ========================================================================= */

.contact {
    border-top: 1px solid var(--ink-ghost);
    max-width: var(--maxw);
}

.contact-inner {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-stain {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: auto;
    opacity: .22;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.contact-form {
    position: relative;
    z-index: 2;
    background: var(--paper-warm);
    padding: clamp(1.8rem, 4vw, 3rem);
    border: 1px solid var(--ink-ghost);
    box-shadow: 0 20px 60px -25px rgba(60,40,20,.35);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 1.5rem;
}
.contact-form label span {
    display: block;
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: .5rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .8rem 0;
    border: 0;
    border-bottom: 1px solid var(--ink-soft);
    background: transparent;
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--ink);
    resize: vertical;
    transition: border-color .3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 0;
    border-bottom-color: var(--rouge);
}

.form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.form-note {
    font-family: var(--serif);
    font-style: italic;
    font-size: .95rem;
    color: var(--ink-faint);
}
.form-note a {
    border-bottom: 1px solid var(--rouge);
    color: var(--rouge);
}

.form-sent {
    margin: 1.5rem 0 0;
    font-family: var(--hand);
    font-size: 1.4rem;
    color: var(--rouge);
    opacity: 0;
    transform: translateY(8px);
    transition: all .5s ease;
}
.form-sent.is-visible { opacity: 1; transform: translateY(0); }

.contact-cards {
    position: relative;
    z-index: 2;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.contact-card {
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--ink-ghost);
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: .4rem;
    transition: all .3s ease;
}
.contact-card:hover {
    border-color: var(--rouge);
    background: var(--paper-warm);
    transform: translateY(-3px);
}
.cc-label {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--rouge);
}
.cc-value {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink);
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.footer {
    border-top: 1px solid var(--ink-ghost);
    padding: 3.5rem var(--gutter) 2.5rem;
    background: var(--paper-deep);
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: end;
}
.colophon-title {
    font-family: var(--serif-sc);
    font-size: .85rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--rouge);
    margin: 0 0 .7rem;
}
.colophon p:not(.colophon-title) {
    margin: 0;
    font-style: italic;
    font-size: .95rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 50ch;
}
.footer-meta {
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .15em;
    color: var(--ink-faint);
    text-align: right;
    display: flex;
    gap: .8rem;
    justify-content: flex-end;
    align-items: center;
}
.footer-dot { color: var(--rouge); }
.footer-meta a { border-bottom: 1px solid var(--rouge); color: var(--rouge); }

/* =========================================================================
   SCROLL REVEAL (JS-driven)
   ========================================================================= */

.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(.2,.6,.2,1), transform 1s cubic-bezier(.2,.6,.2,1);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 980px) {
    body { font-size: 17px; }

    .nav { display: none; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: .5rem;
    }
    .nav-toggle span {
        display: block;
        width: 22px; height: 1px;
        background: var(--ink);
    }
    .site-header.is-open .nav {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--paper-warm);
        padding: 2rem var(--gutter);
        border-top: 1px solid var(--ink-ghost);
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 7rem;
    }
    .hero-content { grid-column: 1; padding: 0 .5rem; }
    .hero-marginalia--left,
    .hero-marginalia--right {
        display: none;
    }
    .hero-title__italic { padding-left: 0; }

    .about-grid {
        grid-template-columns: 1fr;
    }
    .portrait { position: static; max-width: 320px; margin: 0 auto; }

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

    .approach-list { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-cards { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
    .footer-meta { justify-content: flex-start; text-align: left; }
}

@media (max-width: 620px) {
    section { padding-left: 1.2rem; padding-right: 1.2rem; }
    .works-grid { grid-template-columns: 1fr; }
    .about-meta { grid-template-columns: 1fr; gap: .8rem; }
    .hero-title { font-size: clamp(3rem, 14vw, 5rem); }
    .section-title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
}

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