/* Self-hosted fonts: Playfair Display + Inter + Cormorant Garamond
   (subset: latin + latin-ext) */

/* Cormorant Garamond 400 italic – latin-ext */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-400-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond 400 italic – latin */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond 400 normal – latin-ext */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-400-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond 400 normal – latin */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond 500 normal – latin-ext */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-500-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond 500 normal – latin */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/cormorant-garamond-500-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter 300 normal – latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/inter-300-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter 300 normal – latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/inter-300-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter 400 normal – latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/inter-400-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter 400 normal – latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/inter-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter 500 normal – latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/inter-500-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter 500 normal – latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/inter-500-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter 600 normal – latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/inter-600-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter 600 normal – latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/inter-600-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display 400 normal – latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-400-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display 400 normal – latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display 500 normal – latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-500-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display 500 normal – latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-500-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display 600 normal – latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-600-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display 600 normal – latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-600-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display 700 normal – latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-700-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display 700 normal – latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-700-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display 800 normal – latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-800-normal-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display 800 normal – latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-800-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Design tokens
   ============================================================ */
:root {
    --navy: #0F1C3F;
    --navy-deep: #0A1530;
    --navy-mid: #1a2850;
    --navy-base: #172446;
    --navy-light: #3A5593;
    --gold: #C5A55A;
    --gold-soft: #D4B870;
    --cream: #FAF6F0;
    --ink: #1A1A1A;
    --muted: #6B6B6B;

    /* Section backgrounds (alternating rhythm) */
    --bg-page: #F2EEE6;      /* page bg (slightly darker than cream to make rectangles pop) */
    --bg-warm-white: #FDFAF4;
    --bg-light-gray: #ECE8DF;
    --bg-paper: #FFFFFF;

    --line: rgba(197, 165, 90, 0.2);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-italic: 'Cormorant Garamond', Georgia, serif;

    --rect-max: 1120px;
    --rect-gap: 32px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--bg-page);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Accessibility helpers
   ============================================================ */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    top: -50px; left: 1rem;
    background: var(--navy); color: var(--cream);
    padding: 0.6rem 1rem;
    font-size: 0.85rem; font-weight: 500;
    border: 2px solid var(--gold);
    z-index: 1000;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   Page layout: centered stack of rectangles
   ============================================================ */
.page {
    max-width: var(--rect-max);
    margin: 0 auto;
    padding: 24px 24px 48px;
    display: flex;
    flex-direction: column;
    gap: var(--rect-gap);
}

/* ============================================================
   Nav — static block on page bg, not a full-width band
   ============================================================ */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 20px 8px;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 39px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }

.nav-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.nav-lang a { color: var(--muted); padding: 0 8px; transition: color 0.3s ease; }
.nav-lang a[aria-current="page"] { color: var(--navy); }
.nav-lang a:hover { color: var(--gold); }
.nav-lang .sep { color: rgba(26, 26, 26, 0.25); }

/* ============================================================
   Shared: rectangle base
   ============================================================ */
.rect {
    position: relative;
    padding: 96px 80px;
    overflow: hidden;
    border-radius: 12px;
}

.rect-navy        { background: var(--navy);         color: var(--cream); }
.rect-navy-deep   { background: var(--navy-deep);    color: var(--cream); }
.rect-paper       { background: var(--bg-paper);     color: var(--ink); }
.rect-warm-white  { background: var(--bg-warm-white); color: var(--ink); }
.rect-light-gray  { background: var(--bg-light-gray); color: var(--ink); }

.rect-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.rect-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
}

.rect-subtitle {
    font-family: var(--font-italic);
    font-style: italic;
    font-size: 28px;
    font-weight: 400;
    opacity: 0.78;
    margin-bottom: 24px;
}

.rect-body {
    font-size: 19px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 32px;
}

.rect-navy .rect-body,
.rect-navy-deep .rect-body {
    color: rgba(250, 246, 240, 0.78);
}

.rect-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 4px 0 8px;
    border-bottom: 1px solid var(--gold);
    transition: gap 0.3s ease, color 0.3s ease;
}

