/* ============================================
   Maria — Product Design Portfolio
   Aesthetic: Editorial Swiss Minimalism
   ============================================ */

:root {
    --black: #0a0a0a;
    --white: #fafafa;
    --gray-50: #f5f5f5;
    --gray-100: #ebebeb;
    --gray-200: #d4d4d4;
    --gray-400: #9a9a9a;
    --gray-500: #6b6b6b;
    --gray-700: #3d3d3d;
    --accent: #1b3a5c;
    --accent-light: #2a5580;
    --accent-soft: #e8eef4;
    --font-display: 'Sora', -apple-system, sans-serif;
    --font-body: 'Sora', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 48px; }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 980px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(27, 58, 92, 0.08);
}
.btn-primary:hover {
    background: #224d73;
    box-shadow: 0 2px 12px rgba(27, 58, 92, 0.18);
}

.btn-outline {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-200);
}
.btn-outline:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.btn-light {
    background: var(--white);
    color: var(--black);
}
.btn-light:hover {
    background: var(--gray-100);
}

.btn-sm { padding: 11px 24px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ---- Header ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .header-inner { padding: 0 48px; }
}

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    flex-shrink: 0;
}

.nav {
    display: none;
    gap: 36px;
}

@media (min-width: 768px) {
    .nav { display: flex; }
}

.nav-link {
    font-size: 0.88rem;
    color: var(--gray-500);
    transition: color 0.25s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after { width: 100%; }

.header-cta {
    display: none;
}
@media (min-width: 768px) {
    .header-cta { display: inline-flex; }
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 110;
}
.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--black);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}
.menu-toggle.active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle.active span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

@media (min-width: 768px) {
    .menu-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--black);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
}
.mobile-menu.open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-cta {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
    margin-top: 16px;
}
.mobile-menu.open .mobile-nav-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* ---- Hero ---- */
.hero {
    padding: 160px 0 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #ffffff 0%, #f0f4f8 40%, #e8eef6 70%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.18;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #c8daf0 0%, transparent 70%);
    top: -120px;
    right: -80px;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #d4e0ed 0%, transparent 70%);
    bottom: -100px;
    left: -60px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    display: block;
    pointer-events: none;
    animation: wave-breathe 6s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes wave-breathe {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.08); }
}

@media (min-width: 768px) {
    .hero-wave {
        height: 120px;
    }
}

/* Film grain overlay */
.hero-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    z-index: 1;
    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)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent);
    z-index: 10001;
    transition: none;
    pointer-events: none;
}


@media (min-width: 768px) {
    .hero { padding: 180px 0 120px; }
}

.hero .container {
    display: grid;
    gap: 60px;
}

