@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500&display=swap');

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

:root {
    /* Palette sampled directly from the StartinKerala logo mark */
    --ink: #14300a;
    --teal: #326c17;
    --teal-light: #4d931f;
    --gold: #6fa82e;
    --gold-bright: #9ed65b;
    --coral: #4d931f;
    --cream: #f4f6f1;
    --paper: #ffffff;
    --text-dark: #16241f;
    --text-muted: #52625c;
    --border-radius: 10px;

    --font-display: 'Poppins', 'Arial Black', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
}

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

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

a {
    color: inherit;
}

/* ---------- Header & Navigation ---------- */
header {
    background-color: var(--ink);
    color: var(--paper);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(238, 194, 95, 0.15);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 42px;
    width: auto;
    background: var(--paper);
    border-radius: 8px;
    padding: 3px 10px;
}

.brand-logo--footer {
    height: 46px;
    margin-bottom: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--paper);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-menu a {
    color: rgba(255, 253, 248, 0.75);
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold-bright);
    transition: width 0.25s ease;
}

.nav-menu a:hover {
    color: var(--paper);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--gold-bright);
}

.nav-menu a.active::after {
    width: 100%;
}

/* ---------- Page Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(158, 214, 91, 0.18), transparent 45%),
        linear-gradient(160deg, var(--ink) 0%, var(--teal) 100%);
    color: var(--paper);
    padding: 7.5rem 0 9rem;
    text-align: center;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 1.75rem;
}

.hero .eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold-bright);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    line-height: 1.1;
    max-width: 820px;
    margin: 0 auto 1.5rem;
}

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

.hero p.lede {
    font-size: 1.2rem;
    max-width: 620px;
    margin: 0 auto 2.25rem;
    color: rgba(255, 253, 248, 0.82);
}

/* rotating pillar ticker */
.pillar-ticker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: rgba(255, 253, 248, 0.6);
    margin-bottom: 2.5rem;
    height: 1.4rem;
}

.pillar-ticker .pillar-word {
    color: var(--gold-bright);
    font-weight: 500;
    display: inline-block;
    min-width: 11ch;
    text-align: left;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.pillar-ticker .pillar-word.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero.hero--small {
    padding: 5.5rem 0 7rem;
}

.hero.hero--small h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 90px;
    color: var(--cream);
    z-index: 1;
}

.wave-divider path {
    fill: currentColor;
}

/* ---------- Buttons ---------- */
.cta-button,
.btn {
    display: inline-block;
    background-color: var(--coral);
    color: var(--paper);
    border: none;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 20px rgba(77, 147, 31, 0.35);
}

.cta-button:hover,
.btn:hover {
    background-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(77, 147, 31, 0.4);
}

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 253, 248, 0.4);
    box-shadow: none;
    color: var(--paper);
}

.btn--ghost:hover {
    background: rgba(255, 253, 248, 0.1);
    transform: translateY(-2px);
    box-shadow: none;
}

/* ---------- Section basics ---------- */
section {
    padding: 5.5rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3.25rem;
}

.section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-heading .eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--coral);
}

.section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    color: var(--ink);
    font-weight: 600;
}

.section-heading p {
    max-width: 560px;
    margin: 0.9rem auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Visible by default; JS opts elements into the fade-up animation via
   .reveal-pending so content never depends on JS/scroll to be seen. */
.reveal.reveal-pending {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-pending.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Home: highlight cards ---------- */
.why-kerala {
    background: var(--paper);
}

.landscape {
    background: var(--cream);
}

.access-list {
    max-width: 720px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.access-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    background: var(--paper);
    border: 1px solid rgba(50, 108, 23, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
}

.access-row .place {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: 1.05rem;
}

.access-row .place span {
    display: block;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--coral);
    margin-top: 0.25rem;
}

.access-row .time {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--teal);
    white-space: nowrap;
    text-align: right;
}

@media (max-width: 480px) {
    .access-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .access-row .time {
        text-align: left;
    }
}

.highlights {
    background: var(--cream);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.highlight-card {
    display: block;
    background: var(--paper);
    padding: 2.25rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid rgba(50, 108, 23, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(20, 48, 10, 0.12);
    border-color: var(--gold);
}

.highlight-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--teal);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.highlight-card p {
    color: var(--text-muted);
}

.card-arrow {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--coral);
    text-decoration: none;
    transition: transform 0.25s ease;
}

.highlight-card:hover .card-arrow,
.news-card:hover .card-arrow {
    transform: translateX(6px);
}

/* ---------- About page ---------- */
.about-body {
    background: var(--paper);
}

.about-copy {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.12rem;
    color: var(--text-muted);
}

.about-copy p {
    margin-bottom: 1.4rem;
}

.about-copy strong {
    color: var(--ink);
}

.who-we-serve {
    background: var(--cream);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.serve-chip {
    background: var(--paper);
    border: 1px solid rgba(50, 108, 23, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--teal);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.serve-chip:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(20, 48, 10, 0.1);
}

/* ---------- Services page ---------- */
.services {
    background: var(--paper);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--cream);
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(20, 48, 10, 0.12);
}

.service-card .step-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--coral);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

/* ---------- Team page ---------- */
.team-section {
    background: var(--paper);
}

.team-section + .team-section {
    background: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
}

.team-card {
    background: var(--paper);
    border: 1px solid rgba(50, 108, 23, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-section + .team-section .team-card {
    background: var(--paper);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(20, 48, 10, 0.1);
}

.team-card .avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--ink));
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.team-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.team-card .role {
    color: var(--coral);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

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

/* ---------- News page ---------- */
.news {
    background: var(--paper);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--cream);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(20, 48, 10, 0.12);
}

