/* ============================================================
   Arcadian Advisory — site styles
   Built on the Arcadian brand system v1.0 (see /design).
   Type:  Marcellus (display) · Newsreader (body)
          Archivo (UI/controls) · IBM Plex Mono (labels/numerals)
   Voice in serif (what you read), controls in sans (what you click).
   Colour: essentially one ink (navy) on warm neutrals; slate is a
   whisper accent, never a fill. Rhythm comes from alternating
   grounds (paper / canvas / navy), not from adding colours.
   ============================================================ */

:root {
    /* colour */
    --arc-ink:        #1E3A56;   /* primary — logo, headings, buttons */
    --arc-ink-deep:   #16324C;   /* headline ink (a touch deeper) */
    --arc-deep:       #142A40;   /* dark section bands */
    --arc-abyss:      #0E2033;   /* footer / deepest ground */
    --arc-slate:      #4A87C1;   /* ACCENT ONLY — links, numerals, eyebrows */
    --arc-canvas:     #F7F6F1;   /* warm page ground */
    --arc-paper:      #FFFFFF;
    --arc-light-ink:  #F5F2EA;   /* reverse text on dark */
    --arc-frame:      #E7E4DC;   /* page surround */
    --arc-text:       #2A343E;
    --arc-text-muted: #55606C;
    --arc-text-faint: #8A8378;
    --arc-hairline:   #E2DED4;
    --arc-hairline-2: #EDEAE1;

    /* on-dark text */
    --arc-on-dark:        #F5F2EA;
    --arc-on-dark-muted:  #AFC0D0;
    --arc-on-dark-eyebrow:#7FA0C0;
    --arc-on-dark-faint:  #6E8296;

    /* type */
    --arc-font-display: 'Marcellus', Georgia, serif;
    --arc-font-body:    'Newsreader', Georgia, serif;
    --arc-font-ui:      'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
    --arc-font-mono:    'IBM Plex Mono', ui-monospace, monospace;

    /* scale */
    --arc-eyebrow-tracking: 0.16em;

    /* space */
    --arc-space-xs: 8px;  --arc-space-sm: 16px;  --arc-space-md: 24px;
    --arc-space-lg: 40px; --arc-space-xl: 64px;  --arc-space-section: 84px;

    /* layout */
    --arc-page-max: 1180px;
    --arc-gutter: clamp(24px, 6vw, 72px);

    /* radius */
    --arc-radius-sm: 6px; --arc-radius-md: 8px; --arc-radius-lg: 12px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body {
    margin: 0;
    background: var(--arc-frame);
    color: var(--arc-text);
    font-family: var(--arc-font-body);
    font-size: 16.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(74, 135, 193, 0.22); }

a { color: inherit; text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease; }

:focus-visible {
    outline: 2px solid var(--arc-slate);
    outline-offset: 3px;
    border-radius: 2px;
}

img, svg { display: block; }

/* The framed page — canvas sitting on a warm surround, as in the
   reference. Collapses to full-bleed on small screens. */
.page {
    max-width: var(--arc-page-max);
    margin: 0 auto;
    background: var(--arc-canvas);
    overflow: hidden;
}

/* ------------------------------------------------------------
   Type primitives
------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.eyebrow {
    font-family: var(--arc-font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: var(--arc-eyebrow-tracking);
    text-transform: uppercase;
    color: var(--arc-text-faint);
    margin: 0;
}

.section-title {
    font-family: var(--arc-font-display);
    font-size: clamp(1.8rem, 4vw, 34px);
    line-height: 1.1;
    color: var(--arc-ink-deep);
    margin-top: var(--arc-space-xs);
}

/* The horizon device — a short solid rule, the peak notch, a faded
   rule. The connective tissue under every section heading. */
.horizon {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 220px;
    margin-top: var(--arc-space-sm);
    color: var(--arc-ink);
}
.horizon .rule-solid { width: 40px; height: 2px; background: currentColor; flex: 0 0 auto; }
.horizon .notch { margin: 0 -1px; flex: 0 0 auto; color: currentColor; }
.horizon .rule-fade { flex: 1; height: 2px; background: currentColor; opacity: 0.25; }
.horizon--reverse { color: var(--arc-light-ink); }
.horizon--reverse .rule-fade { opacity: 0.3; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--arc-paper); color: var(--arc-ink);
    font-family: var(--arc-font-ui); padding: 0.9rem 1.2rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------
   Buttons & control-links (Archivo = "this is a control")
------------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: var(--arc-font-ui); font-weight: 500; font-size: 15px;
    letter-spacing: 0.01em; line-height: 1.1;
    padding: 14px 26px; border-radius: 7px; border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--arc-ink); color: var(--arc-light-ink); }
