/* =========================================================================
   RWOTH CRAFT AGENCY — MASTER STYLESHEET
   Inspiration: Lando Norris × cinematic agency studios
   Palette: Deep black, off-white, lime green accent
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
    --bg: #f5f3ee;          /* warm off-white */
    --bg-dark: #0a0a0a;     /* deep black */
    --bg-darker: #050505;
    --ink: #0a0a0a;
    --ink-soft: #2a2a2a;
    --line: rgba(0, 0, 0, 0.08);
    --line-light: rgba(255, 255, 255, 0.1);
    --muted: #8a8a8a;
    --muted-dark: #555;

    --accent: #87e64b;       /* electric lime green */
    --accent-soft: #a0f060;
    --accent-glow: rgba(135, 230, 75, 0.3);

    --radius: 20px;
    --radius-lg: 32px;
    --radius-sm: 12px;

    --font-display: "Anton", "Bebas Neue", Impact, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --container: 1400px;
    --pad: clamp(20px, 5vw, 80px);

    --nav-h: 80px;
}

/* -------------------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: transparent; border: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #0a0a0a; }

/* -------------------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 0.95;
    text-transform: uppercase;
}
h1 { font-size: clamp(3.5rem, 12vw, 14rem); }
h2 { font-size: clamp(2.5rem, 7vw, 6rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: 0; }

p { font-size: 1.05rem; line-height: 1.55; color: var(--ink-soft); font-weight: 400; }
strong { font-weight: 600; }

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted-dark);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    background: currentColor;
}
.dark .eyebrow { color: var(--muted); }
.dark .eyebrow::before { background: var(--accent); }

/* Split-text reveal masks */
.reveal-line { overflow: hidden; display: block; }
.reveal-line .line, .reveal-line .word { display: inline-block; will-change: transform; }
.split-mask { overflow: hidden; }
.split-mask > * { display: block; }

/* -------------------------------------------------------------------------
   4. UTILITY
   ------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.text-center { text-align: center; }
.dark { background: var(--bg-dark); color: #fff; }
.dark p { color: rgba(255, 255, 255, 0.85); }
.dark h1, .dark h2, .dark h3 { color: #fff; }

/* Section spacing */
section { position: relative; }
.section { padding: clamp(40px, 6vh, 80px) 0; }

/* -------------------------------------------------------------------------
   5. LOADING SCREEN
   ------------------------------------------------------------------------- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    color: var(--ink);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    overflow: hidden;
}
.loader::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.45;
    pointer-events: none;
}
.loader-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(28px, 4vw, 44px);
    opacity: 0;
    transform: translateY(8px);
    animation: loader-stage-in 0.7s var(--ease-out) 0.05s forwards;
}
@keyframes loader-stage-in {
    to { opacity: 1; transform: translateY(0); }
}
.loader-mark {
    display: block;
    width: clamp(96px, 11vw, 140px);
    height: auto;
    animation: loader-float 2.4s var(--ease-in-out) infinite;
    will-change: transform;
    filter: drop-shadow(0 12px 30px rgba(10, 10, 10, 0.08));
}
@keyframes loader-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.loader-track {
    position: relative;
    width: clamp(160px, 18vw, 220px);
    height: 2px;
    background: rgba(10, 10, 10, 0.08);
    border-radius: 2px;
    overflow: hidden;
}
.loader-track-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 0.2s linear;
}
.loader-curtain {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9998;
    transform: translateY(100%);
    pointer-events: none;
}
.loaded .loader { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
    .loader-mark, .loader-stage { animation: none; }
    .loader-stage { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   6. CUSTOM CURSOR — removed, using default OS cursor
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   7. NAVBAR (MORPHING)
   ------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(245, 243, 238, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--line);
}
.navbar.dark-nav { color: #fff; }
.navbar.dark-nav.scrolled { background: rgba(10, 10, 10, 0.85); border-bottom-color: var(--line-light); color: #fff; }
.navbar.dark-nav .logo, .navbar.dark-nav .nav-links a { color: #fff; }
.navbar.dark-nav.scrolled .logo, .navbar.dark-nav.scrolled .nav-links a { color: #fff; }

.nav-content { width: 100%; padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    z-index: 102;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}
.logo img {
    display: block;
    height: 36px;
    width: auto;
    transition: transform 0.5s var(--ease-out);
}
.logo:hover img { transform: scale(1.05); }
.logo span { display: inline-block; transition: transform 0.5s var(--ease-out); }
.logo:hover span { transform: translateY(-100%); }
.logo span::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 100%;
    color: var(--accent);
}
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 4px 0;
}
.nav-links a:not(.btn-nav)::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}
.nav-links a:not(.btn-nav):hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--accent); }


.hamburger {
    display: none;
    width: 30px; height: 22px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 102;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   8. BUTTONS
   ------------------------------------------------------------------------- */