.rect-cta:hover { gap: 18px; color: var(--gold); }
.rect-cta .arrow { color: var(--gold); }

.rect-cta-primary {
    background: var(--cream);
    color: var(--navy);
    padding: 14px 26px;
    border-bottom: none;
    margin-top: 8px;
}
.rect-navy .rect-cta-primary,
.rect-navy-deep .rect-cta-primary {
    background: var(--cream); color: var(--navy);
}
.rect-cta-primary:hover { background: var(--gold-soft); color: var(--navy); }

.rect-status {
    display: inline-block;
    margin-top: 20px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================================
   Hero — navy rectangle with portrait
   ============================================================ */
.hero {
    position: relative;
    padding: 32px 80px 0;
    height: 420px;
    overflow: visible;
    background: linear-gradient(175deg, var(--navy-light) 0%, var(--navy-base) 100%);
}

.hero-content {
    margin-left: 275px;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -15%;
    width: 55%;
    height: 85%;
    background: radial-gradient(circle, rgba(197, 165, 90, 0.14) 0%, transparent 65%);
    pointer-events: none;
}

.hero-kicker {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    white-space: nowrap;
}

.hero-name {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin-bottom: 28px;
}

.hero-tagline {
    font-family: var(--font-italic);
    font-style: italic;
    font-size: 30px;
    line-height: 1.35;
    color: rgba(250, 246, 240, 0.92);
    max-width: 620px;
    margin-bottom: 36px;
}

.hero-meta {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.hero-meta span + span::before {
    content: "·";
    color: rgba(197, 165, 90, 0.5);
    margin-right: 14px;
}

.hero-portrait {
    position: absolute;
    bottom: 0;
    left: 45px;
    width: 250px;
    height: 440px;
    display: block;
}

/* ============================================================
   About — decorative pull quote, centered
   ============================================================ */
.rect-about {
    background: #05080F;
    color: var(--cream);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 560px;
    overflow: hidden;
}

.about-visual {
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 72px;
}

.rect-about .rect-label {
    color: var(--gold);
    opacity: 0.85;
    margin-bottom: 18px;
}

.rect-about .rect-title {
    color: var(--cream);
    font-size: 40px;
    margin-bottom: 24px;
}

.about-prose p {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(250, 246, 240, 0.82);
    margin-bottom: 18px;
}

.about-prose p:last-child {
    margin-bottom: 0;
    font-family: var(--font-italic);
    font-style: italic;
    font-size: 23px;
    color: var(--cream);
    opacity: 0.95;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(197, 165, 90, 0.28);
}

.about-stat-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    color: var(--gold);
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(250, 246, 240, 0.6);
}

/* ============================================================
   Ungoverned — book as hero element, centered
   ============================================================ */
.rect-ungoverned {
    background: var(--navy-base);
    color: var(--cream);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 540px;
    overflow: hidden;
}

.ungoverned-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0 72px 80px;
    text-align: left;
}

.ungoverned-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
}

.ungoverned-cover {
    max-height: 440px;
    width: auto;
    display: block;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55))
            drop-shadow(-12px 0 28px rgba(0, 0, 0, 0.45));
}

.rect-ungoverned .rect-label {
    color: var(--cream);
    opacity: 0.7;
    margin-bottom: 20px;
}

.rect-ungoverned .rect-title {
    color: var(--cream);
    font-size: 56px;
    margin-bottom: 12px;
}

.rect-ungoverned .rect-subtitle {
    color: rgba(250, 246, 240, 0.82);
    margin-bottom: 28px;
}

.rect-ungoverned .rect-body {
    color: rgba(250, 246, 240, 0.88);
    margin-bottom: 28px;
    max-width: none;
}

.rect-ungoverned .rect-cta {
    align-self: flex-start;
    color: var(--cream);
    border-bottom-color: var(--cream);
}

.rect-ungoverned .rect-cta .arrow { color: var(--cream); }

.rect-ungoverned .rect-cta:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* ============================================================
   El Faro — lighthouse as accent, centered composition
   ============================================================ */
.rect-faro {
    background: #1074A5;
    color: var(--cream);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 460px;
    overflow: hidden;
}

.faro-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.faro-visual img {
    width: 100%;
    height: auto;
    max-width: 320px;
    display: block;
}

