:root {
    --bg: #f6f4ef;
    --bg-soft: #efebe3;
    --bg-section: #e5e1d8;

    --panel: #f8f6f1;
    --panel-strong: #f1ede5;
    --card: #f8f6f1;
    --card-2: #f3efe7;

    --text: #171512;
    --muted: #5f5a53;
    --muted-2: #8a847b;

    --line: rgba(23, 21, 18, 0.10);
    --line-strong: rgba(23, 21, 18, 0.16);

    --accent: #184f3a;
    --accent-hover: #123c2c;
    --accent-soft: #dfe6c8;
    --accent-soft-hover: #d3dbb8;

    --white: #ffffff;

    --max-width: 1240px;
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;

    --shadow-sm: 0 8px 22px rgba(38, 33, 28, 0.04);
    --shadow: 0 16px 40px rgba(38, 33, 28, 0.08);

    --transition: 180ms ease;
}

/* ========================================
   RESET
======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

/* ========================================
   LAYOUT
======================================== */

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 96px 0;
}

.section-soft {
    background: var(--bg-section);
}

.section-hero {
    padding-top: 128px;
    padding-bottom: 88px;
}

.section-cta {
    padding-top: 40px;
    padding-bottom: 96px;
}

/* ========================================
   TYPOGRAPHY
======================================== */

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--text);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.hero-copy h1,
.section-heading h2,
.cta-card h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
}

.hero-copy h1 {
    margin: 0;
    max-width: 11ch;

    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    color: var(--text);
}

.hero-text {
    max-width: 560px;
    margin-top: 26px;
    font-size: 1.08rem;
    color: var(--muted);
}

/* ========================================
   GLOBAL COMPONENTS
======================================== */

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 16px;
    font-weight: 700;
    transition:
            transform var(--transition),
            background var(--transition),
            color var(--transition),
            border-color var(--transition),
            box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(24, 79, 58, 0.18);
}

.button-primary:hover {
    background: var(--accent-hover);
}

.button-secondary {
    background: var(--accent-soft);
    color: var(--text);
    border: 1px solid transparent;
}

.button-secondary:hover {
    background: var(--accent-soft-hover);
}

/* --- Global focus-visible --- */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.button:focus-visible {
    outline-offset: 4px;
    border-radius: 16px;
}

.card-tag {
    display: inline-block;
    color: var(--muted-2);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ========================================
   HEADER
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(246, 244, 239, 0.82);
    border-bottom: 1px solid rgba(23, 21, 18, 0.06);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(24, 79, 58, 0.14);
}

