/* Layout: светлая лавандовая «бумага», тёмные баклажановые паузы (образование, запись, футер),
   фото в арочных рамках, мотив незамкнутого круга — гештальт, который завершается. */
:root {
    --paper: #F3F0EA;
    --paper-2: #E7E2D9;
    --ink: #20201E;
    --ink-soft: #5F5B54;
    --violet: #8A6A5B;
    --violet-deep: #6B5245;
    --lilac: #B18D7C;
    --mist: #E3DBD0;
    --line: rgba(32, 32, 30, 0.12);
    --plum: #20201E;
    --plum-2: #30322E;
    --on-dark: #F3F0EA;
    --on-dark-soft: #AAA8A1;
    --white: #FFFFFF;

    --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius: 22px;
    --container: 1240px;
    color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
    text-wrap: balance;
}

h1 em, h2 em { font-style: italic; color: var(--violet); font-weight: 500; }

p { margin: 0; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
}

section { padding-block: clamp(80px, 11vw, 150px); position: relative; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 32px;
}
.section-label::before {
    content: "";
    width: 14px; height: 14px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    border-right-color: transparent;
    transform: rotate(-45deg);
}
.section-label.light { color: var(--lilac); }

/* ================= HEADER ================= */

body::before {
    content: ""; position: fixed; inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px); z-index: 101;
    background: var(--paper);
}

.header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 100;
    background: rgba(243, 240, 234, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}

.logo {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
}
.logo span { font-style: italic; font-weight: 500; letter-spacing: 0.01em; color: var(--violet); }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    position: relative;
    transition: color .25s;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -4px;
    width: 100%; height: 1px; background: var(--violet);
    transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-button {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    transition: background .25s;
    white-space: nowrap;
}
.nav-button:hover { background: var(--violet); }

.menu-button {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.menu-button span {
    position: absolute; left: 13px; right: 13px; height: 1.5px;
    background: var(--ink); transition: transform .3s, top .3s;
}
.menu-button span:first-child { top: 17px; }
.menu-button span:last-child { top: 25px; }
.menu-button.active span:first-child { top: 21px; transform: rotate(45deg); }
.menu-button.active span:last-child { top: 21px; transform: rotate(-45deg); }

/* ================= BUTTONS ================= */

.primary-button, .submit-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 30px;
    border-radius: 999px;
    background: var(--violet);
    color: var(--white);
    font-family: var(--body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background .3s, transform .3s;
}
.primary-button span, .submit-button span {
    display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.18);
    transition: transform .3s;
}
.primary-button:hover, .submit-button:hover { background: var(--violet-deep); }
.primary-button:hover span, .submit-button:hover span { transform: rotate(45deg); }

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

.hero { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); overflow: hidden; }

.hero::before {
    content: "";
    position: absolute;
    width: 720px; height: 720px;
    right: -160px; top: -120px;
    background: radial-gradient(circle, rgba(177,141,124,.22) 0%, rgba(177,141,124,0) 65%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    position: relative;
}

.hero-content { min-width: 0; }

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--violet);
    margin-bottom: 28px;
    display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }

.hero h1 {
    font-size: clamp(54px, 8.2vw, 118px);
    line-height: 0.95;
    margin-bottom: 36px;
}
.hero h1 em { display: block; }

.hero-text {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--ink-soft);
    max-width: 30em;
    margin-bottom: 44px;
}

.hero-image { position: relative; justify-self: end; width: 100%; max-width: 460px; }

