/* ═══════════════════════════════════════════════════════
   Moor Service — Design System
   Gemstones & Digital Solutions
   ═══════════════════════════════════════════════════════ */

:root {
    /* Palette — warm jewel tones meet cool digital */
    --midnight:     #141420;
    --deep:         #1c1c2e;
    --surface:      #faf8f5;
    --surface-alt:  #f3f0eb;
    --card:         #ffffff;
    --text:         #2a2a3a;
    --text-soft:    #6e6e82;
    --text-muted:   #9c9caa;
    --gold:         #b8943d;
    --gold-light:   #ddc88a;
    --gold-dark:    #9a7a2e;
    --teal:         #3ca8a0;
    --teal-light:   #5ec4bc;
    --sapphire:     #3d5a99;
    --border:       rgba(42, 42, 58, 0.1);
    --border-strong: rgba(42, 42, 58, 0.18);

    /* RGB for alpha compositions */
    --midnight-rgb: 20, 20, 32;
    --gold-rgb:     184, 148, 61;
    --sapphire-rgb: 61, 90, 153;
    --teal-rgb:     60, 168, 160;
    --surface-rgb:  250, 248, 245;

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'Berkeley Mono', ui-monospace, SFMono-Regular, monospace;

    /* Sizing */
    --text-xs:   0.75rem;
    --text-sm:   0.8125rem;
    --text-base: 0.9375rem;
    --text-md:   1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.3125rem;
    --text-2xl:  1.625rem;
    --text-3xl:  2.25rem;
    --text-4xl:  3rem;
    --text-5xl:  4.25rem;

    /* Spacing */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-glow-gold: 0 0 24px rgba(var(--gold-rgb), 0.15);
    --shadow-glow-teal: 0 0 24px rgba(var(--teal-rgb), 0.15);

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 300ms;
    --duration-slow: 600ms;
}

/* ─── Dark Mode ─── */
@media (prefers-color-scheme: dark) {
    :root {
        --surface:      #141420;
        --surface-alt:  #1c1c2e;
        --card:         #22223a;
        --text:         #e8e6e1;
        --text-soft:    #a0a0b4;
        --text-muted:   #6e6e82;
        --gold:         #ddc88a;
        --gold-light:   #eedd9f;
        --gold-dark:    #b8943d;
        --teal:         #5ec4bc;
        --teal-light:   #7ed8d2;
        --border:       rgba(255, 255, 255, 0.08);
        --border-strong: rgba(255, 255, 255, 0.14);
        --surface-rgb:  20, 20, 32;

        --shadow-sm: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.15);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.25), 0 1px 4px rgba(0,0,0,0.2);
        --shadow-lg: 0 12px 32px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.2);
    }
}

/* ═══════════════════════════════════════════════════════
   Base Reset
   ═══════════════════════════════════════════════════════ */

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--text);
    background-color: var(--surface);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.01em;
}

p { margin: 0 0 var(--sp-4); }
a { color: var(--gold-dark); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════════════════
   Layout
   ═══════════════════════════════════════════════════════ */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

/* ═══════════════════════════════════════════════════════
   Header & Navigation
   ═══════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--sp-5) 0;
    transition: background var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease),
                backdrop-filter var(--duration) var(--ease);
}

.header--scrolled {
    background: rgba(var(--surface-rgb), 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

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

.nav__brand {
    text-decoration: none;
}

.brand {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.brand__accent {
    color: var(--gold);
    margin-left: 0.15em;
}

.brand--footer {
    font-size: var(--text-lg);
}

.nav__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--sp-8);
}

.nav__link {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-soft);
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: var(--sp-2) 0;
    position: relative;
    transition: color var(--duration) var(--ease);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--duration) var(--ease);
}

.nav__link:hover,
.nav__link.active {
    color: var(--text);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--gold);
    color: var(--midnight) !important;
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
    background: var(--gold-dark);
    color: white !important;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-2);
    gap: 5px;
    z-index: 101;
}

.nav__toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 1px;
    transition: all var(--duration) var(--ease);
    transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}
.nav__toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ═══════════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--sp-20) 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 40%,
        rgba(var(--gold-rgb), 0.06) 0%,
        transparent 60%
    ),
    radial-gradient(
        ellipse 60% 50% at 80% 60%,
        rgba(var(--teal-rgb), 0.04) 0%,
        transparent 50%
    ),
    var(--surface);
}

/* Decorative faceted background shapes */
.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__facet {
    position: absolute;
    border: 1px solid rgba(var(--gold-rgb), 0.12);
    opacity: 1;
}

.hero__facet--left {
    width: 520px;
    height: 520px;
    left: -80px;
    top: 8%;
    transform: rotate(35deg);
    background: linear-gradient(135deg,
        rgba(var(--gold-rgb), 0.07) 0%,
        rgba(var(--gold-rgb), 0.02) 40%,
        transparent 70%);
    clip-path: polygon(50% 0%, 100% 30%, 85% 100%, 15% 100%, 0% 30%);
}

.hero__facet--right {
    width: 420px;
    height: 420px;
    right: -40px;
    bottom: 12%;
    transform: rotate(-20deg);
    border-color: rgba(var(--teal-rgb), 0.1);
    background: linear-gradient(135deg,
        rgba(var(--teal-rgb), 0.06) 0%,
        rgba(var(--sapphire-rgb), 0.03) 40%,
        transparent 70%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hero__content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--sp-6);
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: var(--sp-8);
    letter-spacing: -0.025em;
}

.hero__title--gem {
    color: var(--gold);
    font-style: italic;
}

.hero__description {
    font-size: var(--text-lg);
    color: var(--text-soft);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto var(--sp-10);
}

.hero__actions {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll-hint {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gold);
    color: var(--midnight);
}

.btn--primary:hover {
    background: var(--gold-dark);
    color: white;
    box-shadow: var(--shadow-glow-gold);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn--full {
    width: 100%;
    padding: var(--sp-4) var(--sp-6);
}

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

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════
   Section Common
   ═══════════════════════════════════════════════════════ */

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.02em;
    color: var(--gold);
    margin-bottom: var(--sp-3);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 600;
    margin-bottom: var(--sp-5);
    line-height: 1.15;
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-soft);
    line-height: 1.7;
    max-width: 600px;
}

