:root {
    --bg: #f6f7fb;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --surface-muted: #eef1f8;
    --text: #171923;
    --text-soft: #5b6277;
    --line: rgba(58, 73, 110, 0.12);
    --line-strong: rgba(58, 73, 110, 0.24);
    --shadow: 0 24px 44px rgba(39, 52, 89, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --space-xs: 0.75rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --space-2xl: 5rem;
    --max-width: 1120px;
    --assistant-width: min(380px, calc(100vw - 2rem));
    --cv-page-width: 210mm;
    --cv-page-height: 297mm;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(118, 154, 255, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(173, 125, 255, 0.11), transparent 30%),
        linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
    color: var(--text);
    line-height: 1.6;
}

body.print-cv .page-shell > *:not(main),
body.print-cv main > *:not(#cv-intelligent) {
    display: none !important;
}

body.print-cv {
    background: #ffffff;
}

body.is-preload {
    overflow-x: hidden;
}

.is-hidden {
    display: none !important;
}

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

p,
h1,
h2,
h3,
ul {
    margin: 0;
}

img {
    max-width: 100%;
}

.page-shell {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.hero {
    padding: 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(54, 74, 122, 0.07);
}

.brand {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.nav-links a {
    color: var(--text-soft);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a.is-active {
    color: var(--text);
}

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

.couture-menu-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 3.35rem;
    height: 3.35rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045)),
        rgba(9, 10, 13, 0.56);
    color: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 18px 45px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.couture-menu-toggle:hover,
.couture-menu-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(239, 214, 163, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 22px 56px rgba(0, 0, 0, 0.28),
        0 0 34px rgba(239, 214, 163, 0.12);
}

.menu-glyph {
    position: relative;
    width: 1.28rem;
    height: 1.28rem;
    transform: rotate(-18deg);
}

.menu-glyph::before,
.menu-glyph::after,
.menu-glyph i {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.88;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.menu-glyph::before {
    top: 0.1rem;
    left: 0.42rem;
    width: 0.34rem;
    height: 1.08rem;
}

.menu-glyph::after {
    top: 0.42rem;
    left: 0.1rem;
    width: 1.08rem;
    height: 0.34rem;
}

.menu-glyph i:first-child {
    right: 0;
    top: 0;
    width: 0.38rem;
    height: 0.38rem;
    background: #efd6a3;
}

.menu-glyph i:last-child {
    left: 0;
    bottom: 0;
    width: 0.38rem;
    height: 0.38rem;
    background: rgba(114, 150, 255, 0.95);
}

.couture-menu-toggle[aria-expanded="true"] .menu-glyph::before {
    transform: rotate(45deg) scaleY(0.92);
}

.couture-menu-toggle[aria-expanded="true"] .menu-glyph::after {
    transform: rotate(45deg) scaleX(0.92);
}

.couture-menu-toggle[aria-expanded="true"] .menu-glyph i {
    opacity: 0.38;
    transform: scale(0.72);
}

.site-menu-panel {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    display: grid;
    gap: 1rem;
    width: min(24rem, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 0%, rgba(239, 214, 163, 0.14), transparent 13rem),
        linear-gradient(145deg, rgba(27, 29, 38, 0.88), rgba(7, 8, 12, 0.78));
    color: #f8f6ee;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.55rem) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.site-menu-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.site-menu-links,
.site-menu-actions {
    display: grid;
    gap: 0.45rem;
}

.site-menu-links a,
.site-menu-actions a,
.site-menu-actions button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.85rem;
    width: 100%;
    padding: 0.78rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    color: inherit;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-menu-links a:hover,
.site-menu-links a:focus-visible,
.site-menu-links a.is-active,
.site-menu-actions a:hover,
.site-menu-actions a:focus-visible,
.site-menu-actions button:hover,
.site-menu-actions button:focus-visible {
    transform: translateX(2px);
    border-color: rgba(239, 214, 163, 0.22);
    background: rgba(239, 214, 163, 0.09);
}

.site-menu-actions {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-menu-actions button:disabled {
    opacity: 0.45;
    cursor: default;
}

.site-menu-actions button:disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(47, 63, 127, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #2f3f7f;
    font-size: 0.88rem;
    font-weight: 700;
}

.auth-button {
    width: auto;
    min-height: 2.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.hero-content {
    margin: auto 0;
    padding: 4rem 0 3rem;
    max-width: 760px;
}

.hero-title {
    overflow: hidden;
}

.title-line {
    display: inline-block;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-soft);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: var(--line-strong);
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    opacity: 0;
    transform: translateY(20px);
}

.hero-role {
    margin-top: 1rem;
    font-size: clamp(1.05rem, 2.4vw, 1.45rem);
    font-weight: 600;
    color: var(--text-soft);
}

.hero-text {
    margin-top: 1.5rem;
    max-width: 38rem;
    font-size: 1.02rem;
    color: var(--text-soft);
}

.hero-note {
    margin-top: 1rem;
    color: #2f3f7f;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 3.1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: #2f3f7f;
    color: #ffffff;
    border-color: #2f3f7f;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.75);
}

.section {
    padding: var(--space-2xl) 0;
}

.reveal-section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

#cv-intelligent.reveal-section {
    opacity: 1;
    transform: none;
}

.section-heading {
    max-width: 44rem;
    margin-bottom: var(--space-lg);
}

.section-intro {
    max-width: 42rem;
    margin-bottom: 1.4rem;
    color: var(--text-soft);
    font-size: 1.02rem;
}

.section h2 {
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-profile,
.section-contact,
.section-demo,
.section-cv,
.section-assistant {
    position: relative;
}

.profile-panel,
.contact-panel {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75));
    box-shadow: var(--shadow);
}

.profile-panel {
    display: grid;
    gap: 1rem;
    font-size: 1.02rem;
    color: var(--text-soft);
}

.skills-grid,
.cards-grid,
.demo-grid {
    display: grid;
    gap: 1rem;
}

.skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.skill-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(58, 73, 110, 0.06);
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.demo-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section-cards {
    padding-top: 0;
}

.card {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.2s ease;
}

.card.show {
    transform: translateY(0);
    opacity: 1;
}

.content-card {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    box-shadow: 0 16px 28px rgba(58, 73, 110, 0.06);
}

.content-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

.content-card p {
    color: var(--text-soft);
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(58, 73, 110, 0.12);
}

.demo-card {
    padding: 1.4rem;
    min-height: 210px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 244, 255, 0.9));
    box-shadow: 0 16px 28px rgba(58, 73, 110, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.demo-card p {
    color: var(--text-soft);
}

.interactive-card {
    cursor: pointer;
}

.demo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(58, 73, 110, 0.12);
}

.inline-link {
    width: fit-content;
    margin-top: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2f3f7f;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.expandable-card {
    overflow: hidden;
}

.expand-trigger {
    margin-top: 0.65rem;
}

.expandable-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease, margin-top 0.35s ease;
    margin-top: 0;
}

.expandable-inner {
    overflow: hidden;
}

.expandable-inner p,
.expandable-inner a {
    color: var(--text-soft);
}

.expandable-card.is-open .expandable-content {
    grid-template-rows: 1fr;
    margin-top: 0.95rem;
}

.cv-layout {
    display: grid;
    gap: 1.25rem;
    position: relative;
}

.cv-editor-panel,
.cv-form,
.cv-preview-shell,
.assistant-panel {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 255, 0.82));
    box-shadow: var(--shadow);
}

.cv-editor-panel {
    display: grid;
    gap: 1.25rem;
}

.cv-form {
    display: grid;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.cv-quick-presets {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(250, 251, 255, 0.96), rgba(241, 245, 255, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.preset-actions {
    display: grid;
    gap: 0.7rem;
}

.preset-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.2rem;
    border: 1px solid rgba(47, 63, 127, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    border-radius: 999px;
    padding: 0.7rem 0.95rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.preset-chip:hover,
.preset-chip:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(47, 63, 127, 0.28);
    box-shadow: 0 12px 22px rgba(47, 63, 127, 0.08);
}

.cv-focus-toggle {
    position: sticky;
    top: 6.5rem;
    z-index: 4;
    width: 2.6rem;
    height: 4.8rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #2f3f7f, #3d52a0);
    color: #ffffff;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 18px 28px rgba(31, 38, 72, 0.16);
    align-self: start;
    justify-self: center;
}

.cv-focus-toggle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1.35rem;
    font-weight: 700;
}

.cv-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
    align-items: end;
}

.template-presets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.8rem;
}