.btn-primary, .btn-secondary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 22px 38px;
    border-radius: 60px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    will-change: transform;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform 0.45s var(--ease-out);
    z-index: -1;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary.on-dark { background: #fff; color: var(--ink); }
.btn-primary.on-dark::before { background: var(--accent); }
.btn-primary.on-dark:hover { color: var(--ink); }

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-arrow {
    width: 8px; height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
    transition: transform 0.3s;
}
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow { transform: rotate(45deg) translate(2px, -2px); }

/* -------------------------------------------------------------------------
   9. MARQUEE (Infinite scrolling text)
   ------------------------------------------------------------------------- */
.marquee {
    width: 100%;
    overflow: hidden;
    background: var(--bg-dark);
    color: #fff;
    padding: 30px 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}
.marquee.light { background: var(--bg); color: var(--ink); border-color: var(--line); }
.marquee.accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.marquee-track {
    display: flex;
    width: max-content;
    gap: 60px;
    animation: marquee-scroll 30s linear infinite;
    will-change: transform;
}
.marquee-track > span {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
}
.marquee-track > span::after {
    content: "";
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}
.marquee.accent .marquee-track > span::after { background: #fff; }
@keyframes marquee-scroll {
    to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* -------------------------------------------------------------------------
   10. HOME — HERO
   ------------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-dark);
    color: #fff;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 40px;
}
.hero-bg {
    position: absolute;
    inset: -10%;
    background: url('https://images.pexels.com/photos/12025049/pexels-photo-12025049.jpeg') center/cover no-repeat;
    filter: brightness(0.5) contrast(1.1);
    z-index: 0;
    will-change: transform;
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.95) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 60px;
}
.hero h1 {
    color: #fff;
    line-height: 0.85;
    letter-spacing: -0.03em;
    font-size: clamp(4rem, 16vw, 18rem);
}
.hero h1 .accent-dot { color: var(--accent); display: inline-block; }
.hero-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 30px;
}
.hero-meta {
    text-align: left;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.hero-meta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }


.hero-stats-strip {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    border-top: 1px solid var(--line-light);
    z-index: 4;
}
.hero-stats-strip .stat-mini {
    flex: 1;
    padding: 20px var(--pad);
    border-right: 1px solid var(--line-light);
    display: flex;
    align-items: baseline;
    gap: 12px;
    color: #fff;
}
.hero-stats-strip .stat-mini:last-child { border-right: 0; }
.hero-stats-strip .num { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.hero-stats-strip .lbl { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }

/* -------------------------------------------------------------------------
   11. HOME — PINNED HORIZONTAL SERVICES
   ------------------------------------------------------------------------- */
.h-services {
    background: var(--bg);
    overflow: hidden;
    position: relative;
}
.h-services-intro {
    padding: 70px var(--pad) 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
}
.h-services-intro h2 { font-size: clamp(3rem, 8vw, 7rem); }
.h-services-intro .col-meta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.h-services-intro .col-meta p { max-width: 460px; font-size: 1.1rem; }

.h-services-pin { height: 100vh; position: relative; overflow: hidden; }
.h-services-track {
    display: flex;
    height: 100%;
    padding: 0 var(--pad);
    gap: 30px;
    align-items: center;
    will-change: transform;
}
.h-service-card {
    flex: 0 0 70vh;
    height: 80%;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--line);
    transition: transform 0.5s var(--ease-out);
}
.h-service-card:hover { transform: translateY(-12px); }
.h-service-card .card-img-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.h-service-card .card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
    will-change: transform;
}
.h-service-card:hover .card-img-wrap img { transform: scale(1.08); }
.h-service-card .card-meta {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    background: #fff;
}
.h-service-card .card-meta h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 0.9;
}
.h-service-card .card-meta .card-num {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--muted);
}
.h-service-card .card-tag {
    position: absolute;
    top: 24px; left: 24px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

.h-services-progress {
    position: absolute;
    bottom: 40px;
    left: var(--pad);
    right: var(--pad);
    height: 1px;
    background: var(--line);
    z-index: 2;
}
.h-services-progress span {
    display: block;
    height: 3px;
    background: var(--accent);
    width: 0%;
    margin-top: -1px;
    transition: width 0.1s linear;
}

/* -------------------------------------------------------------------------
   12. HOME — MANIFESTO
   ------------------------------------------------------------------------- */
.manifesto {
    background: var(--bg-dark);
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}
.manifesto .container { display: flex; flex-direction: column; gap: 40px; }
.manifesto-eyebrow { color: var(--accent); }
.manifesto-text {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 8rem);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.manifesto-text .word { display: inline-block; opacity: 0.2; transition: opacity 0.3s; }
.manifesto-text .word.lit { opacity: 1; }
.manifesto-text .word.accent { color: var(--accent); }
.manifesto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line-light);
    padding-top: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   13. HOME — STATS (BIG)
   ------------------------------------------------------------------------- */
