/* ============================================================
   Nigel Murtagh — Executive Website
   Institutional. Executive. Boardroom-quality.
   ============================================================ */

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

:root {
    /* Color System — Conservative Executive Palette */
    --ink-900: #0A1B2E;
    --ink-800: #102238;
    --ink-700: #1C2F47;
    --ink-600: #3A4A61;
    --ink-500: #5A6878;
    --ink-400: #8A94A1;
    --ink-300: #B8BEC6;
    --ink-200: #DCDFE4;
    --ink-100: #EEF0F3;
    --ink-050: #F7F8FA;

    --paper: #FAFAF7;
    --paper-warm: #F4F2EC;
    --paper-line: #E6E3DB;

    --accent: #A67C3A;
    --accent-dark: #8A6328;
    --accent-soft: #D4B884;

    --white: #FFFFFF;
    --black: #000000;

    /* Typography */
    --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    /* Spacing Scale */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;
    --s-9: 96px;
    --s-10: 128px;

    /* Grid */
    --max-width: 1280px;
    --gutter: 32px;

    /* Transitions */
    --tr-fast: 180ms ease;
    --tr-base: 280ms ease;
    --tr-slow: 500ms ease;
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink-800);
    background: var(--paper);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--tr-fast);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}

h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    line-height: 1.25;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    letter-spacing: 0.01em;
}

p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-700);
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: var(--s-4);
    display: inline-block;
}

.rule {
    width: 48px;
    height: 1px;
    background: var(--accent);
    margin: var(--s-5) 0;
    border: 0;
}

/* ---------- Layout Containers ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gutter);
}

section {
    padding: var(--s-9) 0;
}

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.97);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--paper-line);
    transition: box-shadow var(--tr-base);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(10, 27, 46, 0.05);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.nav__brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav__brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink-900);
    letter-spacing: 0.01em;
}

.nav__brand-sub {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-500);
    margin-top: 2px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    list-style: none;
}

.nav__link {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-700);
    position: relative;
    padding: 6px 0;
}

.nav__link:hover {
    color: var(--ink-900);
}

.nav__link--active {
    color: var(--ink-900);
}

.nav__link--active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
}

.nav__toggle {
    display: none;
    width: 28px;
    height: 20px;
    position: relative;
}

.nav__toggle span {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ink-900);
    transition: transform var(--tr-base), opacity var(--tr-base);
}

.nav__toggle span:nth-child(1) { top: 4px; }
.nav__toggle span:nth-child(2) { top: 10px; }
.nav__toggle span:nth-child(3) { top: 16px; }

.nav__toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 960px) {
    .nav__toggle { display: block; }
    .nav__menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--paper-line);
        padding: var(--s-4) var(--gutter);
        transform: translateY(-110%);
        transition: transform var(--tr-base);
        box-shadow: 0 20px 40px rgba(10, 27, 46, 0.08);
    }
    .nav__menu.open { transform: translateY(0); }
    .nav__menu li {
        border-bottom: 1px solid var(--paper-line);
    }
    .nav__menu li:last-child { border-bottom: none; }
    .nav__link {
        display: block;
        padding: var(--s-4) 0;
        font-size: 0.92rem;
    }
}

/* ---------- Hero ---------- */
.hero {
    padding: var(--s-9) 0 var(--s-9);
    background: var(--paper);
    position: relative;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--s-8);
    align-items: center;
}

.hero__content {
    max-width: 620px;
}

.hero__title {
    margin-bottom: var(--s-5);
}

.hero__lede {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--ink-600);
    max-width: 560px;
    margin-bottom: var(--s-6);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-6);
    padding-top: var(--s-5);
    border-top: 1px solid var(--paper-line);
    margin-top: var(--s-5);
}

.hero__meta-item {
    display: flex;
    flex-direction: column;
}

.hero__meta-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-400);
    margin-bottom: 6px;
}

.hero__meta-value {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink-900);
}

.hero__image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--ink-100);
}

.hero__image::before {
    content: "";
    position: absolute;
    top: -16px;
    right: -16px;
    bottom: 16px;
    left: 16px;
    border: 1px solid var(--accent);
    z-index: 0;
    pointer-events: none;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 1;
}

@media (max-width: 860px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: var(--s-7);
    }
    .hero__image {
        max-width: 440px;
        margin: 0 auto;
    }
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
    padding: var(--s-9) 0 var(--s-7);
    background: var(--paper);
    border-bottom: 1px solid var(--paper-line);
}

.page-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.page-header__crumb {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-400);
    margin-bottom: var(--s-4);
}

.page-header__title {
    max-width: 820px;
    margin-bottom: var(--s-5);
}

.page-header__intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink-600);
    max-width: 720px;
}

