/* ============================================
   V2 SINGLE PAGE EDITORIAL
   ============================================ */

:root {
    --color-bg: #f8f6f0;
    --color-bg-paper: #fffdf9;
    --color-bg-soft: #ece7dc;
    --color-bg-dark: #182232;
    --color-text: #182232;
    --color-text-light: #f8f6f0;
    --color-muted: #4f5965;
    --color-soft: #6a737d;
    --color-border: #d8d0c3;
    --color-border-strong: #b9ad9c;
    --color-accent: #8a4b38;
    --color-sage: #53675a;
    --color-card: #ffffff;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --container-max: 1080px;
    --nav-height: 64px;
    --section-space: 6rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-weight: 400;
    font-size: 1rem;
}

main {
    overflow: hidden;
}

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

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

section[id] {
    scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--color-text);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 246, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(216, 208, 195, 0.9);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.12rem;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.42rem;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link-strong {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(248, 246, 240, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 99;
    padding: 1rem 2rem 1.5rem;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.65rem 0;
    color: var(--color-muted);
    transition: color 0.2s ease;
}

.mobile-link.active,
.mobile-link:hover {
    color: var(--color-text);
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-open {
    background: var(--color-bg-paper);
}

.section-warm {
    background: var(--color-bg-soft);
}

.section-services {
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.74), rgba(248, 246, 240, 0.95)),
        var(--color-bg-paper);
}

.section-contact {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-contact h2,
.section-contact .section-kicker {
    color: var(--color-text-light);
}

.section-contact p {
    color: rgba(248, 246, 240, 0.78);
}

.two-col {
    display: grid;
    grid-template-columns: minmax(220px, 0.86fr) minmax(0, 1.5fr);
    gap: 4rem;
    align-items: start;
}

.col-left {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.col-left h2 {
    max-width: 360px;
}

.readable-copy {
    max-width: 720px;
}

.readable-copy p {
    color: var(--color-muted);
    font-size: 1.02rem;
}

.lead-copy {
    color: var(--color-text) !important;
    font-size: 1.16rem !important;
    line-height: 1.62;
    font-weight: 500;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 1.05rem 0 0;
    display: grid;
    gap: 0.62rem;
}

.support-list li {
    position: relative;
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.55;
    padding-left: 1.1rem;
}

.support-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 0.45rem;
    height: 1px;
    background: var(--color-accent);
}

.section-kicker {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.83rem;
    margin-bottom: 0.75rem;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2.5rem;
}

.section-heading-wide {
    max-width: 840px;
}

.section-subtitle {
    color: var(--color-accent);
    font-size: 0.94rem;
    font-weight: 600;
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.section-intro {
    color: var(--color-muted);
    max-width: 680px;
    margin-top: 1rem;
    font-size: 1.04rem;
}

.quiet-callout {
    margin-top: 1.75rem;
    padding: 1.25rem 1.35rem;
    background: rgba(255, 253, 249, 0.78);
    border-left: 4px solid var(--color-sage);
}

.quiet-callout p {
    color: var(--color-text);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.78rem 1.55rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0;
    border: 1px solid var(--color-text);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--color-text);
    color: var(--color-text-light);
}

.btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border-strong);
}

.btn-outline:hover {
    color: var(--color-text-light);
}

.btn-submit {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    border-bottom: 1px solid var(--color-border);
    background:
        radial-gradient(circle at 85% 18%, rgba(83, 103, 90, 0.14), transparent 31rem),
        linear-gradient(135deg, #fffdf9 0%, #f8f6f0 54%, #ece7dc 100%);
}

.hero-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 4.5rem 2rem;
    width: 100%;
}

.hero-text {
    max-width: 820px;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 1.4rem;
}

.hero-subtitle {
    font-size: 1.18rem;
    line-height: 1.65;
    color: var(--color-muted);
    margin-bottom: 2rem;
    max-width: 660px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Situations */
.situations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.situations-grid p {
    min-height: 100%;
    padding: 1rem 1.05rem;
    background: rgba(255, 253, 249, 0.82);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    line-height: 1.55;
    margin: 0;
}

/* Services */
.service-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1.6rem;
    padding: 2rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: 6px;
    background: rgba(255, 253, 249, 0.88);
}

.service-card:nth-of-type(3) {
    border-left-color: var(--color-sage);
}

.service-card:last-child {
    margin-bottom: 0;
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.05rem;
    color: var(--color-accent);
    line-height: 1;
    padding-top: 0.1rem;
}