.stats-big {
    background: var(--bg);
    padding: 70px 0;
}
.stats-big-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}
.stat-big {
    padding: 40px 24px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.stat-big:last-child { border-right: 0; }
.stat-big::before {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 0%;
    background: var(--ink);
    transition: height 0.6s var(--ease-out);
    z-index: 0;
}
.stat-big:hover::before { height: 100%; }
.stat-big > * { position: relative; z-index: 1; transition: color 0.4s; }
.stat-big:hover * { color: #fff; }
.stat-big:hover .stat-big-num { color: var(--accent); }
.stat-big-num {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    color: var(--ink);
}
.stat-big-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted-dark);
}

/* -------------------------------------------------------------------------
   14. HOME — SELECTED WORK GRID
   ------------------------------------------------------------------------- */
.selected-work { background: var(--bg); padding: 60px 0 80px; }
.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}
.work-header h2 { font-size: clamp(2.5rem, 7vw, 6rem); }
.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}
.work-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    background: #000;
    transform: translateY(60px);
    opacity: 0;
}
.work-item.span-7 { grid-column: span 7; aspect-ratio: 16/11; }
.work-item.span-5 { grid-column: span 5; aspect-ratio: 4/5; }
.work-item.span-5-l { grid-column: span 5; aspect-ratio: 4/5; }
.work-item.span-7-r { grid-column: span 7; aspect-ratio: 16/11; }
.work-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out), filter 0.8s;
    will-change: transform;
    filter: saturate(0.9);
}
.work-item:hover img { transform: scale(1.06); filter: saturate(1.2); }
.work-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}
.work-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    line-height: 0.95;
}
.work-info .tag {
    background: var(--accent);
    color: var(--ink);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 12px;
}
.work-info .arrow {
    width: 50px; height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background 0.3s, transform 0.3s;
}
.work-item:hover .arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }

/* -------------------------------------------------------------------------
   15. HOME — TESTIMONIALS
   ------------------------------------------------------------------------- */
.testimonials {
    background: var(--bg-dark);
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}
.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 50px;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonials-header h2 { color: #fff; }
.testimonials-track-wrap { overflow: hidden; }
.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.7s var(--ease-out);
}
.review-card {
    flex: 0 0 460px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    min-height: 360px;
    transition: background 0.4s, border-color 0.4s, transform 0.4s;
}
.review-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
    transform: translateY(-6px);
}
.review-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 4px;
}
.review-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #fff;
}
.reviewer { display: flex; align-items: center; gap: 14px; }
.reviewer-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.reviewer-info h4 { font-size: 0.95rem; color: #fff; }
.reviewer-info p { font-size: 0.8rem; color: var(--muted); margin: 0; }

.testimonials-nav {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 50px;
}
.nav-btn {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 1px solid var(--line-light);
    background: transparent;
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.2rem;
    transition: all 0.3s var(--ease-out);
}
.nav-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.nav-btn:disabled { opacity: 0.3; pointer-events: none; }
.light-nav-btn { border-color: var(--line); color: var(--ink); }

/* -------------------------------------------------------------------------
   16. HOME — CINEMATIC VIDEO
   ------------------------------------------------------------------------- */
.cinematic {
    background: var(--bg);
    padding: 0 0 120px;
}
.cinematic-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 21/9;
    background: #000;
}
.cinematic-wrap video, .cinematic-wrap img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    will-change: transform;
}
.cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}
.cinematic-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: var(--pad);
    color: #fff;
}
.cinematic-content h2 {
    color: #fff;
    font-size: clamp(2.5rem, 7vw, 6rem);
    margin-bottom: 20px;
    max-width: 800px;
}
.cinematic-content p { color: rgba(255, 255, 255, 0.85); max-width: 500px; }

/* -------------------------------------------------------------------------
   17. FINAL CTA
   ------------------------------------------------------------------------- */
