﻿:root {
    --bg: #f3f2ef;
    --surface: #fcfbf8;
    --surface-strong: #ffffff;
    --ink: #1f242c;
    --ink-muted: #55606e;
    --line: #d9d4cc;
    --accent: #0f4c5c;
    --accent-soft: #e5eef0;
    --shadow-soft: 0 12px 28px rgba(18, 28, 36, 0.08);
    --content-max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(140% 120% at 100% 0%, #ebe8e1 0%, transparent 60%),
        linear-gradient(180deg, #f8f7f4 0%, var(--bg) 100%);
    letter-spacing: 0.01em;
}

.top-tabs {
    position: absolute;
    top: 18px;
    right: 24px;
    left: auto;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    backdrop-filter: none;
    background: transparent;
    border-bottom: none;
}

.top-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 0;
    background: #ffffff;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid rgba(28, 28, 46, 0.16);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.top-tabs a:hover,
.top-tabs a:focus-visible {
    background: #ffffff;
    border-color: rgba(28, 28, 46, 0.3);
    box-shadow: 0 6px 16px rgba(20, 20, 42, 0.2);
    transform: translateY(-1px);
}

.container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
    background: transparent;
}

.hero {
    padding: 108px 0 98px;
    min-height: 78vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30245f;
    background:
        radial-gradient(130% 145% at 8% 10%, rgba(182, 146, 255, 0.52) 0%, transparent 52%),
        radial-gradient(120% 120% at 94% 14%, rgba(139, 151, 255, 0.34) 0%, transparent 56%),
        linear-gradient(132deg, #ccb9fa 0%, #afa7f2 42%, #9e9def 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(420px, 1.25fr) minmax(340px, 1fr);
    align-items: center;
    gap: 56px;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    overflow: visible;
}

.hero-logo {
    display: block;
    width: min(620px, 100%);
    max-width: 100%;
    height: auto;
    overflow: visible;
    border: none;
    transform: translateY(84px) scale(1.36);
    transform-origin: center center;
}

.logo-script {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-style: italic;
    letter-spacing: 0.3px;
}

.hero-logo line,
.hero-logo path {
    stroke: #000000;
}

.hero-logo text {
    fill: #000000;
}

.hero-logo .logo-axis,
.hero-logo .logo-diagonal,
.hero-logo .logo-curve {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation-fill-mode: forwards;
}

.hero-logo .logo-axis-v {
    animation: logoAxisDrawBottomToTop 0.36s ease-out 0s forwards;
}

.hero-logo .logo-axis-h {
    animation: logoAxisDrawLeftToRight 0.36s ease-out 0s forwards;
}

.hero-logo .logo-diagonal {
    animation: logoDiagonalDraw 0.3s ease-in-out 0.36s forwards;
}

.hero-logo .logo-curve {
    animation: logoCurveDraw var(--curve-duration, 0.2s) linear var(--curve-delay, 0.66s) forwards;
}

.hero-logo .logo-word {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    animation: logoTypeIn 0.45s steps(14, end) var(--word-1-delay, 3.58s) forwards;
}

.hero-logo .logo-word-2 {
    animation-delay: var(--word-2-delay, 3.68s);
}

@keyframes logoAxisDrawBottomToTop {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes logoAxisDrawLeftToRight {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes logoDiagonalDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes logoCurveDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes logoTypeIn {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    1% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.hero-content {
    text-align: left;
}

.hero-kicker {
    margin: 0 0 14px;
    font-size: 0.8rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.78);
}

.hero h1 {
    font-size: clamp(2.15rem, 5.2vw, 3.6rem);
    margin: 0 0 18px;
    line-height: 1.1;
    text-align: left;
    max-width: 14ch;
    color: #000000;
}

.hero-lead {
    margin: 0;
    font-size: 1.08rem;
    max-width: 49ch;
    color: rgba(0, 0, 0, 0.78);
}

.hero-cta-row {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-primary {
    color: #fff;
    background: #2f2f58;
    border: 1px solid #2f2f58;
}

.cta-primary:hover,
.cta-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(20, 20, 42, 0.22);
}

.cta-secondary {
    color: #2f2f58;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 47, 88, 0.35);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.88);
}

section {
    padding: 58px 0;
    background: transparent;
}

section .container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 38px;
    box-shadow: none;
}

section h2 {
    margin: 0 0 18px;
    font-size: 0.84rem;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #4a4760;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 26px;
}

section h2::after {
    content: "";
    display: block;
    width: min(300px, 72%);
    margin-top: 14px;
    border-bottom: 3px solid #2f2f58;
}

section p {
    margin: 0 0 14px;
    color: var(--ink-muted);
}

.about-photo {
    display: block;
    width: min(100%, 440px);
    height: auto;
    margin-top: 16px;
    border: 1px solid #bdbac7;
}

.services-grid {
    display: block;
    border-top: none;
    margin-top: 24px;
}

.service {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    transition: background 0.2s ease;
}

.service:hover {
    transform: none;
    box-shadow: none;
    background: rgba(31, 36, 44, 0.02);
}

.service:last-child {
    border-bottom: none;
}

.service h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.service-price {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #34266d;
    background: transparent;
    border-radius: 0;
    padding: 0;
    letter-spacing: 0.01em;
}

.stripe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    margin-top: 6px;
    color: #ffffff;
    background: #5447a8;
    border: 1px solid #4a3f94;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.stripe-button:hover,
.stripe-button:focus-visible {
    transform: translateY(-1px);
    background: #4c4099;
    box-shadow: 0 6px 14px rgba(52, 38, 109, 0.22);
}

.services-note {
    font-size: 0.88rem;
    margin-top: 14px;
}

.client-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-list li {
    padding: 14px 0;
    border-bottom: 1px solid #bdbac7;
    font-size: 1.03rem;
}

.client-list li:last-child {
    border-bottom: none;
}

.client-list a {
    color: #2d2a5a;
    text-decoration: none;
    border-bottom: 1px solid rgba(45, 42, 90, 0.3);
    transition: color 0.18s ease, border-color 0.18s ease;
}

.client-list a:hover,
.client-list a:focus-visible {
    color: #1d1a42;
    border-bottom-color: rgba(29, 26, 66, 0.7);
}

#contact p {
    margin-bottom: 10px;
}

.inline-link {
    color: #2d2a5a;
    text-decoration: none;
    border-bottom: 1px solid rgba(45, 42, 90, 0.35);
}

.inline-link:hover,
.inline-link:focus-visible {
    border-bottom-color: rgba(45, 42, 90, 0.8);
}

.legal-links {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.legal-links li {
    padding: 10px 0;
    border-bottom: 1px solid #bdbac7;
}

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

.legal-links a {
    color: #2d2a5a;
    text-decoration: none;
    border-bottom: 1px solid rgba(45, 42, 90, 0.3);
}

.legal-links a:hover,
.legal-links a:focus-visible {
    border-bottom-color: rgba(45, 42, 90, 0.75);
}

hr {
    border: none;
    border-top: 1px solid transparent;
    margin: 0;
}

footer {
    color: var(--ink-muted);
    text-align: center;
    padding: 26px 0 34px;
    font-size: 0.95rem;
}

footer .container {
    border-top: 2px solid #2f2f58;
    padding-top: 18px;
}

footer a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(85, 96, 110, 0.45);
}

footer a:hover,
footer a:focus-visible {
    border-bottom-color: rgba(85, 96, 110, 0.85);
}

.policy-page {
    min-height: 100vh;
    padding: 56px 0;
    background:
        radial-gradient(140% 120% at 100% 0%, #ebe8e1 0%, transparent 60%),
        linear-gradient(180deg, #f8f7f4 0%, var(--bg) 100%);
}

.policy-container {
    max-width: 780px;
}

.policy-kicker {
    margin: 0 0 8px;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #4a4760;
}

.policy-container h1 {
    margin: 0 0 16px;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.1;
}

.policy-container h2 {
    margin: 30px 0 10px;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #4a4760;
}

@media (max-width: 980px) {
    .hero {
        min-height: auto;
        padding: 84px 0 68px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-logo-wrap {
        justify-content: center;
    }

    .hero-logo {
        width: min(100%, 500px);
        transform: translateY(56px) scale(1.2);
    }

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

    section .container {
        padding: 28px;
    }
}

@media (max-width: 640px) {
    .top-tabs {
        top: 12px;
        right: 12px;
        justify-content: flex-end;
        gap: 8px;
    }

    .top-tabs a {
        font-size: 0.84rem;
        padding: 7px 12px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-logo-wrap {
        overflow: visible;
        padding-right: 12px;
    }

    .hero-logo {
        width: min(320px, 80vw);
        max-width: 100%;
        transform: translateY(48px) scale(1);
    }

    section {
        padding: 42px 0;
    }

    section .container {
        padding: 22px;
        border-radius: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo .logo-axis,
    .hero-logo .logo-diagonal,
    .hero-logo .logo-curve,
    .hero-logo .logo-word,
    .hero-logo .logo-word-2 {
        animation: none;
        opacity: 1;
        stroke-dashoffset: 0;
        clip-path: inset(0 0 0 0);
    }
}