.service-title {
    margin-bottom: 0.45rem;
    font-size: 1.52rem;
}

.service-scope {
    font-size: 0.96rem;
    color: var(--color-sage);
    font-weight: 500;
    margin-bottom: 1.45rem;
}

.service-body {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
}

.service-body p {
    font-size: 0.96rem;
    color: var(--color-muted);
}

.service-body strong {
    color: var(--color-text);
    font-weight: 600;
}

.inline-heading {
    margin-top: 1.25rem;
}

.service-body ul {
    list-style: none;
    padding: 0;
    margin-top: 0.45rem;
}

.service-body li {
    position: relative;
    font-size: 0.94rem;
    color: var(--color-muted);
    padding-left: 1rem;
    margin-bottom: 0.45rem;
    line-height: 1.55;
}

.service-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.76em;
    width: 0.45rem;
    height: 1px;
    background: var(--color-accent);
}

/* Approach steps */
.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.approach-step {
    border: 1px solid rgba(24, 34, 50, 0.16);
    border-radius: 6px;
    padding: 1.45rem 1.25rem;
    background: rgba(255, 253, 249, 0.58);
}

.approach-step-num {
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--color-accent);
    margin-bottom: 0.45rem;
}

.approach-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.approach-step-body {
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.58;
}

.approach-steps--standalone {
    margin-top: 2rem;
}

.approach-coda {
    margin-top: 1.6rem;
    font-size: 1rem;
    color: var(--color-muted);
    max-width: 720px;
}

/* Experience entries */
.experience-entry {
    display: grid;
    grid-template-columns: 205px 1fr;
    gap: 2rem;
    padding: 1.65rem 0;
    border-top: 1px solid var(--color-border);
    align-items: start;
}

.experience-entry:last-child {
    border-bottom: 1px solid var(--color-border);
}

.experience-date {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.15rem;
}

.experience-date .ind {
    font-size: 0.82rem;
    color: var(--color-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.25;
}

.experience-date .yr {
    font-size: 0.86rem;
    color: var(--color-accent);
    font-weight: 600;
}

.experience-body {
    max-width: 790px;
}

.experience-body p {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.62;
    margin-bottom: 0.58rem;
}

.experience-body p + p {
    color: var(--color-muted);
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 4.5rem;
    align-items: start;
}

.contact-intro h2 {
    margin-bottom: 1rem;
}

.contact-lead {
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem;
    border: 1px solid rgba(248, 246, 240, 0.14);
    border-radius: 6px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

a.contact-method:hover {
    background: rgba(248, 246, 240, 0.08);
    border-color: rgba(248, 246, 240, 0.28);
}

.contact-method-static {
    cursor: default;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(248, 246, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-light);
}

.contact-method-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    color: rgba(248, 246, 240, 0.62);
    margin-bottom: 0.1rem;
}

.contact-method-value {
    display: block;
    font-size: 0.94rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.contact-form-wrapper {
    background: var(--color-bg-paper);
    border: 1px solid rgba(248, 246, 240, 0.18);
    border-radius: 6px;
    padding: 2.15rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
}

.optional {
    text-transform: none;
    font-weight: 400;
    color: var(--color-soft);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.82rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 400;
    color: var(--color-text);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(138, 75, 56, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 124px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8d949b;
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 1.45rem 0;
    background: var(--color-bg-paper);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--color-muted);
}

.footer-link {
    color: var(--color-muted);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-accent);
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Responsive */
@media (max-width: 980px) {
    :root {
        --section-space: 4.75rem;
    }

    .two-col,
    .service-body,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .col-left {
        position: static;
    }

    .col-left h2 {
        max-width: 620px;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 1.55rem;
    }

    .service-number {
        font-size: 1.45rem;
    }

    .approach-steps,
    .situations-grid {
        grid-template-columns: 1fr 1fr;
    }

    .experience-entry {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .experience-date {
        padding-top: 0;
    }

    .contact-layout {
        gap: 2.75rem;
    }
}

@media (max-width: 720px) {
    :root {
        --section-space: 3.8rem;
        --nav-height: 60px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .container,
    .nav-inner,
    .hero-inner,
    .footer-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.04rem;
    }

    h2 {
        font-size: 1.68rem;
    }

    h3,
    .service-title {
        font-size: 1.24rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .approach-steps,
    .situations-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.35rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