.design-panel {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.98), rgba(244, 247, 255, 0.92));
}

.template-chip {
    display: grid;
    gap: 0.28rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.template-chip strong {
    font-size: 0.96rem;
}

.template-chip span {
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.4;
}

.template-chip:hover,
.template-chip:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(47, 63, 127, 0.24);
    box-shadow: 0 14px 24px rgba(47, 63, 127, 0.08);
}

.tool-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3.2rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    color: var(--text);
    justify-content: center;
}

.tool-toggle input {
    margin: 0;
    accent-color: #2f3f7f;
}

.form-split {
    display: grid;
    gap: 1rem;
}

.field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.9);
}

.field-color input {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
}

.field-hint-toolbar {
    margin-top: -0.15rem;
    padding: 0.85rem 1rem 0;
    border-top: 1px dashed var(--line);
}

.cv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.cv-action-groups {
    display: grid;
    gap: 1rem;
}

.cv-action-group {
    display: grid;
    gap: 0.7rem;
    padding: 1rem 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
}

.cv-action-group h4 {
    margin: 0;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
}

.cv-action-group-single .cv-actions {
    justify-content: flex-start;
}

.cv-preview-shell {
    display: grid;
    gap: 1rem;
    align-self: start;
}

.cv-analysis-panel {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.cv-ai-panel {
    margin-top: 0.4rem;
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(241, 245, 255, 0.92));
}

.job-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-match strong {
    font-size: 1.15rem;
    color: #2f3f7f;
}

.ats-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(47, 63, 127, 0.08);
    color: #2f3f7f;
    font-weight: 700;
}

.ats-score strong {
    font-size: 1.25rem;
}

.analysis-block {
    display: grid;
    gap: 0.55rem;
}

.analysis-block-header {
    padding-bottom: 0.2rem;
    border-bottom: 1px dashed var(--line);
}

.analysis-block h4 {
    margin: 0;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.analysis-block ul {
    margin: 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.45rem;
    color: var(--text-soft);
}

.cv-preview-toolbar {
    display: grid;
    gap: 1rem;
    padding: 1.2rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.9));
    box-shadow: 0 14px 28px rgba(58, 73, 110, 0.06);
    color: var(--text-soft);
    font-size: 0.92rem;
}

.preview-toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.preview-toolbar-group-tools {
    display: grid;
    gap: 0.85rem;
    padding: 0;
}

.preview-quick-control {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

.preview-quick-control select {
    min-height: 42px;
    padding: 0.68rem 0.9rem;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.preview-toolbar-group-mode {
    align-items: flex-start;
    justify-content: space-between;
}

.preview-mode-tabs {
    display: inline-flex;
    padding: 0.2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

.preview-mode-tab {
    min-height: 2.2rem;
    padding: 0.45rem 0.9rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.preview-mode-tab.is-active {
    background: #2f3f7f;
    color: #ffffff;
}

.cv-word-toolbar-shell {
    position: sticky;
    top: 1rem;
    z-index: 7;
    width: min(100%, var(--cv-page-width));
    margin: 0 auto;
    padding-bottom: 0.35rem;
}

.cv-word-toolbar {
    display: grid;
    gap: 0.55rem;
    padding: 0.62rem 0.72rem;
    border: 1px solid rgba(47, 63, 127, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 28px rgba(31, 38, 72, 0.08);
    backdrop-filter: blur(10px);
}

.word-toolbar-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.word-toolbar-row-actions {
    justify-content: flex-start;
    padding-top: 0.15rem;
    border-top: 1px solid rgba(47, 63, 127, 0.08);
}

.word-toolbar-field {
    display: grid;
    gap: 0.18rem;
    min-width: 82px;
    color: var(--text-soft);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.word-toolbar-field-size {
    min-width: 62px;
}

.word-toolbar-field-line-height {
    min-width: 74px;
}

.word-toolbar-field select {
    min-height: 2rem;
    padding: 0.34rem 0.52rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    font: inherit;
    color: var(--text);
}

.word-toolbar-segment {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.08rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(248, 250, 255, 0.92);
}

.word-toolbar-button {
    min-width: 1.52rem;
    min-height: 1.52rem;
    padding: 0.16rem 0.28rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.word-toolbar-button:hover,
.word-toolbar-button:focus-visible,
.word-toolbar-button.is-active {
    background: rgba(47, 63, 127, 0.12);
    color: #2f3f7f;
    transform: translateY(-1px);
}

.word-toolbar-button-list {
    min-width: 3.5rem;
    justify-content: center;
}

.preview-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(47, 63, 127, 0.08);
    color: #2f3f7f;
    font-weight: 700;
}

.cv-preview {
    --cv-accent: #2f3f7f;
    --cv-soft: rgba(47, 63, 127, 0.08);
    width: min(100%, var(--cv-page-width));
    min-height: var(--cv-page-height);
    margin: 0 auto;
    padding: 2rem;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(19, 22, 32, 0.08);
    box-shadow: 0 18px 34px rgba(31, 38, 72, 0.08);
    font-size: 0.97rem;
    transform-origin: top center;
    position: relative;
}

.cv-page-guide {
    position: absolute;
    inset: 14mm 12mm;
    border: 1px dashed rgba(47, 63, 127, 0.14);
    border-radius: 8px;
    pointer-events: none;
}

.cv-preview-viewport {
    height: min(74vh, 860px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(241, 244, 255, 0.85), rgba(255, 255, 255, 0.96));
}

.cv-preview-stage {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 18mm;
    min-height: 0;
}

.preview-page-thumbnails {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.9rem;
    flex-wrap: wrap;
}

.page-thumb {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-soft);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-thumb:hover,
.page-thumb:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(47, 63, 127, 0.22);
    box-shadow: 0 10px 20px rgba(47, 63, 127, 0.08);
}

.page-thumb.is-active {
    background: #2f3f7f;
    border-color: #2f3f7f;
    color: #ffffff;
}

.is-hidden-preview {
    display: none !important;
}

.cv-layout.is-preview-focus {
    grid-template-columns: 0 2.6rem minmax(0, 1fr) !important;
}

.cv-layout.is-preview-focus .cv-editor-panel {
    overflow: hidden;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
}

.cv-layout.is-preview-focus .cv-focus-toggle-arrow {
    transform: rotate(180deg);
}

.cover-letter-panel {
    display: grid;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 255, 0.9));
    box-shadow: var(--shadow);
}

.cover-letter-panel.is-hidden-panel {
    display: none;
}

.section-heading-compact {
    margin-bottom: 0;
}

.section-heading-compact h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.letter-preview {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    color: var(--text);
    white-space: pre-line;
}

.letter-subject {
    font-weight: 700;
    color: #2f3f7f;
}

.letter-body {
    color: var(--text-soft);
    line-height: 1.8;
}

.cv-letter-page {
    position: relative;
}

.cv-preview.size-large {
    font-size: 1rem;
}

.cv-preview.size-compact {
    font-size: 0.88rem;
}

.cv-preview.palette-indigo {
    --cv-accent: #2f3f7f;
    --cv-soft: rgba(47, 63, 127, 0.08);
}

.cv-preview.palette-emerald {
    --cv-accent: #0f766e;
    --cv-soft: rgba(15, 118, 110, 0.1);
}

.cv-preview.palette-rose {
    --cv-accent: #be185d;
    --cv-soft: rgba(190, 24, 93, 0.08);
}

.cv-preview.palette-graphite {
    --cv-accent: #1f2937;
    --cv-soft: rgba(31, 41, 55, 0.08);
}

.cv-preview.is-bold .cv-header h3,
.cv-preview.is-bold #preview-headline,
.cv-preview.is-bold #preview-summary {
    font-weight: 700;
}

.cv-preview.is-italic #preview-headline,
.cv-preview.is-italic #preview-summary {
    font-style: italic;
}

.cv-preview.is-underline .cv-header h3,
.cv-preview.is-underline #preview-headline {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.cv-preview.font-serif {
    font-family: "Libre Baskerville", serif;
}

.cv-preview.font-inter {
    font-family: "Inter", sans-serif;
}

.cv-preview.font-roboto {
    font-family: "Roboto", sans-serif;
}