.final-cta {
    background: var(--bg-dark);
    color: #fff;
    padding: clamp(70px, 10vh, 120px) 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.final-cta::before {
    content: "RWOTH CRAFT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 30vw;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.03em;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
    color: #fff;
    font-size: clamp(3rem, 10vw, 9rem);
    margin-bottom: 30px;
    line-height: 0.9;
}
.final-cta h2 .accent-dot { color: var(--accent); }
.final-cta p { font-size: 1.2rem; max-width: 500px; margin: 0 auto 50px; color: rgba(255, 255, 255, 0.92); }
.final-cta .btn-primary { padding: 26px 50px; font-size: 1rem; }

/* -------------------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------------------- */
footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 24px;
    border-top: 1px solid var(--line-light);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 20px;
    color: #fff;
}
.footer-brand .footer-logo {
    display: block;
    height: clamp(60px, 7vw, 96px);
    width: auto;
    margin-bottom: 24px;
}
.footer-brand p { max-width: 320px; color: rgba(255, 255, 255, 0.92); }
.footer-col h5 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.3s, padding-left 0.3s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-col ul a:hover { color: var(--accent); padding-left: 8px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--line-light);
    font-size: 0.8rem;
    color: rgb(255, 255, 255);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom a { color: rgb(255, 255, 255); }
.footer-bottom a:hover { color: #fff; }
footer p, footer li, footer span { color: #fff; }
footer a { color: rgba(255,255,255,0.92); }
footer a:hover { color: var(--accent); }

/* -------------------------------------------------------------------------
   19. ABOUT — MISSION HERO
   ------------------------------------------------------------------------- */
.mission-hero {
    min-height: 100vh;
    background: var(--bg-dark);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 90px var(--pad) 60px;
    position: relative;
    overflow: hidden;
}
.mission-hero-bg {
    position: absolute;
    inset: -10%;
    background: url('https://images.pexels.com/photos/5749196/pexels-photo-5749196.jpeg') center/cover;
    filter: brightness(0.35);
    will-change: transform;
    z-index: 0;
}
.mission-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.mission-hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 7.5vw, 6.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
}
.mission-hero h1 .accent-dot { color: var(--accent); }
.mission-hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 60px;
    gap: 40px;
    border-top: 1px solid var(--line-light);
    padding-top: 30px;
    flex-wrap: wrap;
}
.mission-hero-meta p { color: rgba(255, 255, 255, 0.92); max-width: 480px; font-size: 1.1rem; }
.mission-hero-meta .col-small { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }

/* -------------------------------------------------------------------------
   20. ABOUT — STORY
   ------------------------------------------------------------------------- */
.story-section { padding: 80px 0; background: var(--bg); }
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.story-content .eyebrow { margin-bottom: 30px; }
.story-content h2 { margin-bottom: 30px; font-size: clamp(2.5rem, 6vw, 5rem); }
.story-content p { margin-bottom: 20px; font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); }
.story-content strong { color: var(--accent); font-weight: 600; }
.story-visual {
    position: sticky;
    top: 120px;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--radius);
}
.story-visual img {
    width: 100%; height: 110%;
    object-fit: cover;
    will-change: transform;
}

/* -------------------------------------------------------------------------
   21. ABOUT — VALUES
   ------------------------------------------------------------------------- */
.values-section { padding: 70px 0; background: var(--bg-dark); color: #fff; }
.values-header { text-align: center; margin-bottom: 50px; }
.values-header h2 { color: #fff; }
.values-header p { color: rgba(255, 255, 255, 0.85); margin-top: 16px; max-width: 500px; margin-left: auto; margin-right: auto; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}
.value-card {
    padding: 40px 30px;
    border-right: 1px solid var(--line-light);
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
}
.value-card:last-child { border-right: 0; }
.value-card:hover { background: rgba(135, 230, 75, 0.05); }
.value-icon-svg {
    width: 60px;
    height: 60px;
    stroke: var(--accent);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    margin-bottom: 40px;
}
.value-icon-svg path, .value-icon-svg circle { stroke-dasharray: 200; stroke-dashoffset: 200; }
.value-card.in-view .value-icon-svg path,
.value-card.in-view .value-icon-svg circle { animation: draw 1.5s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.value-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 16px;
    color: #fff;
    text-transform: uppercase;
}
.value-card p { color: rgba(255, 255, 255, 0.85); font-size: 1rem; line-height: 1.6; }
.value-num {
    position: absolute;
    top: 30px; right: 30px;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--muted);
}

/* -------------------------------------------------------------------------
   22. ABOUT — PROCESS (HORIZONTAL ROW)
   ------------------------------------------------------------------------- */
.process-section { padding: 80px 0; background: var(--bg); overflow: hidden; }
.process-header { margin-bottom: 50px; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.process-header h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
.process-track-wrap { overflow: hidden; }
.process-track {
    display: flex;
    gap: 30px;
    padding: 0 var(--pad);
    transition: transform 0.7s var(--ease-out);
}
.process-card {
    flex: 0 0 380px;
    min-height: 420px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, border-color 0.4s, background 0.4s, color 0.4s;
}
.process-card:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-8px); }
.process-card:hover * { color: #fff; }
.process-card:hover .process-number { color: var(--accent); -webkit-text-stroke: 0; }
.process-number {
    font-family: var(--font-display);
    font-size: 8rem;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
    line-height: 1;
    margin-bottom: 20px;
    transition: all 0.4s;
}
.process-content h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 14px; text-transform: uppercase; }
.process-content p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }

