/* ============================================
   ONEPOINT — Brand Design Agency
   Design System & Styles
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Core Brand Colors (from brand_colors.md) */
    --bg-primary: #1A1A1A;
    --bg-secondary: #111111;
    --bg-surface: #242424;
    --bg-elevated: #2E2E2E;

    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --text-muted: rgba(255, 255, 255, 0.35);

    --accent-primary: #E85D26;
    /* Vivid Orange */
    --accent-primary-hover: #D14E1C;
    --accent-primary-light: #FF7A45;
    --accent-secondary: #F5A623;
    /* Warm Amber */
    --accent-secondary-light: #FFBE42;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-desktop {
    height: 28px;
    width: auto;
    display: block;
}

.logo-mobile {
    display: none;
    height: 32px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }
}

#main-nav {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast);
}

.header-cta:hover {
    color: var(--text-primary);
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    color: var(--accent-primary);
}

.header-cta:hover .cta-icon {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 7rem var(--space-lg) 0;
    overflow: hidden;
}

/* ---- Giant Typography ---- */
#hero-text-block {
    position: relative;
    z-index: 2;
    pointer-events: none;
    flex: 1;
    display: flex;
    align-items: center;
}

#hero-title {
    display: flex;
    flex-direction: column;
    line-height: 0.88;
    margin: 0;
    width: 100%;
}

.hero-line {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-primary);
    display: block;
    font-size: clamp(5rem, 16vw, 18rem);
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(60px);
    animation: reveal-line 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.line-1 {
    animation-delay: 0.1s;
}

.line-2 {
    animation-delay: 0.25s;
    margin-left: 5vw;
    color: var(--accent-primary);
}

.line-3 {
    animation-delay: 0.4s;
    position: relative;
    z-index: 4;
}

@keyframes reveal-line {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Spline / 3D Model Container ---- */
#spline-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 20%;
    width: auto;
    height: 100%;
    z-index: 3;
    pointer-events: auto;
}

#spline-canvas {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#spline-canvas.loaded {
    opacity: 1;
}

/* ---- Loading Spinner ---- */
#spline-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 4;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#spline-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Hero Bottom Info Row ---- */
#hero-bottom-row {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    animation: fade-in 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-info-left {
    max-width: 500px;
}

.info-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.info-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-info-right {
    text-align: right;
}

.hero-info-right .info-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TRUSTED BY BAR
   ============================================ */
#trusted-bar {
    position: relative;
    z-index: 10;
    padding: var(--space-md) 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.trusted-inner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.trusted-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
}

.trusted-divider {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-secondary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(245, 166, 35, 0.3);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

/* ============================================
   SUBTLE GRID PATTERN
   ============================================ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* ============================================
   TEXT REVEAL SECTION
   ============================================ */
html {
    scroll-behavior: smooth;
}

.text-reveal-section {
    position: relative;
    z-index: 0;
    height: 200vh;
    background: var(--bg-primary);
}

.text-reveal-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem var(--space-lg);
}

.text-reveal-paragraph {
    display: flex;
    flex-wrap: wrap;
    width: 75%;
    max-width: none;
    padding: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.reveal-word {
    position: relative;
    margin: 0 0.3em 0.15em 0;
    display: inline-block;
}

.reveal-word-ghost {
    opacity: 0.15;
    color: var(--text-primary);
}

.reveal-word-visible {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--text-primary);
    opacity: 0;
    transition: opacity 0.05s ease;
}

/* ============================================
   PORTFOLIO / GALLERY SECTION
   ============================================ */
.gallery-section {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--bg-primary);
}

.gallery-header {
    text-align: center;
    padding: 0 var(--space-lg) var(--space-xl);
}

.gallery-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.gallery-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Flex Row Gallery ---- */
.gallery-bento {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 12px;
}

.gallery-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    /* Keep 16:9 item mathematically accurate based on 70vw */
    height: calc((100vw - 36px) * 0.7 * 0.5625);
    max-height: 600px;
    min-height: 250px;
}

@media (min-width: 1624px) {
    .gallery-row {
        height: 620px;
    }
}

/* Odd rows: 70% / 30% */
.gallery-row:nth-child(odd) .gallery-item:nth-child(1) {
    flex: 7;
}

.gallery-row:nth-child(odd) .gallery-item:nth-child(2) {
    flex: 3;
}

/* Even rows: 30% / 70% */
.gallery-row:nth-child(even) .gallery-item:nth-child(1) {
    flex: 3;
}

.gallery-row:nth-child(even) .gallery-item:nth-child(2) {
    flex: 7;
}

/* ---- Individual Image Card ---- */
.gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    /* Frame backdrop */
    cursor: pointer;
    /* Start hidden for scroll animation */
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

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

/* ---- Hover Overlay ---- */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 40%,
            rgba(17, 17, 17, 0.75) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 6px;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ---- Image Caption ---- */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1rem;
    z-index: 2;
    pointer-events: none;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.gallery-caption-type {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-secondary-light);
}

/* ---- Gallery Responsive ---- */
@media (max-width: 1024px) {
    .gallery-row {
        height: 48vw;
    }
}

@media (max-width: 768px) {
    .gallery-row {
        flex-direction: column;
        height: auto;
        gap: 8px;
    }

    .gallery-row:nth-child(n) .gallery-item:nth-child(n) {
        flex: none;
        width: 100%;
        height: 350px;
    }

    .gallery-bento {
        gap: 8px;
        padding: 0 8px;
    }

    .gallery-header {
        padding: 0 var(--space-md) var(--space-lg);
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--bg-primary);
    overflow: hidden;
}

.stagger-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

#stagger-container {
    position: absolute;
    inset: 0;
}