.portrait { position: relative; padding-top: 4%; }
.portrait-panel {
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 24%;
    border-radius: 28px;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(180deg, var(--mist) 0%, #D6CBBC 100%);
    box-shadow: 0 40px 80px -36px rgba(32, 32, 30, .45);
}
.portrait-panel::before {
    content: "";
    position: absolute; inset: 14px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 18px;
}
.portrait img {
    position: relative;
    width: 100%; height: auto;
    border-radius: 28px 28px 28px 28px;
    filter: drop-shadow(0 18px 30px rgba(32,32,30,.18));
    animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rise { from { transform: translateY(18px); opacity: .0; } to { transform: none; opacity: 1; } }

.image-caption {
    position: absolute;
    left: 26px; right: 26px; bottom: 22px;
    display: flex; justify-content: space-between;
    font-size: 11px; letter-spacing: 0.22em; font-weight: 600;
    color: var(--white);
    z-index: 2;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* ================= INTRO ================= */

.intro { padding-block: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }

.intro-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: end;
}
.intro h2 { font-size: clamp(38px, 5vw, 68px); }
.intro h2 span { display: block; font-style: italic; color: var(--violet); }

.intro-text { display: grid; gap: 20px; color: var(--ink-soft); font-size: 18px; min-width: 0; }
.intro-text p:first-child {
    font-family: var(--display);
    font-size: 28px;
    line-height: 1.25;
    color: var(--ink);
}

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

.about { background: var(--paper-2); }

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: start;
}

.about-photo { position: relative; padding-left: 44px; position: sticky; top: 110px; }
.about-photo .frame { position: relative; }
.about-photo .frame::before {
    content: ""; position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--lilac);
    border-radius: 26px;
}
.about-photo img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.2;
    object-fit: cover;
    object-position: 45% 30%;
    border-radius: 26px;
}

.vertical-text {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 12px; letter-spacing: 0.5em; font-weight: 600;
    color: var(--violet);
}

.about-content { min-width: 0; }
.about-content h2 { font-size: clamp(56px, 7vw, 96px); margin-bottom: 18px; }

.profession {
    display: inline-block;
    font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
    color: var(--violet-deep);
    background: var(--mist);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 36px;
}

.about-content > p { color: var(--ink-soft); max-width: 36em; margin-bottom: 18px; }
.about-content > p:first-of-type {
    font-family: var(--display);
    font-size: 30px; line-height: 1.25;
    color: var(--ink);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 48px;
}
.stat {
    padding: 26px 20px 6px 0;
    display: grid;
    gap: 6px;
    align-content: start;
}
.stat strong {
    font-family: var(--display);
    font-size: 56px; font-weight: 500; line-height: 1;
    color: var(--violet);
    font-variant-numeric: lining-nums;
}
.stat span { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

/* ================= EXPERIENCE ================= */

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 110px);
}
.experience-title h2 { font-size: clamp(44px, 5.4vw, 76px); }
.experience-title h2 em { display: block; }

.experience-text { display: grid; gap: 22px; color: var(--ink-soft); min-width: 0; }

.strong-text {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    color: var(--violet) !important;
    padding: 18px 0 18px 28px;
    border-left: 2px solid var(--lilac);
    margin: 10px 0;
}

/* ================= WORK ================= */

.work { background: var(--white); }

.work-header {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 64px;
}
.work-header h2 { font-size: clamp(44px, 5.6vw, 80px); }
.work-header h2 em { display: block; }
.work-header p { color: var(--ink-soft); font-size: 19px; max-width: 24em; }

.work-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.work-item {
    position: relative;
    padding: 40px 34px 44px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 22px;
    align-content: start;
    transition: background .4s;
    overflow: hidden;
}
.work-item::after {
    content: ""; position: absolute;
    width: 220px; height: 220px; right: -90px; bottom: -90px;
    border: 1px solid var(--lilac); border-radius: 50%;
    opacity: 0; transform: scale(.7);
    transition: opacity .5s, transform .6s;
}
.work-item:hover { background: var(--paper); }
.work-item:hover::after { opacity: 1; transform: scale(1); }

.work-number {
    font-size: 12px; font-weight: 600; letter-spacing: .18em;
    color: var(--violet);
}
.work-main { display: grid; gap: 14px; }
.work-item h3 { font-size: 32px; line-height: 1.1; }
.work-description { color: var(--ink-soft); font-size: 16px; line-height: 1.65; }

/* ================= EDUCATION (STATEMENT) ================= */