.process-nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 60px; padding: 0 var(--pad); }

/* -------------------------------------------------------------------------
   23. ABOUT — TEAM
   ------------------------------------------------------------------------- */
.team-section { padding: 80px 0; background: var(--bg); }
.team-header { text-align: center; margin-bottom: 50px; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3/4;
    background: #000;
}
.team-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.5s, transform 1s var(--ease-out);
    will-change: transform;
}
.team-card:hover img { filter: grayscale(0) contrast(1); transform: scale(1.04); }
.team-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, transparent 100%);
    color: #fff;
    transform: translateY(30px);
    transition: transform 0.5s var(--ease-out);
}
.team-card:hover .team-info { transform: translateY(0); }
.team-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.team-role {
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    display: block;
    margin-bottom: 14px;
}
.team-bio {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s, max-height 0.5s;
}
.team-card:hover .team-bio { opacity: 1; max-height: 200px; }

/* -------------------------------------------------------------------------
   24. ABOUT — GALLERY
   ------------------------------------------------------------------------- */
.gallery-section { padding: 60px 0; background: var(--bg-dark); color: #fff; }
.gallery-header { text-align: center; margin-bottom: 40px; }
.gallery-header h2 { color: #fff; }
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); position: relative; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
    will-change: transform;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

/* -------------------------------------------------------------------------
   25. SERVICES PAGE
   ------------------------------------------------------------------------- */
.service-hero {
    min-height: 100vh;
    background: var(--bg-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px var(--pad) 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.service-hero-bg {
    position: absolute;
    inset: -10%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&w=1920&q=80') center/cover;
    will-change: transform;
}
.service-hero-content { position: relative; z-index: 2; max-width: 1200px; }
.service-hero h1 {
    color: #fff;
    font-size: clamp(3rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}
.service-hero p { font-size: 1.3rem; color: rgba(255, 255, 255, 0.85); max-width: 600px; margin: 0 auto; }

.services-bento-section { padding: 0; background: var(--bg); }
.bento-master-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(280px, 40vh);
    gap: 16px;
    padding: 16px;
}
.bento-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    border-radius: var(--radius);
    background-color: #000;
    color: #fff;
    isolation: isolate;
    transform: translateY(40px);
    opacity: 0;
}
.bento-bg {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    transition: transform 1s var(--ease-out);
    will-change: transform;
    z-index: 0;
    filter: brightness(0.7);
}
.bento-card:hover .bento-bg { transform: scale(1.08); }
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    transition: background 0.4s;
}
.bento-card:hover .bento-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(135, 230, 75, 0.2) 100%); }
.bento-content { position: relative; z-index: 2; color: #fff; }
.bento-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 3rem);
    margin-bottom: 12px;
    line-height: 0.95;
}
.bento-desc { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); max-width: 80%; }
.bento-num {
    position: absolute;
    top: 30px; left: 30px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.1em;
    z-index: 2;
}
.bento-arrow {
    position: absolute;
    top: 30px; right: 30px;
    width: 50px; height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: grid; place-items: center;
    z-index: 2;
    transition: background 0.3s, border-color 0.3s, transform 0.4s;
}
.bento-card:hover .bento-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.bento-arrow::before {
    content: ""; width: 12px; height: 12px;
    border-top: 1.5px solid #fff; border-right: 1.5px solid #fff;
    transform: rotate(45deg);
    margin-left: -3px;
}

.span-2x2 { grid-column: span 2; grid-row: span 2; }
.span-2x1 { grid-column: span 2; }
.span-1x1 { grid-column: span 1; }
.span-1x1-vert { grid-column: span 1; grid-row: span 2; }
.span-2x1-photography { grid-column: span 2; }

