/* =========================================================
   CASUC Services — Design tokens
   ========================================================= */
:root {
    --ink-950: #060B16;
    --ink-900: #0A1222;
    --ink-850: #0D172B;
    --ink-800: #111D35;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);

    --heading: #FFFFFF;
    --text: #EEF2F8;
    --text-soft: rgba(226, 232, 242, 0.78);
    --muted: rgba(226, 232, 242, 0.56);

    --gold: #F2B33D;
    --gold-deep: #D9921F;
    --gold-soft: rgba(242, 179, 61, 0.12);
    --accent: var(--gold);
    --blue: #3474C4;
    --violet: #6A3FB5;
    --graphite: #121316;
    --sand: #F3ECDF;
    --cream: #FAF7F1;

    --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Base
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--ink-950);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Film grain for depth */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, p, figure {
    margin: 0;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--heading);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--gold);
    color: var(--ink-950);
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.text-gold {
    background: linear-gradient(100deg, #FFD27A 0%, var(--gold) 45%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Scroll progress */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 70;
    background: linear-gradient(90deg, var(--violet), var(--blue), var(--gold));
    transform-origin: 0 50%;
    transform: scaleX(var(--progress, 0));
}

/* =========================================================
   Section colour themes
   ========================================================= */
.theme-light,
.theme-sand,
.theme-cream {
    --heading: #0E1424;
    --text: #1F2635;
    --text-soft: #4A5366;
    --muted: #7C8496;
    --line: rgba(14, 20, 36, 0.09);
    --line-strong: rgba(14, 20, 36, 0.16);
    --accent: var(--violet);
    color: var(--text);
}

.theme-light { background: #FFFFFF; }

.theme-sand {
    --heading: #1C170F;
    --text-soft: #5A5144;
    --muted: #8C8273;
    --line: rgba(70, 52, 20, 0.12);
    --line-strong: rgba(70, 52, 20, 0.2);
    --accent: #B7790C;
    background: var(--sand);
}

.theme-cream {
    --accent: #B7790C;
    background: var(--cream);
}

.theme-graphite {
    --accent: var(--gold);
    background: var(--graphite);
}

.theme-blue {
    --heading: #FFFFFF;
    --text-soft: rgba(255, 255, 255, 0.84);
    --muted: rgba(255, 255, 255, 0.64);
    --line: rgba(255, 255, 255, 0.18);
    --line-strong: rgba(255, 255, 255, 0.3);
    --accent: #FFD27A;
    background: linear-gradient(160deg, #2F6DB8 0%, #24599C 100%);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    --pad-y: 15px;
    --pad-x: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--pad-y) var(--pad-x);
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn .icon {
    transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, #FFC75A, var(--gold) 50%, var(--gold-deep));
    color: #1A1204;
    box-shadow: 0 10px 30px -8px rgba(242, 179, 61, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px -10px rgba(242, 179, 61, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    --pad-y: 10px;
    --pad-x: 18px;
    font-size: 0.88rem;
}

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(6, 11, 22, 0.72);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-bottom-color: var(--line);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner {
    height: 64px;
}

.logo {
    position: relative;
    z-index: 2;
    margin-right: auto;
}

.logo-img {
    height: 46px;
    width: auto;
    transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .logo-img {
    height: 38px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-soft);
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-link:hover {
    color: #fff;
}

.nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.nav-toggle-bar {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.nav-toggle-bar:nth-child(1) { top: 17px; }
.nav-toggle-bar:nth-child(2) { top: 25px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 60px) 0 140px;
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    transform: scale(1.12);
    animation: kenburns 24s var(--ease) forwards;
    will-change: transform;
}

@keyframes kenburns {
    from { transform: scale(1.18) translate3d(1.5%, 0, 0); }
    to   { transform: scale(1.04) translate3d(0, 0, 0); }
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(120% 80% at 0% 100%, rgba(6, 11, 22, 0.95) 0%, rgba(6, 11, 22, 0) 60%),
        linear-gradient(90deg, rgba(6, 11, 22, 0.94) 0%, rgba(6, 11, 22, 0.72) 42%, rgba(6, 11, 22, 0.25) 100%),
        linear-gradient(180deg, rgba(6, 11, 22, 0.6) 0%, rgba(6, 11, 22, 0) 30%, rgba(6, 11, 22, 0) 65%, var(--ink-950) 100%);
}

.hero-lines {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: calc(100% / 6) 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero-content {
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 7px 14px 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.pulse-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    animation: pulse 2.2s var(--ease) infinite;
}

@keyframes pulse {
    0%   { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 6.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.98;
    max-width: 14ch;
    margin-bottom: 30px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
}

.hero-title .line > span {
    display: inline-block;
}

.hero-subtitle {
    max-width: 540px;
    margin-bottom: 40px;
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    color: var(--text-soft);
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero entrance */
.js .hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: rise 1.1s var(--ease) forwards;
    animation-delay: calc(0.15s + var(--d, 0) * 0.11s);
}

.js .hero-title .hero-anim {
    transform: translateY(105%);
}

@keyframes rise {
    to { opacity: 1; transform: none; }
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 96px;
    width: 46px;
    height: 46px;
    margin-left: -23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--text-soft);
    transition: border-color 0.3s, color 0.3s;
}

.scroll-indicator:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.scroll-indicator .icon {
    animation: nudge 2s var(--ease) infinite;
}

@keyframes nudge {
    0%, 100% { transform: translateY(-2px); }
    50%      { transform: translateY(4px); }
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
    position: relative;
    z-index: 2;
    margin-top: -64px;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: rgba(6, 11, 22, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    padding: 20px 0;
    animation: marquee 50s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--text-soft);
    white-space: nowrap;
}

.marquee-track i {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background: var(--gold);
    flex-shrink: 0;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* =========================================================
   Sections — shared
   ========================================================= */
.section {
    position: relative;
    padding-block: clamp(80px, 11vw, 150px);
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head--center {
    align-items: center;
    text-align: center;
}

.section-index {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.section-index::after {
    content: '';
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
    max-width: 18ch;
}

.section-text {
    max-width: 620px;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.75;
}

.lead {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: var(--heading);
    margin-bottom: 28px;
}

/* Scroll reveal */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* =========================================================
   About + Vision/Mission
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.about-media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 80px -36px rgba(14, 20, 36, 0.45);
}

.about-image {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    will-change: transform;
}

.about-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 11, 22, 0.85));
}

.about-badge {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(6, 11, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.about-badge .icon {
    color: var(--gold);
    margin-top: 1px;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(64px, 9vw, 120px);
}

.vm-card {
    position: relative;
    padding: clamp(28px, 3.5vw, 48px);
    border-radius: var(--radius-lg);
    background: #F5F6FA;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 63, 181, 0.14), transparent 65%);
    transition: opacity 0.5s var(--ease);
    opacity: 0.6;
}

.vm-card:hover {
    border-color: rgba(106, 63, 181, 0.35);
    box-shadow: 0 30px 60px -30px rgba(14, 20, 36, 0.3);
    transform: translateY(-4px);
}

.vm-card:hover::before {
    opacity: 1;
}

.vm-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 32px;
    border-radius: 16px;
    background: var(--violet);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 12px 24px -10px rgba(106, 63, 181, 0.6);
}

.vm-card + .vm-card .vm-icon {
    background: var(--blue);
    box-shadow: 0 12px 24px -10px rgba(52, 116, 196, 0.6);
}

.card-title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 16px;
}

.card-text {
    position: relative;
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.75;
}

/* =========================================================
   Services
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: #1A1B1F;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(242, 179, 61, 0.1), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 179, 61, 0.4);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.service-card:hover::before { opacity: 1; }

.service-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #23252A;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.service-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 27, 31, 0) 50%, #1A1B1F 100%);
}

.service-card:hover .service-media img {
    transform: scale(1.07);
}

.service-body {
    position: relative;
    z-index: 2;
    padding: 0 clamp(22px, 2.4vw, 30px) clamp(24px, 2.6vw, 32px);
}

.service-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: -28px;
    margin-bottom: 22px;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gold);
    color: #1A1204;
    font-size: 1.2rem;
    box-shadow: 0 14px 28px -10px rgba(242, 179, 61, 0.6);
    transition: transform 0.5s var(--ease);
}

.service-card:hover .service-icon {
    transform: rotate(-6deg) scale(1.06);
}

.service-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.service-text {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================================
   Equipment
   ========================================================= */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.equipment-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: #FFFFFF;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(70, 52, 20, 0.04);
    transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.equipment-card:hover {
    transform: translateY(-6px);
    border-color: rgba(183, 121, 12, 0.4);
    box-shadow: 0 30px 60px -30px rgba(70, 52, 20, 0.45);
}

.equipment-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink-800);
}

.equipment-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.equipment-card:hover .equipment-media img {
    transform: scale(1.07);
}

.equipment-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 35%);
}

.equipment-tag {
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(6, 11, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.equipment-body {
    padding: 22px 22px 26px;
}

.equipment-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.equipment-text {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* =========================================================
   Carousel
   ========================================================= */
.section-carousel {
    padding-top: 0;
}

.carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #2A2620;
    box-shadow: 0 50px 100px -40px rgba(70, 52, 20, 0.55);
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    transition: transform 0.9s var(--ease);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 6s linear;
}

.carousel-slide.is-active .slide-image {
    transform: scale(1);
}

.carousel-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(20px, 3vw, 36px);
    background: linear-gradient(180deg, transparent, rgba(6, 11, 22, 0.88));
    pointer-events: none;
}

.carousel-meta {
    max-width: 640px;
}

.carousel-count {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.62);
}

.carousel-count b {
    color: var(--gold);
    font-weight: 500;
}

.carousel-caption {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #fff;
}

.carousel-controls {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.carousel-control {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(6, 11, 22, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.carousel-control:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

.carousel-progress {
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.carousel-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--gold);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.carousel-progress span.is-running {
    animation: progress var(--duration, 6s) linear forwards;
}

.carousel.is-paused .carousel-progress span {
    animation-play-state: paused;
}

@keyframes progress {
    to { transform: scaleX(1); }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: var(--line-strong);
    cursor: pointer;
    transition: width 0.5s var(--ease), background 0.5s var(--ease);
}

.carousel-dot[aria-selected="true"] {
    width: 56px;
    background: var(--accent);
}

/* =========================================================
   Industries
   ========================================================= */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.industry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 56px;
    min-height: 220px;
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    overflow: hidden;
    transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.industry-card::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.6s var(--ease);
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--line-strong);
    transform: translateY(-4px);
}

.industry-card:hover::after {
    transform: scaleX(1);
}

.industry-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #FFFFFF;
    color: var(--blue);
    font-size: 1.6rem;
    box-shadow: 0 14px 30px -12px rgba(6, 11, 22, 0.5);
}

.industry-icon .icon {
    stroke-width: 1.3;
}

.industry-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
}

/* =========================================================
   Quality
   ========================================================= */
.section-quality {
    overflow: hidden;
}

.section-quality::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(900px, 120vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 179, 61, 0.18), rgba(106, 63, 181, 0.06) 40%, transparent 70%);
    pointer-events: none;
}

.quality-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quality-inner .section-title {
    max-width: 20ch;
}

.quality-statement {
    max-width: 26ch;
    margin-bottom: 32px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.2vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--heading);
    text-wrap: balance;
}

.quality-statement em {
    font-style: normal;
    background: linear-gradient(100deg, #E8A21E, #C9840C 50%, #A86A06);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quality-inner .section-text {
    margin-inline: auto;
}

/* =========================================================
   Impact
   ========================================================= */
.section-impact {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding-block: 140px;
    overflow: hidden;
    isolation: isolate;
}

.impact-bg {
    position: absolute;
    inset: -12% 0;
    z-index: -2;
    width: 100%;
    height: 124%;
    object-fit: cover;
    will-change: transform;
}

.impact-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(6, 11, 22, 0.35) 0%, rgba(6, 11, 22, 0.1) 30%, rgba(6, 11, 22, 0.2) 75%, rgba(6, 11, 22, 0.55) 100%),
        linear-gradient(90deg, rgba(6, 11, 22, 0.8), rgba(6, 11, 22, 0) 70%);
}

.impact-title {
    max-width: 12ch;
    margin-bottom: 28px;
    font-size: clamp(2.8rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.impact-text {
    max-width: 560px;
    margin-bottom: 40px;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-soft);
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: stretch;
}

.contact-item {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gold);
    color: #1A1204;
    flex-shrink: 0;
    box-shadow: 0 10px 22px -10px rgba(217, 146, 31, 0.7);
}

.contact-text {
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.7;
}

.contact-text strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-text a {
    color: var(--heading);
    font-weight: 500;
    background-image: linear-gradient(var(--gold), var(--gold));
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.5s var(--ease), color 0.3s;
}

.contact-text a:hover {
    color: var(--violet);
    background-size: 100% 1px;
}

.contact-map {
    position: relative;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #E9E4DA;
    box-shadow: 0 40px 80px -40px rgba(70, 52, 20, 0.4);
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    position: relative;
    padding-top: 88px;
    background:
        radial-gradient(50% 120% at 100% 0%, rgba(106, 63, 181, 0.2), transparent 60%),
        radial-gradient(40% 100% at 0% 100%, rgba(52, 116, 196, 0.14), transparent 60%),
        var(--graphite);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--violet), var(--blue) 45%, var(--gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 360px;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-nav a,
.footer-contact a {
    width: fit-content;
    color: var(--text-soft);
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact span {
    color: var(--muted);
}

.footer-nav::before,
.footer-contact::before {
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-nav::before { content: 'Menu'; }
.footer-contact::before { content: 'Contact'; }

.credits-link {
    margin-left: 12px;
    color: var(--text-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.credits-link:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
}

.to-top {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--text-soft);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.to-top .icon {
    transform: rotate(-45deg);
}

.to-top:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink-950);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .industries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-cta { display: none; }
}

@media (max-width: 900px) {
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-media {
        aspect-ratio: 4 / 3;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        aspect-ratio: 16 / 10;
    }

    /* Mobile navigation */
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        padding: var(--header-h) var(--gutter) 40px;
        border: 0;
        border-radius: 0;
        background: rgba(6, 11, 22, 0.97);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease), visibility 0.4s;
    }

    .site-nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 14px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        font-family: var(--font-display);
        font-size: clamp(1.8rem, 8vw, 2.6rem);
        font-weight: 600;
        letter-spacing: -0.03em;
        color: var(--text);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
    }

    .nav-link.is-active {
        background: none;
        color: var(--gold);
    }

    .site-nav.open .nav-link {
        opacity: 1;
        transform: none;
    }

    .site-nav.open .nav-link:nth-child(2) { transition-delay: 0.05s; }
    .site-nav.open .nav-link:nth-child(3) { transition-delay: 0.1s; }
    .site-nav.open .nav-link:nth-child(4) { transition-delay: 0.15s; }
    .site-nav.open .nav-link:nth-child(5) { transition-delay: 0.2s; }
    .site-nav.open .nav-link:nth-child(6) { transition-delay: 0.25s; }

    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    :root { --header-h: 68px; }

    .logo-img { height: 38px; }

    .hero {
        align-items: flex-end;
        padding-bottom: 130px;
    }

    .hero-shade {
        background:
            linear-gradient(180deg, rgba(6, 11, 22, 0.55) 0%, rgba(6, 11, 22, 0.5) 35%, rgba(6, 11, 22, 0.92) 75%, var(--ink-950) 100%);
    }

    .hero-cta .btn {
        flex: 1 1 auto;
    }

    .scroll-indicator { display: none; }

    .services-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industry-card:last-child {
        grid-column: 1 / -1;
        min-height: 140px;
    }

    .industry-card {
        min-height: 170px;
        gap: 32px;
        padding: 22px 18px;
    }

    .carousel-slide { aspect-ratio: 4 / 5; }

    .carousel-overlay {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-map { min-height: 320px; }

    .footer-bottom { flex-direction: row; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-track { animation: none; }
}