.cv-preview.font-lato {
    font-family: "Lato", sans-serif;
}

.cv-preview.font-playfair .cv-header h3,
.cv-preview.font-playfair .cv-body h4 {
    font-family: "Playfair Display", serif;
}

.cv-preview.mood-editorial {
    border-top: 6px solid var(--cv-accent);
}

.cv-preview.mood-startup {
    background: linear-gradient(180deg, #ffffff, var(--cv-soft));
}

.cv-preview.mood-luxury {
    background: linear-gradient(180deg, #ffffff, #fcfaf5);
    border: 1px solid rgba(31, 41, 55, 0.12);
    box-shadow: 0 24px 48px rgba(36, 33, 28, 0.1);
}

.cv-preview.mood-luxury::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(180, 146, 79, 0.28);
    border-radius: 14px;
    pointer-events: none;
}

.cv-preview.font-mono {
    font-family: "IBM Plex Sans", sans-serif;
}

.cv-preview.theme-creative {
    background: linear-gradient(180deg, #ffffff, #f6f8ff);
    border-left: 6px solid #2f3f7f;
}

.cv-preview.theme-ats {
    border-left: 6px solid #111827;
    box-shadow: none;
}

.cv-preview.theme-web {
    background: linear-gradient(180deg, #f9fbff, #ffffff);
    border: 1px solid rgba(47, 63, 127, 0.18);
}

.cv-preview.template-wordpro {
    border-top: 0;
    box-shadow: 0 18px 34px rgba(31, 38, 72, 0.08);
}

.cv-preview.template-wordpro .cv-header {
    text-align: center;
    justify-items: center;
    gap: 0.5rem;
    border-bottom: 0;
}

.cv-preview.template-wordpro #preview-name {
    display: inline-block;
    min-width: min(100%, 76%);
    padding: 0.3rem 1rem;
    background: rgba(148, 163, 184, 0.16);
    font-style: italic;
    text-transform: uppercase;
}

.cv-preview.template-wordpro .cv-meta {
    display: inline-block;
    min-width: min(100%, 76%);
    padding: 0.24rem 0.85rem;
    background: rgba(148, 163, 184, 0.12);
    font-weight: 700;
    color: var(--cv-accent);
}

.cv-preview.template-wordpro #preview-headline {
    display: inline-block;
    min-width: min(100%, 76%);
    padding: 0.2rem 0.8rem;
    background: rgba(148, 163, 184, 0.12);
    text-decoration: underline;
    text-underline-offset: 0.12em;
    font-style: italic;
    color: var(--text);
}

.cv-preview.template-wordpro .cv-body {
    gap: 1rem;
}

.cv-preview.template-wordpro .cv-body h4 {
    display: block;
    text-align: center;
    padding: 0.28rem 0.8rem;
    background: rgba(148, 163, 184, 0.14);
    color: var(--text);
    border-left: 4px solid var(--cv-accent);
}

.cv-preview.template-wordpro .cv-body section {
    gap: 0.55rem;
}

.cv-preview.template-classic {
    border-top: 0;
    box-shadow: 0 16px 30px rgba(31, 38, 72, 0.08);
}

.cv-preview.template-modern {
    background: linear-gradient(180deg, #ffffff, #f8faff);
    border-left: 8px solid var(--cv-accent);
}

.cv-preview.template-executive {
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.09);
    border-top: 5px solid color-mix(in srgb, var(--cv-accent) 72%, #d4b26a 28%);
}

.cv-preview.template-minimal {
    border-color: rgba(19, 22, 32, 0.06);
    box-shadow: 0 10px 22px rgba(31, 38, 72, 0.05);
}

.cv-preview.template-classic .cv-header {
    text-align: center;
    justify-items: center;
    gap: 0.5rem;
    border-bottom: 0;
}

.cv-preview.template-classic .cv-meta,
.cv-preview.template-classic #preview-headline,
.cv-preview.template-classic #preview-permit {
    justify-self: center;
}

.cv-preview.template-classic .cv-label {
    justify-self: start;
}

.cv-preview.template-classic #preview-name {
    display: inline-block;
    min-width: min(100%, 74%);
    padding: 0.35rem 1rem;
    background: rgba(148, 163, 184, 0.16);
    font-style: italic;
    text-transform: uppercase;
}

.cv-preview.template-classic #preview-headline,
.cv-preview.template-classic #preview-meta,
.cv-preview.template-classic #preview-permit {
    display: inline-block;
    min-width: min(100%, 74%);
    padding: 0.26rem 0.85rem;
    background: rgba(148, 163, 184, 0.12);
}

.cv-preview.template-classic #preview-headline {
    text-decoration: underline;
    text-underline-offset: 0.12em;
    font-style: italic;
}

.cv-preview.template-classic #preview-summary {
    margin-top: 0.35rem;
    padding: 0 1rem 0.8rem;
    border-bottom: 2px solid rgba(19, 22, 32, 0.8);
    color: var(--text);
    font-weight: 700;
}

.cv-preview.template-classic .cv-body {
    gap: 1.05rem;
}

.cv-preview.template-classic .cv-body h4 {
    display: block;
    text-align: center;
    padding: 0.28rem 0.8rem;
    background: rgba(148, 163, 184, 0.14);
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.1em;
}

.cv-preview.template-classic .cv-body section {
    gap: 0.55rem;
}

.cv-hidden-copy {
    display: none !important;
}

.cv-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.cv-section-actions {
    display: inline-flex;
    gap: 0.35rem;
}

.cv-section-action {
    width: 1.95rem;
    height: 1.95rem;
    border-radius: 999px;
    border: 1px solid rgba(47, 63, 127, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-soft);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cv-section-action:hover,
.cv-section-action:focus-visible {
    transform: translateY(-1px);
    background: rgba(47, 63, 127, 0.1);
    color: #2f3f7f;
}

.cv-preview.template-modern .cv-body {
    gap: 1.2rem;
}

.cv-preview.template-modern .cv-body section {
    padding-left: 1rem;
    border-left: 3px solid var(--cv-soft);
}

.cv-preview.template-executive .cv-body h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(19, 22, 32, 0.12);
}

.cv-preview.template-minimal .cv-header {
    gap: 0.45rem;
    padding-bottom: 1.1rem;
}

.cv-preview.template-minimal .cv-body h4 {
    font-size: 0.8rem;
    color: var(--text);
}

.cv-preview.template-executive.mood-luxury,
.cv-letter-page.template-executive.mood-luxury {
    background:
        radial-gradient(circle at top right, rgba(212, 178, 106, 0.12), transparent 28%),
        linear-gradient(180deg, #fffdfa, #fcfaf5);
}

.cv-preview.align-center {
    text-align: center;
}

.cv-preview.align-right {
    text-align: right;
}

.cv-preview.spacing-airy {
    line-height: 1.85;
}

.cv-preview.spacing-tight {
    line-height: 1.35;
}

.cv-header {
    display: grid;
    gap: 0.65rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(19, 22, 32, 0.08);
    position: relative;
}

.cv-label {
    display: none;
}

.cv-header h3 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

#preview-headline {
    margin-top: -0.1rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--cv-accent);
}

#preview-summary {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-soft);
}

.cv-preview.headline-compact #preview-headline {
    font-size: 0.94rem;
}

.cv-preview.headline-large #preview-headline {
    font-size: 1.2rem;
    line-height: 1.2;
}

.cv-header p {
    color: var(--text-soft);
    overflow-wrap: anywhere;
}

.cv-meta {
    font-size: 0.88rem;
    line-height: 1.6;
}

#preview-name,
#preview-meta,
#preview-headline,
#preview-summary,
#preview-skills,
#preview-experience,
#preview-projects,
#preview-education,
#preview-languages,
#preview-activities {
    cursor: text;
    transition: color 0.2s ease;
    outline: none;
}

#preview-name:hover,
#preview-meta:hover,
#preview-headline:hover,
#preview-summary:hover,
#preview-skills:hover,
#preview-experience:hover,
#preview-projects:hover,
#preview-education:hover,
#preview-languages:hover,
#preview-activities:hover {
    color: var(--cv-accent);
}

#preview-name:focus,
#preview-meta:focus,
#preview-headline:focus,
#preview-summary:focus,
#preview-skills:focus,
#preview-experience:focus,
#preview-projects:focus,
#preview-education:focus,
#preview-languages:focus,
#preview-activities:focus {
    color: var(--text);
    box-shadow: 0 0 0 2px rgba(47, 63, 127, 0.14);
    border-radius: 8px;
}