.brand-text {
    font-size: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a,
.footer-links a {
    color: var(--muted);
    transition: color var(--transition);
}

.site-nav a:hover,
.footer-links a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-nav {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(23, 21, 18, 0.08);
    background: rgba(246, 244, 239, 0.97);
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(23, 21, 18, 0.06);
}

.mobile-nav .mobile-cta {
    margin-top: 14px;
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

/* ========================================
   HERO
======================================== */

.hero {
    background: var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero-copy {
    padding-right: 8px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-panel {
    padding: 28px;
    background: #f4f1ea;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(23, 21, 18, 0.08);
    box-shadow: var(--shadow-sm);
}

.hero-stat {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.stat-label,
.mini-label {
    display: inline-block;
    color: var(--muted-2);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-stat strong {
    display: block;
    margin-top: 10px;
    font-size: 1.45rem;
    line-height: 1.18;
    color: var(--text);
}

/* ---- Founders in hero ---- */

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.founder-card {
    padding: 20px;
    border-radius: 18px;
    background: var(--bg-soft);
    border: 1px solid rgba(23, 21, 18, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.founder-photo-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(24, 79, 58, 0.15);
    box-shadow: 0 6px 18px rgba(38, 33, 28, 0.10);
    flex-shrink: 0;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.founder-name {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.founder-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.founder-desc {
    margin: 6px 0 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--muted);
}

@media (max-width: 640px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HERO ANIMATION
======================================== */

/* --- Initial hidden states --- */

.hero-anim .eyebrow,
.hero-anim .hero-text,
.hero-anim .hero-actions {
    opacity: 0;
    transform: translateY(32px);
    will-change: transform, opacity;
}

.hero-anim .h1-line {
    display: block;
    overflow: hidden;
}

.hero-anim .h1-line-inner {
    display: block;
    opacity: 0;
    transform: translateY(105%);
    will-change: transform, opacity;
}

.hero-anim .hero-panel {
    opacity: 0;
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(40px) scale(0.97);
    will-change: transform, opacity;
}

.hero-anim .founder-photo-wrap {
    opacity: 0;
    transform: scale(0.6);
    will-change: transform, opacity;
}

/* --- Keyframes --- */

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroPanelLand {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(40px) scale(0.97);
    }
    70% {
        opacity: 1;
        transform: perspective(800px) rotateY(1deg) rotateX(-0.5deg) translateY(-4px) scale(1.005);
    }
    100% {
        opacity: 1;
        transform: perspective(800px) rotateY(0) rotateX(0) translateY(0) scale(1);
    }
}

@keyframes founderPop {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }
    70% {
        opacity: 1;
        transform: scale(1.08);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes founderFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes panelGlowTrace {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* --- Triggered animations --- */

.hero-anim.is-revealed .eyebrow {
    animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms forwards;
}

.hero-anim.is-revealed .h1-line:nth-child(1) .h1-line-inner {
    animation: heroLineReveal 700ms cubic-bezier(0.16, 1, 0.3, 1) 250ms forwards;
}

.hero-anim.is-revealed .h1-line:nth-child(2) .h1-line-inner {
    animation: heroLineReveal 700ms cubic-bezier(0.16, 1, 0.3, 1) 420ms forwards;
}

.hero-anim.is-revealed .hero-text {
    animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 600ms forwards;
}

.hero-anim.is-revealed .hero-actions {
    animation: heroFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 750ms forwards;
}

.hero-anim.is-revealed .hero-panel {
    animation: heroPanelLand 900ms cubic-bezier(0.16, 1, 0.3, 1) 350ms forwards;
}

.hero-anim.is-revealed .founder-card:nth-child(1) .founder-photo-wrap {
    animation: founderPop 500ms cubic-bezier(0.34, 1.56, 0.64, 1) 900ms forwards;
}

.hero-anim.is-revealed .founder-card:nth-child(2) .founder-photo-wrap {
    animation: founderPop 500ms cubic-bezier(0.34, 1.56, 0.64, 1) 1050ms forwards;
}

/* --- Panel glow trace --- */

.hero-anim .hero-panel {
    position: relative;
}

.hero-anim .hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 30%,
        rgba(24, 79, 58, 0.7) 50%,
        transparent 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 800ms ease;
}

.hero-anim.is-revealed .hero-panel::before {
    opacity: 1;
    animation: panelGlowTrace 1.8s cubic-bezier(0.16, 1, 0.3, 1) 1000ms forwards;
}

.hero-anim.is-revealed .hero-panel.glow-done::before {
    opacity: 0;
}

/* --- Interactive tilt --- */

.hero-panel.is-interactive {
    transition: transform 150ms ease-out;
    will-change: transform;
}

/* --- Floating photos --- */

.founder-photo-wrap.is-floating {
    animation: founderFloat 3s ease-in-out infinite;
}

.founder-card:nth-child(2) .founder-photo-wrap.is-floating {
    animation-duration: 3.4s;
    animation-delay: -1.2s;
}

/* --- Reduced motion: intentionally not gated, animations always play --- */

/* ========================================
   SERVICES
======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    padding: 30px;
}

.service-card h3 {
    margin: 14px 0 8px;
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}

.service-card h4 {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 0.98rem;
    font-weight: 600;
}

.service-card p:last-child {
    margin: 0;
    color: var(--muted);
}

/* ========================================
   SKILLS
======================================== */

.skills-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.skill-pill {
    padding: 13px 18px;
    border-radius: 999px;
    background: #f1ede5;
    border: 1px solid rgba(23, 21, 18, 0.08);
    color: var(--text);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(38, 33, 28, 0.03);
}

/* ========================================
   WHY US / FEATURES
======================================== */

.three-up {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    padding: 30px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

/* ========================================
   PROCESS
======================================== */

.process-list {
    display: grid;
    gap: 18px;
}

.process-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 20px;
    align-items: start;
    padding: 26px;
}

.process-number {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 18px rgba(24, 79, 58, 0.14);
}

.process-card h3 {
    margin: 2px 0 8px;
    font-size: 1.3rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}

.process-card p {
    margin: 0;
    color: var(--muted);
}

/* ========================================
   COMPARISON TABLE
======================================== */

.comparison-table-wrap {
    overflow-x: auto;
    padding: 14px;
}

.comparison-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
}

.comparison-table tbody td:first-child {
    font-weight: 700;
    color: var(--text);
}

.comparison-table tbody td:not(:first-child) {
    color: var(--muted);
}

/* ========================================
   TESTIMONIALS
======================================== */

.testimonials-grid {
    margin-bottom: 22px;
}

.testimonial-card,
.case-card {
    padding: 30px;
}

.quote {
    margin: 0;
    font-size: 1.06rem;
    color: var(--text);
}

.testimonial-meta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.testimonial-meta strong {
    display: block;
    color: var(--text);
}

.testimonial-meta span {
    color: var(--muted);
}

.case-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.case-card h3 {
    margin: 0 0 12px;
    font-size: 1.32rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}

.case-card p {
    margin: 0;
    color: var(--muted);
}

/* ========================================
   FAQ
======================================== */

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: transparent;
    border: 0;
    color: var(--text);
    text-align: left;
    font-weight: 700;
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--accent);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 220ms ease;
}

.faq-answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 24px 24px;
    color: var(--muted);
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

/* ========================================
   CTA
======================================== */

.cta-card {
    padding: 46px;
    text-align: center;
    background: #f4f1ea;
    border-radius: var(--radius-xl);
}

.cta-card .hero-actions {
    justify-content: center;
}

.cta-card h2 {
    max-width: 14ch;
    margin: 0 auto 16px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--text);
}

.cta-card p:not(.eyebrow) {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding: 0 0 36px;
    background: var(--bg);
}

.footer-inner {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* ========================================
   WATER OVERLAY
======================================== */

:root {
    --water-deep: rgba(8, 51, 68, 0.92);
    --water-mid: rgba(12, 74, 82, 0.88);
    --water-surface-c: rgba(18, 100, 100, 0.80);
    --wave-fill-back: rgba(12, 74, 82, 0.7);
    --wave-fill-front: rgba(18, 100, 100, 0.85);
}

body.water-locked {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

.water-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.water-overlay.is-draining {
    transform: translateY(110vh);
}

/* --- Wave surface --- */

.water-surface {
    flex-shrink: 0;
    height: 120px;
    position: relative;
    z-index: 2;
}

.water-wave {
    display: block;
    width: 100%;
    height: 100%;
}

.wave-back {
    fill: var(--wave-fill-back);
    animation: waveMotionBack 4s ease-in-out infinite;
}

.wave-front {
    fill: var(--wave-fill-front);
    animation: waveMotionFront 3s ease-in-out infinite;
}

@keyframes waveMotionBack {
    0%   { d: path("M0,60 C360,120 720,0 1080,60 C1260,90 1380,50 1440,60 L1440,120 L0,120 Z"); }
    50%  { d: path("M0,70 C360,20 720,100 1080,50 C1260,30 1380,70 1440,55 L1440,120 L0,120 Z"); }
    100% { d: path("M0,60 C360,120 720,0 1080,60 C1260,90 1380,50 1440,60 L1440,120 L0,120 Z"); }
}

@keyframes waveMotionFront {
    0%   { d: path("M0,80 C240,40 480,100 720,60 C960,20 1200,90 1440,70 L1440,120 L0,120 Z"); }
    50%  { d: path("M0,50 C240,90 480,30 720,70 C960,100 1200,40 1440,65 L1440,120 L0,120 Z"); }
    100% { d: path("M0,80 C240,40 480,100 720,60 C960,20 1200,90 1440,70 L1440,120 L0,120 Z"); }
}

/* --- Water body --- */

.water-body {
    flex: 1;
    background: linear-gradient(
        180deg,
        var(--water-surface-c) 0%,
        var(--water-mid) 40%,
        var(--water-deep) 100%
    );
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Underwater text --- */

.water-text {
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 3;
    animation: textFloat 3.5s ease-in-out infinite;
}

.water-headline {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 600;
    color: rgba(220, 240, 235, 0.95);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    text-shadow: 0 2px 20px rgba(0, 40, 50, 0.4);
}

.water-headline em {
    font-style: italic;
    color: #5aecc8;
}

.water-subtext {
    font-family: "Inter", sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(180, 220, 210, 0.7);
    margin: 0;
    letter-spacing: 0.04em;
}

@keyframes textFloat {
    0%, 100% { transform: translateY(0) rotate(-0.3deg); }
    33%      { transform: translateY(-8px) rotate(0.3deg); }
    66%      { transform: translateY(4px) rotate(-0.2deg); }
}

/* --- Bubbles --- */

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(150, 230, 220, 0.3),
        rgba(100, 200, 190, 0.08)
    );
    border: 1px solid rgba(150, 230, 220, 0.15);
    will-change: transform;
    animation: bubbleRise linear infinite;
}

.bubble-1 { width: 12px; height: 12px; left: 10%; bottom: -20px; animation-duration: 6s; animation-delay: 0s; }
.bubble-2 { width: 8px;  height: 8px;  left: 25%; bottom: -20px; animation-duration: 5s; animation-delay: 1s; }
.bubble-3 { width: 16px; height: 16px; left: 40%; bottom: -20px; animation-duration: 7s; animation-delay: 0.5s; }
.bubble-4 { width: 6px;  height: 6px;  left: 55%; bottom: -20px; animation-duration: 4.5s; animation-delay: 2s; }
.bubble-5 { width: 10px; height: 10px; left: 70%; bottom: -20px; animation-duration: 5.5s; animation-delay: 1.5s; }
.bubble-6 { width: 14px; height: 14px; left: 85%; bottom: -20px; animation-duration: 6.5s; animation-delay: 0.3s; }
.bubble-7 { width: 7px;  height: 7px;  left: 33%; bottom: -20px; animation-duration: 5.2s; animation-delay: 2.5s; }
.bubble-8 { width: 11px; height: 11px; left: 62%; bottom: -20px; animation-duration: 4.8s; animation-delay: 1.8s; }

@keyframes bubbleRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(30px) scale(1.3);
        opacity: 0;
    }
}

/* --- Drain plug --- */

.drain-plug {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px;
    animation: plugPulse 2s ease-in-out infinite;
    transition: transform 0.2s ease;
}

.drain-plug:hover {
    transform: translateX(-50%) scale(1.1);
}

.drain-plug:active {
    transform: translateX(-50%) scale(0.95);
}

.drain-plug:focus-visible {
    outline: 2px solid #3aaa8a;
    outline-offset: 4px;
}

.plug-icon {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 0 12px rgba(58, 170, 138, 0.4));
}

.plug-label {
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(58, 170, 138, 0.9);
}

@keyframes plugPulse {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(58, 170, 138, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 24px rgba(58, 170, 138, 0.7));
    }
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1100px) {
    .hero-grid,
    .services-grid,
    .three-up,
    .case-highlights {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: 12ch;
    }

    .section-heading {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .skills-row {
        justify-content: flex-start;
    }

    /* Animation: simplify panel entrance when stacked */
    .hero-anim .hero-panel {
        transform: translateY(40px);
    }
    .hero-anim.is-revealed .hero-panel {
        animation: heroFadeUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 600ms forwards;
    }
}

@media (max-width: 860px) {
    .site-nav,
    .header-inner > .button {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .section {
        padding: 78px 0;
    }

    .section-hero {
        padding-top: 24px;
        padding-bottom: 56px;
    }

    .process-card {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }

    /* Animation: reduce slide distances */
    .hero-anim .eyebrow,
    .hero-anim .hero-text,
    .hero-anim .hero-actions {
        transform: translateY(24px);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 40px), var(--max-width));
    }

    .hero-panel,
    .service-card,
    .feature-card,
    .testimonial-card,
    .case-card,
    .process-card,
    .cta-card {
        padding: 22px;
    }

    .hero-copy h1 {
        font-size: clamp(3.2rem, 8vw, 6.3rem);
    }


    .section-heading {
        margin-bottom: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    /* Animation: minimal on small screens */
    .hero-anim .eyebrow,
    .hero-anim .hero-text,
    .hero-anim .hero-actions {
        transform: translateY(18px);
    }
    .hero-anim .hero-panel {
        transform: translateY(20px);
    }

    /* Water overlay: mobile */
    .water-surface {
        height: 80px;
    }
    .plug-icon {
        width: 60px;
        height: 60px;
    }
    .drain-plug {
        bottom: 30px;
    }
}