@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #091a11;
    --primary-mid: #122F21;
    --surface: #0e2118;
    --surface-raised: #122F21;
    --accent: #C89B57;
    --accent-soft: rgba(200, 155, 87, 0.12);
    --ink: #F0EDE4;
    --ink-muted: #C4BFB7;
    --border: rgba(255, 255, 255, 0.08);
    --panel: #122F21;
    --radius: 12px;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    --max-width: 1120px;
    --transition: 180ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='2' cy='2' r='0.75' fill='%23c4bfb7' opacity='0.055'/%3E%3C/svg%3E"),
        radial-gradient(1200px 600px at 80% -5%, rgba(200, 155, 87, 0.08), transparent 55%),
        radial-gradient(900px 500px at -5% 25%, rgba(18, 47, 33, 0.85), transparent 60%),
        #091a11;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 2.4rem, var(--max-width));
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - 2.4rem, 800px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    z-index: 2000;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(9, 26, 17, 0.92);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.wordmark img {
    height: 52px;
    width: auto;
    display: block;
}

.nav-toggle {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--ink);
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    background: var(--primary);
    border-bottom: 1px solid var(--border);
    display: none;
}

.site-nav.open {
    display: block;
}

.site-nav ul {
    list-style: none;
    padding: 0.75rem 1.2rem 1rem;
    display: grid;
    gap: 0.4rem;
}

.site-nav a {
    display: inline-block;
    padding: 0.45rem 0.2rem;
    color: var(--ink-muted);
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
    color: var(--accent);
    border-color: var(--accent);
}

main {
    padding-block: 0 4rem;
}

section {
    padding-block: 3rem;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.statement-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

.statement-lead {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.55rem, 5vw, 2.9rem);
    line-height: 1.2;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.statement-body p {
    font-size: 1.05rem;
}

.statement-body p + p {
    margin-top: 1rem;
}

h1,
h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ink);
    text-wrap: balance;
}

h3 {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.25;
    color: var(--ink);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    letter-spacing: -0.02em;
    font-weight: 400;
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.55rem, 4.5vw, 2.6rem);
    margin-bottom: 1.25rem;
    font-weight: 400;
    line-height: 1.15;
}

h3 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
    color: var(--ink);
}

p {
    color: var(--ink-muted);
}

.card p {
    max-width: 60ch;
}

h1 + p,
h2 + p {
    margin-top: 0.8rem;
}

h3 + p {
    margin-top: 0.45rem;
}

p + p {
    margin-top: 0.75rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.68rem;
    font-family: 'Inter', system-ui, sans-serif;
    margin-bottom: 0.8rem;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.hero {
    padding-top: 2.6rem;
    padding-bottom: 2.4rem;
}

.hero-grid {
    display: grid;
    gap: 1.4rem;
}

.hero-grid:has(.hero-panel) {
    grid-template-columns: 1fr;
}

.hero-panel {
    position: relative;
    min-height: 220px;
    display: none;
    align-items: center;
    justify-content: center;
}

.hero-panel-logo {
    width: min(75%, 280px);
    opacity: 0.9;
}

.hero-copy p {
    font-size: 1.07rem;
    max-width: 68ch;
}

.hero-grid .hero-copy p {
    max-width: 52ch;
}

.hero-copy h1 {
    max-width: unset;
}

/* Inner pages (no hero-grid/panel): let headings breathe wider */
.hero-copy--wide h1,
.page-intro h1 {
    max-width: 900px;
}

.hero-copy--wide p,
.page-intro > p {
    max-width: 68ch;
}

.cta-row {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid var(--accent);
    padding: 0.72rem 1.1rem;
    font-weight: 600;
    width: 100%;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #0e2118;
    background: var(--accent);
    box-shadow: 0 6px 18px rgba(200, 155, 87, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(200, 155, 87, 0.35);
}

.btn-secondary {
    color: var(--accent);
    background: transparent;
    border-color: rgba(200, 155, 87, 0.45);
}

.btn-secondary:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.grid-3,
.grid-2,
.team-grid {
    display: grid;
    gap: 1.4rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem;
    box-shadow: var(--shadow);
}

.team-card {
    border-top: 3px solid var(--accent);
    padding-top: 1.1rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.team-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-soft);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--accent-soft);
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.4rem;
    background: var(--primary-mid);
    color: var(--ink);
    border: 2px solid var(--border);
    transition: border-color var(--transition);
}

.team-card:hover .team-avatar {
    border-color: var(--accent);
}

.team-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.88);
    transition: filter var(--transition);
}

.team-card:hover .team-avatar img {
    filter: grayscale(0%) brightness(1);
}

.team-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(9, 23, 16, 0.22);
    pointer-events: none;
    transition: background var(--transition);
}

.team-card:hover .team-avatar::after {
    background: rgba(9, 23, 16, 0.08);
}

.value-list {
    list-style: none;
    display: grid;
    gap: 1.25rem;
}

.value-list li {
    border-left: 3px solid var(--accent);
    padding-left: 0.9rem;
}

.team-role {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
}