.section-intro {
    margin-bottom: var(--sp-16);
}

/* ═══════════════════════════════════════════════════════
   Services Section
   ═══════════════════════════════════════════════════════ */

.services {
    padding: var(--sp-24) 0;
    background: var(--surface-alt);
    position: relative;
}

/* Subtle top border accent */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.services__split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--sp-8);
    align-items: start;
}

.services__divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
    padding-top: var(--sp-10);
}

.services__divider-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--border-strong),
        transparent
    );
}

.services__divider-symbol {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-style: italic;
    color: var(--gold);
    line-height: 1;
}

/* Service Domain Cards */
.service-domain {
    padding: var(--sp-10);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-slow) var(--ease);
}

.service-domain.visible:hover,
.service-domain:not(.reveal):hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.service-domain--gems.visible:hover {
    border-color: rgba(var(--gold-rgb), 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
}

.service-domain--digital.visible:hover {
    border-color: rgba(var(--teal-rgb), 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow-teal);
}

.service-domain__header {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}

.service-domain__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.service-domain--gems .service-domain__icon {
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.08);
}

.service-domain--digital .service-domain__icon {
    color: var(--teal);
    background: rgba(var(--teal-rgb), 0.08);
}

.service-domain__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
}

.service-domain__description {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
}

.service-domain__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.service-domain__list li {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-base);
    color: var(--text);
}

.service-domain--gems .service-domain__title { color: var(--gold-dark); }
.service-domain--digital .service-domain__title { color: var(--teal); }

/* Subtle top accent lines per domain */
.service-domain--gems { border-top: 2px solid rgba(var(--gold-rgb), 0.3); }
.service-domain--digital { border-top: 2px solid rgba(var(--teal-rgb), 0.3); }

.service-domain--gems .check-icon { color: var(--gold); }
.service-domain--digital .check-icon { color: var(--teal); }

/* ═══════════════════════════════════════════════════════
   About Section
   ═══════════════════════════════════════════════════════ */

.about {
    padding: var(--sp-24) 0;
    background: var(--surface);
}

.about__layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--sp-16);
    align-items: start;
}

.about__description {
    font-size: var(--text-lg);
    color: var(--text-soft);
    line-height: 1.8;
}

.about__quote {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
    border-left: 2px solid var(--gold);
    padding-left: var(--sp-5);
    margin: var(--sp-6) 0 0;
    line-height: 1.4;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

.value-card {
    padding: var(--sp-6);
    border-left: 2px solid var(--border);
    transition: all var(--duration) var(--ease);
    opacity: 0;
    transform: translateY(16px);
}

.about__values.visible .value-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--duration-slow) var(--ease),
                transform var(--duration-slow) var(--ease),
                border-left-color var(--duration) var(--ease);
}

.value-card:hover {
    border-left-color: var(--gold);
}

.value-card__number {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: var(--gold);
    font-weight: 600;
    margin-bottom: var(--sp-2);
    letter-spacing: 0.05em;
}

.value-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--sp-2);
}