/* ---------- Content Sections ---------- */
.section-heading {
    margin-bottom: var(--s-7);
    max-width: 780px;
}

.section-heading__title {
    margin-top: var(--s-3);
    margin-bottom: var(--s-4);
}

.section-heading__lede {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-600);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
    align-items: start;
}

.two-col--image {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
}

@media (max-width: 860px) {
    .two-col, .two-col--image {
        grid-template-columns: 1fr;
        gap: var(--s-6);
    }
}

.panel {
    background: var(--white);
    border: 1px solid var(--paper-line);
    padding: var(--s-7);
}

.panel--warm {
    background: var(--paper-warm);
}

.panel--dark {
    background: var(--ink-900);
    color: var(--ink-100);
    border: none;
}

.panel--dark h1,
.panel--dark h2,
.panel--dark h3,
.panel--dark h4 {
    color: var(--white);
}

.panel--dark p {
    color: var(--ink-200);
}

.panel--dark .eyebrow {
    color: var(--accent-soft);
}

/* ---------- Feature Grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
    margin-top: var(--s-6);
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--paper-line);
    padding: var(--s-6);
    transition: border-color var(--tr-base), transform var(--tr-base);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.feature-card__num {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--s-4);
    display: block;
    letter-spacing: 0.05em;
}

.feature-card__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: var(--s-3);
    color: var(--ink-900);
}

.feature-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-600);
}

/* ---------- Stat Row ---------- */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
    padding: var(--s-7) 0;
    border-top: 1px solid var(--paper-line);
    border-bottom: 1px solid var(--paper-line);
}

@media (max-width: 760px) {
    .stat-row { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}

.stat {
    text-align: left;
    padding-right: var(--s-4);
    border-right: 1px solid var(--paper-line);
}

.stat:last-child { border-right: none; }

@media (max-width: 760px) {
    .stat:nth-child(2) { border-right: none; }
}

.stat__value {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--ink-900);
    line-height: 1;
    margin-bottom: var(--s-2);
}

.stat__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-500);
}

/* ---------- Timeline / Milestones ---------- */
.timeline {
    margin-top: var(--s-6);
    border-top: 1px solid var(--paper-line);
}

.timeline__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--s-6);
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--paper-line);
}

@media (max-width: 640px) {
    .timeline__item {
        grid-template-columns: 1fr;
        gap: var(--s-2);
    }
}

.timeline__period {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.timeline__title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink-900);
    margin-bottom: var(--s-2);
}

.timeline__text {
    font-size: 0.96rem;
    color: var(--ink-600);
    line-height: 1.7;
}

/* ---------- List Styles ---------- */
.list-clean {
    list-style: none;
    padding: 0;
}

.list-clean li {
    position: relative;
    padding-left: 22px;
    padding-bottom: var(--s-3);
    font-size: 0.98rem;
    color: var(--ink-700);
    line-height: 1.65;
}

.list-clean li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 1px;
    background: var(--accent);
}

/* ---------- Pull Quote ---------- */
.pullquote {
    padding: var(--s-7) 0;
    border-top: 1px solid var(--paper-line);
    border-bottom: 1px solid var(--paper-line);
    margin: var(--s-7) 0;
}

.pullquote__text {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    line-height: 1.45;
    color: var(--ink-900);
    font-weight: 400;
    font-style: italic;
    max-width: 820px;
}

.pullquote__attrib {
    margin-top: var(--s-4);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-500);
}

/* ---------- CTA Block ---------- */
.cta-block {
    background: var(--ink-900);
    color: var(--white);
    padding: var(--s-9) var(--gutter);
    text-align: center;
}

.cta-block h2 {
    color: var(--white);
    max-width: 720px;
    margin: 0 auto var(--s-4);
}

.cta-block p {
    color: var(--ink-200);
    max-width: 620px;
    margin: 0 auto var(--s-6);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: transparent;
    color: var(--ink-900);
    border: 1px solid var(--ink-900);
    transition: background var(--tr-base), color var(--tr-base);
    cursor: pointer;
}

.btn:hover {
    background: var(--ink-900);
    color: var(--white);
}

.btn--light {
    color: var(--white);
    border-color: var(--white);
}

.btn--light:hover {
    background: var(--white);
    color: var(--ink-900);
}

.btn--solid {
    background: var(--ink-900);
    color: var(--white);
}

.btn--solid:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--s-5);
    margin-top: var(--s-6);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--ink-100);
}

