/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
   Site styles — AlphaGen Partners
   Tone: premium financial-services firm. Deep ink navy, restrained gold,
   squared edges, serif display headings, generous spacing.
   ========================================================================== */

:root {
    --ink: #070c1c;
    --navy: #0b1226;
    --navy-mid: #101a3a;
    --gold: #c2a24d;
    --gold-light: #ddc789;
    --link: #16204a;
    --off-white: #f6f5f1;
    --white: #ffffff;
    --rule: #e0ded8;
    --text: #1d2029;
    --text-muted: #5c6068;
    --text-on-dark: #b7bed2;
    --serif: Georgia, "Times New Roman", Times, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Keeps in-page anchor targets clear of the sticky header. */
[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: var(--sans);
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--link);
    text-decoration: none;
}

strong {
    font-weight: 700;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */

.button {
    display: inline-block;
    padding: 15px 36px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 0;
    background: var(--navy);
    color: var(--white);
    transition: background 0.2s ease, color 0.2s ease;
}

.button:hover {
    background: var(--navy-mid);
}

.button--ghost {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* --- Skip link (visually hidden until keyboard-focused) --- */

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 30;
    padding: 12px 20px;
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* --- Header / nav --- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 18, 38, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.brand img {
    width: 40px;
    height: 40px;
    flex: none;
}

.brand__text {
    display: block;
}

.brand__name {
    display: block;
    font-family: var(--serif);
    font-size: 1.18rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.brand__tag {
    display: block;
    color: var(--gold);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    line-height: 1.6;
}

.site-nav {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text-on-dark);
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current] {
    color: var(--white);
    border-bottom-color: var(--gold);
}

@media (max-width: 900px) {
    .site-header .container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-top: 16px;
        padding-bottom: 14px;
    }

    .site-nav {
        gap: 8px 22px;
        justify-content: center;
    }

    .site-nav a {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
        padding: 4px 0;
    }
}

/* ==========================================================================
   Home page intro — the graphic draws itself, then the name pops up.
   All CSS; no JavaScript. Everything below is switched off further down the
   file for visitors who prefer reduced motion.
   ========================================================================== */

.intro {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 84px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px 0 130px;
    background:
        radial-gradient(ellipse 70% 90% at 78% 8%, rgba(194, 162, 77, 0.18), transparent 62%),
        linear-gradient(168deg, #16204a 0%, var(--navy) 52%, var(--ink) 100%);
    color: var(--white);
}

.intro__stage {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.intro__graphic {
    width: 100%;
    height: 100%;
}

/* Keeps the headline readable wherever the trace happens to cross it. */
.intro__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 55% at 50% 46%, rgba(7, 12, 28, 0.82) 0%, rgba(7, 12, 28, 0.45) 55%, transparent 78%);
}

.intro__grid line {
    stroke: rgba(255, 255, 255, 0.09);
    stroke-width: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1s ease-out forwards;
}

.intro__grid line:nth-child(1) { animation-delay: 0.05s; }
.intro__grid line:nth-child(2) { animation-delay: 0.12s; }
.intro__grid line:nth-child(3) { animation-delay: 0.19s; }
.intro__grid line:nth-child(4) { animation-delay: 0.26s; }
.intro__grid line:nth-child(5) { animation-delay: 0.33s; }
.intro__grid line:nth-child(6) { animation-delay: 0.40s; }
.intro__grid line:nth-child(7) { animation-delay: 0.47s; }
.intro__grid line:nth-child(8) { animation-delay: 0.54s; }
.intro__grid line:nth-child(9) { animation-delay: 0.61s; }

.intro__area {
    fill: url(#fade);
    opacity: 0;
    animation: fade-in 1.4s ease-out 0.9s forwards;
}

.intro__trace {
    fill: none;
    stroke: url(#trace);
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.intro__trace--ghost {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1.5;
    animation-delay: 0s;
}

.intro__nodes circle {
    fill: var(--gold-light);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: pop-node 0.5s ease-out forwards;
}

.intro__nodes circle:nth-child(1) { animation-delay: 0.6s; }
.intro__nodes circle:nth-child(2) { animation-delay: 0.9s; }
.intro__nodes circle:nth-child(3) { animation-delay: 1.2s; }
.intro__nodes circle:nth-child(4) { animation-delay: 1.5s; }

.intro__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.wordmark {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 7.5vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: pop-in 0.9s cubic-bezier(0.16, 0.9, 0.3, 1) 1.5s forwards;
}

.slogan {
    display: inline-block;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(194, 162, 77, 0.5);
    color: var(--gold-light);
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    text-transform: uppercase;
    letter-spacing: 0.34em;
    opacity: 0;
    animation: rise-in 0.8s ease-out 2s forwards;
}

.intro__blurb {
    margin: 34px auto 0;
    max-width: 66ch;
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-on-dark);
    opacity: 0;
    animation: rise-in 0.8s ease-out 2.4s forwards;
}

.intro__actions {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: rise-in 0.8s ease-out 2.7s forwards;
}

.intro__actions .button {
    background: var(--gold);
    color: var(--ink);
}

.intro__actions .button:hover {
    background: var(--gold-light);
}

.intro__actions .button--ghost {
    background: transparent;
    color: var(--white);
}

.intro__actions .button--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.intro__scroll {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-on-dark);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    opacity: 0;
    animation: rise-in 0.8s ease-out 3s forwards;
}

.intro__scroll:hover {
    color: var(--white);
}

.intro__scroll svg {
    width: 20px;
    height: 20px;
}

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

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes pop-node {
    0%   { opacity: 0; transform: scale(0.2); }
    70%  { opacity: 1; transform: scale(1.4); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pop-in {
    0%   { opacity: 0; transform: scale(0.9) translateY(14px); letter-spacing: 0.16em; }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: scale(1) translateY(0); letter-spacing: 0.01em; }
}

@keyframes rise-in {
    0%   { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Inner-page hero --- */

.hero {
    background:
        radial-gradient(ellipse 60% 85% at 85% 10%, rgba(194, 162, 77, 0.16), transparent 60%),
        linear-gradient(165deg, #16204a 0%, var(--navy) 55%, var(--ink) 100%);
    color: var(--white);
    padding: 120px 0 130px;
}

.hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    max-width: 22ch;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.hero p {
    margin-top: 26px;
    font-size: 1.12rem;
    line-height: 1.8;
    max-width: 58ch;
    color: var(--text-on-dark);
}

.hero .kicker {
    display: block;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 18px;
}

.hero__actions {
    margin-top: 40px;
}

.hero__actions .button {
    background: var(--gold);
    color: var(--ink);
}

.hero__actions .button:hover {
    background: var(--gold-light);
}

.hero--compact {
    padding: 90px 0 96px;
}

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

.hero--center h1,
.hero--center p {
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    margin-bottom: 18px;
    color: var(--text-on-dark);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.breadcrumb a {
    color: var(--gold);
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
}

/* --- Sections --- */

.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--off-white);
}

.section .kicker {
    display: block;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.section h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.7rem, 3.5vw, 2.45rem);
    line-height: 1.25;
    max-width: 30ch;
}

.section .lede {
    margin-top: 20px;
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--text-muted);
    max-width: 68ch;
}

.section .lede + .lede {
    margin-top: 18px;
}

.section h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
}

/* --- Home: the four featured tabs --- */

.tab-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.tab-card {
    display: block;
    padding: 38px 30px 34px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-top: 2px solid var(--gold);
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 18, 38, 0.12);
}

.tab-card__num {
    display: block;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
}

.tab-card h3 {
    margin-bottom: 12px;
}

.tab-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.tab-card__more {
    display: inline-block;
    margin-top: 20px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
}

/* --- Split: institutions on one side, professionals on the other --- */

.split-section {
    background: var(--ink);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.split--compact {
    margin-top: 48px;
    gap: 24px;
}

.split__half {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 44px;
    color: var(--white);
    background:
        linear-gradient(165deg, var(--navy-mid) 0%, var(--navy) 60%, var(--ink) 100%);
    transition: background 0.3s ease;
}

.split--full .split__half {
    min-height: 62vh;
    padding: 90px 56px;
}

.split--full .split__half:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.split__half::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(194, 162, 77, 0.16), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.split__half:hover::after {
    opacity: 1;
}

.split__inner {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.split__label {
    display: block;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
}

.split__heading {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.2;
    max-width: 16ch;
}

.split__text {
    display: block;
    margin-top: 18px;
    color: var(--text-on-dark);
    font-size: 1rem;
}

.split__list {
    display: block;
    margin-top: 22px;
}

.split__list span {
    display: block;
    position: relative;
    padding-left: 20px;
    color: var(--text-on-dark);
    font-size: 0.92rem;
}

.split__list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 8px;
    height: 1px;
    background: var(--gold);
}

.split__more {
    display: inline-block;
    align-self: flex-start;
    margin-top: 30px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--gold);
}

@media (max-width: 760px) {
    .split {
        grid-template-columns: 1fr;
    }

    .split--full .split__half {
        min-height: 0;
        padding: 64px 28px;
    }

    .split--full .split__half:first-child {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .split__half {
        padding: 48px 28px;
    }
}

/* --- Service lists --- */

.list-heading {
    max-width: 900px;
    margin-top: 48px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule);
    font-family: var(--serif);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.service-list {
    max-width: 900px;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px 40px;
}

.service-list li {
    position: relative;
    padding: 10px 0 10px 26px;
    border-bottom: 1px solid var(--rule);
    color: var(--text);
    font-size: 0.98rem;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.35em;
    width: 12px;
    height: 1px;
    background: var(--gold);
}

.service-list--tight {
    margin-top: 18px;
}

/* --- Values / differentiators --- */

.values {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.values--pair {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
}

.values > div {
    border-top: 2px solid var(--gold);
    padding-top: 24px;
}

.values h3 {
    margin-bottom: 12px;
}

.values p {
    color: var(--text-muted);
    font-size: 0.99rem;
}

/* --- Team --- */

.team-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px;
}

.team-card__photo {
    aspect-ratio: 4 / 5;
    background:
        url("/assets/alphagen-mark.svg") center / 54px auto no-repeat,
        linear-gradient(160deg, var(--navy-mid), var(--ink));
    border-bottom: 2px solid var(--gold);
    margin-bottom: 22px;
}

.team-card h3 {
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Pull quote --- */

.quote-section {
    padding: 84px 0;
    background: var(--off-white);
}

.pull-quote {
    max-width: 46ch;
    margin: 0 auto;
    text-align: center;
}

.pull-quote p {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 3vw, 1.95rem);
    line-height: 1.45;
    font-style: italic;
    color: var(--navy);
}

.pull-quote p::before { content: "\201C"; }
.pull-quote p::after { content: "\201D"; }

.pull-quote cite {
    display: block;
    margin-top: 26px;
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.pull-quote cite::before {
    content: "\2014\00a0";
}

/* --- Accordion (services + FAQ) --- */

.accordion {
    margin-top: 44px;
    border-top: 1px solid var(--rule);
    max-width: 900px;
}

.accordion__item {
    border-bottom: 1px solid var(--rule);
    background: transparent;
}

.accordion__item summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 44px 26px 0;
    position: relative;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}

.accordion__item summary::-webkit-details-marker {
    display: none;
}

.accordion__item summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 11px;
    height: 11px;
    margin-top: -8px;
    border-right: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.accordion__item[open] summary::after {
    transform: rotate(225deg);
    margin-top: -3px;
}

.accordion__item summary:hover .accordion__title {
    color: var(--gold);
}

.accordion__title {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    line-height: 1.35;
    color: var(--navy);
    transition: color 0.2s ease;
}

.accordion__hint {
    flex: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.accordion__body {
    padding: 0 44px 32px 0;
    max-width: 72ch;
}

.accordion__body p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

.accordion__body p + p {
    margin-top: 16px;
}

@media (max-width: 640px) {
    .accordion__hint {
        display: none;
    }
}

/* --- Booking band --- */

.booking {
    background:
        radial-gradient(ellipse 70% 100% at 50% 0%, rgba(194, 162, 77, 0.16), transparent 65%),
        linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
    color: var(--white);
    padding: 84px 0;
    text-align: center;
}

.booking h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

.booking p {
    margin: 14px auto 0;
    max-width: 52ch;
    color: var(--text-on-dark);
}

.booking .button {
    margin-top: 32px;
    background: var(--gold);
    color: var(--ink);
}

.booking .button:hover {
    background: var(--gold-light);
}

/* --- Stats band --- */

.stats {
    color: var(--white);
    padding: 84px 0;
    background:
        radial-gradient(ellipse 60% 120% at 20% 0%, rgba(194, 162, 77, 0.12), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stats .number {
    display: block;
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--gold-light);
    line-height: 1.1;
}

.stats .label {
    display: block;
    margin-top: 12px;
    color: var(--text-on-dark);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* --- CTA strip --- */

.cta {
    background:
        radial-gradient(ellipse 70% 100% at 50% 115%, rgba(194, 162, 77, 0.14), transparent 65%),
        linear-gradient(180deg, var(--ink) 0%, #050912 100%);
    color: var(--white);
    padding: 90px 0;
    text-align: center;
}

.cta h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.7rem, 3.5vw, 2.45rem);
}

.cta p {
    margin-top: 14px;
    font-size: 1.06rem;
    color: var(--text-on-dark);
}

.cta .button {
    margin-top: 34px;
    background: var(--gold);
    color: var(--ink);
}

.cta .button:hover {
    background: var(--gold-light);
}

/* --- Contact page --- */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.contact-layout h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

form {
    margin-top: 36px;
    max-width: 560px;
}

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
}

.form-field .optional {
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 0;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
}

form .button {
    border: 0;
    cursor: pointer;
}

.contact-details {
    border-top: 2px solid var(--gold);
    background: var(--off-white);
    padding: 32px 28px;
}

.contact-details h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.contact-details a,
.accordion__body a {
    border-bottom: 1px solid var(--gold);
    padding-bottom: 1px;
}

.contact-details a:hover,
.accordion__body a:hover {
    color: var(--gold);
}

.contact-details li + li {
    margin-top: 8px;
}

.contact-details p {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- 404 / form success --- */

.message-page {
    text-align: center;
    padding: 130px 0;
}

.message-page .code {
    display: block;
    font-family: var(--serif);
    font-size: 5.5rem;
    color: var(--gold);
    line-height: 1;
}

.message-page h1 {
    margin-top: 20px;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
}

.message-page p {
    margin-top: 14px;
    color: var(--text-muted);
}

.message-page .button {
    margin-top: 36px;
}

/* --- Footer --- */

.site-footer {
    background: linear-gradient(180deg, var(--ink) 0%, #04070f 100%);
    color: var(--text-on-dark);
    padding: 72px 0 44px;
    font-size: 0.95rem;
}

.site-footer .columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 44px;
}

.site-footer h3 {
    color: var(--white);
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 18px;
}

.site-footer .footer-slogan {
    color: var(--gold);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 14px;
}

.site-footer li + li {
    margin-top: 10px;
}

.site-footer a {
    color: var(--text-on-dark);
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer .legal {
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
}

.site-footer .legal--solo {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* --- Reduced motion: show the finished state immediately --- */

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

    .intro__grid line,
    .intro__trace {
        stroke-dashoffset: 0;
    }

    .intro__area,
    .intro__nodes circle,
    .wordmark,
    .slogan,
    .intro__blurb,
    .intro__actions,
    .intro__scroll {
        opacity: 1;
    }

    .intro__grid line,
    .intro__trace,
    .intro__area,
    .intro__nodes circle,
    .wordmark,
    .slogan,
    .intro__blurb,
    .intro__actions,
    .intro__scroll,
    .tab-card,
    .split__half::after {
        animation: none;
        transition: none;
        transform: none;
    }
}
