/* ==========================================================================
   Typography & Base Styles
   ========================================================================== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #eef5f4;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #12312e;
    -webkit-font-smoothing: antialiased;
}

h1,
.h1 {
    font-size: 2.5rem;
    /* 40px */
    font-family: "Fraunces", "Georgia", "Times New Roman", serif;
    font-weight: 500;
    color: #0F7A72;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h2,
.h2 {
    font-size: 2rem;
    /* 32px */
    font-family: "Fraunces", "Georgia", "Times New Roman", serif;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h3,
.h3 {
    font-size: 1.5rem;
    /* 24px */
    font-family: "Fraunces", "Georgia", "Times New Roman", serif;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #0F7A72;
}

h4,
.h4 {
    font-size: 1rem;
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #12312e;
}

p {
    font-size: 1rem;
    /* 16px */
    line-height: 1.6;
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #46635f;
}

.small-text {
    font-size: 0.875rem;
    /* 14px */
}

a {
    color: #0f7a72;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0b5c56;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
}

/* ==========================================================================
   Layout Containers & Spacing
   ========================================================================== */

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #eef5f4;
    min-height: 100vh;
}

.px {
    padding-left: 56px;
    padding-right: 56px;
}

.mx {
    margin-left: 56px;
    margin-right: 56px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 24px 40px;
}

.section-header.work-header {
    padding: 64px 24px 40px;
}

.section-title {
    font-family: "Fraunces", serif;
    font-size: 32px;
    font-weight: 600;
    color: #0F7A72;
    margin: 0 0 8px;
}

.section-subtitle {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    font-size: 14px;
    color: #46635f;
    margin: 0;
}

.section-mb {
    margin-bottom: 90px;
}

.section-mb-80 {
    margin-bottom: 80px;
}