.btn-primary:hover { background: #234465; color: var(--arc-light-ink); }
.btn-light { background: var(--arc-light-ink); color: var(--arc-ink-deep); font-weight: 600; }
.btn-light:hover { background: #fff; color: var(--arc-ink-deep); }

.link-cta {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: var(--arc-font-ui); font-weight: 500; font-size: 15px;
    color: var(--arc-ink);
    border-bottom: 1.5px solid var(--arc-slate); padding-bottom: 2px;
}
.link-cta:hover { color: var(--arc-slate); }
.link-cta--reverse { color: var(--arc-light-ink); }
.link-cta--reverse:hover { color: #fff; }

/* ------------------------------------------------------------
   Header / nav
------------------------------------------------------------ */
.site-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--arc-space-md);
    padding: 24px var(--arc-gutter);
    position: relative; z-index: 5;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-lockup { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
    font-family: var(--arc-font-display); font-size: 18px; line-height: 1;
    letter-spacing: 0.12em; margin-right: -0.12em; color: var(--arc-ink);
}
.brand-sub {
    display: flex; justify-content: space-between;
    font-family: var(--arc-font-ui); font-size: 7px; font-weight: 600;
    color: var(--arc-ink); padding: 0 2px;
}

.site-nav { display: flex; align-items: center; gap: var(--arc-space-lg); }
.site-nav a:not(.btn) {
    font-family: var(--arc-font-display); font-size: 15px; letter-spacing: 0.02em;
    color: #44505C; display: none;
}
.site-nav a:not(.btn):hover { color: var(--arc-ink); }
.site-nav .btn { display: inline-flex; }

@media (min-width: 720px) {
    .site-nav a { display: inline-block; }
}

/* ------------------------------------------------------------
   Hero — interactive ridgeline behind an editorial column
------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    display: flex;
}
#ridge { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scrim {
    position: absolute; inset: 0; z-index: 1;
    pointer-events: none;
    background: linear-gradient(100deg,
        rgba(247,246,241,0.97) 0%,
        rgba(247,246,241,0.93) 44%,
        rgba(247,246,241,0.55) 62%,
        rgba(247,246,241,0.12) 82%,
        rgba(247,246,241,0) 92%);
}
.hero-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    padding: 72px var(--arc-gutter);
    max-width: 660px;
}
.hero h1 {
    font-family: var(--arc-font-display);
    font-size: clamp(2.8rem, 6.4vw, 58px);
    line-height: 1.06; color: var(--arc-ink-deep);
    margin: 20px 0 0;
}
.hero .eyebrow { color: var(--arc-slate); font-size: 12px; }
.hero-sub {
    font-size: 19px; line-height: 1.6; color: #45525E;
    margin: 22px 0 0; max-width: 500px;
}
.hero-cta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
    margin-top: 32px;
}
@media (max-width: 720px) {
    .hero-scrim { background: linear-gradient(180deg,
        rgba(247,246,241,0.96) 0%, rgba(247,246,241,0.84) 60%, rgba(247,246,241,0.55) 100%); }
}

/* ------------------------------------------------------------
   Section grounds & shared layout
------------------------------------------------------------ */
.section {
    padding: clamp(56px, 9vw, var(--arc-space-section)) var(--arc-gutter);
}
.ground-paper  { background: var(--arc-paper);  border-top: 1px solid var(--arc-hairline-2); }
.ground-canvas { background: var(--arc-canvas); border-top: 1px solid var(--arc-hairline-2); }
.ground-deep   { background: var(--arc-deep); }
.ground-abyss  { background: var(--arc-abyss); }

.section-head { margin-bottom: clamp(32px, 5vw, 44px); }

/* ------------------------------------------------------------
   The Arcadian standard — principle grid
------------------------------------------------------------ */
.principle-grid {
    display: grid; grid-template-columns: 1fr; gap: var(--arc-space-lg);
}
@media (min-width: 620px) { .principle-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .principle-grid { grid-template-columns: repeat(4, 1fr); } }

.principle { display: flex; flex-direction: column; gap: 10px; }
.principle .num { font-family: var(--arc-font-mono); font-size: 11px; color: var(--arc-slate); }
.principle h3 {
    font-family: var(--arc-font-display); font-size: 21px; line-height: 1.15;
    color: var(--arc-ink);
}
.principle p {
    margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--arc-text-muted);
    max-width: 34ch;
}

/* ------------------------------------------------------------
   Engagements — editorial row list
------------------------------------------------------------ */
.engagement-list { display: flex; flex-direction: column; }
.engagement {
    display: grid; grid-template-columns: 1fr; gap: 8px;
    padding: 26px 0; border-top: 1px solid var(--arc-hairline);
}
.engagement:last-child { border-bottom: 1px solid var(--arc-hairline); }
@media (min-width: 900px) {
    .engagement {
        grid-template-columns: 320px 1fr 160px;
        gap: var(--arc-space-lg); align-items: baseline;
    }
}
.engagement h3 {
    font-family: var(--arc-font-display); font-size: 23px; line-height: 1.2;
    color: var(--arc-ink);
}
.engagement p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--arc-text-muted); }
.engagement .cadence {
    font-family: var(--arc-font-mono); font-size: 11px; line-height: 1.5;
    letter-spacing: 0.04em; text-transform: uppercase; color: var(--arc-text-faint);
}
@media (min-width: 900px) { .engagement .cadence { text-align: right; } }