.services-cta-footer {
    padding: 100px 0;
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.services-cta-footer h2 { color: #fff; font-size: clamp(3rem, 9vw, 8rem); margin-bottom: 30px; }
.services-cta-footer p { color: rgba(255, 255, 255, 0.9); max-width: 500px; margin: 0 auto 40px; }

/* -------------------------------------------------------------------------
   26. PORTFOLIO PAGE
   ------------------------------------------------------------------------- */
.portfolio-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.portfolio-hero-img {
    position: absolute;
    inset: -10%;
    width: 120%; height: 120%;
    object-fit: cover;
    transition: transform 8s ease;
    will-change: transform;
}
.portfolio-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}
.portfolio-hero-content {
    position: absolute;
    bottom: 80px;
    left: var(--pad);
    right: var(--pad);
    z-index: 2;
    color: #fff;
}
.portfolio-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 9vw, 8rem);
    line-height: 0.95;
    margin-bottom: 20px;
}
.portfolio-hero .project-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}
.portfolio-hero p { color: rgba(255, 255, 255, 0.85); max-width: 600px; font-size: 1.2rem; }

.portfolio-filter-bar {
    background: var(--bg);
    padding: 60px var(--pad) 40px;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.filter-chip {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--ink-soft);
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.portfolio-grid-section { padding: 60px var(--pad) 80px; background: var(--bg); }
.section-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}
.section-header h2 { font-size: clamp(2rem, 5vw, 4rem); }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    grid-auto-rows: 480px;
    grid-auto-flow: dense;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
}
.portfolio-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
    will-change: transform;
}
.portfolio-item:hover img { transform: scale(1.06); }
.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
    z-index: 2;
}
.item-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.item-overlay span {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}
.wide { grid-column: span 2; }
.tall { grid-row: span 2; }

/* -------------------------------------------------------------------------
   27. CONTACT PAGE
   ------------------------------------------------------------------------- */
.contact-hero {
    padding: 200px var(--pad) 100px;
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
}
.contact-hero h1 {
    color: #fff;
    font-size: clamp(2.75rem, 9vw, 8rem);
    line-height: 0.95;
    margin-bottom: 20px;
}
.contact-hero h1 .accent-dot { color: var(--accent); }
.contact-hero p { color: rgba(255, 255, 255, 0.9); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

.contact-section { padding: 0 0 80px; background: var(--bg-dark); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    background: var(--bg);
    color: var(--ink);
    padding: 70px;
    border-radius: var(--radius-lg);
    max-width: 1300px;
    margin: 0 auto;
    transform: translateY(-80px);
}
.contact-info h2 { font-size: 2.5rem; margin-bottom: 40px; }
.info-item { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted-dark);
    margin-bottom: 12px;
    font-weight: 600;
}
.info-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--ink);
    transition: color 0.3s;
    display: block;
    line-height: 1.1;
}
a.info-value:hover { color: var(--accent); }
p.info-value { font-family: var(--font-body); font-size: 1.1rem; font-weight: 500; line-height: 1.4; }

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff !important;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 16px;
}
.whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35); }

.contact-form-group { margin-bottom: 30px; position: relative; }
.form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--muted-dark);
    margin-bottom: 10px;
    display: block;
}
.form-input, .form-textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 1.2rem;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.3s;
}
.form-input:focus, .form-textarea:focus { border-bottom-color: var(--accent); outline: 0; }
.form-input::placeholder, .form-textarea::placeholder { color: #c0c0c0; }
.form-textarea { resize: vertical; min-height: 120px; }
.submit-btn {
    background: var(--ink);
    color: #fff;
    padding: 22px 50px;
    border-radius: 60px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.3s;
    margin-top: 20px;
}
.submit-btn:hover { background: var(--accent); color: var(--ink); transform: translateY(-3px); }

.location-section { padding: 0 0 80px; background: var(--bg-dark); }
.location-visual {
    width: 100%;
    height: 500px;
    background: url('https://images.pexels.com/photos/9494918/pexels-photo-9494918.jpeg') center/cover;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 1300px;
    margin: 0 auto;
}
.location-visual::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(135, 230, 75, 0.15));
}
.location-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    z-index: 1;
}
.location-overlay h3 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.location-overlay p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); }

/* -------------------------------------------------------------------------
   28. SERVICE DETAIL PAGES (UNIFIED)
   ------------------------------------------------------------------------- */
.service-detail-hero {
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: #000;
}
.service-detail-hero-bg {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    will-change: transform;
    z-index: 0;
}
.service-detail-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 70%);
    z-index: 1;
}
.detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 var(--pad) 80px;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    transition: color 0.3s, transform 0.3s;
}
.back-link:hover { color: var(--accent); transform: translateX(-4px); }
.detail-hero-content h1 {
    color: #fff;
    font-size: clamp(4rem, 12vw, 12rem);
    line-height: 0.9;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.detail-hero-content .tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    display: inline-block;
}

