:root {
    --paper: #f5efe5;
    --paper-deep: #ece2d1;
    --ink: #16212c;
    --ink-soft: #475667;
    --accent: #b7642b;
    --accent-deep: #844212;
    --teal: #184c56;
    --card: rgba(255, 249, 241, 0.76);
    --line: rgba(22, 33, 44, 0.12);
    --shadow: 0 28px 80px rgba(47, 39, 28, 0.16);
    --text: var(--ink);
    --muted: var(--ink-soft);
    --cool: var(--teal);
    --mint: #e0c06a;
    --line-strong: rgba(22, 33, 44, 0.18);
}

* {
    box-sizing: border-box;
    min-width: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Sora", "Avenir Next", sans-serif;
    background:
        radial-gradient(circle at 12% 14%, rgba(184, 100, 43, 0.14), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(24, 76, 86, 0.16), transparent 24%),
        linear-gradient(180deg, #f7f1e8 0%, #f1e6d6 54%, #f7f2ea 100%);
    overflow-x: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.page-mesh,
.page-orb {
    position: fixed;
    pointer-events: none;
}

.page-mesh {
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(22, 33, 44, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 33, 44, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 88%);
}

.page-orb {
    width: 28rem;
    height: 28rem;
    border-radius: 999px;
    filter: blur(110px);
    opacity: 0.34;
}

.page-orb-a {
    top: -8rem;
    left: -6rem;
    background: rgba(184, 100, 43, 0.38);
}

.page-orb-b {
    right: -8rem;
    top: 14rem;
    background: rgba(24, 76, 86, 0.28);
}

.site-header,
.page-shell,
.site-footer {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(247, 241, 232, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(47, 39, 28, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff7f0;
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.55rem;
    background: linear-gradient(145deg, var(--accent), var(--accent-deep));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 0.96rem;
    letter-spacing: 0.02em;
}

.brand-copy small {
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--ink);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta:hover,
.button:hover {
    transform: translateY(-1px);
}

.header-cta {
    color: #fff7f0;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 14px 24px rgba(132, 66, 18, 0.18);
}

.page-shell {
    padding: 52px 0 96px;
}

.section {
    padding: 46px 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.82fr);
    gap: 26px;
    align-items: stretch;
    min-height: calc(100svh - 180px);
}

.hero-copy,
.hero-panel,
.card {
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero-copy {
    padding: 40px clamp(24px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 92% 12%, rgba(184, 100, 43, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 249, 241, 0.84));
}

.eyebrow,
.panel-kicker,
.card-index,
.step-number {
    margin: 0;
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.hero-note h2,
.service-card h3,
.specialty-card h3,
.approach-card h3,
.contact-copy h2 {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-weight: 700;
    line-height: 0.95;
}

.hero h1 {
    margin-top: 18px;
    font-size: clamp(3rem, 7vw, 5.7rem);
    max-width: 11ch;
}

.lead,
.supporting-copy,
.section-heading p,
.service-card p,
.specialty-card p,
.approach-card p,
.contact-copy p,
.hero-note p {
    color: var(--ink-soft);
    line-height: 1.8;
}

.lead {
    margin: 24px 0 0;
    font-size: 1.05rem;
    max-width: 58ch;
}

.supporting-copy {
    margin: 16px 0 0;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.button-primary {
    color: #fff7f0;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 16px 28px rgba(132, 66, 18, 0.18);
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(22, 33, 44, 0.12);
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
    color: #fff7f0;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 16px 28px rgba(132, 66, 18, 0.18);
}

.ghost-button {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.46);
    border-color: rgba(22, 33, 44, 0.12);
}

.hero-panel {
    display: grid;
    gap: 24px;
    padding: 28px;
    align-self: end;
    background:
        linear-gradient(180deg, rgba(24, 76, 86, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 250, 243, 0.94), rgba(248, 241, 232, 0.92));
}

.hero-stats {
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-stats li {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.hero-stats li:first-child {
    border-top: 0;
    padding-top: 0;
}

.hero-stats strong {
    font-size: 1.34rem;
    font-weight: 700;
}

.hero-stats span {
    color: var(--ink-soft);
    line-height: 1.6;
}

.hero-note {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.5);
}

.hero-note h2 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.section-heading {
    display: grid;
    gap: 16px;
    max-width: 62rem;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    max-width: 14ch;
}

.section-heading p {
    margin: 0;
    max-width: 62ch;
}

.card-grid,
.focus-grid,
.approach-grid {
    display: grid;
    gap: 20px;
}

.card-grid,
.focus-grid,
.approach-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    padding: 28px;
}

.service-card,
.specialty-card,
.approach-card {
    display: grid;
    gap: 14px;
}

.service-card h3,
.specialty-card h3,
.approach-card h3 {
    font-size: 2rem;
}

.card-index,
.step-number {
    color: var(--accent);
}

.detail-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 4px 0 0;
    list-style: none;
}

.detail-list li {
    position: relative;
    padding-left: 18px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.detail-list li::before {
    content: "";
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent), var(--teal));
}

.specialty-card-featured {
    grid-column: span 2;
    background:
        radial-gradient(circle at 88% 18%, rgba(184, 100, 43, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 249, 241, 0.9));
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 20px;
    align-items: start;
}

.contact-copy {
    display: grid;
    gap: 16px;
}

.contact-card {
    display: grid;
    gap: 18px;
    font-style: normal;
}

.contact-item {
    display: grid;
    gap: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

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

.contact-item span {
    color: var(--ink-soft);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-item strong,
.contact-item a,
.contact-item p {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.7;
}

.site-footer {
    padding: 0 0 40px;
}

.site-footer p {
    margin: 0;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.7;
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

html.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 560ms ease, transform 560ms ease;
}

html.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero,
    .contact-section,
    .card-grid,
    .focus-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .specialty-card-featured {
        grid-column: span 1;
    }

    .hero {
        min-height: auto;
    }
}

@media (max-width: 820px) {
    .site-header {
        position: static;
        border-radius: 26px;
        flex-direction: column;
        align-items: stretch;
    }

    .brand,
    .site-nav,
    .header-cta {
        justify-content: center;
    }

    .site-nav {
        gap: 14px;
    }

    .hero-copy,
    .hero-panel,
    .card {
        border-radius: 26px;
    }
}

@media (max-width: 640px) {
    .site-header,
    .page-shell,
    .site-footer {
        width: min(100% - 20px, 1160px);
    }

    .page-shell {
        padding-top: 28px;
        padding-bottom: 72px;
    }

    .section {
        padding: 30px 0;
    }

    .hero-copy,
    .hero-panel,
    .card {
        padding: 22px;
    }

    .hero h1 {
        max-width: none;
    }

    .section-heading h2,
    .service-card h3,
    .specialty-card h3,
    .approach-card h3,
    .contact-copy h2,
    .hero-note h2 {
        font-size: clamp(1.9rem, 8vw, 3rem);
    }

    .hero-actions,
    .site-nav {
        flex-direction: column;
    }

    .button,
    .header-cta {
        width: 100%;
    }
}