.faro-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 80px 72px 0;
    text-align: left;
}

.rect-faro .rect-label {
    color: var(--cream);
    opacity: 0.7;
    margin-bottom: 20px;
}

.rect-faro .rect-title {
    color: var(--cream);
    margin-bottom: 12px;
}

.rect-faro .rect-subtitle {
    color: rgba(250, 246, 240, 0.82);
    margin-bottom: 28px;
}

.rect-faro .rect-body {
    color: rgba(250, 246, 240, 0.88);
    margin-bottom: 28px;
    max-width: none;
}

.rect-faro .rect-cta {
    align-self: flex-start;
    color: var(--cream);
    border-bottom-color: var(--cream);
}

.rect-faro .rect-cta .arrow {
    color: var(--cream);
}

.rect-faro .rect-cta:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* ============================================================
   Journey — horizontal stats row at top, text centered below
   ============================================================ */
.rect-journey {
    text-align: center;
    padding: 96px 80px 104px;
}

.journey-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 780px;
    margin: 0 auto 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.journey-stat {
    text-align: center;
}

.journey-stat-num {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 600;
    line-height: 1;
    color: var(--gold);
    margin-bottom: 12px;
}

.journey-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
}

.rect-journey .rect-label,
.rect-journey .rect-title,
.rect-journey .rect-subtitle,
.rect-journey .rect-body,
.rect-journey .rect-cta {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   LinkedIn — giant "in" behind text, navy
   ============================================================ */
.rect-linkedin {
    text-align: center;
    padding: 112px 80px;
}

.linkedin-mark {
    font-family: var(--font-display);
    font-size: 220px;
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.06em;
    color: var(--gold);
    margin: 0 auto 32px;
    display: block;
    text-align: center;
}

.rect-linkedin .rect-label,
.rect-linkedin .rect-title,
.rect-linkedin .rect-subtitle,
.rect-linkedin .rect-body,
.rect-linkedin .rect-cta {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Contact — subscribe form
   ============================================================ */
.rect-contact {
    background: var(--navy-base);
    color: var(--cream);
    text-align: center;
    padding: 96px 80px;
}

.rect-contact .rect-label,
.rect-contact .rect-title,
.rect-contact .rect-subtitle,
.rect-contact .rect-body {
    margin-left: auto;
    margin-right: auto;
}

.rect-contact .rect-label { color: var(--gold); opacity: 0.85; }
.rect-contact .rect-title { color: var(--cream); }
.rect-contact .rect-body { color: rgba(250, 246, 240, 0.78); max-width: 520px; }

.rect-contact .subscribe-form input[type="email"] {
    background: rgba(250, 246, 240, 0.06);
    border-color: rgba(250, 246, 240, 0.18);
    color: var(--cream);
}
.rect-contact .subscribe-form input[type="email"]::placeholder {
    color: rgba(250, 246, 240, 0.45);
}
.rect-contact .subscribe-form input[type="email"]:focus {
    border-color: var(--gold);
    background: rgba(250, 246, 240, 0.1);
}
.rect-contact .subscribe-form button {
    background: var(--cream);
    color: var(--navy);
}
.rect-contact .subscribe-form button:hover {
    background: var(--gold-soft);
}

.rect-contact .subscribe-hint {
    color: rgba(250, 246, 240, 0.55);
}

.rect-contact .contact-email {
    color: var(--cream);
    border-bottom-color: var(--gold);
}
.rect-contact .contact-email:hover { color: var(--gold); }

/* Social icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 44px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(197, 165, 90, 0.35);
    border-radius: 50%;
    color: var(--cream);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 16px auto 16px;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid rgba(26, 26, 26, 0.15);
    background: var(--bg-paper);
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--gold);
}

.subscribe-form button {
    padding: 14px 26px;
    background: var(--navy);
    color: var(--cream);
    border: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: var(--navy-deep);
}

.subscribe-hint {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    margin-top: 8px;
}

.contact-email {
    display: inline-block;
    margin-top: 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}

.contact-email:hover { color: var(--gold); }

/* ============================================================
   Footer — rectangle inside the page stack
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: var(--cream);
    padding: 56px 64px 40px;
    text-align: center;
    border-radius: 12px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 10px;
}

.footer-tagline {
    font-family: var(--font-italic);
    font-style: italic;
    font-size: 25px;
    color: rgba(250, 246, 240, 0.75);
    margin-bottom: 36px;
}

.footer-bottom {
    border-top: 1px solid rgba(197, 165, 90, 0.2);
    padding-top: 28px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 246, 240, 0.5);
}

.footer-bottom a {
    color: inherit;
    padding: 4px 2px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-bottom a[aria-current="page"] {
    color: var(--cream);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1199px) {
    .page { padding: 16px 16px 40px; }
    .rect { padding: 80px 48px; }
    /* rects that use internal grid padding — keep zero */
    .rect-about, .rect-faro, .rect-ungoverned { padding: 0; }
    .hero { padding: 32px 48px 0; }
    .hero-content { margin-left: 260px; }
    .hero-portrait { left: -16px; }
    .hero-name { font-size: 64px; }
}

@media (max-width: 899px) {
    .nav {
        padding: 12px 4px;
        flex-wrap: nowrap;
        gap: 12px;
        align-items: center;
    }
    .nav-links { display: none; }
    .nav-brand { font-size: 24px; }
    .nav-lang {
        font-size: 13px;
        gap: 2px;
        flex-shrink: 0;
    }
    .nav-lang a {
        padding: 10px 8px;
        min-width: 36px;
        text-align: center;
        display: inline-block;
        line-height: 1;
    }
    .nav-lang .sep {
        padding: 0;
    }

    .rect, .hero { padding: 64px 28px; }
    /* rects with internal grid layout keep zero padding on mobile */
    .rect-about, .rect-faro, .rect-ungoverned { padding: 0; }

    .hero {
        padding: 48px 28px;
        height: auto;
        overflow: hidden;
        text-align: center;
    }
    .hero-content {
        margin-left: 0;
        padding-top: 24px;
        align-items: center;
    }
    .hero-portrait {
        position: static;
        margin: 0 auto 24px;
        width: auto;
        max-width: 240px;
        height: auto;
    }
    .hero-kicker {
        justify-content: center;
        white-space: normal;
        font-size: 11px;
        letter-spacing: 0.22em;
    }
    .hero-name { font-size: 48px; }
    .hero-tagline {
        font-size: 18px;
        line-height: 1.4;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-meta {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
        font-size: 10px;
        letter-spacing: 0.12em;
        gap: 6px 10px;
    }
    .hero-meta span + span::before {
        margin-right: 10px;
    }

    .rect-title { font-size: 36px; }

    .rect-ungoverned {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .ungoverned-text { padding: 48px 28px 16px; text-align: center; }
    .rect-ungoverned .rect-cta { align-self: center; }
    .ungoverned-visual { padding: 16px 24px 48px; }
    .ungoverned-cover { max-height: 360px; }
    .rect-ungoverned .rect-title { font-size: 44px; }
    .about-quote { font-size: 24px; padding: 24px 0; }
    .linkedin-mark { font-size: 130px; }
    .journey-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
    .journey-stat-num { font-size: 44px; }

    .subscribe-form { flex-direction: column; gap: 10px; }

    .rect-faro {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .faro-visual { padding: 40px 24px 0; }
    .faro-visual img { max-width: 220px; }
    .faro-text { padding: 24px 28px 48px; text-align: center; }
    .rect-faro .rect-cta { align-self: center; }

    /* About — stack on mobile, image on top */
    .rect-about {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .about-visual {
        max-height: 280px;
    }
    .about-visual img {
        object-position: center center;
    }
    .about-text {
        padding: 40px 28px 48px;
    }
    .rect-about .rect-title { font-size: 34px; }
    .about-prose p { font-size: 17px; }
    .about-prose p:last-child { font-size: 20px; }
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px 24px;
    }
    .about-stat-num { font-size: 36px; }

    /* CTA primary — allow wrap + smaller on narrow screens */
    .rect-cta-primary {
        padding: 12px 18px;
        font-size: 12px;
        letter-spacing: 0.18em;
    }

    /* Contact padding safe */
    .rect-contact { padding: 64px 24px; }

    .site-footer { padding: 48px 24px 32px; }
}