.service-detail-content {
    padding: 80px 0;
    background: var(--bg);
}
.detail-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}
.detail-text-col .section-title-small { color: var(--muted-dark); margin-bottom: 30px; }
.detail-intro {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 50px;
    text-transform: none;
}
.detail-text-col h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ink);
    margin: 50px 0 24px;
    text-transform: uppercase;
}
.capability-list { list-style: none; }
.capability-list li {
    font-size: 1.05rem;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: color 0.3s, padding-left 0.3s;
}
.capability-list li:hover { color: var(--accent); padding-left: 12px; }
.capability-list li::before {
    content: counter(cap, decimal-leading-zero);
    counter-increment: cap;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--muted);
    min-width: 40px;
}
.capability-list { counter-reset: cap; }
.detail-visual-col { position: sticky; top: 120px; }
.detail-img-lg {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    object-fit: cover;
    will-change: transform;
}

.deliverables-section { background: var(--bg-dark); color: #fff; padding: 80px 0; }
.deliverables-header { text-align: center; margin-bottom: 50px; }
.deliverables-header h2 { color: #fff; }
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}
.del-card {
    padding: 50px 30px;
    border-right: 1px solid var(--line-light);
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
}
.del-card:last-child { border-right: 0; }
.del-card:hover { background: rgba(135, 230, 75, 0.06); }
.del-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 30px;
    display: block;
}
.del-card h4 { font-family: var(--font-display); font-size: 1.5rem; color: #fff; text-transform: uppercase; margin-bottom: 14px; }
.del-card p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }

/* SERVICE-FILM specific */
.film-tagline { display: none; } /* legacy, hide */
.process-timeline {
    padding: 80px 0;
    background: var(--bg-dark);
    color: #fff;
}
.timeline-header { text-align: center; margin-bottom: 60px; }
.timeline-header h2 { color: #fff; }
.timeline-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}
.timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 25px;
    left: calc(var(--pad) + 50px);
    right: calc(var(--pad) + 50px);
    height: 1px;
    background: var(--line-light);
    z-index: 0;
}
.timeline-step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.dot {
    width: 50px; height: 50px;
    background: var(--bg-dark);
    border: 1px solid var(--line-light);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent);
    transition: all 0.3s;
}
.timeline-step:hover .dot { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: scale(1.1); }
.step-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.step-desc { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }

.tech-specs {
    background: var(--bg);
    padding: 80px 0;
}
.tech-specs-header { text-align: center; margin-bottom: 50px; }
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.spec-item {
    padding: 60px 30px;
    border-right: 1px solid var(--line);
    text-align: center;
    transition: background 0.3s;
}
.spec-item:last-child { border-right: 0; }
.spec-item:hover { background: var(--ink); color: #fff; }
.spec-item:hover .spec-number { color: var(--accent); }
.spec-item:hover .spec-label { color: rgba(255, 255, 255, 0.88); }
.spec-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1;
    transition: color 0.3s;
}
.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted-dark);
    transition: color 0.3s;
}

.film-intro {
    padding: 80px 0;
    background: var(--bg);
    text-align: center;
}
.film-intro p {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--ink);
    text-transform: none;
}
.film-deliverables { padding: 80px 0; background: var(--bg); }
.film-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.film-card {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius);
    background: #000;
}
.film-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
    will-change: transform;
}
.film-card:hover img { transform: scale(1.06); }
.play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: transform 0.3s;
}
.play-icon::after {
    content: "";
    width: 0; height: 0;
    border-left: 14px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 4px;
}
.film-card:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); }
.card-label {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 24px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
    z-index: 2;
}
.film-hero { display: none; } /* legacy hide, replaced by service-detail-hero */