#preview-name,
#preview-meta,
#preview-headline,
#preview-summary,
#preview-skills,
#preview-experience,
#preview-projects,
#preview-education,
#preview-languages,
#preview-activities {
    line-height: 1.2;
}

#preview-name *,
#preview-meta *,
#preview-headline *,
#preview-summary *,
#preview-skills *,
#preview-experience *,
#preview-projects *,
#preview-education *,
#preview-languages *,
#preview-activities * {
    margin: 0;
    line-height: inherit;
}

.cv-body {
    display: grid;
    gap: 1.4rem;
    padding-top: 1.5rem;
}

.cv-body section {
    display: grid;
    gap: 0.75rem;
    break-inside: avoid;
    page-break-inside: avoid;
}

.cv-preview.is-two-page .cv-body section:last-child {
    break-before: page;
    page-break-before: always;
    margin-top: 12mm;
}

.cv-body h4 {
    margin: 0;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2f3f7f;
}

.cv-body ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-soft);
    display: grid;
    gap: 0.5rem;
}

.cv-list-compact {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.35rem 1rem !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.cv-list-compact li {
    position: relative;
    padding-left: 0.75rem;
    margin: 0;
}

.cv-list-compact li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cv-accent);
}

.cv-body p[contenteditable="true"] {
    min-height: 1.6rem;
}

.cv-experience-list {
    padding-left: 0;
    list-style: none;
    gap: 1rem;
}

.cv-body section[hidden] {
    display: none !important;
}

.cv-experience-item {
    display: grid;
    gap: 0.4rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(19, 22, 32, 0.08);
}

.cv-experience-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cv-experience-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.cv-experience-title {
    font-weight: 700;
    color: var(--text);
}

.cv-experience-date {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--cv-accent);
    white-space: nowrap;
}

.cv-experience-meta {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.cv-experience-bullets {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
}

.cv-preview.align-center .cv-body ul,
.cv-preview.align-right .cv-body ul {
    padding-left: 0;
    list-style-position: inside;
}

.assistant-suggestions,
.assistant-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.suggestion-chip {
    border: 1px solid rgba(47, 63, 127, 0.14);
    background: rgba(47, 63, 127, 0.08);
    color: #2f3f7f;
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.assistant-toggle {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    min-height: 3.2rem;
    padding: 0.85rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: #2f3f7f;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(47, 63, 127, 0.28);
    cursor: pointer;
}

.assistant-chat {
    position: fixed;
    right: 1rem;
    bottom: 5.2rem;
    width: var(--assistant-width);
    z-index: 30;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(31, 38, 72, 0.18);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.assistant-chat.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.assistant-chat-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.assistant-chat-header p {
    margin-top: 0.3rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.assistant-close {
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font-size: 1.4rem;
    cursor: pointer;
}

.assistant-messages {
    max-height: 260px;
    overflow: auto;
    display: grid;
    gap: 0.75rem;
}

.assistant-bubble {
    max-width: 88%;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    font-size: 0.95rem;
}

.assistant-bubble-bot {
    background: rgba(47, 63, 127, 0.08);
    color: var(--text);
}

.assistant-bubble-user {
    margin-left: auto;
    background: #2f3f7f;
    color: #ffffff;
}

.assistant-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.assistant-input-row input {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    font: inherit;
}

.demo-label {
    display: inline-flex;
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(47, 63, 127, 0.08);
    color: #2f3f7f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-panel {
    display: grid;
    gap: 1.2rem;
}

.contact-layout {
    display: grid;
    gap: 1rem;
}

.contact-panel-info {
    align-content: start;
}

.contact-panel p {
    color: var(--text-soft);
    font-size: 1.02rem;
}

.contact-details {
    display: grid;
    gap: 0.9rem;
    margin-top: 0.4rem;
}

.contact-brief-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.2rem;
}

.contact-link {
    width: fit-content;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid var(--text);
    font-weight: 700;
}

.contact-form {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 255, 0.82));
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field span {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.field-hint {
    margin: -0.1rem 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-soft);
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.9);
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(47, 63, 127, 0.45);
    box-shadow: 0 0 0 4px rgba(47, 63, 127, 0.08);
}

.contact-button {
    width: fit-content;
}

.site-footer {
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.95rem;
}

.hero-reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
}

.skill-reveal {
    opacity: 0;
    transform: translateY(18px);
}

