:root {
    --bg: #f3eee5;
    --bg-soft: #f8f4ec;
    --bg-deep: #15161b;
    --bg-deep-2: #1f2028;
    --text: #1f1b18;
    --text-soft: #615951;
    --text-on-dark: #f7f2eb;
    --text-on-dark-soft: #c8c0b7;
    --line: rgba(31, 27, 24, 0.12);
    --line-dark: rgba(255, 255, 255, 0.1);
    --accent: #b95d34;
    --accent-strong: #d97b42;
    --accent-soft: rgba(217, 123, 66, 0.14);
    --gold: #d5b06d;
    --shadow: 0 24px 60px rgba(21, 22, 27, 0.12);
    --shadow-strong: 0 30px 80px rgba(8, 9, 11, 0.35);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1180px;
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
    --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(213, 176, 109, 0.2), transparent 32%),
        linear-gradient(180deg, #f6f2ea 0%, #f1ece3 100%);
    line-height: 1.6;
}

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

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

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

:focus-visible {
    outline: 3px solid rgba(217, 123, 66, 0.65);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 999;
    background: var(--bg-deep);
    color: var(--text-on-dark);
    padding: 0.8rem 1rem;
    border-radius: 999px;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(243, 238, 229, 0.78);
    border-bottom: 1px solid rgba(31, 27, 24, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.brand img {
    width: 2.5rem;
    height: 2.5rem;
}

.brand-copy {
    display: grid;
    gap: 0.08rem;
}

.brand-copy strong,
.section-heading h2,
.hero h1,
.service-pill h3,
.info-card h3,
.expertise-card h3,
.video-meta strong,
.email-link,
.contact-form label,
.site-footer a {
    font-family: var(--serif);
}

.brand-copy strong {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.brand-copy span:last-child {
    font-size: 0.86rem;
    color: var(--text-soft);
}

.site-nav {
    display: none;
    align-items: center;
    gap: 1.3rem;
    font-size: 0.96rem;
}

.site-nav a {
    position: relative;
    color: var(--text-soft);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fff6ef;
    font-weight: 700;
    box-shadow: 0 16px 40px rgba(185, 93, 52, 0.24);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(185, 93, 52, 0.28);
}

.button-secondary {
    background: transparent;
    color: inherit;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.button-outline {
    background: transparent;
    color: var(--text);
    border-color: rgba(31, 27, 24, 0.14);
    box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(217, 123, 66, 0.45);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.button-outline:hover,
.button-outline:focus-visible {
    border-color: rgba(185, 93, 52, 0.4);
    background: rgba(31, 27, 24, 0.04);
    box-shadow: none;
}

.button-small {
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
}

.hero {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(circle at 18% 20%, rgba(217, 123, 66, 0.16), transparent 24%),
        radial-gradient(circle at 78% 18%, rgba(213, 176, 109, 0.16), transparent 28%),
        linear-gradient(180deg, var(--bg-deep) 0%, #171920 68%, #1d1f28 100%);
    color: var(--text-on-dark);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.05) 48%, transparent 100%),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 5.6rem,
            rgba(255, 255, 255, 0.025) 5.6rem,
            rgba(255, 255, 255, 0.025) 5.7rem
        );
    opacity: 0.7;
    pointer-events: none;
}

.hero-aurora {
    position: absolute;
    inset: auto -5rem 8%;
    height: 18rem;
    filter: blur(48px);
    background:
        radial-gradient(circle, rgba(217, 123, 66, 0.32) 0%, transparent 56%),
        radial-gradient(circle at 70% 42%, rgba(213, 176, 109, 0.24) 0%, transparent 52%);
    animation: drift 14s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 2rem;
    padding: 6.4rem 0 4.6rem;
}

.section-kicker {
    margin: 0 0 0.9rem;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.hero-intro,
.section-intro,
.contact-form p,
.email-note {
    font-size: 1.04rem;
    color: var(--text-on-dark-soft);
}

.hero-intro {
    max-width: 41rem;
    margin: 1.5rem 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 2rem 0;
}

.hero-highlights,
.audience-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-highlights li,
.audience-list li {
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-on-dark);
    font-size: 0.95rem;
}

.hero-panel,
.contact-panel,
.services-wrap,
.video-card,
.info-card,
.expertise-card {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
}

.hero-panel {
    position: relative;
    padding: 1.35rem;
    border: 1px solid var(--line-dark);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(17, 18, 24, 0.74);
}

.panel-topline {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(213, 176, 109, 0.1);
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signal-grid,
.expertise-grid,
.video-grid,
.service-pillars,
.card-stack,
.contact-grid,
.section-grid {
    display: grid;
    gap: 1rem;
}

.signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.3rem;
}

.signal-grid article,
.service-pill,
.info-card,
.expertise-card {
    padding: 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, 0.04);
}

.signal-grid span,
.card-index,
.email-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-on-dark-soft);
}

.signal-grid strong {
    font-size: 1.02rem;
    line-height: 1.35;
}

.panel-note {
    margin-top: 1rem;
    padding: 1rem 1.05rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-on-dark-soft);
}

.section {
    padding: 5.2rem 0;
}