.statement {
    background: var(--plum);
    color: var(--on-dark);
    overflow: hidden;
}
.statement::before {
    content: "";
    position: absolute;
    width: 900px; height: 900px;
    left: -300px; bottom: -500px;
    background: radial-gradient(circle, rgba(150,117,102,.22) 0%, rgba(150,117,102,0) 65%);
}

.statement .container { position: relative; }

.statement-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(40px, 7vw, 110px);
}

.statement h2 { font-size: clamp(56px, 7.5vw, 110px); color: var(--on-dark); }
.statement h2 em { color: var(--lilac); }

.statement-note { margin-top: 28px; color: var(--on-dark-soft); max-width: 22em; font-size: 16px; }

.edu-list { list-style: none; margin: 0; padding: 0; min-width: 0; }
.edu-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 24px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(243, 240, 234, .14);
}
.edu-list li:first-child { border-top: 1px solid rgba(243, 240, 234, .14); }
.edu-school { font-size: 16px; color: var(--on-dark); font-weight: 500; }
.edu-field {
    grid-column: 1 / -1;
    font-family: var(--display);
    font-style: italic;
    font-size: 22px;
    color: var(--lilac);
    line-height: 1.25;
}
.edu-tag {
    grid-row: 1; grid-column: 2;
    align-self: start;
    font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--plum);
    background: var(--lilac);
    padding: 5px 12px; border-radius: 999px;
    white-space: nowrap;
}
.edu-list li.current { border-bottom-color: var(--lilac); }

/* ================= BOUNDARIES ================= */

.boundaries-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 7vw, 110px);
}
.boundaries h2 { font-size: clamp(48px, 6vw, 86px); }
.boundaries h2 em { display: block; }
.boundaries-intro { color: var(--ink-soft); font-size: 19px; margin-bottom: 30px; max-width: 30em; }

.not-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.not-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: center;
    padding: 22px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 17px;
    line-height: 1.5;
}
.not-list li span {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--mist);
    color: var(--violet-deep);
    font-size: 13px; font-weight: 600; letter-spacing: .08em;
}

/* ================= PROCESS ================= */

.process { background: var(--paper-2); }

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}
.process h2 { font-size: clamp(48px, 6vw, 86px); }
.process h2 em { display: block; }

.duration {
    width: 190px; height: 190px;
    border-radius: 50%;
    border: 1px solid var(--violet);
    display: grid; place-content: center; text-align: center;
    font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-soft);
    position: relative;
}
.duration::before {
    content: ""; position: absolute; inset: 10px;
    border-radius: 50%; background: var(--white);
    z-index: 0;
}
.duration > * , .duration { z-index: 1; }
.duration strong {
    position: relative;
    font-family: var(--display);
    font-size: 72px; line-height: .9; font-weight: 500;
    color: var(--violet);
    letter-spacing: 0;
}
.duration small { position: relative; font-size: 12px; }

.process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
}
.process-list::before {
    content: "";
    position: absolute;
    left: 28px; right: 28px; top: 28px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--lilac) 0 6px, transparent 6px 12px);
}

.process-item { position: relative; display: grid; gap: 26px; align-content: start; }
.process-number {
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--violet); color: var(--white);
    font-size: 14px; font-weight: 600;
    box-shadow: 0 0 0 8px var(--paper-2);
    position: relative;
}
.process-item h3 { font-size: 32px; margin-bottom: 12px; }
.process-item p { color: var(--ink-soft); max-width: 22em; }

/* ================= CONFIDENTIALITY ================= */

.confidentiality-inner {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 90px) clamp(24px, 6vw, 90px);
    background: var(--white);
    border-radius: 32px;
    text-align: center;
    border: 1px solid var(--line);
    overflow: hidden;
}
.confidentiality-inner::before {
    content: ""; position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid var(--mist);
    pointer-events: none;
}
.confidentiality-inner .section-label { justify-content: center; }
.confidentiality h2 { font-size: clamp(40px, 5vw, 70px); margin-bottom: 28px; }
.confidentiality h2 em { display: block; }
.confidentiality-inner > p { color: var(--ink-soft); max-width: 32em; margin: 0 auto 40px; font-size: 18px; }