.contact-layout {
    display: grid;
    gap: 2.5rem;
}

.contact-intro {
    max-width: 600px;
}

.contact-details {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.contact-details a {
    color: var(--accent);
}

.contact-card {
    max-width: none;
}

.contact-form-grid {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

@media (min-width: 600px) {
    .contact-form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-grid > div:last-child {
        grid-column: 1 / -1;
    }
}

.contact-form {
    margin-top: 0;
    display: grid;
    gap: 0.8rem;
}

label {
    font-weight: 600;
    color: var(--ink);
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 0.66rem 0.75rem;
    font: inherit;
    background: var(--surface-raised);
    color: var(--ink);
}

input::placeholder,
textarea::placeholder {
    color: var(--ink-muted);
}

input:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.form-note {
    font-size: 0.94rem;
    color: var(--ink-muted);
}

.form-status {
    font-size: 0.94rem;
    min-height: 1.2em;
    border-radius: 8px;
    padding: 0;
    transition: padding var(--transition);
}

.form-status:not(:empty) {
    padding: 0.6rem 0.85rem;
}

.form-status--success {
    background: rgba(200, 155, 87, 0.1);
    color: var(--accent);
}

.form-status--error {
    background: rgba(220, 80, 80, 0.1);
    color: #f4a0a0;
}

btn:disabled,
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding-block: 1.25rem 2rem;
    background: #091a11;
}

.footer-inner {
    display: grid;
    gap: 0.95rem;
}

.footer-links,
.social-placeholder {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--ink-muted);
}

.social-chip {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: var(--ink-muted);
    font-size: 0.82rem;
    background: var(--surface-raised);
}

@media (max-width: 759px) {
    main {
        padding-block: 0 3rem;
    }

    section {
        padding-block: 2.5rem;
    }

    .hero {
        padding-top: 2rem;
        padding-bottom: 1.8rem;
    }

    .grid-3,
    .grid-2,
    .team-grid {
        gap: 1rem;
    }

    .value-list {
        gap: 1rem;
    }

    .site-footer {
        padding-block: 1.5rem;
    }

    .footer-links {
        gap: 0.5rem 0.75rem;
    }

    .eyebrow::before {
        width: 16px;
    }
}

@media (min-width: 760px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: block;
        border-bottom: 0;
        background: transparent;
    }

    .site-nav ul {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding: 0;
    }

    .hero {
        padding-top: 3.8rem;
        padding-bottom: 3.4rem;
    }

    .hero-panel {
        display: flex;
    }

    .hero-grid:has(.hero-panel) {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 1.2rem;
        align-items: stretch;
    }

    section {
        padding-block: 3.5rem;
    }

    .card {
        padding: 1.6rem 1.75rem;
    }

    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .statement-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
        align-items: center;
    }

    .btn {
        width: auto;
    }

    .cta-row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-layout {
        grid-template-columns: 1fr 1.4fr;
        gap: 3rem;
        align-items: start;
    }

    .contact-intro {
        max-width: none;
    }
}

@media (min-width: 1040px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.4rem;
    }
}

/* ── Legal pages (privacy, terms) ── */

.legal-date {
    display: inline-block;
    font-size: 0.88rem;
    color: var(--ink-muted);
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}

.legal-layout {
    display: grid;
    gap: 2.5rem;
}

.legal-toc {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.legal-toc-title {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legal-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.legal-toc li {
    counter-increment: toc;
}

.legal-toc li::before {
    content: counter(toc) ".";
    display: inline-block;
    width: 1.6em;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.legal-toc a {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.legal-toc a:hover {
    color: var(--accent);
}

.legal-sections {
    display: grid;
    gap: 1.25rem;
}

.legal-section {
    scroll-margin-top: 5rem;
}

.legal-section h2 {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.legal-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(200, 155, 87, 0.12);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.legal-section p {
    max-width: none;
}

@media (min-width: 760px) {
    .legal-layout {
        grid-template-columns: 240px 1fr;
        gap: 2rem;
    }

    .legal-toc {
        position: sticky;
        top: 5rem;
        align-self: start;
    }
}

/* ── Accent arc texture ── */

.arc-divider {
    position: relative;
    overflow: hidden;
}

.arc-divider::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 220px;
    background: url('images/accent-arcs.svg') no-repeat center / contain;
    pointer-events: none;
    z-index: 0;
}

/* First usage: arcs enter from the LEFT edge, curves open rightward */
.arc-divider--from-left::after {
    top: 50%;
    left: -220px;
    transform: translateY(-50%) rotate(90deg);
    opacity: 0.08;
}

/* Second usage: arcs enter from the RIGHT edge, curves open leftward */
.arc-divider--from-right::after {
    top: 50%;
    right: -220px;
    transform: translateY(-50%) rotate(-90deg);
    opacity: 0.07;
}

/* Third usage: arcs enter from the LEFT edge again */
.arc-divider--from-left-alt::after {
    top: 50%;
    left: -220px;
    transform: translateY(-50%) rotate(90deg);
    opacity: 0.06;
}

.arc-divider > * {
    position: relative;
    z-index: 1;
}