.section-light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
}

.section-dark,
.section-contact {
    background: linear-gradient(180deg, #171920 0%, #121319 100%);
    color: var(--text-on-dark);
}

.section-muted {
    background:
        radial-gradient(circle at 14% 28%, rgba(213, 176, 109, 0.12), transparent 32%),
        linear-gradient(180deg, #efe9df 0%, #e9e2d5 100%);
}

.section-heading {
    max-width: 48rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.section-intro {
    margin: 1rem 0 0;
    color: var(--text-soft);
}

.section-dark .section-intro,
.section-contact .section-intro {
    color: var(--text-on-dark-soft);
}

.section-intro-wide {
    max-width: 44rem;
}

.section-grid {
    align-items: start;
}

.card-stack {
    margin-top: 1.6rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.info-card h3,
.expertise-card h3,
.service-pill h3,
.video-meta strong {
    margin: 0 0 0.55rem;
    font-size: 1.35rem;
}

.info-card p,
.expertise-card p,
.service-pill p,
.video-meta span {
    margin: 0;
    color: var(--text-soft);
}

.expertise-grid {
    margin-top: 2rem;
}

.expertise-card {
    padding: 1.35rem;
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, 0.04);
}

.card-index {
    color: var(--gold);
}

.expertise-card p {
    color: var(--text-on-dark-soft);
}

.video-grid {
    margin-top: 2rem;
}

.video-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.video-card:hover,
.video-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(21, 22, 27, 0.16);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: block;
    background: #0f1116;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 17, 22, 0.62));
}

.play-pill {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #15161b;
    font-size: 0.85rem;
    font-weight: 700;
}

.video-meta {
    display: grid;
    gap: 0.4rem;
    padding: 1.2rem;
}

.services-wrap,
.contact-panel {
    padding: 1.45rem;
}

.services-wrap {
    border: 1px solid rgba(31, 27, 24, 0.08);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow);
}

.services-copy p {
    color: var(--text-soft);
}

.service-pillars {
    margin-top: 1.4rem;
}

.service-pill {
    border: 1px solid rgba(31, 27, 24, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.contact-grid {
    align-items: start;
}

.email-card {
    margin: 1.7rem 0;
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, 0.05);
}

.email-link {
    display: inline-block;
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    color: var(--text-on-dark);
}

.email-fallback {
    margin: 0.5rem 0 0;
    color: var(--gold);
    word-break: break-word;
}

.email-note {
    margin: 0.9rem 0 0;
}

.contact-panel {
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, 0.05);
}

.form-flash,
.field-error-summary {
    margin: 0 0 1rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
}

.form-flash-success {
    background: rgba(106, 179, 122, 0.14);
    border: 1px solid rgba(106, 179, 122, 0.25);
}

.form-flash-error,
.field-error-summary {
    background: rgba(217, 123, 66, 0.12);
    border: 1px solid rgba(217, 123, 66, 0.24);
}

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

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

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

.contact-form label {
    font-size: 1rem;
    color: var(--text-on-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.92rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-on-dark);
}

.contact-form textarea {
    resize: vertical;
    min-height: 10rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(247, 242, 235, 0.6);
}

.contact-form [aria-invalid="true"] {
    border-color: rgba(217, 123, 66, 0.52);
}

.field-error {
    margin: 0;
    color: #ffc3aa;
    font-size: 0.92rem;
}

.form-footer {
    display: grid;
    gap: 1rem;
    align-items: center;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    padding: 1.4rem 0 2rem;
    background: #101116;
    color: var(--text-on-dark-soft);
}

.footer-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
}

.footer-wrap p {
    margin: 0;
}

.video-modal {
    width: min(92vw, 72rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 0;
    background: #121319;
    color: var(--text-on-dark);
}

.video-modal::backdrop {
    background: rgba(8, 9, 11, 0.76);
    backdrop-filter: blur(6px);
}

.video-modal-shell {
    padding: 1rem;
}

.video-modal-close {
    margin-left: auto;
    display: inline-flex;
    padding: 0.6rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-on-dark);
    cursor: pointer;
}

.video-frame-wrap {
    margin-top: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0b0c10;
}

.video-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

html.js-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
    transition-delay: calc(var(--delay, 0) * 1ms);
}

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

html.js-ready .email-fallback {
    display: none;
}

@keyframes drift {
    from {
        transform: translate3d(-2%, 0, 0);
    }
    to {
        transform: translate3d(2%, -10%, 0);
    }
}

@media (min-width: 760px) {
    .site-nav {
        display: flex;
    }

    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr 1.05fr;
        gap: 1.4rem;
    }

    .expertise-grid,
    .video-grid,
    .service-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .footer-wrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 980px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(21rem, 0.85fr);
        align-items: end;
        min-height: 88vh;
    }

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

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

    .video-card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 759px) {
    .hero-grid {
        padding-top: 5rem;
    }

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

    .hero h1 {
        max-width: 10ch;
    }
}

@media (max-width: 480px) {
    .brand-copy span:last-child {
        display: none;
    }

    .brand-copy strong {
        font-size: 0.94rem;
    }
}