@media (min-width: 960px) {
    .hero .container {
        grid-template-columns: 1fr 240px;
        gap: 80px;
        align-items: center;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-content {
    min-width: 0;
}

.hero-title-accent {
    color: var(--accent);
    display: block;
    position: relative;
    height: 1.15em;
    white-space: nowrap;
}

.rotating-text {
    display: block;
    position: relative;
    height: 100%;
}

.rotating-line {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.rotating-line.active {
    animation: phraseIn 0.8s var(--ease-out) forwards;
}

.rotating-line.exit {
    animation: phraseOut 0.45s ease-in forwards;
}

@keyframes phraseIn {
    0% {
        opacity: 0;
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes phraseOut {
    0% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        opacity: 0;
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-500);
    max-width: 540px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-aside {
    display: flex;
    gap: 32px;
    padding-top: 8px;
}

@media (min-width: 960px) {
    .hero-aside {
        flex-direction: column;
        gap: 0;
        padding: 0;
        padding-left: 32px;
        border-left: 1px solid var(--gray-200);
    }
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 0;
}

@media (min-width: 960px) {
    .hero-stat {
        border-bottom: 1px solid var(--gray-100);
    }
    .hero-stat:last-child {
        border-bottom: none;
    }
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--black);
}

.stat-plus {
    font-weight: 300;
    color: var(--accent);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---- Section Headers ---- */
.section-label {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-label-light { color: var(--gray-400); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.section-header { margin-bottom: 64px; }

/* ---- Deliverables ---- */
.deliverables {
    padding: 120px 0 0;
}

.deliverables .section-header {
    margin-bottom: 80px;
}

.deliver-item {
    padding: 60px 0;
}

.deliver-item .container {
    border-top: 1px solid var(--gray-100);
    padding-top: 60px;
}

.deliver-item:last-child {
    padding-bottom: 0;
}

.deliver-layout {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px 24px;
}

@media (min-width: 768px) {
    .deliver-layout {
        grid-template-columns: 48px 1fr 1fr;
        gap: 20px 48px;
        align-items: center;
    }
}

.deliver-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-400);
    padding-top: 4px;
}

.deliver-content {
    min-width: 0;
}

.deliver-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.deliver-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-500);
    font-weight: 300;
    margin-bottom: 20px;
    max-width: 480px;
}

.deliver-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    transition: gap 0.25s ease;
}

.deliver-link:hover {
    gap: 10px;
}

.deliver-visual {
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .deliver-visual {
        grid-column: auto;
        aspect-ratio: 5 / 4;
    }

    .deliver-layout-reverse .deliver-content {
        order: 2;
    }
    .deliver-layout-reverse .deliver-visual {
        order: 1;
    }
    .deliver-layout-reverse .deliver-number {
        order: 0;
    }
}

/* Deliver visuals — mini illustrations */
.dv-mockup {
    display: flex;
    gap: 8px;
    width: 80%;
    height: 70%;
}
.dv-sidebar {
    width: 28%;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}
.dv-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dv-bar {
    height: 16%;
    background: rgba(255,255,255,0.12);
    border-radius: 4px;
}
.dv-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.dv-cards div {
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
}

.dv-proto {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 80%;
}
.dv-screen {
    flex: 1;
    aspect-ratio: 3/4;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dv-screen-btn {
    width: 40%;
    height: 12%;
    background: rgba(255,255,255,0.2);
    border-radius: 980px;
}
.dv-screen-check {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
}
.dv-arrow {
    flex-shrink: 0;
}

.dv-audit {
    width: 70%;
}
.dv-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dv-check-item {
    height: 14px;
    border-radius: 4px;
}
.dv-done {
    background: rgba(255,255,255,0.12);
    width: 100%;
}
.dv-issue {
    background: rgba(255,150,150,0.2);
    width: 75%;
}

.dv-chart {
    width: 80%;
    height: 70%;
}
.dv-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100%;
}
.dv-bar-chart div {
    flex: 1;
    background: rgba(255,255,255,0.15);
    border-radius: 4px 4px 0 0;
}

.dv-journey {
    width: 85%;
}

.dv-system {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 75%;
}
.dv-component {
    aspect-ratio: 3/2;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
}
.dv-component-wide {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    height: 32px;
}

/* ---- Portfolio (legacy, kept for portfolio.html) ---- */
.portfolio {
    padding: 120px 0;
    background: var(--gray-50);
}

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

@media (min-width: 600px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
    transition: opacity 0.4s ease;
}
.portfolio-card:hover::before { opacity: 0.85; }

.card-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.card-visual {
    width: 60%;
    height: 50%;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s var(--ease-out);
}

.portfolio-card:hover .card-visual {
    transform: scale(1.04);
}

.card-visual-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

.card-info {
    position: relative;
    z-index: 2;
    color: white;
}

.card-client {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 6px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: all 0.4s var(--ease-out);
}
.portfolio-card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---- Case Overlay ---- */
.case-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
    overflow-y: auto;
}
.case-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.case-overlay-inner {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 24px 40px;
}

@media (min-width: 768px) {
    .case-overlay-inner { padding: 100px 48px 60px; }
}

.case-close {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 210;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: transform 0.3s var(--ease-out);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.case-close:hover { transform: rotate(90deg); }

.case-detail {
    background: var(--white);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.5s var(--ease-out);
}
.case-overlay.open .case-detail {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.case-hero {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.case-hero-visual {
    width: 55%;
    height: 55%;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-hero-text {
    font-family: var(--font-display);
    font-size: 2rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

.case-body {
    padding: 48px 40px 56px;
}

@media (max-width: 600px) {
    .case-body { padding: 32px 24px 40px; }
}

.case-client {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.case-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 36px;
}

.case-sections {
    display: grid;
    gap: 32px;
}

.case-section h4 {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.case-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-700);
    font-weight: 300;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 6px;
}

.case-result-item {
    text-align: center;
    padding: 20px 12px;
    background: var(--gray-50);
    border-radius: 10px;
}

.result-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.result-label {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-weight: 300;
}

/* ---- Service ---- */
.service {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: stretch;
    }
}

.service-layout {
    display: grid;
    gap: 48px;
}

@media (min-width: 960px) {
    .service-layout {
        grid-template-columns: 420px 1fr;
        gap: 64px;
        align-items: start;
    }
}

.retainer-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 40px 32px;
    position: sticky;
    top: 100px;
}

.retainer-label {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.retainer-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.retainer-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.retainer-period {
    font-size: 0.95rem;
    color: var(--gray-400);
    font-weight: 300;
}

.retainer-note {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 300;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-100);
}

.retainer-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.retainer-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--gray-700);
    font-weight: 300;
}

.feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* Custom Card */
.custom-card {
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.custom-card-label {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.custom-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
}

.custom-card-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--gray-500);
    font-weight: 300;
    margin-bottom: 32px;
    flex: 1;
}