.section-mb-72 {
    margin-bottom: 72px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.nav-container {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(238, 245, 244, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(18, 49, 46, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 56px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: #12312e;
    text-decoration: none;
    line-height: 1.2;
}

.nav-logo-sparkles {
    font-size: 20px;
    color: #0f7a72;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 14px;
    color: #3a5451;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: inherit;
    text-decoration: none;
}

.nav-list a:hover {
    color: #0F7A72;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
}

.nav-btn {
    white-space: nowrap;
}

a.nav-active {
    font-weight: 700;
    color: #0F7A72 !important;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
}

/* ── Burger Menu Button ── */
.burger-menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 6px;
    margin: 0;
    cursor: pointer;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: #0f7a72;
    transition: background 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.burger-menu-btn:hover {
    background: rgba(15, 122, 114, 0.08);
}

.burger-menu-btn:active {
    transform: scale(0.92);
}

.burger-menu-btn svg {
    width: 32px;
    height: 32px;
    stroke: #0f7a72;
    display: block;
}

/* Burger lines morph into an X while the menu is open */
.burger-line {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.burger-menu-btn[aria-expanded="true"] .burger-top {
    transform: translateY(5.25px) rotate(45deg);
}

.burger-menu-btn[aria-expanded="true"] .burger-mid {
    opacity: 0;
    transform: scaleX(0);
}

.burger-menu-btn[aria-expanded="true"] .burger-bot {
    transform: translateY(-5.25px) rotate(-45deg);
}

/* ── Fullscreen Mobile Navigation Overlay ──
   The real nav bar stays on top (z-index 100) and the burger turns into an X,
   so the menu is one continuous panel that drops down beneath it. */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    padding-top: 81px; /* height of the mobile nav bar */
    background: #eef5f4;
    z-index: 99;
    display: flex;
    flex-direction: column;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* closing: quick and tidy */
    transition: clip-path 0.4s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.3s ease 0.1s,
        visibility 0s linear 0.4s;
}

.mobile-nav-overlay.active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* opening: smooth, decelerating drop */
    transition: clip-path 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        visibility 0s;
}

/* Menu items float up one after another */
.mobile-nav-list li,
.mobile-nav-cta,
.mobile-nav-footer {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-nav-overlay.active .mobile-nav-list li,
.mobile-nav-overlay.active .mobile-nav-cta,
.mobile-nav-overlay.active .mobile-nav-footer {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav-overlay.active .mobile-nav-list li:nth-child(1) { transition-delay: 0.12s; }
.mobile-nav-overlay.active .mobile-nav-list li:nth-child(2) { transition-delay: 0.18s; }
.mobile-nav-overlay.active .mobile-nav-list li:nth-child(3) { transition-delay: 0.24s; }
.mobile-nav-overlay.active .mobile-nav-cta { transition-delay: 0.32s; }
.mobile-nav-overlay.active .mobile-nav-footer { transition-delay: 0.4s; }

@media (min-width: 769px) {
    .mobile-nav-overlay {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav-overlay,
    .mobile-nav-overlay.active {
        clip-path: none;
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }

    .mobile-nav-overlay.active {
        transition: opacity 0.2s ease, visibility 0s;
    }

    .mobile-nav-list li,
    .mobile-nav-cta,
    .mobile-nav-footer {
        opacity: 1;
        transform: none;
        transition: none !important;
    }

    .burger-line {
        transition: none;
    }
}

.mobile-nav-header {
    display: none !important; /* the real nav bar is the header now */
}

.mobile-nav-close {
    background: transparent;
    border: none;
    padding: 6px;
    margin: 0;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f7a72;
    transition: background 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-close:hover {
    background: rgba(15, 122, 114, 0.08);
}

.mobile-nav-close:active {
    transform: scale(0.92);
}

.mobile-nav-close svg {
    width: 32px;
    height: 32px;
    stroke: #0f7a72;
    display: block;
}

.mobile-nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px 40px;
    text-align: center;
    gap: 36px;
    overflow-y: auto;
}

.mobile-nav-links {

    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #3a5451;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: #0f7a72;
    transform: translateY(-2px);
}

.mobile-nav-link.nav-active {
    color: #0f7a72;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 6px;
}

.mobile-nav-cta {
    margin-top: 6px;
}

.mobile-nav-cta .primary-button {
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 12px;
}

.mobile-nav-footer {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    color: #5b7a76;
    margin-top: auto;
    padding-top: 16px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.primary-button {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f7a72;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.primary-button:hover {
    background: #09665f;
    color: #fff;
    text-decoration: none;
}

/* Disabled state: e.g. "Case study coming soon" */
.primary-button.is-disabled,
.primary-button:disabled {
    background: #c3d8d4;
    color: #3f5a55;
    cursor: not-allowed;
    opacity: 1;
}

.primary-button.is-disabled:hover,
.primary-button:disabled:hover {
    background: #c3d8d4;
    color: #3f5a55;
}

.primary-button-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: #fff;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.primary-button:hover .primary-button-icon {
    transform: translateX(4px);
}

.secondary-button {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    background: #fff;
    color: #12312e;
    border: 1px solid #b8cdc9;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.secondary-button:hover {
    background: #eef5f4;
    border-color: #0f7a72;
    color: #0f7a72;
    text-decoration: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-wrapper {
    min-height: calc(100vh - 90px);
    min-height: calc(100dvh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    flex: 1;
}

.hero-title {
    font-family: "Fraunces", "Georgia", serif;
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #0F7A72;
    max-width: 900px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 0;
}

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(4px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

    85% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-15px);
        filter: blur(4px);
    }
}

.animated-phrase {
    display: inline-block;
    animation: slideFadeIn 3s forwards ease-in-out;
}

.contact-bar {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 56px 56px;
    font-size: 13px;
    color: #5b7a76;
}

.hero-wrapper {
    position: relative;
}

.scroll-hint {
    position: fixed;
    left: 50%;
    bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    width: 32px;
    height: 32px;
    margin-left: -16px;
    color: #0F7A72;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: opacity 0.6s ease;
}

.scroll-hint.is-visible {
    opacity: 0.8;
}

.scroll-hint svg {
    display: block;
    width: 100%;
    height: 100%;
    animation: scrollHintBounce 2s ease-in-out infinite;
}

@keyframes scrollHintBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.55;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-hint svg {
        animation: none;
    }
}

/* Footer: Get in Touch button is mobile-only */
.footer-cta {
    display: none;
}

/* ==========================================================================
   Strengths Section
   ========================================================================== */

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.strength-card {
    background: #dcece9;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.strength-icon {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: #0f7a72;
}

.strength-icon svg {
    width: 24px;
    height: 24px;
    margin-bottom: 14px;
}

.strengths-title {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #12312e;
    margin-bottom: 8px;
}

.strenghts-body {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    font-size: 14px;
    color: #4a655f;
    line-height: 1.5;
}

/* ==========================================================================
   Brands Section
   ========================================================================== */

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.brand-card {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    position: relative;
    overflow: hidden;
    background: #dcece9;
    border-radius: 16px;
    padding: 28px;
    cursor: pointer;
    min-height: 220px;
    /* cursor: pointer applies on touch devices (tap-to-reveal); desktop overrides below */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: background 250ms ease, box-shadow 250ms ease, transform 250ms ease;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.brand-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    gap: 14px;
    transition: transform 250ms ease;
}

.brand-logo-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(18, 49, 46, 0.12);
    border: 1.5px solid rgba(15, 122, 114, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 250ms ease, border-color 250ms ease;
}

.brand-logo-icon svg {
    width: 36px;
    height: 36px;
    opacity: 0.45;
    transition: opacity 250ms ease;
}

.brand-logo-img {
    width: 70%;
    max-height: 70%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: brightness(0);
    opacity: 0.55;
    transition: opacity 250ms ease, filter 250ms ease;
}

.brand-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #4a655f;
    transition: color 250ms ease;
}

.brand-info-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: #12312e;
    border-radius: 0 0 16px 16px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.34, 1.2, 0.64, 1);
}

.brand-info-panel p {
    margin: 0;
    font-size: 12px;
    color: #9fc4bf;
    line-height: 1.55;
}

/* Desktop Hover Styles — pointer devices with true hover support */
@media (hover: hover) and (pointer: fine) {
    .brand-card {
        cursor: default;
        /* Cards are not clickable on desktop; hover reveals info panel via CSS */
    }

    .brand-card:hover {
        background: #0f7a72;
        box-shadow: 0 12px 40px rgba(15, 122, 114, 0.28);
        transform: translateY(-4px);
    }

    .brand-card:hover .brand-logo-area {
        transform: translateY(-36px);
    }

    .brand-card:hover .brand-logo-icon {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.35);
    }

    .brand-card:hover .brand-logo-icon svg {
        opacity: 0.85;
    }

    .brand-card:hover .brand-logo-img {
        filter: none;
        opacity: 0.95;
    }

    .brand-card:hover .brand-name {
        color: rgba(255, 255, 255, 0.75);
    }

    .brand-card:hover .brand-info-panel {
        transform: translateY(0);
    }
}

/* Touch-active state — mobile only */
@media (hover: none),
(pointer: coarse) {

    .brand-card--tapped {
        background: #0f7a72;
        box-shadow: 0 12px 40px rgba(15, 122, 114, 0.28);
        transform: translateY(-4px);
    }

    .brand-card--tapped .brand-logo-area {
        transform: translateY(-36px);
    }

    .brand-card--tapped .brand-logo-icon {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.35);
    }

    .brand-card--tapped .brand-logo-icon svg {
        opacity: 0.85;
    }

    .brand-card--tapped .brand-logo-img {
        filter: none;
        opacity: 0.95;
    }

    .brand-card--tapped .brand-name {
        color: rgba(255, 255, 255, 0.75);
    }

    .brand-card--tapped .brand-info-panel {
        transform: translateY(0);
    }

}