body.is-ready .hero-reveal {
    animation: heroFadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

body.is-ready .hero h1 {
    animation: fadeUp 1s ease forwards;
}

body.is-ready .skill-reveal {
    animation: skillFadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

body.is-ready .hero-reveal-delay-1 {
    animation-delay: 0.08s;
}

body.is-ready .hero-reveal-delay-2 {
    animation-delay: 0.18s;
}

body.is-ready .hero-reveal-delay-3 {
    animation-delay: 0.34s;
}

body.is-ready .hero-reveal-delay-4 {
    animation-delay: 0.5s;
}

body.is-ready .hero-reveal-delay-5 {
    animation-delay: 0.66s;
}

body.is-ready .hero-reveal-delay-6 {
    animation-delay: 0.8s;
}

body.is-ready .skill-delay-1 {
    animation-delay: 0.7s;
}

body.is-ready .skill-delay-2 {
    animation-delay: 0.78s;
}

body.is-ready .skill-delay-3 {
    animation-delay: 0.86s;
}

body.is-ready .skill-delay-4 {
    animation-delay: 0.94s;
}

body.is-ready .skill-delay-5 {
    animation-delay: 1.02s;
}

body.is-ready .skill-delay-6 {
    animation-delay: 1.1s;
}

body.is-ready .skill-delay-7 {
    animation-delay: 1.18s;
}

body.is-ready .skill-delay-8 {
    animation-delay: 1.26s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

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

@keyframes skillFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

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

    .hero-reveal,
    .skill-reveal,
    .hero h1,
    .card,
    .reveal-section {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media (min-width: 700px) {
    .page-shell {
        width: min(calc(100% - 3rem), var(--max-width));
    }

    .form-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-layout {
        grid-template-columns: minmax(340px, 0.88fr) 2.8rem minmax(0, 1.12fr);
        align-items: start;
    }

    .preset-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cv-preview-toolbar {
        grid-template-columns: minmax(0, 1.2fr) auto;
        align-items: end;
    }

    .preview-toolbar-group-tools {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .preview-toolbar-group-mode {
        flex-direction: column;
        align-items: flex-end;
    }

    .contact-layout {
        grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
    }

}

@media (max-width: 699px) {
    .hero {
        min-height: auto;
        padding-inline: 0;
    }

    .page-shell {
        width: min(calc(100% - 1rem), var(--max-width));
    }

    .page-header {
        padding-inline: 0.35rem;
        gap: 1.6rem;
    }

    .page-intro {
        padding-top: 1.8rem;
    }

    .page-intro h1 {
        font-size: clamp(2.3rem, 12vw, 3.4rem);
        letter-spacing: -0.05em;
    }

    .page-intro p:not(.eyebrow) {
        font-size: 1rem;
    }

    .topbar {
        border-radius: 24px;
        align-items: center;
        flex-direction: row;
    }

    .site-menu-panel {
        right: 0;
        left: auto;
        width: min(22rem, calc(100vw - 2rem));
    }

    .hero-content {
        padding-top: 3rem;
    }

    .button {
        width: 100%;
    }

    .pack-offer-card {
        width: 100%;
        border-radius: 22px;
    }

    .preview-toolbar-group {
        width: 100%;
        justify-content: flex-start;
    }

    .cv-focus-toggle {
        display: none;
    }

    .cv-preview-viewport {
        height: 72vh;
        padding-inline: 0.35rem;
    }

    .assistant-chat {
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
    }

.assistant-toggle {
    right: 0.75rem;
    left: 0.75rem;
}

.auth-actions {
    width: 100%;
    justify-content: flex-start;
}

.auth-actions .button {
    width: auto;
}

.auth-modal {
    padding: 0.75rem;
}

.auth-modal-dialog {
    width: min(100%, 100%);
    max-height: calc(100dvh - 1.5rem);
    padding: 1rem;
    border-radius: 20px;
    gap: 0.85rem;
}

.auth-modal-dialog h2 {
    font-size: 1.9rem;
    line-height: 1.05;
    padding-right: 2.75rem;
}

.auth-modal-text {
    font-size: 0.98rem;
}

.auth-modal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.auth-tab {
    width: 100%;
    min-height: 2.5rem;
    padding-inline: 0.75rem;
}

.auth-form {
    gap: 0.8rem;
}

.auth-modal-close {
    top: 0.7rem;
    right: 0.7rem;
}

.preview-toolbar-group-tools,
.preview-toolbar-group-mode,
.cv-word-toolbar {
    width: 100%;
}

.preview-toolbar-group-mode {
    justify-content: flex-start;
}

.preview-toolbar-group-tools {
    grid-template-columns: 1fr;
}

.word-toolbar-row {
    align-items: stretch;
}

.word-toolbar-row-actions {
    justify-content: flex-start;
}

.cv-word-toolbar-shell {
    top: 0.5rem;
}
}

@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    body {
        background: #ffffff;
    }

    .assistant-toggle,
    .assistant-chat,
    .auth-modal,
    .topbar,
    .hero,
    #cv-intelligent > .section-heading,
    .section:not(#cv-intelligent),
    .site-footer,
    .cv-focus-toggle,
    .preview-page-thumbnails,
    .cover-letter-panel,
    .cv-section-actions,
    .cv-page-guide,
    #letter-page-preview,
    .cv-letter-page,
    [data-preview-doc="letter"] {
        display: none !important;
    }

    #cv-intelligent,
    .cv-layout,
    .cv-preview-shell,
    .cv-preview,
    .cv-preview-viewport,
    .cv-preview-stage {
        display: block !important;
        box-shadow: none !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #ffffff !important;
    }

    .cv-preview {
        width: auto !important;
        min-height: auto !important;
        transform: none !important;
    }

    .cv-preview-viewport {
        height: auto !important;
        overflow: visible !important;
    }

    .cv-preview-stage {
        height: auto !important;
        min-height: 0 !important;
        gap: 0 !important;
    }

    .cv-form,
    .cv-preview-toolbar,
    .cv-word-toolbar-shell,
    .cv-analysis-panel {
        display: none !important;
    }

    .is-hidden-preview,
    [aria-hidden="true"] {
        display: none !important;
    }

    .cv-body section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 1rem;
    overflow-y: auto;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
}

.auth-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.auth-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text);
    font: inherit;
    font-size: 1.15rem;
    cursor: pointer;
}

.auth-modal-text {
    color: var(--text-soft);
}

.auth-modal-tabs {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(248, 250, 255, 0.9);
}

.auth-tab {
    min-height: 2.3rem;
    padding: 0.45rem 0.95rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-tab.is-active {
    background: #2f3f7f;
    color: #ffffff;
}

.auth-form {
    display: grid;
    gap: 0.9rem;
}

.auth-feedback {
    min-height: 1.4rem;
    color: #2f3f7f;
    font-weight: 700;
}

.hero-studio {
    min-height: 92vh;
}

.studio-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    margin: auto 0;
    padding: 4rem 0 3rem;
}

.hero-studio .hero-content {
    margin: 0;
    padding: 0;
}

.studio-signal-card,
.page-intro,
.price-card,
.method-card,
.feature-link-card,
.project-card {
    position: relative;
    overflow: hidden;
}

.studio-signal-card {
    display: grid;
    gap: 1.2rem;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid rgba(47, 63, 127, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 242, 255, 0.88)),
        radial-gradient(circle at top right, rgba(47, 63, 127, 0.16), transparent 42%);
    box-shadow: 0 28px 60px rgba(39, 52, 89, 0.13);
}

.studio-signal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 4px solid #2f3f7f;
    pointer-events: none;
}

.studio-signal-card h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.studio-signal-card p {
    color: var(--text-soft);
}

.signal-label,
.price-label,
.project-type {
    color: #2f3f7f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.signal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.signal-list span {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(47, 63, 127, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #2f3f7f;
    font-size: 0.84rem;
    font-weight: 800;
}

.page-header {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    padding: 1rem 1rem 0;
}

.page-intro {
    max-width: 820px;
    padding: clamp(2.2rem, 5vw, 4rem) 0 1rem;
}

.page-intro h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.page-intro p:not(.eyebrow) {
    max-width: 44rem;
    margin-top: 1.3rem;
    color: var(--text-soft);
    font-size: 1.06rem;
}

.page-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.35rem;
}

.page-pills span,
.contact-brief-list span {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--studio-muted);
    font-size: 0.86rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.feature-link-grid,
.pricing-grid,
.method-grid {
    display: grid;
    gap: 1rem;
}

.feature-link-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-link-card {
    display: grid;
    gap: 0.8rem;
    min-height: 240px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 28px rgba(58, 73, 110, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(58, 73, 110, 0.12);
}

.feature-link-card span,
.method-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #2f3f7f;
    font-weight: 900;
}

.feature-link-card p,
.price-card p,
.method-card p,
.project-card p {
    color: var(--text-soft);
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: stretch;
}

.pricing-orbit {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.pricing-orbit span {
    position: absolute;
    border: 1px solid rgba(239, 214, 163, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(114, 150, 255, 0.08);
}

.pricing-orbit span:nth-child(1) {
    width: 24rem;
    height: 24rem;
    left: -8rem;
    top: 4rem;
}

.pricing-orbit span:nth-child(2) {
    width: 34rem;
    height: 34rem;
    right: 12%;
    top: -10rem;
}

.pricing-orbit span:nth-child(3) {
    width: 18rem;
    height: 18rem;
    right: -6rem;
    bottom: -5rem;
}

.pack-offer-card {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 1rem;
    padding: 0.78rem 1rem;
    border: 1px solid rgba(239, 214, 163, 0.18);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(239, 214, 163, 0.12), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.045);
    color: var(--studio-muted);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
}

.pack-offer-card p,
.pack-offer-card strong,
.pack-offer-card span {
    margin: 0;
}

.pack-offer-card p {
    color: #efd6a3;
    font-weight: 900;
}

.pack-offer-card strong {
    color: var(--studio-text);
}

.pack-offer-card span {
    font-size: 0.9rem;
}

.price-card {
    display: grid;
    gap: 1rem;
    min-height: 540px;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.price-card-featured {
    border-color: rgba(47, 63, 127, 0.38);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 255, 0.95));
}

.price-card h2 {
    margin-block: 0.35rem 0.1rem;
    font-size: clamp(2.8rem, 6vw, 4.7rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.price-card ul {
    display: grid;
    gap: 0.55rem;
    padding-left: 1.1rem;
    color: var(--text-soft);
}

.price-card .button {
    margin-top: auto;
    border-color: rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.045);
    color: var(--studio-text);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 16px 38px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.price-card .button:hover,
.price-card .button:focus-visible {
    border-color: rgba(239, 214, 163, 0.34);
    background:
        linear-gradient(145deg, rgba(239, 214, 163, 0.16), rgba(255, 255, 255, 0.045)),
        rgba(255, 255, 255, 0.06);
    color: #fff8e8;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 20px 48px rgba(0, 0, 0, 0.24),
        0 0 28px rgba(239, 214, 163, 0.08);
}

body.studio-home[data-theme="day"] .price-card .button {
    border-color: rgba(42, 45, 58, 0.13);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 249, 239, 0.38)),
        rgba(255, 255, 255, 0.46);
    color: #171923;
    box-shadow: 0 16px 34px rgba(74, 65, 45, 0.1);
}

.method-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.method-card {
    display: grid;
    gap: 1rem;
    min-height: 280px;
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 255, 0.88));
    box-shadow: var(--shadow);
}

.flow-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: clamp(1rem, 2.4vw, 1.35rem);
    border: 1px solid var(--studio-line);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.024)),
        rgba(12, 14, 20, 0.72);
    box-shadow: var(--studio-shadow);
    backdrop-filter: blur(18px);
}

.flow-step {
    position: relative;
    min-height: 210px;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(239, 214, 163, 0.11), transparent 11rem),
        rgba(255, 255, 255, 0.045);
    overflow: hidden;
}

.flow-step::after {
    content: "";
    position: absolute;
    right: -4rem;
    bottom: -4rem;
    width: 10rem;
    height: 10rem;
    border: 1px solid rgba(114, 150, 255, 0.13);
    border-radius: 50%;
}

