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

:root {
    --navy: #0B1D33;
    --navy-deep: #060F1C;
    --navy-light: #142C4A;
    --navy-mid: #0F2440;
    --cream: #FAFAF8;
    --warm-white: #F5F3EF;
    --bronze: #8B7355;
    --bronze-light: #A8956F;
    --bronze-glow: #C4A97D;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-tertiary: #6E6E6E;
    --rule: #D4CFC6;
    --rule-light: #E8E4DD;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: var(--text-primary);
    background-color: var(--cream);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}

.container--narrow {
    max-width: 820px;
}

section {
    padding: 100px 0;
}

.section-rule {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--bronze);
    border: none;
    margin-bottom: 40px;
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

header.scrolled {
    background: var(--navy-deep);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 24px rgba(11, 29, 51, 0.08);
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: filter 0.4s ease;
	margin-top: 40px;
}

header.scrolled .logo-img {
    filter: none;
}

/* Desktop Nav */
.nav-links {
    display: none;
    list-style: none;
    gap: 36px;
    align-items: center;
}

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

.nav-links a {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(250, 250, 248, 0.7);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--bronze);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--cream);
}

header.scrolled .nav-links a {
    color: var(--text-tertiary);
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
    color: var(--navy);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--cream);
    transition: all 0.3s ease;
}

header.scrolled .nav-toggle span {
    background: var(--navy);
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Nav Drawer */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-deep);
    padding: 100px 40px 40px;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 999;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-mobile.open {
    right: 0;
}

.nav-mobile a {
    display: block;
    padding: 16px 0;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(250, 250, 248, 0.65);
    border-bottom: 1px solid rgba(250, 250, 248, 0.06);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-mobile a:hover {
    color: var(--cream);
    padding-left: 8px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 28, 0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ================================================================
   HERO — Full viewport, dramatic background
   ================================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--navy-deep);
    overflow: hidden;
    padding: 120px 32px 80px;
}

/* Layered background: gradient mesh + subtle grid pattern */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(20, 44, 74, 0.8) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(139, 115, 85, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(20, 44, 74, 0.6) 0%, transparent 50%);
    z-index: 1;
}

/* Geometric grid lines */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(250, 250, 248, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250, 250, 248, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 2;
}

/* Floating accent shapes */
.hero-bg-accent {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.hero-bg-accent--1 {
    width: 500px;
    height: 500px;
    background: rgba(139, 115, 85, 0.06);
    top: -15%;
    right: -10%;
}

.hero-bg-accent--2 {
    width: 400px;
    height: 400px;
    background: rgba(20, 44, 74, 0.3);
    bottom: -20%;
    left: -5%;
}

.hero-bg-accent--3 {
    width: 200px;
    height: 200px;
    background: rgba(196, 169, 125, 0.05);
    top: 40%;
    left: 30%;
}

/* Thin decorative border lines */
.hero-border-top {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 115, 85, 0.2), transparent);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 760px;
}

.hero-overline {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bronze-light);
    margin-bottom: 32px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 72px);
    color: var(--cream);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.08;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-legal {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(16px, 2.2vw, 20px);
    color: rgba(250, 250, 248, 0.45);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-rule {
    width: 48px;
    height: 1px;
    background: var(--bronze);
    border: none;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.85s forwards;
}

.hero-statement {
    font-size: clamp(15px, 1.6vw, 17px);
    color: rgba(250, 250, 248, 0.55);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.85;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.8s ease 1s forwards;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.6s ease 1.4s forwards;
}

.hero-scroll span {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.25);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--bronze-light), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ================================================================
   WHO WE ARE
   ================================================================ */

.about {
    padding: 110px 0;
}

.about h2 {
    font-size: clamp(30px, 4.2vw, 42px);
    color: var(--navy);
    margin-bottom: 36px;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.9;
}

.about-text + .about-text {
    margin-top: 22px;
}

/* ================================================================
   PLATFORMS
   ================================================================ */