/* Process */
.process-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 28px 0;
    border-top: 1px solid var(--gray-100);
    transition: background 0.3s ease;
}

.process-step:last-child {
    border-bottom: 1px solid var(--gray-100);
}

.step-number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gray-400);
    padding-top: 2px;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--gray-500);
    font-weight: 300;
}

/* ---- Contact ---- */
.contact {
    padding: 64px 0;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
}

/* Centered header */
.contact-centered {
    text-align: center;
    margin-bottom: 32px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-400);
    font-weight: 300;
    max-width: 520px;
    margin: 0 auto;
}

/* Brief form — centered, wider */
.brief-form {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: var(--black);
    border-radius: 16px;
    padding: 40px;
}

.form-group { margin-bottom: 24px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.form-label-opt {
    font-weight: 300;
    color: var(--gray-700);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder { color: var(--gray-700); }

.form-input:focus {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(42, 85, 128, 0.15);
}

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

/* Service tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.service-tag {
    cursor: pointer;
}

.service-tag input { display: none; }

.service-tag span {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(180, 210, 240, 0.8);
    background: rgba(42, 85, 128, 0.12);
    border: 1px solid rgba(42, 85, 128, 0.25);
    border-radius: 980px;
    transition: all 0.25s var(--ease-out);
    user-select: none;
}

.service-tag span:hover {
    background: rgba(42, 85, 128, 0.2);
    border-color: rgba(42, 85, 128, 0.4);
    color: rgba(200, 225, 250, 0.95);
}

.service-tag input:checked + span {
    background: var(--accent-light);
    color: var(--white);
    border-color: var(--accent-light);
    box-shadow: 0 2px 20px rgba(42, 85, 128, 0.4);
}

/* File upload */
.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: var(--gray-500);
}

.file-upload:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    color: var(--gray-400);
}

.file-upload.has-file {
    border-color: var(--accent-light);
    background: rgba(42, 85, 128, 0.1);
    color: var(--white);
}

.file-upload-text {
    font-size: 0.88rem;
    font-weight: 400;
}

.file-upload-hint {
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--gray-700);
}

/* Submit button */
.brief-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--black);
    background: var(--white);
    border: none;
    border-radius: 980px;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.brief-submit:hover {
    background: #fff;
    box-shadow: 0 2px 16px rgba(255, 255, 255, 0.2);
}

/* ---- Footer ---- */
.footer {
    padding: 32px 0;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--gray-700);
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-size: 0.82rem;
    color: var(--gray-500);
    transition: color 0.25s ease;
}
.footer-link:hover { color: var(--white); }

/* ---- Animations ---- */
.anim-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.anim-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-delay-1 { transition-delay: 0.12s; }
.anim-delay-2 { transition-delay: 0.24s; }
.anim-delay-3 { transition-delay: 0.36s; }

/* ---- Utilities ---- */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* Form success state */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-400);
    font-weight: 300;
    font-size: 0.95rem;
}