.flow-step span,
.mini-index {
    color: #efd6a3;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.flow-step h3 {
    margin-top: 2.8rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.flow-step p {
    margin-top: 0.75rem;
    color: var(--studio-muted);
}

.mood-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.mood-card {
    position: relative;
    display: grid;
    align-content: end;
    gap: 0.45rem;
    min-height: 260px;
    padding: 1.25rem;
    border: 1px solid var(--studio-line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--studio-shadow);
}

.mood-card span {
    position: absolute;
    inset: 1rem 1rem auto auto;
    width: 3.4rem;
    height: 3.4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.mood-card h3 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.mood-card p {
    position: relative;
    z-index: 1;
    max-width: 13rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    font-weight: 800;
}

.mood-card-premium {
    background:
        radial-gradient(circle at 70% 20%, rgba(239, 214, 163, 0.28), transparent 10rem),
        linear-gradient(145deg, #0a0a0d, #202431);
}

.mood-card-soft {
    background:
        radial-gradient(circle at 24% 16%, rgba(255, 244, 220, 0.9), transparent 9rem),
        linear-gradient(145deg, #8d7b62, #f1e7d4);
}

.mood-card-local {
    background:
        radial-gradient(circle at 74% 22%, rgba(120, 151, 220, 0.36), transparent 9rem),
        linear-gradient(145deg, #1b2630, #7b5539);
}

.mood-card-cv {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.72), transparent 8rem),
        linear-gradient(145deg, #25314c, #dfe6f4);
}

.method-card span {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.4rem;
}

.method-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.project-card {
    min-height: 260px;
}

@media (max-width: 840px) {
    .studio-hero-grid {
        grid-template-columns: 1fr;
        padding: 3rem 0 2rem;
    }

    .hero-studio {
        min-height: auto;
    }
}

body.studio-home {
    --studio-page-bg: #090a0d;
    --studio-panel: rgba(18, 20, 27, 0.84);
    --studio-panel-strong: rgba(23, 25, 34, 0.92);
    --studio-text: #f7f3ea;
    --studio-muted: rgba(247, 243, 234, 0.68);
    --studio-line: rgba(255, 255, 255, 0.12);
    --studio-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    background:
        radial-gradient(circle at 50% 0%, rgba(239, 214, 163, 0.16), transparent 24rem),
        radial-gradient(circle at 82% 10%, rgba(89, 132, 255, 0.24), transparent 28rem),
        linear-gradient(180deg, #010102 0%, #05060a 58%, var(--studio-page-bg) 58%, var(--studio-page-bg) 100%);
}

body.studio-home[data-theme="day"] {
    --studio-page-bg: #f5f1e8;
    --studio-panel: rgba(255, 252, 244, 0.88);
    --studio-panel-strong: rgba(255, 255, 255, 0.95);
    --studio-text: #171923;
    --studio-muted: rgba(42, 45, 58, 0.72);
    --studio-line: rgba(42, 45, 58, 0.12);
    --studio-shadow: 0 26px 58px rgba(74, 65, 45, 0.12);
    background:
        radial-gradient(circle at 50% 0%, rgba(213, 173, 98, 0.2), transparent 22rem),
        radial-gradient(circle at 82% 10%, rgba(120, 151, 220, 0.24), transparent 28rem),
        linear-gradient(180deg, #f7f2e8 0%, #efe8dc 58%, var(--studio-page-bg) 58%, var(--studio-page-bg) 100%);
}

body[data-theme="day"] .couture-menu-toggle {
    border-color: rgba(32, 34, 44, 0.14);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 249, 239, 0.52)),
        rgba(255, 255, 255, 0.56);
    color: #171923;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 18px 45px rgba(74, 65, 45, 0.12);
}

body[data-theme="day"] .site-menu-panel {
    border-color: rgba(42, 45, 58, 0.12);
    background:
        radial-gradient(circle at 82% 0%, rgba(213, 173, 98, 0.16), transparent 13rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 241, 230, 0.78));
    color: #171923;
    box-shadow: 0 34px 80px rgba(74, 65, 45, 0.16);
}

body[data-theme="day"] .site-menu-links a,
body[data-theme="day"] .site-menu-actions a,
body[data-theme="day"] .site-menu-actions button {
    border-color: rgba(42, 45, 58, 0.1);
    background: rgba(255, 255, 255, 0.52);
}

body[data-theme="day"] .site-menu-actions {
    border-top-color: rgba(42, 45, 58, 0.1);
}

.hero-immersive {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 2rem);
    padding: 1rem;
    overflow: hidden;
    border-radius: 0 0 34px 34px;
    color: #f8f6ee;
}

.hero-immersive::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: #020204;
    opacity: 1;
    mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

body.studio-home[data-theme="day"] .hero-immersive {
    color: #171923;
}

body.studio-home[data-theme="day"] .hero-immersive::before {
    background: linear-gradient(180deg, #f4eddf, #e8dfcf);
}

body.studio-home[data-theme="day"] .hero-immersive::after {
    background: linear-gradient(180deg, transparent, rgba(245, 241, 232, 0.96) 82%);
}

.hero-immersive::after {
    content: "";
    position: absolute;
    inset: auto -10% -28% -10%;
    z-index: -2;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(9, 10, 13, 0.96) 82%);
    pointer-events: none;
}

.hero-particles,
.hero-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-particles {
    z-index: -1;
    opacity: 1.08;
}

.hero-ambient {
    z-index: -2;
    background:
        radial-gradient(ellipse at 72% 34%, rgba(239, 214, 163, 0.24), transparent 23rem),
        radial-gradient(ellipse at 24% 18%, rgba(114, 150, 255, 0.2), transparent 25rem),
        radial-gradient(ellipse at 78% 72%, rgba(98, 60, 28, 0.24), transparent 23rem),
        linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.035) 48%, transparent 78%);
    filter: blur(0.5px);
    animation: ambientDrift 9s ease-in-out infinite alternate;
}

body.studio-home[data-theme="day"] .hero-ambient {
    background:
        radial-gradient(ellipse at 72% 26%, rgba(213, 173, 98, 0.24), transparent 19rem),
        radial-gradient(ellipse at 24% 18%, rgba(114, 150, 255, 0.2), transparent 24rem),
        radial-gradient(ellipse at 78% 72%, rgba(177, 119, 58, 0.18), transparent 20rem);
}

.hero-immersive .topbar {
    position: relative;
    z-index: 2;
    margin-top: 0.8rem;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.34);
    color: #f8f6ee;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

body.studio-home .topbar {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(2, 3, 8, 0.36);
    color: #f8f6ee;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.4rem;
    padding: 0.35rem 0.75rem 0.35rem 0.38rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #f8f6ee;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.theme-toggle-dot {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f3dfb4, #7e879d);
    box-shadow: 0 0 20px rgba(239, 214, 163, 0.28);
}

body.studio-home[data-theme="day"] .theme-toggle {
    border-color: rgba(32, 34, 44, 0.14);
    background: rgba(255, 255, 255, 0.52);
    color: #171923;
}

.hero-immersive .brand,
.hero-immersive .nav-links a {
    color: #f8f6ee;
}

.hero-immersive .nav-links a {
    opacity: 0.76;
}

.hero-immersive .nav-links a:hover,
.hero-immersive .nav-links a:focus-visible {
    opacity: 1;
    color: #efd6a3;
}

body.studio-home[data-theme="day"] .hero-immersive .topbar {
    border-color: rgba(32, 34, 44, 0.12);
    background: rgba(255, 255, 255, 0.58);
    color: #171923;
}

body.studio-home[data-theme="day"] .topbar {
    border-color: rgba(32, 34, 44, 0.12);
    background: rgba(255, 255, 255, 0.58);
    color: #171923;
}

body.studio-home[data-theme="day"] .hero-immersive .brand,
body.studio-home[data-theme="day"] .hero-immersive .nav-links a,
body.studio-home[data-theme="day"] .hero-immersive h1 {
    color: #171923;
}

body.studio-home[data-theme="day"] .hero-immersive .hero-role {
    color: rgba(23, 25, 35, 0.82);
}

body.studio-home[data-theme="day"] .hero-immersive .hero-text,
body.studio-home[data-theme="day"] .hero-immersive .eyebrow {
    color: rgba(23, 25, 35, 0.64);
}