.stagger-card {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 2.5rem 2rem;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    background: var(--bg-elevated);
    border: 2px solid rgba(255, 255, 255, 0.08);
    /* border */
    color: var(--text-primary);
    transform-origin: center center;
    clip-path: polygon(50px 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, calc(100% - 50px) 100%, 50px 100%, 0 100%, 0 0);
}

.stagger-card:hover {
    border-color: rgba(232, 93, 38, 0.3);
    /* half primary hover */
}

.stagger-card.is-center {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    cursor: default;
}

.stagger-fold {
    position: absolute;
    display: block;
    transform-origin: top right;
    transform: rotate(45deg);
    background: rgba(255, 255, 255, 0.08);
    /* matches border */
    height: 2px;
}

.stagger-card.is-center .stagger-fold {
    background: #fff;
    /* contrast fold for center */
}

.stagger-card img {
    height: 3.5rem;
    width: 3rem;
    object-fit: cover;
    object-position: top;
    margin-bottom: 1.5rem;
    background: var(--bg-surface);
    box-shadow: 3px 3px 0px var(--bg-primary);
}

.stagger-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (min-width: 640px) {
    .stagger-text {
        font-size: 1.25rem;
    }
}

.stagger-card.is-center .stagger-text {
    color: #fff;
}

.stagger-author {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
}

.stagger-card.is-center .stagger-author {
    color: rgba(255, 255, 255, 0.85);
}

.stagger-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.stagger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.stagger-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

/* ============================================
   CONTACT US SECTION
   ============================================ */
.contact-section {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--space-xl) var(--space-lg) var(--space-2xl);
    background: var(--bg-primary);
}

.contact-card-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1024px) {
    .contact-card-wrapper {
        grid-template-columns: 7fr 6fr;
    }
}

.plus-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.plus-icon.top-left {
    top: -12px;
    left: -12px;
}

.plus-icon.top-right {
    top: -12px;
    right: -12px;
}

.plus-icon.bottom-left {
    bottom: -12px;
    left: -12px;
}

.plus-icon.bottom-right {
    bottom: -12px;
    right: -12px;
}

.contact-info-panel {
    padding: 1.5rem;
    /* mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .contact-info-panel {
        padding: var(--space-xl);
    }
}

.contact-h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.contact-p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    max-width: 480px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .contact-details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.contact-detail-item.col-span-2 {
    grid-column: span 1;
}

@media (min-width: 640px) {
    .contact-detail-item.col-span-2 {
        grid-column: span 2;
    }
}

.contact-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    color: var(--text-primary);
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---- Form Panel ---- */
.contact-form-panel {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    /* mobile */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .contact-form-panel {
        padding: var(--space-xl);
    }
}

@media (min-width: 1024px) {
    .contact-form-panel {
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.zoho-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: span 2;
}

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

    .form-group {
        grid-column: span 1;
    }

    .form-group-full {
        grid-column: span 1;
    }
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.75rem 0.85rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(232, 93, 38, 0.2);
}

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

.form-submit-btn {
    width: 100%;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-submit-btn:hover {
    background: var(--accent-primary-hover);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-success-msg {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(18, 170, 103, 0.15);
    border: 1px solid rgba(18, 170, 103, 0.3);
    border-radius: 6px;
    color: #34d399;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* ============================================
   CURSOR GLOW EFFECT
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-line {
        font-size: clamp(4rem, 15vw, 14rem);
    }

    .line-2 {
        margin-left: 3vw;
    }
}

@media (max-width: 768px) {
    #main-header {
        padding: var(--space-sm) var(--space-md);
    }

    #main-nav {
        display: none;
    }

    .header-cta {
        font-size: 0.65rem;
    }

    /* Hero = exactly one mobile viewport */
    #hero-section {
        padding-top: 4.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-bottom: 0rem;
        min-height: 100svh;
        min-height: 100vh;
        /* fallback */
        height: 100svh;
        height: 100vh;
        /* fallback */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: hidden;
    }

    /* Text — compact at top */
    #hero-text-block {
        position: relative;
        z-index: 5;
        flex: none;
        padding-bottom: 0.25rem;
    }

    .hero-line {
        font-size: clamp(2.8rem, 13vw, 7rem);
        line-height: 0.92;
    }

    .line-2 {
        margin-left: 2vw;
    }

    .line-3 {
        z-index: auto;
    }

    /* Spline fills ALL remaining viewport space */
    #spline-container {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        height: auto;
        flex: 1 1 0;
        z-index: 2;
        margin: 0;
        min-height: 0;
    }

    /* Info row — flows below the hero, appears on scroll */
    #hero-bottom-row {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        z-index: 5;
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: var(--space-lg) var(--space-md);
        margin-top: 0;
        background: none;
    }

    .hero-info-right {
        text-align: left;
    }

    .trusted-text {
        font-size: 0.75rem;
    }

    .text-reveal-paragraph {
        width: 100%;
    }

    .text-reveal-sticky {
        padding: 2rem var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-line {
        font-size: clamp(2.2rem, 14vw, 5rem);
    }

    .logo {
        font-size: 0.75rem;
    }
}

/* ============================================
   SPLINE WATERMARK MINIMIZATION
   ============================================ */
#spline-container>a,
#spline-container>div:last-child:not(#spline-loader)>a {
    transform: scale(0.55) !important;
    transform-origin: bottom left !important;
    opacity: 0.35 !important;
    bottom: 8px !important;
    left: 8px !important;
    right: auto !important;
    top: auto !important;
    position: absolute !important;
    transition: opacity 0.3s ease !important;
}

#spline-container>a:hover,
#spline-container>div:last-child:not(#spline-loader)>a:hover {
    opacity: 0.7 !important;
}