.gallery-item--wide { grid-column: span 8; aspect-ratio: 16/10; }
.gallery-item--half { grid-column: span 6; aspect-ratio: 4/3; }
.gallery-item--third { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-item--tall { grid-column: span 4; aspect-ratio: 3/4; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform var(--tr-slow);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-item__cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--s-5) var(--s-5) var(--s-4);
    background: linear-gradient(to top, rgba(10, 27, 46, 0.92), rgba(10, 27, 46, 0));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

@media (max-width: 860px) {
    .gallery-item--wide,
    .gallery-item--half,
    .gallery-item--third,
    .gallery-item--tall {
        grid-column: span 12;
        aspect-ratio: 4/3;
    }
}

/* ---------- Contact Form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--s-8);
    align-items: start;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--s-6);
    }
}

.contact-detail {
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--paper-line);
}

.contact-detail:first-of-type { border-top: 1px solid var(--paper-line); }

.contact-detail__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-400);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-detail__value {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--ink-900);
    font-weight: 500;
}

.contact-detail__value a:hover {
    color: var(--accent);
}

.form {
    background: var(--white);
    border: 1px solid var(--paper-line);
    padding: var(--s-7);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
}

@media (max-width: 600px) {
    .form__row { grid-template-columns: 1fr; gap: 0; }
}

.form__field {
    margin-bottom: var(--s-5);
}

.form__label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-500);
    margin-bottom: var(--s-2);
    font-weight: 600;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ink-200);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--ink-900);
    outline: none;
    transition: border-color var(--tr-base);
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--accent);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 10px;
    line-height: 1.6;
}

/* ---------- Social Links ---------- */
.socials {
    display: flex;
    gap: var(--s-4);
    align-items: center;
}

.socials a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--paper-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-500);
    transition: border-color var(--tr-base), color var(--tr-base), background var(--tr-base);
}

.socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.socials svg {
    width: 16px;
    height: 16px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--ink-900);
    color: var(--ink-200);
    padding: var(--s-9) 0 var(--s-6);
    margin-top: 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--s-7);
    margin-bottom: var(--s-7);
}

@media (max-width: 860px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-6);
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

.footer__brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--s-3);
}

.footer__tag {
    color: var(--ink-300);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer__heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-soft);
    margin-bottom: var(--s-4);
    font-weight: 600;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: var(--s-3);
    font-size: 0.92rem;
}

.footer__list a {
    color: var(--ink-300);
}

.footer__list a:hover {
    color: var(--white);
}

.footer__contact-item {
    display: block;
    color: var(--ink-300);
    margin-bottom: var(--s-2);
    font-size: 0.92rem;
}

.footer__contact-item:hover {
    color: var(--white);
}

.footer__socials .socials a {
    border-color: var(--ink-600);
    color: var(--ink-300);
}

.footer__socials .socials a:hover {
    border-color: var(--accent-soft);
    color: var(--accent-soft);
}

.footer__bottom {
    padding-top: var(--s-5);
    border-top: 1px solid var(--ink-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-4);
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--ink-400);
}

.footer__bottom a { color: var(--ink-300); }
.footer__bottom a:hover { color: var(--accent-soft); }

.footer__credit {
    display: flex;
    gap: var(--s-4);
    flex-wrap: wrap;
}

/* ---------- Password Gate ---------- */
.gate {
    position: fixed;
    inset: 0;
    background: var(--ink-900);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--gutter);
}

.gate__inner {
    max-width: 460px;
    width: 100%;
    text-align: center;
}

.gate__mark {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--s-2);
    letter-spacing: 0.02em;
}

.gate__sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--accent-soft);
    margin-bottom: var(--s-7);
}

.gate__title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: var(--s-3);
    line-height: 1.3;
}

.gate__intro {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-300);
    margin-bottom: var(--s-7);
}

.gate__form {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.gate__field {
    position: relative;
}

.gate__input {
    width: 100%;
    padding: 16px 18px;
    background: transparent;
    border: 1px solid var(--ink-600);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 0.08em;
    outline: none;
    text-align: center;
    transition: border-color var(--tr-base);
}

.gate__input::placeholder {
    color: var(--ink-500);
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.gate__input:focus {
    border-color: var(--accent-soft);
}

.gate__btn {
    padding: 14px 24px;
    background: var(--white);
    color: var(--ink-900);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border: 1px solid var(--white);
    cursor: pointer;
    transition: background var(--tr-base), color var(--tr-base);
}

.gate__btn:hover {
    background: transparent;
    color: var(--white);
}

.gate__error {
    margin-top: var(--s-3);
    font-size: 0.8rem;
    color: #E89A8A;
    letter-spacing: 0.04em;
    min-height: 18px;
    opacity: 0;
    transition: opacity var(--tr-fast);
}

.gate__error.show { opacity: 1; }

.gate__foot {
    margin-top: var(--s-7);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.gate.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.no-pad-top { padding-top: 0; }
.no-pad-bottom { padding-bottom: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Print ---------- */
@media print {
    .nav, .footer, .cta-block { display: none; }
}