.hero-immersive .studio-hero-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.9fr);
    min-height: min(780px, calc(100vh - 9.5rem));
    padding-top: 2rem;
}

.hero-immersive .eyebrow,
.hero-immersive .section-kicker {
    color: rgba(248, 246, 238, 0.72);
}

.hero-immersive .eyebrow::before,
.hero-immersive .section-kicker::before {
    background: rgba(239, 214, 163, 0.58);
}

.hero-immersive .hero h1,
.hero-immersive h1 {
    color: #ffffff;
    font-size: clamp(3.1rem, 5.6vw, 5.9rem);
    line-height: 0.96;
    letter-spacing: -0.058em;
}

.hero-immersive .hero-title .title-line {
    max-width: 760px;
    text-wrap: balance;
}

.hero-immersive .hero-role {
    max-width: 760px;
    color: rgba(248, 246, 238, 0.88);
    font-size: clamp(1.08rem, 2.1vw, 1.42rem);
}

.hero-immersive .hero-text {
    color: rgba(248, 246, 238, 0.66);
}

.hero-immersive .button-primary {
    border-color: rgba(239, 214, 163, 0.9);
    background: linear-gradient(135deg, #f3dfb4, #d5ad62);
    color: #101015;
    box-shadow: 0 18px 40px rgba(213, 173, 98, 0.22);
}

.hero-immersive .button-primary:hover,
.hero-immersive .button-primary:focus-visible {
    background: linear-gradient(135deg, #ffe9b8, #c99b4d);
    border-color: rgba(239, 214, 163, 0.95);
    color: #101015;
}

.hero-immersive .button-secondary {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #f8f6ee;
    backdrop-filter: blur(12px);
}

.hero-immersive .button-secondary:hover,
.hero-immersive .button-secondary:focus-visible {
    border-color: rgba(239, 214, 163, 0.34);
    background: rgba(239, 214, 163, 0.12);
    color: #fff8e8;
}

.hero-immersive .studio-signal-card {
    min-height: min(690px, 78vh);
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
}

body.studio-home[data-theme="day"] .hero-immersive .studio-signal-card {
    background: transparent;
    box-shadow: none;
}

.hero-immersive .studio-signal-card::before {
    display: none;
}

.digital-core {
    position: absolute;
    inset: -3%;
    display: grid;
    place-items: center;
}

.digital-core::before {
    content: "";
    width: min(39rem, 88vw);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, transparent 46%, rgba(255, 255, 255, 0.08) 47%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 62%),
        conic-gradient(from 140deg, rgba(114, 150, 255, 0.12), rgba(239, 214, 163, 0.26), rgba(255, 255, 255, 0.06), rgba(114, 150, 255, 0.12));
    filter: drop-shadow(0 0 80px rgba(255, 255, 255, 0.18));
    animation: corePulse 7s ease-in-out infinite;
}

.digital-core span {
    position: absolute;
    width: 58%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 50%;
    animation: coreRotate 18s linear infinite;
}

.digital-core span:nth-child(2) {
    width: 76%;
    animation-duration: 24s;
    animation-direction: reverse;
}

.digital-core span:nth-child(3) {
    width: 96%;
    border-color: rgba(114, 150, 255, 0.13);
    animation-duration: 31s;
}

.studio-offer {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    padding: 0.35rem 1.1rem 0.1rem;
    color: rgba(248, 246, 238, 0.78);
    font-size: 0.9rem;
}

.studio-offer span {
    color: #efd6a3;
    font-weight: 800;
}

.studio-offer strong {
    font-weight: 600;
}

.design-tile {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    opacity: 0.34;
}

.design-tile-a {
    right: 5%;
    top: 6%;
    width: 7.4rem;
    height: 4.8rem;
    transform: rotate(12deg) perspective(700px) rotateX(18deg);
}

.design-tile-a span {
    position: absolute;
    left: 0.82rem;
    bottom: 0.82rem;
    color: #ffffff;
    font-family: "Libre Baskerville", serif;
    font-size: 1.58rem;
}

.design-tile-a i {
    position: absolute;
    right: 0.82rem;
    bottom: 0.95rem;
    width: 2.45rem;
    height: 0.72rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #f4e9d2, #8f8a80, #1f1f23);
}

.design-tile-b {
    left: 9%;
    bottom: 3%;
    width: 8.6rem;
    height: 6.5rem;
    transform: rotate(-13deg) perspective(700px) rotateY(18deg);
    background:
        radial-gradient(circle at 52% 40%, rgba(180, 94, 30, 0.94), transparent 34%),
        linear-gradient(135deg, rgba(249, 240, 222, 0.94), rgba(255, 255, 255, 0.2));
}

.design-tile-b span {
    position: absolute;
    inset: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
}

body.studio-home main {
    position: relative;
    z-index: 1;
}

body.studio-home main,
body.studio-home .site-footer {
    color: var(--studio-text);
}

body.studio-home main {
    background:
        radial-gradient(circle at 16% 8%, rgba(114, 150, 255, 0.11), transparent 24rem),
        radial-gradient(circle at 88% 22%, rgba(239, 214, 163, 0.1), transparent 22rem),
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018));
}

body.studio-home .section {
    position: relative;
    isolation: isolate;
}

body.studio-home .section::before {
    content: "";
    position: absolute;
    inset: 1.4rem auto auto -4%;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 214, 163, 0.08), transparent 68%);
    pointer-events: none;
    z-index: -1;
}

body.studio-home .section::after {
    content: "";
    position: absolute;
    inset: auto -6% 8% auto;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 150, 255, 0.06), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

body.studio-home .section h2,
body.studio-home .section h3,
body.studio-home .page-intro h1,
body.studio-home .brand,
body.studio-home .site-footer p {
    color: var(--studio-text);
}

body.studio-home .section-intro,
body.studio-home .page-intro p:not(.eyebrow),
body.studio-home .content-card p,
body.studio-home .feature-link-card p,
body.studio-home .journey-card p,
body.studio-home .journey-card ul,
body.studio-home .price-card p,
body.studio-home .price-card ul,
body.studio-home .method-card p,
body.studio-home .project-card p,
body.studio-home .profile-panel,
body.studio-home .contact-panel p {
    color: var(--studio-muted);
}

body.studio-home .content-card,
body.studio-home .feature-link-card,
body.studio-home .journey-card,
body.studio-home .ai-brief-form,
body.studio-home .ai-brief-panel,
body.studio-home .ai-brief-output,
body.studio-home .price-card,
body.studio-home .method-card,
body.studio-home .project-card,
body.studio-home .profile-panel,
body.studio-home .contact-panel,
body.studio-home .contact-form {
    position: relative;
    overflow: hidden;
    border-color: var(--studio-line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        var(--studio-panel);
    box-shadow: var(--studio-shadow);
    backdrop-filter: blur(18px);
}

body.studio-home .content-card::before,
body.studio-home .feature-link-card::before,
body.studio-home .journey-card::before,
body.studio-home .ai-brief-form::before,
body.studio-home .ai-brief-panel::before,
body.studio-home .ai-brief-output::before,
body.studio-home .price-card::before,
body.studio-home .method-card::before,
body.studio-home .project-card::before,
body.studio-home .profile-panel::before,
body.studio-home .contact-panel::before,
body.studio-home .contact-form::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.13), transparent 28%, transparent 72%, rgba(239, 214, 163, 0.08)),
        radial-gradient(circle at 90% 10%, rgba(114, 150, 255, 0.08), transparent 12rem);
    pointer-events: none;
}

body.studio-home .content-card::after,
body.studio-home .feature-link-card::after,
body.studio-home .journey-card::after,
body.studio-home .price-card::after,
body.studio-home .method-card::after,
body.studio-home .project-card::after {
    content: "";
    position: absolute;
    right: -3.5rem;
    bottom: -4rem;
    width: 11rem;
    height: 11rem;
    border: 1px solid rgba(239, 214, 163, 0.11);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1.8rem rgba(255, 255, 255, 0.018),
        0 0 44px rgba(239, 214, 163, 0.08);
    pointer-events: none;
}