.value-card__text {
    color: var(--text-soft);
    font-size: var(--text-base);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   Contact Section
   ═══════════════════════════════════════════════════════ */

.contact {
    padding: var(--sp-24) 0;
    background: var(--surface-alt);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-16);
    align-items: start;
}

.contact__description {
    font-size: var(--text-lg);
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: var(--sp-8);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.contact__item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-base);
    color: var(--text-soft);
}

.contact__item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Form */
.contact__form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}

.form-group {
    margin-bottom: var(--sp-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text);
    margin-bottom: var(--sp-2);
}

.form-optional {
    color: var(--text-muted);
    font-weight: 400;
}

.form-control {
    display: block;
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    line-height: 1.5;
    transition: border-color var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.12);
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e82' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--sp-3) center;
    padding-right: var(--sp-10);
}

@media (prefers-color-scheme: dark) {
    select.form-control {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    }
}

/* Status messages */
.status-message {
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius-md);
    margin-top: var(--sp-4);
    font-size: var(--text-sm);
    font-weight: 500;
}

.status-message--success {
    background: rgba(var(--teal-rgb), 0.1);
    color: var(--teal);
    border: 1px solid rgba(var(--teal-rgb), 0.2);
}

.status-message--error {
    background: rgba(192, 21, 47, 0.08);
    color: #c0152f;
    border: 1px solid rgba(192, 21, 47, 0.2);
}

@media (prefers-color-scheme: dark) {
    .status-message--error {
        color: #ff5459;
        background: rgba(255, 84, 89, 0.1);
        border-color: rgba(255, 84, 89, 0.2);
    }
}

/* ═══════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════ */

.footer {
    background: var(--midnight);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--sp-12) 0 var(--sp-8);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--sp-10);
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: var(--sp-6);
}

.brand--footer {
    color: rgba(255, 255, 255, 0.9);
}

.brand--footer .brand__accent {
    color: var(--gold);
}

.footer__tagline {
    font-size: var(--text-sm);
    margin-top: var(--sp-3);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.35);
}

.footer__col-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--sp-4);
}

.footer__col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.footer__col-list li {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}

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

.footer__copy {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   Reveal Animations
   ═══════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease),
                transform var(--duration-slow) var(--ease);
}

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

/* Hero entrance stagger */
.hero__content .hero__tagline   { transition-delay: 0ms; }
.hero__content .hero__title     { transition-delay: 120ms; }
.hero__content .hero__description { transition-delay: 240ms; }
.hero__content .hero__actions   { transition-delay: 380ms; }

/* Services stagger */
.services__split .reveal:nth-child(1) { transition-delay: 0ms; }
.services__split .reveal:nth-child(2) { transition-delay: 150ms; }
.services__split .reveal:nth-child(3) { transition-delay: 300ms; }

/* Value card stagger */
.about__values .value-card:nth-child(1) { transition-delay: 0ms; }
.about__values .value-card:nth-child(2) { transition-delay: 120ms; }
.about__values .value-card:nth-child(3) { transition-delay: 240ms; }

/* ═══════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .services__split {
        grid-template-columns: 1fr;
        gap: var(--sp-6);
    }

    .services__divider {
        flex-direction: row;
        padding-top: 0;
    }

    .services__divider-line {
        width: 60px;
        height: 1px;
    }

    .about__layout {
        grid-template-columns: 1fr;
        gap: var(--sp-12);
    }

    .contact__layout {
        grid-template-columns: 1fr;
        gap: var(--sp-10);
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--sp-8);
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration) var(--ease);
        z-index: 100;
    }

    .nav__menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__link {
        font-size: var(--text-lg);
    }

    .nav__link--cta {
        padding: var(--sp-3) var(--sp-8);
        font-size: var(--text-base);
    }

    .hero {
        min-height: 90vh;
        padding: var(--sp-16) 0;
    }

    .hero__facet--left,
    .hero__facet--right {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .services,
    .about,
    .contact {
        padding: var(--sp-16) 0;
    }

    .section-intro {
        margin-bottom: var(--sp-10);
    }

    .service-domain {
        padding: var(--sp-6);
    }

    .contact__form-wrap {
        padding: var(--sp-6);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: var(--sp-6);
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--sp-2);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl: 2rem;
        --text-3xl: 1.5rem;
    }

    .container {
        padding: 0 var(--sp-4);
    }

    .hero__scroll-hint {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════
   Focus & Accessibility
   ═══════════════════════════════════════════════════════ */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

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

/* ═══════════════════════════════════════════════════════
   Noise / texture overlay (subtle grain)
   ═══════════════════════════════════════════════════════ */

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}