.contract-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }
.contract {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--paper);
    font-size: 15px;
    color: var(--ink);
}
.contract span { color: var(--violet); }
a.contract { text-decoration: none; background: var(--ink); color: var(--paper); font-weight: 600; transition: background .3s; }
a.contract span { color: var(--lilac); }
a.contract:hover { background: var(--violet); }

/* ================= BOOKING ================= */

.booking { background: var(--plum-2); color: var(--on-dark); overflow: hidden; }
.booking::before {
    content: ""; position: absolute;
    width: 800px; height: 800px; right: -300px; top: -300px;
    background: radial-gradient(circle, rgba(177,141,124,.16) 0%, rgba(177,141,124,0) 65%);
}

.booking-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: center;
}
.booking-content { min-width: 0; }
.booking h2 { font-size: clamp(42px, 5.4vw, 78px); color: var(--on-dark); margin-bottom: 30px; }
.booking h2 em { color: var(--lilac); display: block; }
.booking-content p { color: var(--on-dark-soft); font-size: 18px; max-width: 28em; }

.booking-form {
    background: var(--paper);
    color: var(--ink);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 44px);
    display: grid;
    gap: 22px;
    min-width: 0;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.form-group { display: grid; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.form-group input, .form-group textarea {
    width: 100%;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 15px 18px;
    transition: border-color .25s, box-shadow .25s;
    resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #A7A49D; }
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(150, 117, 102, .16);
}
.submit-button { justify-content: space-between; width: 100%; }
.booking-form small { font-size: 12px; line-height: 1.55; color: var(--ink-soft); }
.form-status { font-size: 14px; color: var(--violet-deep); background: var(--mist); padding: 14px 18px; border-radius: 14px; }

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

.footer { background: var(--plum); color: var(--on-dark); padding-block: 80px 36px; }

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 40px;
    align-items: start;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(243, 240, 234, .14);
}
.footer-logo .logo-big {
    font-family: var(--display);
    font-size: 44px; font-weight: 600; letter-spacing: .08em; line-height: 1;
    margin-bottom: 26px;
}
.footer-logo .logo-big span { font-style: italic; font-weight: 500; letter-spacing: .01em; color: var(--lilac); }
.footer-contacts { display: grid; gap: 8px; font-size: 15px; color: var(--on-dark-soft); }
.footer-contacts a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(177,141,124,.45); transition: border-color .25s; word-break: break-word; }
.footer-contacts a:hover { border-color: var(--lilac); }
.footer-contacts b { font-weight: 600; font-size: 11px; letter-spacing: .18em; color: var(--lilac); margin-right: 8px; }

.footer-profession { font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--on-dark-soft); }

.footer-button {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 26px; border-radius: 999px;
    border: 1px solid var(--lilac);
    color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 14px;
    transition: background .3s, color .3s;
    white-space: nowrap;
}
.footer-button:hover { background: var(--lilac); color: var(--plum); }

.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    padding-top: 28px;
    font-size: 13px; color: var(--on-dark-soft);
}


/* ================= CHAT WIDGET ================= */

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.chat {
    position: fixed;
    right: max(20px, calc(env(safe-area-inset-right, 0px) + 16px));
    bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
    z-index: 200;
    display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px;
}
.chat-toggle {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 16px 14px 24px;
    border: 0; border-radius: 999px;
    background: var(--ink); color: var(--paper);
    font-family: var(--body); font-size: 14px; font-weight: 600;
    cursor: pointer;
    box-shadow: 0 18px 40px -14px rgba(32,32,30,.55);
    transition: background .3s, transform .3s;
}
.chat-toggle:hover { background: var(--violet); }
.chat-toggle-icon {
    display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--lilac); color: var(--ink); font-size: 13px;
    transition: transform .4s;
}
.chat.open .chat-toggle-icon { transform: rotate(135deg); }