body.studio-home .content-card > *,
body.studio-home .feature-link-card > *,
body.studio-home .journey-card > *,
body.studio-home .ai-brief-form > *,
body.studio-home .ai-brief-panel > *,
body.studio-home .ai-brief-output > *,
body.studio-home .price-card > *,
body.studio-home .method-card > *,
body.studio-home .project-card > *,
body.studio-home .profile-panel > *,
body.studio-home .contact-panel > *,
body.studio-home .contact-form > * {
    position: relative;
    z-index: 1;
}

body.studio-home .ai-brief-output {
    background:
        linear-gradient(145deg, rgba(8, 10, 18, 0.94), rgba(27, 31, 46, 0.92)),
        radial-gradient(circle at top right, rgba(239, 214, 163, 0.18), transparent 18rem);
}

body.studio-home[data-theme="day"] .ai-brief-output {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 236, 225, 0.94)),
        radial-gradient(circle at top right, rgba(213, 173, 98, 0.18), transparent 18rem);
    color: #171923;
    border-color: var(--studio-line);
}

body.studio-home[data-theme="day"] .ai-brief-output ul {
    color: rgba(42, 45, 58, 0.74);
}

body.studio-home[data-theme="day"] main {
    background:
        radial-gradient(circle at 16% 8%, rgba(114, 150, 255, 0.14), transparent 24rem),
        radial-gradient(circle at 88% 22%, rgba(213, 173, 98, 0.16), transparent 22rem);
}

body.studio-home[data-theme="day"] .content-card,
body.studio-home[data-theme="day"] .feature-link-card,
body.studio-home[data-theme="day"] .journey-card,
body.studio-home[data-theme="day"] .ai-brief-form,
body.studio-home[data-theme="day"] .ai-brief-panel,
body.studio-home[data-theme="day"] .ai-brief-output,
body.studio-home[data-theme="day"] .price-card,
body.studio-home[data-theme="day"] .method-card,
body.studio-home[data-theme="day"] .project-card,
body.studio-home[data-theme="day"] .profile-panel,
body.studio-home[data-theme="day"] .contact-panel,
body.studio-home[data-theme="day"] .contact-form {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 249, 239, 0.52)),
        var(--studio-panel);
}

body.studio-home[data-theme="day"] .page-pills span,
body.studio-home[data-theme="day"] .contact-brief-list span,
body.studio-home[data-theme="day"] .pack-offer-card {
    border-color: rgba(42, 45, 58, 0.1);
    background: rgba(255, 255, 255, 0.54);
    color: rgba(42, 45, 58, 0.72);
}

body.studio-home[data-theme="day"] .flow-panel {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 249, 239, 0.42)),
        var(--studio-panel);
}

body.studio-home[data-theme="day"] .flow-step {
    border-color: rgba(42, 45, 58, 0.1);
    background:
        radial-gradient(circle at 100% 0%, rgba(213, 173, 98, 0.14), transparent 11rem),
        rgba(255, 255, 255, 0.48);
}

body.studio-home .content-card:hover,
body.studio-home .feature-link-card:hover {
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(239, 214, 163, 0.1);
}

body.studio-home .signal-label,
body.studio-home .price-label,
body.studio-home .project-type {
    color: #efd6a3;
}

body.studio-home .feature-link-card span,
body.studio-home .method-card span {
    border: 1px solid rgba(239, 214, 163, 0.14);
    background: rgba(239, 214, 163, 0.12);
    color: #f3dfb4;
}

body.studio-home .field span {
    color: var(--studio-muted);
}

body.studio-home .field textarea,
body.studio-home .field input,
body.studio-home .field select {
    border-color: var(--studio-line);
    background: rgba(255, 255, 255, 0.055);
    color: var(--studio-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.studio-home .field textarea::placeholder {
    color: rgba(247, 243, 234, 0.42);
}

body.studio-home .field textarea:focus,
body.studio-home .field input:focus,
body.studio-home .field select:focus {
    border-color: rgba(239, 214, 163, 0.46);
    box-shadow: 0 0 0 4px rgba(239, 214, 163, 0.08);
}

body.studio-home[data-theme="day"] .field textarea,
body.studio-home[data-theme="day"] .field input,
body.studio-home[data-theme="day"] .field select {
    background: rgba(255, 255, 255, 0.76);
    color: #171923;
}

body.studio-home[data-theme="day"] .field textarea::placeholder,
body.studio-home[data-theme="day"] .field input::placeholder {
    color: rgba(42, 45, 58, 0.42);
}

body.studio-home .site-footer {
    margin-top: 1rem;
    padding: 1.5rem 1.25rem 1.2rem;
    border: 1px solid var(--studio-line);
    border-radius: 22px 22px 0 0;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        var(--studio-panel);
    box-shadow: var(--studio-shadow);
    backdrop-filter: blur(18px);
}

body.studio-home .section:first-child {
    padding-top: 4rem;
}

.ai-brief-section {
    position: relative;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.journey-card {
    display: grid;
    gap: 1rem;
    min-height: 330px;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.journey-card h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.journey-card p,
.journey-card ul {
    color: var(--text-soft);
}

.journey-card ul {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding-left: 1.1rem;
}

.journey-card-ai {
    background:
        radial-gradient(circle at 80% 10%, rgba(114, 150, 255, 0.18), transparent 18rem),
        var(--studio-panel);
}

.journey-card-human {
    background:
        radial-gradient(circle at 15% 85%, rgba(239, 214, 163, 0.22), transparent 18rem),
        var(--studio-panel);
}

.ai-brief-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 18%, rgba(114, 150, 255, 0.12), transparent 22rem),
        var(--studio-panel);
    box-shadow: var(--studio-shadow);
}

.ai-brief-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1.1rem, 2vw, 1.5rem);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--studio-panel-strong);
}

.ai-brief-output {
    display: grid;
    align-content: start;
    gap: 0.9rem;
    min-height: 100%;
    padding: clamp(1.2rem, 2.5vw, 1.8rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(8, 10, 18, 0.94), rgba(27, 31, 46, 0.92)),
        radial-gradient(circle at top right, rgba(239, 214, 163, 0.18), transparent 18rem);
    color: #f8f6ee;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ai-brief-output h3 {
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
    line-height: 1.1;
}

.ai-brief-output ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(248, 246, 238, 0.76);
}

.ai-brief-output .signal-label {
    color: #efd6a3;
}

@media (max-width: 840px) {
    .flow-panel,
    .mood-grid {
        grid-template-columns: 1fr;
    }

    .mood-card {
        min-height: 180px;
    }

    .price-card {
        min-height: auto;
    }

    .flow-step {
        min-height: 180px;
    }

    .ai-brief-panel {
        grid-template-columns: 1fr;
    }
}

@keyframes ambientDrift {
    from {
        transform: translate3d(-1%, -1%, 0) scale(1);
    }
    to {
        transform: translate3d(1.4%, 1.2%, 0) scale(1.03);
    }
}

@keyframes corePulse {
    0%,
    100% {
        transform: scale(0.96) rotate(0deg);
        opacity: 0.72;
    }
    50% {
        transform: scale(1.04) rotate(8deg);
        opacity: 1;
    }
}

@keyframes coreRotate {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 840px) {
    .hero-immersive {
        min-height: 100vh;
        padding: 0.75rem;
    }

    .hero-immersive .studio-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding-top: 1.3rem;
    }

    .hero-immersive .studio-signal-card {
        order: -1;
        min-height: 480px;
        margin-top: 0.4rem;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .hero-immersive .hero-content {
        text-align: center;
    }

    .hero-immersive .hero h1,
    .hero-immersive h1 {
        font-size: clamp(3rem, 17vw, 5.5rem);
        letter-spacing: -0.07em;
    }

    .hero-immersive .hero-role {
        margin-inline: auto;
        font-size: 1.06rem;
    }

    .hero-immersive .hero-text {
        display: none;
    }

    .hero-immersive .hero-actions {
        justify-content: center;
        margin-top: 1.6rem;
    }

    .studio-offer {
        padding: 0.3rem 0.4rem 0;
        font-size: 0.82rem;
    }

    .hero-immersive .topbar {
        border-radius: 24px;
        padding: 0.85rem 1rem;
    }

    .design-tile-a {
        right: -2%;
        top: 13%;
        width: 8.4rem;
        height: 5.3rem;
    }

    .design-tile-b {
        left: -4%;
        bottom: 4%;
        width: 9.8rem;
        height: 7.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-ambient,
    .digital-core::before,
    .digital-core span,
    .design-tile {
        animation: none;
    }
}