/* ==========================================================================
   Case Studies Components
   ========================================================================== */

.cs-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #dcece9;
    border-radius: 20px;
    padding: 44px;
    margin-bottom: 28px;
}

.cs-card-reverse {
    flex-direction: row-reverse;
}

.cs-card-text {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    flex: 1;
    min-width: 0;
}

.cs-category {
    font-size: 13px;
    color: #5b7a76;
    margin-bottom: 12px;
    font-weight: 700;
    display: block;
}

.cs-title {
    font-size: 26px;
    font-weight: 600;
    color: #12312e;
    line-height: 1.3;
    margin: 0 0 14px;
    font-family: "Fraunces", serif;
}

/* Same size as .cs-title, set in Plus Jakarta Sans with the site-wide fallbacks */
.cs-title-sans {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 14px;
    color: #0F7A72;
}

.cs-desc {
    font-size: 14px;
    color: #4a655f;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 420px;
}

.tag-pill {
    font-size: 11px;
    padding: 6px 12px;
    border: 1px solid #b8cdc9;
    border-radius: 14px;
    color: #4a655f;
    white-space: nowrap;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    font-weight: 600;
}

.tags-list {
    display: flex;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

/* About-page pills, placed on the case study cards. The card is the same green
   as the pill, so the pill uses the lighter page tone to stay visible. */
.cs-card .cs-pills {
    margin-bottom: 24px;
}

.cs-card .badge-pill {
    background: #eef5f4;
}

.cs-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cs-stat-val {
    font-variant-numeric: tabular-nums;
    font-size: 22px;
    font-weight: 600;
    color: #0F7A72;
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
}

.cs-stat-label {
    font-size: 13px;
    color: #5b7a76;
    font-weight: 600;
}

.cs-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Thumbnail in the card: fills the area the phone mockups used to take.
   Always 43:36 (430 x 360 px at the full desktop size), at every screen size. */
.cs-card-image {
    --thumb-trim: 1.07; /* 1 = show the artwork as-is; >1 trims the light frame baked into the PNGs */
    flex: 1;
    min-width: 0;
    aspect-ratio: 43 / 36;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.cs-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(var(--thumb-trim));
    display: block;
}

@media (max-width: 768px) {
    /* stacked: text first, then the image at full card width, same 43:36 shape */
    .cs-card-image {
        flex: none;
        width: 100%;
        border-radius: 16px;
    }
}

.cs-card-visuals {
    flex: 1;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-shrink: 0;
}

.cs-phone {
    width: 180px;
    height: 360px;
    border-radius: 24px;
    background: repeating-linear-gradient(135deg, #f4f9f8, #f4f9f8 10px, #e3eeec 10px, #e3eeec 20px);
    border: 6px solid #12312e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-family: monospace;
    color: #5b7a76;
    text-align: center;
    padding: 8px;
    flex-shrink: 0;
}

.cs-square {
    width: 220px;
    height: 280px;
    border-radius: 20px;
    background: repeating-linear-gradient(135deg, #f4f9f8, #f4f9f8 10px, #e3eeec 10px, #e3eeec 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-family: monospace;
    color: #5b7a76;
}

/* ==========================================================================
   About Page Components
   ========================================================================== */

.about-hero {
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

.about-bio {
    font-size: 15px;
    color: #4a655f;
    line-height: 1.7;
    max-width: 480px;
    margin: 0;
}

.hero-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* always square, at every screen size */
    object-fit: contain; /* never crops the artwork */
    border-radius: 20px;
    display: block;
}

.about-section {
    margin-bottom: 80px;
}

.badge-pill {
    font-size: 12px;
    padding: 8px 16px;
    background: #dcece9;
    border-radius: 16px;
    color: #2c443f;
    display: inline-block;
    font-weight: 500;
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
}

.pills-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Spoken Languages & Tools & Skills: same breathing room between the
   description and the first row as the Experience section has
   (20px row padding + line-height of the first role line). */
.about-section .section-subtitle+.pills-list {
    margin-top: 28px;
}

.exp-list {
    display: flex;
    flex-direction: column;
}

.exp-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid #cfe0dc;
}

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

.exp-content {
    flex: 1;
    padding-right: 20px;
}

.exp-role {
    font-size: 16px;
    font-weight: 600;
    color: #12312e;
    margin-bottom: 4px;
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
}

.exp-company {
    font-size: 13px;
    color: #5b7a76;
    margin-bottom: 8px;
}

.exp-pills {
    margin-top: 12px;
}

.exp-date {
    font-size: 13px;
    color: #5b7a76;
    white-space: nowrap;
}

.cta-card {
    margin-bottom: 90px;
    background: #0f7a72;
    border-radius: 20px;
    padding: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 14px;
    font-family: "Fraunces", serif;
}

.cta-desc {
    font-size: 14px;
    color: #cfe6e3;
    margin: 0 0 28px;
    max-width: 440px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* CTA buttons: same look as the nav "Get in Touch" button
   (8px radius, Plus Jakarta Sans, circle-arrow icon that nudges on hover),
   recolored for the green card. */
.cta-btn-primary,
.cta-btn-secondary {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.cta-btn-primary {
    background: #fff;
    color: #0F7A72;
    order: 2; /* right-hand button on desktop */
}

.cta-btn-primary:hover {
    background: #f0f7f6;
    color: #0F7A72;
    text-decoration: none;
}

.cta-btn-secondary {
    order: 1;
}

.cta-btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.cta-btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

.cta-btn-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cta-btn-primary:hover .cta-btn-icon,
.cta-btn-secondary:hover .cta-btn-icon {
    transform: translateX(4px);
}

/* ── Scrolling Banner ── */
.hobby-frame {
    position: relative;
    margin-top: 28px;
    padding: 28px 0 24px;
    border: 1px solid #cfe0dc;
    border-radius: 20px;
}

.hobby-star {
    position: absolute;
    top: 0;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5f4; /* page background, so the stroke breaks behind the star */
    border-radius: 50%;
    color: #0F7A72;
}

.hobby-star-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    animation: starTwinkle 2.4s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.85;
    }

    25% {
        transform: scale(1.25) rotate(12deg);
        opacity: 1;
    }

    50% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.8;
    }

    75% {
        transform: scale(1.2) rotate(-12deg);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hobby-star-icon {
        animation: none;
    }
}

.scrolling-banner-wrapper {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-top: 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scrolling-banner-track {
    display: inline-block;
    animation: scroll-banner 30s linear infinite;
}

.hobby-tag {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 12px;
    background: #f0f6f5;
    color: #4a655f;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }

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

/* ==========================================================================
   Case Study Detail Components (first case study.html)
   ========================================================================== */

.back-link-wrapper {
    padding-top: 16px;
    padding-bottom: 0;
}

.back-link {
    font-size: 13px;
    color: #5b7a76;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #0f7a72;
    text-decoration: none;
}

.case-study-hero {
    padding-top: 56px;
    padding-bottom: 40px;
}

.case-study-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #5b7a76;
    margin-bottom: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.case-study-hero-title {
    font-size: 44px;
    font-weight: 500;
    color: #12312e;
    line-height: 1.2;
    max-width: 760px;
    margin: 0 0 20px;
    font-family: "Fraunces", serif;
}

.case-study-hero-subtitle {
    font-size: 16px;
    color: #4a655f;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 0 28px;
}

.hero-image {
    height: 420px;
    border-radius: 20px;
    background: repeating-linear-gradient(135deg, #dcece9, #dcece9 14px, #cde2de 14px, #cde2de 28px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-family: monospace;
    color: #4a655f;
    margin-bottom: 56px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #5b7a76;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.meta-value {
    font-size: 14px;
    color: #12312e;
    font-weight: 500;
}

.case-study-section {
    margin-bottom: 72px;
}

.section-kicker-teal {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #0f7a72;
    margin-bottom: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.case-study-section-title {
    font-size: 26px;
    font-weight: 600;
    color: #12312e;
    line-height: 1.3;
    margin: 0 0 16px;
    font-family: "Fraunces", serif;
}

.case-study-section-title.mb-32 {
    margin-bottom: 32px;
}

.case-study-section-body {
    font-size: 14px;
    color: #4a655f;
    line-height: 1.7;
    margin: 0;
}

.case-study-section-body.max-w-640 {
    max-width: 640px;
    margin-bottom: 32px;
}

.problem-placeholder {
    border-radius: 16px;
    background: #dcece9;
    padding: 8px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-family: monospace;
    color: #4a655f;
    text-align: center;
}

.process-card {
    background: #dcece9;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.process-step {
    font-size: 13px;
    font-weight: 600;
    color: #0f7a72;
    margin-bottom: 10px;
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: 0.04em;
}

.process-desc {
    font-size: 14px;
    color: #4a655f;
    line-height: 1.6;
    margin: 0;
}

.phone-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.phone-mock {
    width: 220px;
    height: 440px;
    border-radius: 28px;
    flex-shrink: 0;
    background: repeating-linear-gradient(135deg, #dcece9, #dcece9 14px, #cde2de 14px, #cde2de 28px);
    border: 6px solid #12312e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-family: monospace;
    color: #4a655f;
    text-align: center;
    padding: 12px;
}

.results-card {
    margin-bottom: 72px;
    background: #12312e;
    border-radius: 20px;
    padding: 48px;
    color: #fff;
}

.results-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #9fc4bf;
    margin-bottom: 24px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.result-value {
    font-size: 34px;
    font-weight: 600;
    font-family: "Fraunces", serif;
}

.result-label {
    font-size: 12px;
    color: #9fc4bf;
    margin-top: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.learnings-body {
    font-size: 14px;
    color: #4a655f;
    line-height: 1.7;
    max-width: 700px;
    margin: 0;
}

.next-cs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #dcece9;
    border-radius: 20px;
    padding: 32px 40px;
    margin-bottom: 90px;
}

.next-cs-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #5b7a76;
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.next-cs-title {
    font-size: 18px;
    font-weight: 600;
    color: #12312e;
    font-family: "Fraunces", serif;
    margin: 0;
}

.next-cs-btn {
    background: #0f7a72;
    color: #fff;
    border-radius: 20px;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.next-cs-btn:hover {
    background: #09665f;
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   WIP / Empty Page Components
   ========================================================================== */

.wip-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    flex: 1;
}

.wip-title-box {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wip-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */

.site-footer {
    background: #12312e;
    border-radius: 24px;
    margin: 0 24px 24px;
    padding: 40px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
}

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 0px;
    filter: brightness(0) invert(1);
}

.footer-role {
    color: #f0fffd;
    font-family: "Fraunces", serif;
    font-size: 18px;
    font-weight: 500;
    margin-top: 8px;
    margin-bottom: 0;
}

.footer-role-sub {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #9fc4bf;
    margin: 6px 0 24px;
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    text-transform: uppercase;
}

.footer-links {
    margin-bottom: 28px;
    margin-top: 24px;
}

.footer-links-list {
    display: flex;
    gap: 32px;
    font-size: 16px;
    color: #f0fffd;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-list a {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    color: #f0fffd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: #b8d8d2;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
}

.footer-links-list a:active {
    color: #b8d8d2;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
}

.footer-links-list a.active {
    color: #f0fffd;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 4px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(136, 118, 118, 0.15);
    margin: 0 0 24px;
    border: none;
}

.footer-divider.divider-light {
    background: rgba(255, 255, 255, 0.15);
}

.footer-row {
    font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 12px;
    color: #9fc4bf;
    gap: clamp(8px, 5vw, 40px);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: #9fc4bf;
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ==========================================================================
   Contact Modal Component
   ========================================================================== */

.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 49, 46, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: #ffffff;
    border: 1px solid rgba(18, 49, 46, 0.08);
    border-radius: 24px;
    padding: 36px 32px 32px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 64px rgba(18, 49, 46, 0.22);
    font-family: "Plus Jakarta Sans", sans-serif;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.contact-modal-overlay.active .contact-modal {
    transform: translateY(0) scale(1);
}

.contact-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #eef5f4;
    color: #12312e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-modal-close:hover {
    background: #dcece9;
    transform: scale(1.06);
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.contact-modal-badge {
    width: 64px;
    height: 64px;
    border-radius: 100px;
    background: #e6f3f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.contact-modal-icon {
    color: #0f7a72;
    width: 32px;
    height: 32px;
}

.contact-modal-title {
    font-family: "Fraunces", "Georgia", serif;
    font-size: 26px;
    font-weight: 600;
    color: #12312e;
    margin: 0 0 8px;
    line-height: 1.2;
}

.contact-modal-subtitle {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    color: #5b7a76;
    margin: 0;
    line-height: 1.5;
}

.contact-modal-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-modal-field {
    text-align: left;
}

.contact-modal-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #5b7a76;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.contact-modal-field-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4f9f8;
    border: 1px solid #cce2de;
    border-radius: 12px;
    padding: 10px 14px;
    gap: 12px;
}

.contact-modal-email {
    font-size: 14px;
    font-weight: 600;
    color: #12312e;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.contact-modal-email:hover {
    color: #0f7a72;
    text-decoration: underline;
}

.contact-modal-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #b8d9d2;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #12312e;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.contact-modal-copy-btn:hover {
    background: #e6f3f1;
    border-color: #0f7a72;
    color: #0f7a72;
}

.contact-modal-copy-btn.copied {
    background: #0f7a72;
    border-color: #0f7a72;
    color: #ffffff;
}

.contact-modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2px 0;
}

.contact-modal-divider::before,
.contact-modal-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dcece9;
}

.contact-modal-divider span {
    padding: 0 12px;
    font-size: 12px;
    color: #8daaa6;
    font-weight: 500;
}

.contact-modal-linkedin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0f7a72;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 122, 114, 0.2);
}

.contact-modal-linkedin-btn:hover {
    background: #09665f;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.contact-modal-linkedin-btn .linkedin-arrow {
    transition: transform 0.2s ease;
}

.contact-modal-linkedin-btn:hover .linkedin-arrow {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   Entrance & Scroll Animations
   ========================================================================== */

/* Uses the individual "translate" property so it never fights with
   hover/active "transform" styles on cards. */
@keyframes floatUp {
    from {
        opacity: 0;
        translate: 0 28px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

/* Hero: greeting first, quote 1s later */
.hero-greeting {
    animation: floatUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}

.animated-phrase.is-intro {
    animation-delay: 1s;
    animation-fill-mode: both;
}

/* Everything else: floats in when scrolled into view (see script in index.html) */
.reveal-pending {
    opacity: 0;
    translate: 0 28px;
}

.reveal.is-revealed {
    animation: floatUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s) both;
}

@media (prefers-reduced-motion: reduce) {
    .hero-greeting,
    .reveal.is-revealed {
        animation: none;
    }

    .animated-phrase.is-intro {
        animation-delay: 0s;
    }

    .reveal-pending {
        opacity: 1;
        translate: none;
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
    .nav-container {
        padding: 18px 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .nav-right {
        display: none !important;
    }

    .burger-menu-btn {
        display: flex !important;
    }

    .px {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mx {
        margin-left: 20px;
        margin-right: 20px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hero-title {
        font-size: 32px !important;
    }

    /* About page: avatar comes before the text on mobile, kept square */
    .about-hero .hero-photo {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
    }

    .hero-image {
        height: 260px !important;
    }

    .phone-mock {
        width: 160px;
        height: 320px;
    }

    /* Location line lives only in the mobile menu on small screens */
    .contact-bar {
        display: none !important;
    }

    .scroll-hint {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .cs-card {
        flex-direction: column !important;
        align-items: stretch; /* text and image use the full card width, so every card has the same margins */
        padding: 28px 20px;
        gap: 0;
    }

    /* Mobile order: company, title, description, image, pills, stats, button.
       The text wrapper is dissolved so the image can sit between its children. */
    .cs-card-text {
        display: contents;
    }

    .cs-category { order: 1; }
    .cs-title { order: 2; }
    .cs-desc { order: 3; }

    .cs-card .cs-card-image {
        order: 4;
        margin-bottom: 24px;
    }

    .cs-card .cs-pills { order: 5; }
    .cs-stats { order: 6; }
    .cs-actions { order: 7; }

    .cs-card-visuals {
        width: 100%;
        justify-content: center;
    }

    .cs-phone {
        width: 140px;
        height: 280px;
    }

    .cs-square {
        width: 100%;
        height: 180px;
    }

    .strengths-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .brands-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .exp-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    /* Mobile order: role, company, date, then pills */
    .exp-content {
        display: contents;
    }

    .exp-company {
        margin-bottom: 0;
    }

    .exp-date {
        order: 1;
    }

    .exp-pills {
        order: 2;
        margin-top: 8px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons a {
        text-align: center;
    }

    /* stacked on mobile: Get in Touch first */
    .cta-btn-primary {
        order: 0;
    }

    .cta-btn-secondary {
        order: 0;
    }

    .next-cs {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .footer-row,
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start !important;
    }

    /* Full-width mobile footer: edge to edge, rounded top corners */
    .site-footer--mobile-full {
        margin: 0;
        border-radius: 24px 24px 0 0;
        padding: 48px 24px 32px;
        box-sizing: border-box;
    }

    .site-footer--mobile-full .footer-links {
        margin-bottom: 32px;
    }

    .site-footer--mobile-full .footer-links-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .site-footer--mobile-full .footer-cta {
        display: inline-flex;
        background: #fff;
        color: #12312e;
        font-size: 15px;
        padding: 14px 28px;
        border-radius: 12px;
        margin-bottom: 40px;
    }

    .site-footer--mobile-full .footer-cta:hover {
        background: #f0fffd;
        color: #12312e;
    }

    .site-footer--mobile-full .footer-cta .primary-button-icon {
        color: #12312e;
    }

    .site-footer--mobile-full .footer-row {
        justify-content: center;
        align-items: center !important;
        text-align: center;
    }
}

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

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .cs-card-visuals {
        justify-content: center;
    }

    .contact-modal {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }

    .contact-modal-title {
        font-size: 22px;
    }

    .contact-modal-email {
        font-size: 13px;
    }
}