/* -------------------------------------------------------------------------
   29. RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-meta { text-align: left; }
    .h-services-intro { grid-template-columns: 1fr; gap: 30px; padding: 80px var(--pad) 60px; }
    .story-grid { grid-template-columns: 1fr; gap: 60px; }
    .story-visual { position: static; aspect-ratio: 4/3; }
    .values-grid, .stats-big-grid { grid-template-columns: 1fr 1fr; }
    .values-grid > :nth-child(2n) { border-right: 0; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 60px; gap: 60px; }
    .timeline-wrapper { grid-template-columns: 1fr 1fr; gap: 40px; }
    .timeline-wrapper::before { display: none; }
    .detail-container { grid-template-columns: 1fr; gap: 60px; }
    .detail-visual-col { position: static; }
    .bento-master-grid { grid-template-columns: repeat(2, 1fr); }
    .span-2x2 { grid-column: span 2; grid-row: span 2; }
    .span-2x1, .span-2x1-photography { grid-column: span 2; }
    .span-1x1, .span-1x1-vert { grid-column: span 1; }
    .gallery-masonry { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 100%; height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        z-index: 101;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { color: #fff !important; font-size: 1.5rem; }

    .hero { padding-top: calc(var(--nav-h) + 30px); padding-bottom: 30px; }
    .hero-stats-strip { display: none; }
    .work-grid { grid-template-columns: 1fr; }
    .work-item.span-7, .work-item.span-5, .work-item.span-5-l, .work-item.span-7-r {
        grid-column: span 1; aspect-ratio: 4/5;
    }
    .review-card { flex: 0 0 85vw; padding: 30px; min-height: 280px; }
    .review-text { font-size: 1.1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .h-service-card { flex: 0 0 80vw; }
    .stats-big-grid, .values-grid, .team-grid, .deliverables-grid, .specs-grid {
        grid-template-columns: 1fr;
    }
    .stat-big, .value-card, .del-card, .spec-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .dark .stat-big, .dark .value-card, .dark .del-card { border-bottom-color: var(--line-light); }
    .timeline-wrapper { grid-template-columns: 1fr; }
    .bento-master-grid { grid-template-columns: 1fr; }
    .span-2x2, .span-2x1, .span-1x1, .span-1x1-vert, .span-2x1-photography {
        grid-column: span 1; grid-row: span 1;
    }
    .gallery-masonry { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
    .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 400px; }
    .wide, .tall { grid-column: span 1; grid-row: span 1; }
    .contact-wrapper { padding: 40px 24px; transform: translateY(-40px); }
    .testimonials-track { gap: 16px; }
    .h-services-pin { height: auto; min-height: 80vh; }
    .h-services-track { padding: 40px var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .h-service-card { scroll-snap-align: center; }
    .h-services-progress { display: none; }
    .process-track { padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; }
    .process-card { scroll-snap-align: center; flex: 0 0 80vw; }
}


/* -------------------------------------------------------------------------
   31. CLIP-PATH REVEAL ELEMENTS
   ------------------------------------------------------------------------- */
[data-clip-reveal] {
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
}
[data-clip-reveal].revealed {
    clip-path: inset(0 0 0% 0);
    transition: clip-path 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------
   32. SCRAMBLE / GLITCH LOGO
   ------------------------------------------------------------------------- */
.logo span {
    display: inline-block;
    letter-spacing: inherit;
}

/* -------------------------------------------------------------------------
   33. SPEED LINES (hover on hero — Lando-style kinetic feel)
   ------------------------------------------------------------------------- */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0%,
        transparent 49.5%,
        rgba(135, 230, 75, 0.025) 49.5%,
        rgba(135, 230, 75, 0.025) 50%
    );
    background-size: 80px 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s;
    z-index: 1;
}
.hero:hover::after { opacity: 1; }

/* -------------------------------------------------------------------------
   34. MOUSE SPOTLIGHT (dark sections)
   ------------------------------------------------------------------------- */
.mouse-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: background 0.12s linear;
    border-radius: inherit;
}

/* -------------------------------------------------------------------------
   35. SCROLL-VELOCITY SKEW
   ------------------------------------------------------------------------- */
.skewable { will-change: transform; }

/* -------------------------------------------------------------------------
   36. 3D CARD STYLES
   ------------------------------------------------------------------------- */
.review-card, .process-card, .del-card, .film-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* -------------------------------------------------------------------------
   37. FLOAT ANIMATIONS
   ------------------------------------------------------------------------- */
@keyframes float-y {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-12px); }
}
@keyframes float-y-slow {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* hero cta — no float so both buttons stay level */

/* -------------------------------------------------------------------------
   38. ACCENT UNDERLINE WIPE
   ------------------------------------------------------------------------- */
.underline-wipe {
    position: relative;
    display: inline-block;
}
.underline-wipe::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0%; height: 3px;
    background: var(--accent);
    transition: width 0.7s var(--ease-out);
}
.underline-wipe.wiped::after { width: 100%; }

/* -------------------------------------------------------------------------
   39. WORK ITEM — depth pop
   ------------------------------------------------------------------------- */
.work-item {
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.work-item:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    z-index: 2;
}

/* -------------------------------------------------------------------------
   40. BENTO CARDS — 3D lift
   ------------------------------------------------------------------------- */
.bento-card {
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.bento-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.35);
}

/* -------------------------------------------------------------------------
   41. SECTION IN-VIEW TRIGGER
   ------------------------------------------------------------------------- */
.section-in-view .eyebrow::before { width: 50px; }