.news-card .news-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--coral);
}

.news-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ink);
}

.news-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

.news-card .news-tag {
    align-self: flex-start;
    background: rgba(50, 108, 23, 0.08);
    color: var(--teal);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.news-empty-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 2.5rem;
    font-style: italic;
}

/* ---------- News: featured story ---------- */
.featured-story {
    background: var(--cream);
}

.story-card {
    background: var(--paper);
    border: 1px solid rgba(50, 108, 23, 0.1);
    border-radius: var(--border-radius);
    padding: 2.75rem;
    max-width: 820px;
    margin: 0 auto;
}

.story-card .news-tag {
    margin-right: 0.75rem;
}

.story-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: 1.6rem;
    margin: 1rem 0 1.5rem;
}

.story-card p {
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
}

.story-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.story-photos img,
.story-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.story-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-light), var(--teal));
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
}

/* ---------- Reusable: photo + copy split feature ---------- */
.photo-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.photo-feature img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 24px 48px rgba(20, 48, 10, 0.18);
}

.photo-feature .copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

.photo-feature .copy .eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--coral);
}

.photo-feature .copy h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: var(--ink);
    margin-bottom: 1rem;
}

.photo-feature .copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.photo-feature--reverse {
    grid-template-columns: 1fr 1fr;
}

.photo-feature--reverse img {
    order: 2;
}

/* ---------- Reusable: stat grid ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--paper);
    border: 1px solid rgba(50, 108, 23, 0.1);
    border-radius: var(--border-radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.stat-source {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    opacity: 0.75;
}

@media (max-width: 860px) {
    .photo-feature,
    .photo-feature--reverse {
        grid-template-columns: 1fr;
    }

    .photo-feature--reverse img {
        order: 0;
    }
}

/* ---------- Home: historic trade timeline ---------- */
.trade-history {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--paper);
    padding-bottom: 7rem;
}

.trade-history .section-heading h2 {
    color: var(--paper);
}

.trade-history .section-heading p {
    color: rgba(255, 253, 248, 0.75);
}

.trade-history-intro {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
    color: rgba(255, 253, 248, 0.82);
    font-size: 1.08rem;
}

.timeline {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    padding-left: 2.5rem;
    border-left: 2px solid rgba(158, 214, 91, 0.35);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.25rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.95rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 0 4px var(--ink);
}

.timeline-year {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--gold-bright);
    margin-bottom: 0.4rem;
}

.timeline-item h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: rgba(255, 253, 248, 0.78);
    font-size: 0.98rem;
    max-width: 620px;
}

.trade-history-note {
    text-align: center;
    max-width: 680px;
    margin: 3rem auto 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-style: normal;
    font-size: 1.2rem;
    color: var(--gold-bright);
}

/* ---------- Industries page ---------- */
.industry-tabs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 3rem;
    scrollbar-width: thin;
}

.industry-tabs a {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--paper);
    border: 1px solid rgba(50, 108, 23, 0.2);
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.industry-tabs a:hover {
    background: var(--teal);
    color: var(--paper);
}

.industry-block {
    padding-top: 3.5rem;
    border-top: 1px solid rgba(50, 108, 23, 0.1);
}

.industry-block:first-of-type {
    padding-top: 0;
    border-top: none;
}

.industry-block + .industry-block {
    margin-top: 3.5rem;
}

.industry-block .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

.industry-block .eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--coral);
}

.industry-block h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--ink);
    margin-bottom: 0.9rem;
}

.industry-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 760px;
}

/* ---------- Contact page ---------- */
.contact {
    background: var(--cream);
    text-align: center;
}

.contact-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--paper);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(50, 108, 23, 0.1);
}

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

.contact-email-line {
    margin-top: 0.75rem;
}

.contact-linkedin {
    margin-top: 1.5rem;
}

.email-link {
    color: var(--teal);
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.email-link:hover {
    color: var(--coral);
    border-color: var(--coral);
}

.inline-link {
    color: var(--teal);
    font-weight: 600;
    text-decoration: underline;
}

.inline-link:hover {
    color: var(--coral);
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--ink);
    color: rgba(255, 253, 248, 0.7);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--paper);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    max-width: 320px;
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 0.85rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 253, 248, 0.7);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 253, 248, 0.12);
    padding-top: 1.5rem;
    font-size: 0.82rem;
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ink);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.is-open {
        max-height: 400px;
    }

    .nav-menu li {
        border-top: 1px solid rgba(255, 253, 248, 0.08);
    }

    .nav-menu a {
        display: block;
        padding: 1rem 24px;
    }

    .nav-menu a::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5.5rem 0 7rem;
    }

    section {
        padding: 4rem 0;
    }

    .footer-grid {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        height: 34px;
    }

    .hero p.lede {
        font-size: 1.05rem;
    }

    .container {
        padding: 0 16px;
    }

    .cta-button,
    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .brand-logo {
        height: 30px;
    }
}

/* Short/landscape viewports: trim vertical rhythm so content isn't
   pushed below the fold on rotated phones and small laptops */
@media (max-height: 560px) and (orientation: landscape) {
    .hero {
        padding: 3rem 0 4rem;
    }

    .hero.hero--small {
        padding: 2.5rem 0 3.5rem;
    }

    section {
        padding: 2.75rem 0;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