/* ------------------------------------------------------------
   Approach — navy band, numbered steps
------------------------------------------------------------ */
.ground-deep .eyebrow { color: var(--arc-on-dark-eyebrow); }
.ground-deep .section-title,
.ground-abyss .section-title { color: var(--arc-on-dark); }

.step-grid {
    display: grid; grid-template-columns: 1fr; gap: var(--arc-space-lg);
}
@media (min-width: 620px) { .step-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .step-grid { grid-template-columns: repeat(4, 1fr); gap: 36px; } }

.step { display: flex; flex-direction: column; gap: 12px; }
.step .num {
    font-family: var(--arc-font-mono); font-size: 30px; line-height: 1;
    color: var(--arc-slate); font-variant-numeric: tabular-nums;
}
.step h3 { font-family: var(--arc-font-display); font-size: 22px; color: var(--arc-on-dark); }
.step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--arc-on-dark-muted); }

/* ------------------------------------------------------------
   About
------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 1fr; gap: var(--arc-space-xl); align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; } }

.about-name {
    font-family: var(--arc-font-display); font-size: clamp(1.8rem, 4vw, 34px);
    color: var(--arc-ink-deep); margin-top: var(--arc-space-xs);
}
.about-pull {
    font-family: var(--arc-font-body); font-style: italic;
    font-size: 19px; line-height: 1.55; color: var(--arc-ink);
    margin: 18px 0 0; max-width: 40ch;
}
.about-body { font-size: 16.5px; line-height: 1.7; color: #4B5560; margin: 18px 0 0; max-width: 60ch; }
.about-body + .about-body { margin-top: 14px; }

.about-when-label {
    font-family: var(--arc-font-mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--arc-text-faint);
    margin: 26px 0 14px;
}
.about-when { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.about-when li {
    display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: #4B5560;
}
.about-when li::before { content: "—"; color: var(--arc-slate); flex: 0 0 auto; }

.about-photo {
    width: 100%; max-width: 420px; margin: 0 auto; align-self: stretch;
}
@media (min-width: 900px) { .about-photo { justify-self: end; margin-top: var(--arc-space-lg); } }
.about-photo img {
    width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: 60% 20%;
    border-radius: var(--arc-radius-lg); border: 1px solid var(--arc-hairline);
}

/* ------------------------------------------------------------
   Contact — navy band, centred
------------------------------------------------------------ */
.contact { text-align: center; }
.contact .eyebrow { color: var(--arc-on-dark-eyebrow); }
.contact-title {
    font-family: var(--arc-font-display); font-size: clamp(2rem, 5vw, 42px);
    line-height: 1.1; color: var(--arc-on-dark); margin-top: 12px;
}
.contact-lede {
    font-size: 18px; line-height: 1.6; color: var(--arc-on-dark-muted);
    margin: 14px auto 0; max-width: 480px;
}
.contact-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px;
    margin-top: 32px;
}