.platforms {
    background: var(--warm-white);
    border-top: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    padding: 110px 0;
}

.platforms h2 {
    font-size: clamp(30px, 4.2vw, 42px);
    color: var(--navy);
    margin-bottom: 16px;
}

.platforms-intro {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 56px;
    max-width: 560px;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    list-style: none;
}

@media (min-width: 640px) {
    .platform-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .platform-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.platform-card {
    background: var(--cream);
    border: 1px solid var(--rule-light);
    padding: 32px 28px;
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.platform-card:hover {
    box-shadow: 0 8px 40px rgba(11, 29, 51, 0.06);
    transform: translateY(-3px);
    border-color: var(--rule);
}

.platform-card-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--bronze);
}

.platform-card-icon svg {
    width: 16px;
    height: 16px;
}

.platform-card-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.platform-card-type {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bronze);
    font-weight: 500;
    margin-bottom: 16px;
}

.platform-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================================================
   FOUNDER / LEADERSHIP
   ================================================================ */

.founder {
    padding: 110px 0;
}

.founder h2 {
    font-size: clamp(30px, 4.2vw, 42px);
    color: var(--navy);
    margin-bottom: 36px;
}

.founder-text {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.9;
}

.founder-card {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.founder-avatar {
    width: 64px;
    height: 64px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.founder-avatar-initials {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--cream);
}

.founder-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
}

.founder-title {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-top: 4px;
    font-weight: 400;
}

/* ================================================================
   CONTACT
   ================================================================ */

.contact {
    background: var(--navy);
    color: var(--cream);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle background accents */
.contact::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(139, 115, 85, 0.04);
    filter: blur(100px);
    top: -200px;
    right: -100px;
}

.contact h2 {
    font-size: clamp(30px, 4.2vw, 42px);
    color: var(--cream);
    margin-bottom: 16px;
}

.contact-intro {
    font-size: 16px;
    color: rgba(250, 250, 248, 0.55);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.75;
}

.contact .section-rule {
    background: var(--bronze-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

/* Contact Info Column */
.contact-info-heading {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bronze-light);
    margin-bottom: 28px;
    font-weight: 500;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-list-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(250, 250, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bronze-light);
    margin-top: 2px;
}

.contact-list-icon svg {
    width: 16px;
    height: 16px;
}

.contact-list-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.35);
    margin-bottom: 4px;
}

.contact-list-value {
    font-size: 15px;
    color: rgba(250, 250, 248, 0.8);
    line-height: 1.6;
}

.contact-list-value a {
    color: rgba(250, 250, 248, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 115, 85, 0.4);
    transition: border-color 0.3s ease;
}

.contact-list-value a:hover {
    border-color: var(--cream);
}

/* Contact Form Column */
.contact-form-heading {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bronze-light);
    margin-bottom: 28px;
    margin-top: 4px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 500px) {
    .form-row--half {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.4);
    font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(250, 250, 248, 0.04);
    border: 1px solid rgba(250, 250, 248, 0.1);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(250, 250, 248, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--bronze);
    background: rgba(250, 250, 248, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(250,250,248,0.35)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--navy);
    color: var(--cream);
}

.form-submit {
    align-self: flex-start;
    background: transparent;
    border: 1px solid var(--bronze);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 16px 40px;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease;
    font-weight: 400;
    margin-top: 8px;
}

.form-submit:hover {
    background: var(--bronze);
    color: var(--navy-deep);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-status {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
    min-height: 0;
    transition: opacity 0.3s ease;
}

.form-status--success {
    color: #7EBF8E;
}

.form-status--error {
    color: #D4836A;
}

/* ================================================================
   FOOTER
   ================================================================ */

footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(250, 250, 248, 0.05);
    padding: 36px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

@media (min-width: 600px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal {
    font-size: 12px;
    color: rgba(250, 250, 248, 0.3);
    letter-spacing: 0.02em;
}

.footer-location {
    font-size: 12px;
    color: rgba(250, 250, 248, 0.2);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }
