/* ═══════════════════════════════════════════════════════
   BT Media — Premium Design System
   Plato Creative-inspired / Dark & Confident
   Christchurch Graphic Design Agency
   ═══════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Instrument+Serif:ital@0;1&display=swap');

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

:root {
    /* Palette */
    --dark: #0e1111;
    --dark-mid: #1a1d1e;
    --dark-light: #2a2d2e;
    --primary: #ef3b24;
    --primary-dark: #c93a2c;
    --accent: #D4917B;
    --accent-light: #e4b5a3;
    --paper: #F6F4F0;
    --white: #FFFFFF;
    --grey-100: #f0eeea;
    --grey-200: #e4e0db;
    --grey-300: #c8c3bc;
    --grey-400: #9b9590;
    --grey-500: #6e6963;

    /* Typography */
    --heading: 'Sora', system-ui, -apple-system, sans-serif;
    --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --serif: 'DM Serif Display', Georgia, serif;

    /* Layout */
    --nav-height: 76px;
    --section-pad: clamp(100px, 14vw, 160px);
    --container: 1300px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--sans);
    color: var(--dark);
    background: var(--dark);
    font-size: 0.95rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Grain Overlay ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background: 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");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container--narrow { max-width: 800px; }
.container--wide { max-width: 1440px; }


/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */

h1, h2, h3, h4 {
    font-family: var(--heading);
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    letter-spacing: -0.03em;
    font-weight: 700;
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: -0.01em;
}

h4 {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--grey-500);
    line-height: 1.7;
}

/* Section label — small uppercase accent */
.section-label {
    display: inline-block;
    font-family: var(--heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.section-label--light { color: var(--accent-light); }
.section-label--white { color: rgba(255,255,255,0.5); }

.highlight { color: var(--primary); }
.highlight-italic {
    color: var(--primary);
    font-family: var(--serif);
    font-style: italic;
}

.text-serif-italic {
    font-family: var(--serif);
    font-style: italic;
}


/* ═══════════════════════════════════════════════════════
   SECTION VARIANTS
   ═══════════════════════════════════════════════════════ */

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section--dark-mid {
    background: var(--dark-mid);
    color: var(--white);
}

.section--light {
    background: var(--paper);
    color: var(--dark);
}

.section--white {
    background: var(--white);
    color: var(--dark);
}

.section--dark p { color: rgba(255,255,255,0.6); }
.section--dark-mid p { color: rgba(255,255,255,0.6); }
.section--light p { color: var(--grey-500); }
.section--white p { color: var(--grey-500); }

/* ── Divider ── */
.divider {
    border: none;
    height: 1px;
    background: var(--grey-200);
}

.divider--dark {
    background: rgba(255,255,255,0.08);
}


/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(232, 69, 53, 0.25);
}

.btn--primary:hover {
    box-shadow: 0 8px 36px rgba(232, 69, 53, 0.4);
    background: var(--primary-dark);
}

.btn--secondary {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--dark);
}

.btn--secondary:hover {
    background: var(--dark);
    color: var(--white);
}

.btn--secondary-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
}

.btn--secondary-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.7);
}

.btn--accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(212, 145, 123, 0.25);
}

.btn--accent:hover {
    box-shadow: 0 8px 32px rgba(212, 145, 123, 0.4);
}

.btn--sm {
    padding: 0.65rem 1.5rem;
    font-size: 0.82rem;
}

.btn--lg {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}


/* ═══════════════════════════════════════════════════════
   NAVIGATION — Plato-style
   ═══════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: var(--primary);
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* Scrolled state */
.nav.is-scrolled {
    background: var(--primary);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav__logo {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: -0.02em;
    transition: color 0.4s var(--ease);
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.nav.is-scrolled .nav__logo { color: var(--white); }

.nav__logo-dot { color: var(--accent); }

.nav__logo img {
    height: 40px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav__link {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--white);
    transition: width 0.3s var(--ease);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__link--active { color: var(--white) !important; font-weight: 600; }
.nav__link--active::after { width: 100%; background: var(--white); }

.nav.is-scrolled .nav__link { color: rgba(255,255,255,0.88); }
.nav.is-scrolled .nav__link:hover { color: var(--white); }
.nav.is-scrolled .nav__link--active { color: var(--white) !important; }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 100px;
    color: var(--white) !important;
    font-weight: 500;
    font-size: 14px;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
    white-space: nowrap;
}

.nav__cta:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.nav__cta svg { transition: transform 0.3s ease; }
.nav__cta:hover svg { transform: translateX(3px); }

/* ── Hamburger ── */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.nav__hamburger span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}

.nav.is-scrolled .nav__hamburger span { background: var(--white); }

.nav__hamburger.active span { background: var(--white); }
.nav__hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Mobile Menu — full-screen dark overlay ── */
.nav__mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.nav__mobile-menu.active {
    display: flex;
    opacity: 1;
}

.nav__mobile-menu a {
    font-family: var(--heading);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s var(--ease);
    letter-spacing: -0.02em;
}

.nav__mobile-menu a:hover { color: var(--primary); }

.nav__mobile-menu .nav__cta {
    margin-top: 1rem;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
}


/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero--dark {
    background: var(--dark);
    color: var(--white);
}

.hero--light {
    background: var(--paper);
    color: var(--dark);
}

/* Subtle gradient behind hero */
.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 60%, rgba(232, 69, 53, 0.08) 0%, transparent 70%),
                radial-gradient(ellipse 50% 50% at 80% 30%, rgba(212, 145, 123, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 6vw, 5rem);
    width: 100%;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: clamp(3rem, 8vw, 6rem) 0;
    flex-shrink: 0;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.75rem;
}

.hero--light h1 { color: var(--dark); }

.hero h1 em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent-light);
    font-weight: 400;
}

.hero--light h1 em { color: var(--primary); }

.hero__sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero--light .hero__sub { color: var(--grey-500); }

/* 3D Asset / Visual Area */
.hero__asset {
    position: relative;
    width: 45%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    flex-shrink: 0;
}

.hero__asset-placeholder {
    width: 85%;
    aspect-ratio: 1;
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.12);
    font-family: var(--heading);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: radial-gradient(circle at 30% 30%, rgba(232, 69, 53, 0.1), transparent 70%);
}


/* ═══════════════════════════════════════════════════════
   MARQUEE — Horizontal scrolling text band
   ═══════════════════════════════════════════════════════ */

.marquee {
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
}

.marquee--light {
    background: var(--paper);
    border-top-color: var(--grey-200);
    border-bottom-color: var(--grey-200);
}

.marquee__track {
    display: inline-flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    animation: marquee-scroll 30s linear infinite;
    will-change: transform;
}

.marquee__track span {
    font-family: var(--heading);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

.marquee--light .marquee__track span {
    color: rgba(14, 17, 17, 0.08);
}

.marquee__track .marquee__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════════════
   SPLIT LAYOUT — Image + Text side-by-side
   ═══════════════════════════════════════════════════════ */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.split--60-40 {
    grid-template-columns: 3fr 2fr;
}

.split--40-60 {
    grid-template-columns: 2fr 3fr;
}

.split--reverse {
    direction: rtl;
}

.split--reverse > * {
    direction: ltr;
}

.split__image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split__content h2 { margin-bottom: 1.25rem; }
.split__content h3 { margin-bottom: 1rem; }
.split__content p { margin-bottom: 1rem; }

.split__content .btn-group {
    margin-top: 2rem;
}


/* ═══════════════════════════════════════════════════════
   WORK / PORTFOLIO
   ═══════════════════════════════════════════════════════ */

.work {
    padding: var(--section-pad) 0;
}

.work__header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 2vw, 2rem);
}

/* Work card with full-bleed image */
.work-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--dark-mid);
    cursor: pointer;
    group: true;
}

.work-card__image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.work-card:hover .work-card__image img {
    transform: scale(1.05);
}

/* Overlay on hover */
.work-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 17, 17, 0.85) 0%, rgba(14, 17, 17, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-card__overlay {
    opacity: 1;
}

.work-card__title {
    font-family: var(--heading);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.3rem;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease-out);
}

.work-card:hover .work-card__title { transform: translateY(0); }

.work-card__tag {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    letter-spacing: 0.03em;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease-out) 0.05s;
}

.work-card:hover .work-card__tag { transform: translateY(0); }

/* Simple card variant (no overlay, always visible info) */
.work__card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    will-change: transform;
}

.work__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.work__card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.work__card-info {
    padding: 1.5rem 1.75rem;
}

.work__card-title {
    font-family: var(--heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.work__card-tag {
    font-size: 0.75rem;
    color: var(--grey-400);
    font-weight: 400;
}

.work__cta {
    text-align: center;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}


/* ═══════════════════════════════════════════════════════
   SERVICES — Plato-style
   ═══════════════════════════════════════════════════════ */

.services {
    padding: var(--section-pad) 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Service card on dark bg */
.service-card {
    background: var(--dark-mid);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    border: 1px solid rgba(255,255,255,0.06);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: rgba(232, 69, 53, 0.3);
}

/* Service card on light bg */
.service-card--light {
    background: var(--white);
    border: 1px solid var(--grey-200);
}

.service-card--light:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--grey-300);
}

.service-card__number {
    font-family: var(--heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(232, 69, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.3rem;
}

.service-card--light .service-card__icon {
    background: rgba(232, 69, 53, 0.08);
}

.service-card h4 {
    margin-bottom: 0.75rem;
    color: var(--white);
}

.service-card--light h4 { color: var(--dark); }

.service-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.7;
}

.service-card--light p { color: var(--grey-500); }

/* Full-width numbered service row */
.service-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.service-row:last-child { border-bottom: none; }

.service-row__number {
    font-family: var(--heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    min-width: 60px;
}

.service-row__content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.service-row__content p {
    color: rgba(255,255,255,0.5);
    max-width: 500px;
    margin: 0;
}

.service-row__arrow {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.2);
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
    padding-top: 0.25rem;
}

.service-row:hover .service-row__arrow {
    color: var(--primary);
    transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */

.about {
    padding: var(--section-pad) 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.about__image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--dark-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    font-size: 0.8rem;
}

.about__text h3 { margin-bottom: 1.25rem; }
.about__text p { color: rgba(255,255,255,0.55); }

.section--light .about__text p { color: var(--grey-500); }

.about__highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about__highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.92rem;
}

.about__highlight-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(232, 69, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.72rem;
    margin-top: 0.1rem;
}


/* ═══════════════════════════════════════════════════════
   PROCESS — Dark bg, numbered steps
   ═══════════════════════════════════════════════════════ */

.process {
    padding: var(--section-pad) 0;
    background: var(--dark);
    color: var(--white);
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(3rem, 5vw, 4rem);
}

.process__step {
    position: relative;
    text-align: left;
}

.process__number {
    font-family: var(--heading);
    font-size: clamp(3.5rem, 5vw, 5rem);
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    margin-bottom: 1rem;
}

.process__step h4 {
    font-family: var(--heading);
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.process__step p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin: 0;
}

.process__cta {
    text-align: center;
    margin-top: clamp(3rem, 5vw, 4rem);
}

.process__cta p {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}


/* ═══════════════════════════════════════════════════════
   TESTIMONIALS — Large centered quotes
   ═══════════════════════════════════════════════════════ */

.testimonials {
    padding: var(--section-pad) 0;
}

/* Single large centered testimonial */
.testimonial--featured {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.testimonial--featured blockquote {
    font-family: var(--heading);
    font-style: normal;
    font-weight: 300;
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 2rem;
}

.section--light .testimonial--featured blockquote { color: var(--dark); }

.testimonial--featured .testimonial__author {
    font-family: var(--heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
}

.section--light .testimonial--featured .testimonial__author { color: var(--dark); }

.testimonial--featured .testimonial__role {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

.section--light .testimonial--featured .testimonial__role { color: var(--grey-400); }

/* Grid of testimonial cards */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.testimonial-card {
    background: var(--dark-mid);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.3s var(--ease);
}

.testimonial-card:hover {
    border-color: rgba(255,255,255,0.12);
}

/* On light bg */
.testimonial-card--light {
    background: var(--white);
    border: 1px solid var(--grey-200);
}

.testimonial-card--light:hover {
    border-color: var(--grey-300);
}

.testimonial-card__quote {
    font-family: var(--serif);
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
}

.testimonial-card p {
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-card--light p { color: var(--grey-500); }

.testimonial-card__author {
    display: flex;
    flex-direction: column;
}

.testimonial-card__name {
    font-family: var(--heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--white);
}

.testimonial-card--light .testimonial-card__name { color: var(--dark); }

.testimonial-card__role {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

.testimonial-card--light .testimonial-card__role { color: var(--grey-400); }


/* ═══════════════════════════════════════════════════════
   CLIENT LOGOS
   ═══════════════════════════════════════════════════════ */

.logos {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logos--light {
    border-top-color: var(--grey-200);
    border-bottom-color: var(--grey-200);
}

.logos__label {
    text-align: center;
    font-family: var(--heading);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 2rem;
}

.logos--light .logos__label { color: var(--grey-400); }

.logos__strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2.5rem, 5vw, 4rem);
    flex-wrap: wrap;
}

.logos__strip img {
    height: 28px;
    opacity: 0.3;
    filter: grayscale(100%) brightness(2);
    transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}

.logos--light .logos__strip img {
    filter: grayscale(100%);
    opacity: 0.35;
}

.logos__strip img:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

.logos--light .logos__strip img:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}


/* ═══════════════════════════════════════════════════════
   CONTACT — Plato-style underline inputs
   ═══════════════════════════════════════════════════════ */

.contact {
    padding: var(--section-pad) 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.contact__info h3 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.contact__info p { color: rgba(255,255,255,0.5); }
.section--light .contact__info p { color: var(--grey-500); }

.contact__details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.92rem;
}

.contact__detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(232, 69, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ── Contact Form ── */
.contact__form {
    position: relative;
}

/* On dark bg */
.contact__form--dark {
    background: var(--dark-mid);
    border-radius: 16px;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(255,255,255,0.06);
}

/* On light bg */
.contact__form--light {
    background: var(--white);
    border-radius: 16px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    border: 1px solid var(--grey-200);
}

/* Classic boxed inputs */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    font-family: var(--heading);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.section--light .form-group label,
.contact__form--light .form-group label {
    color: var(--grey-400);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 0.92rem;
    color: var(--white);
    background: rgba(255,255,255,0.04);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    outline: none;
}

.contact__form--light .form-group input,
.contact__form--light .form-group select,
.contact__form--light .form-group textarea,
.section--light .form-group input,
.section--light .form-group select,
.section--light .form-group textarea {
    color: var(--dark);
    background: var(--paper);
    border-color: var(--grey-200);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 69, 53, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.25);
}

.contact__form--light .form-group input::placeholder,
.contact__form--light .form-group textarea::placeholder {
    color: var(--grey-300);
}

/* ── Floating Label Inputs — Plato-style underline ── */
.form-floating {
    position: relative;
    margin-bottom: 2rem;
}

.form-floating input,
.form-floating textarea {
    width: 100%;
    padding: 1.25rem 0 0.75rem 0;
    border: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 0;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--white);
    background: transparent;
    outline: none;
    transition: border-color 0.3s var(--ease);
}

.section--light .form-floating input,
.section--light .form-floating textarea,
.contact__form--light .form-floating input,
.contact__form--light .form-floating textarea {
    color: var(--dark);
    border-bottom-color: var(--grey-200);
}

.form-floating label {
    position: absolute;
    top: 1.25rem;
    left: 0;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.35);
    pointer-events: none;
    transition: top 0.3s var(--ease), font-size 0.3s var(--ease), color 0.3s var(--ease);
}

.section--light .form-floating label,
.contact__form--light .form-floating label {
    color: var(--grey-400);
}

.form-floating input:focus,
.form-floating textarea:focus {
    border-bottom-color: var(--primary);
}

.form-floating input:focus + label,
.form-floating input:not(:placeholder-shown) + label,
.form-floating textarea:focus + label,
.form-floating textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.72rem;
    color: var(--primary);
}

.form-floating textarea {
    resize: vertical;
    min-height: 80px;
}

.contact__form .btn { width: 100%; justify-content: center; }


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
    background: var(--dark);
    padding: clamp(3rem, 6vw, 5rem) 0 2rem;
    color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer__brand {}

.footer__logo {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer__logo span { color: var(--accent); }

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    max-width: 300px;
    line-height: 1.6;
    margin: 0;
}

.footer__nav {
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    justify-content: flex-end;
}

.footer__nav-col {}

.footer__nav-title {
    font-family: var(--heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}

.footer__nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer__link {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s var(--ease);
}

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

/* Newsletter */
.footer__newsletter {
    margin-top: 1.5rem;
}

.footer__newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer__newsletter-form input {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s var(--ease);
}

.footer__newsletter-form input:focus {
    border-color: var(--primary);
}

.footer__newsletter-form input::placeholder {
    color: rgba(255,255,255,0.25);
}

.footer__newsletter-form button {
    padding: 0.65rem 1.25rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.3s var(--ease);
}

.footer__newsletter-form button:hover {
    background: var(--primary-dark);
}

/* Social */
.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}

.footer__social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(232, 69, 53, 0.08);
}

/* Bottom bar */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-links a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s var(--ease);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.6); }


/* ═══════════════════════════════════════════════════════
   INLINE CTA / BANNERS
   ═══════════════════════════════════════════════════════ */

.inline-cta {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.inline-cta p {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 2rem;
}


/* ═══════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════ */

.loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease);
}

.loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader__logo {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    letter-spacing: -0.02em;
}

.loader__logo span { color: var(--accent); }


/* ═══════════════════════════════════════════════════════
   ANIMATIONS & REVEALS
   ═══════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Staggered grid items */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.35s; }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.active > *:nth-child(7) { transition-delay: 0.45s; }
.reveal-stagger.active > *:nth-child(8) { transition-delay: 0.5s; }

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Fade only (no translate) */
.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out);
}

.reveal-fade.active { opacity: 1; }


/* ═══════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }

    .reveal,
    .reveal-stagger > *,
    .reveal-fade {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .marquee__track {
        animation: none;
    }

    .work-card__image img,
    .work-card__overlay,
    .work-card__title,
    .work-card__tag {
        transition: none;
        transform: none;
    }

    .work-card__overlay { opacity: 1; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero__asset { display: none; }
    .hero__content { max-width: 100%; }

    .split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .split--reverse { direction: ltr; }

    .about__grid { grid-template-columns: 1fr; }
    .about__image { max-width: 480px; }

    .process__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

    .work__grid { grid-template-columns: repeat(2, 1fr); }

    .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer__nav { justify-content: flex-start; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }

    .work__grid { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: 1fr; }

    .contact__grid { grid-template-columns: 1fr; }
    .contact__form--dark,
    .contact__form--light { padding: 1.75rem; }

    .service-row {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }

    .service-row__arrow { display: none; }

    .footer__nav { flex-wrap: wrap; gap: 2rem; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .footer__bottom-links { justify-content: center; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 640px
   ═══════════════════════════════════════════════════════ */

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

    .logos__strip { gap: 1.5rem; }
    .logos__strip img { height: 22px; }

    .service-card { padding: 2rem; }
    .testimonial-card { padding: 2rem; }

    .footer__newsletter-form { flex-direction: column; }

    .btn { padding: 0.9rem 2rem; }
    .btn--lg { padding: 1rem 2.5rem; }
}