/* ------------------------------------------------------------
   Footer — abyss
------------------------------------------------------------ */
.site-footer {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: var(--arc-space-md);
    padding: 30px var(--arc-gutter);
}
.footer-brand { display: inline-flex; align-items: center; gap: 11px; }
.footer-brand .brand-mark { width: 22px; height: 22px; }
.footer-name {
    font-family: var(--arc-font-display); font-size: 14px; letter-spacing: 0.12em;
    color: #9DB2C6;
}
.footer-links { display: flex; gap: 26px; }
.footer-links a {
    font-family: var(--arc-font-display); font-size: 14px; letter-spacing: 0.02em;
    color: var(--arc-on-dark-faint);
}
.footer-links a:hover { color: #9DB2C6; }
.footer-copy { font-family: var(--arc-font-mono); font-size: 11px; color: #4E6377; margin: 0; }

/* ------------------------------------------------------------
   Hero credibility strip
------------------------------------------------------------ */
.hero-cred {
    list-style: none; margin: 28px 0 0; padding: 0;
    display: flex; flex-wrap: wrap; align-items: center;
    font-family: var(--arc-font-mono); font-size: 11px; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--arc-text-faint);
}
.hero-cred li { display: inline-flex; align-items: center; }
.hero-cred li:not(:last-child)::after {
    content: "·"; margin: 0 12px; color: var(--arc-hairline);
}

/* ------------------------------------------------------------
   Results — stat cards + reference quotes
------------------------------------------------------------ */
.results-label {
    font-family: var(--arc-font-mono); font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--arc-text-faint); margin: 0 0 20px;
}
.stat-grid {
    display: grid; grid-template-columns: 1fr; gap: var(--arc-space-lg);
    padding-bottom: 8px;
}
@media (min-width: 620px) { .stat-grid { grid-template-columns: 1fr 1fr; gap: var(--arc-space-xl); } }
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat-figure {
    font-family: var(--arc-font-mono); font-weight: 500;
    font-size: clamp(2.4rem, 5.5vw, 44px); line-height: 1;
    letter-spacing: -0.01em; color: var(--arc-ink);
    font-variant-numeric: tabular-nums;
}
.stat-desc { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--arc-text-muted); max-width: 34ch; }

.quote-grid {
    display: grid; grid-template-columns: 1fr; gap: var(--arc-space-lg);
    margin-top: clamp(40px, 6vw, 56px);
    padding-top: clamp(36px, 5vw, 48px);
    border-top: 1px solid var(--arc-hairline);
}
@media (min-width: 820px) { .quote-grid { grid-template-columns: repeat(3, 1fr); gap: var(--arc-space-lg); } }
.quote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote p {
    margin: 0; font-family: var(--arc-font-body); font-size: 16.5px; line-height: 1.6;
    color: var(--arc-text);
}
.quote cite {
    font-family: var(--arc-font-mono); font-style: normal; font-size: 11px;
    letter-spacing: 0.04em; color: var(--arc-text-faint);
}

/* ------------------------------------------------------------
   Engagements — reassurance note
------------------------------------------------------------ */
.engagement-note {
    margin: 28px 0 0; max-width: 74ch;
    font-size: 15.5px; line-height: 1.6; color: var(--arc-text-muted);
}

/* ------------------------------------------------------------
   FAQ
------------------------------------------------------------ */
.faq-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px 48px;
}
@media (min-width: 760px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-item h3 {
    font-family: var(--arc-font-display); font-size: 19px; line-height: 1.25; color: var(--arc-ink);
}
.faq-item p {
    margin: 8px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--arc-text-muted); max-width: 48ch;
}

/* ------------------------------------------------------------
   Booking page
------------------------------------------------------------ */
.book-title {
    font-family: var(--arc-font-display);
    font-size: clamp(2rem, 5vw, 42px);
    line-height: 1.1;
    color: var(--arc-ink-deep);
    margin-top: 12px;
    max-width: 20ch;
}
.book-lede {
    font-size: 18px; line-height: 1.6; color: var(--arc-text-muted);
    margin: 18px 0 0; max-width: 56ch;
}
.book-points {
    list-style: none; margin: 28px 0 0; padding: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.book-points li {
    display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: #4B5560;
}
.book-points li::before { content: "—"; color: var(--arc-slate); flex: 0 0 auto; }
.book-embed-wrap {
    margin-top: clamp(40px, 6vw, 56px);
    padding-top: clamp(36px, 5vw, 48px);
    border-top: 1px solid var(--arc-hairline);
}
.booking-embed {
    width: 100%; border: 0; height: 1300px; display: block; background: transparent;
    border-radius: var(--arc-radius-lg);
}
.book-escape {
    margin-top: var(--arc-space-md); color: var(--arc-text-muted); font-size: 15px;
}
.book-escape a { color: var(--arc-ink); border-bottom: 1.5px solid var(--arc-slate); padding-bottom: 1px; }
.book-escape a:hover { color: var(--arc-slate); }