.chat-panel {
    width: min(360px, calc(100vw - 32px));
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 30px 70px -20px rgba(32,32,30,.45);
    overflow: hidden;
    animation: chatIn .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.chat-head {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 18px 20px;
    background: var(--ink); color: var(--on-dark);
}
.chat-head strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.1; }
.chat-head span { font-size: 12px; color: var(--on-dark-soft); }
.chat-close {
    width: 34px; height: 34px; flex: none;
    border-radius: 50%; border: 1px solid rgba(243,240,234,.25);
    background: transparent; color: var(--on-dark); font-size: 20px; line-height: 1; cursor: pointer;
}

.chat-form { display: grid; gap: 10px; padding: 18px 20px 20px; max-height: calc(100vh - 220px); overflow-y: auto; }
.chat-bubble {
    background: var(--mist); color: var(--ink);
    padding: 12px 16px; border-radius: 16px 16px 16px 4px;
    font-size: 14px; line-height: 1.5;
    margin-bottom: 4px;
}
.chat-form input, .chat-form textarea {
    width: 100%;
    font-family: var(--body); font-size: 15px; color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line); border-radius: 12px;
    padding: 12px 14px; resize: vertical;
}
.chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(150, 117, 102, .16); }
.chat-form input::placeholder, .chat-form textarea::placeholder { color: #A7A49D; }
.chat-send {
    display: flex; justify-content: space-between; align-items: center;
    padding: 13px 18px; border: 0; border-radius: 999px;
    background: var(--violet); color: var(--white);
    font-family: var(--body); font-size: 14px; font-weight: 600; cursor: pointer;
}
.chat-send:hover { background: var(--violet-deep); }
.chat-form .form-status { font-size: 13px; padding: 10px 14px; margin: 0; }
button:disabled { opacity: .6; cursor: progress; }

@media (max-width: 600px) {
    .chat-toggle-label { display: none; }
    .chat-toggle { padding: 12px; }
    .chat-toggle-icon { width: 34px; height: 34px; }
}

/* ================= REVEAL ================= */

.fade-element.pre { opacity: 0; transform: translateY(28px); }
.fade-element { transition: opacity .9s ease, transform .9s ease; }

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

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

@media (max-width: 1080px) {
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .nav-links { gap: 22px; }
    .work-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: calc(76px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 8px max(24px, env(safe-area-inset-right, 0px)) 24px max(24px, env(safe-area-inset-left, 0px));
        transform: translateY(-120%);
        transition: transform .4s;
        z-index: -1;
    }
    .nav-links.active { transform: translateY(0); }
    .nav-links a { font-family: var(--display); font-size: 28px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav-links a::after { display: none; }
    .menu-button { display: block; }
    .nav-button { margin-left: auto; }

    .hero-grid, .intro-content, .about-grid, .experience-grid, .work-header,
    .statement-grid, .boundaries-grid, .booking-grid, .footer-top { grid-template-columns: 1fr; }

    .hero-image { justify-self: center; max-width: 400px; margin-top: 20px; }
    .about-photo { position: relative; top: 0; max-width: 420px; }
    .process-list { grid-template-columns: 1fr; gap: 40px; }
    .process-list::before { left: 28px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto;
        background: repeating-linear-gradient(180deg, var(--lilac) 0 6px, transparent 6px 12px); }
    .process-item { grid-template-columns: 56px 1fr; gap: 24px; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .nav { height: 66px; }
    .nav-links { top: calc(66px + env(safe-area-inset-top, 0px)); }
    .logo { font-size: 21px; }
    .nav-button { padding: 10px 16px; font-size: 13px; }
    .work-list { grid-template-columns: 1fr; }
    .work-item { padding: 32px 24px 36px; }
    .about-photo { padding-left: 32px; }
    .about-photo .frame::before { inset: 14px -12px -14px 14px; }
    .stat strong { font-size: 52px; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat:last-child { grid-column: 1 / -1; }
    .not-list li { grid-template-columns: 44px 1fr; padding: 18px; gap: 16px; }
    .not-list li span { width: 44px; height: 44px; }
    .duration { width: 150px; height: 150px; }
    .duration strong { font-size: 56px; }
    .edu-list li { grid-template-columns: 1fr; }
    .edu-tag { grid-row: auto; grid-column: 1; justify-self: start; }
}
