/* ===================================================================
   Drunk Labs — Global stylesheet
   Palette: Dark Glass + Copper  ·  Fonts: Fraunces · Inter · JetBrains Mono
   =================================================================== */

:root {
    /* Surfaces */
    --bg-0: #0B0B0D;
    --bg-1: #14151A;
    --bg-2: #1E1F26;
    --border: #2A2C36;

    /* Textes */
    --text-1: #F5F2EC;
    --text-2: #A8A49C;
    --text-3: #6B6860;

    /* Accents métalliques */
    --gold: #C9A96A;
    --gold-light: #E8D5A8;
    --copper: #B87333;

    /* Touches lab */
    --lab-green: #3FB489;
    --lab-blue: #7DB8C4;

    /* Typographies */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Layout */
    --container: 1280px;
    --gutter: 40px;
    --nav-height: 80px;
    --banner-height: 40px;

    /* Transitions */
    --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-0);
    color: var(--text-1);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Grain subtil */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
}

/* ===================================================================
   DOMAIN-FOR-SALE BANNER
   =================================================================== */

.sale-banner {
    background: var(--gold);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 101;
}

.sale-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 32px;
    flex-wrap: wrap;
    text-align: center;
}

.sale-banner-msg {
    position: relative;
}

.sale-banner-msg::after {
    content: '·';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.45;
}

@media (max-width: 900px) {
    .sale-banner-msg::after { display: none; }
}

.sale-banner-msg a {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    margin-left: 6px;
}

.sale-banner-msg a:hover { opacity: 0.75; }

.sale-banner-legal {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.sale-banner-legal a {
    color: var(--bg-0);
    font-weight: 500;
    opacity: 0.78;
    transition: opacity 0.2s var(--ease);
    white-space: nowrap;
}

.sale-banner-legal a:hover,
.sale-banner-legal a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.sale-banner-legal .sep {
    opacity: 0.45;
    font-weight: 400;
}

@media (max-width: 900px) {
    .sale-banner { padding: 10px 16px; }
    .sale-banner-inner {
        flex-direction: column;
        gap: 8px;
        padding: 0;
        text-align: center;
    }
    .sale-banner-legal { gap: 12px; }
}

@media (max-width: 480px) {
    .sale-banner-legal { gap: 8px; font-size: 10px; }
    .sale-banner-legal .sep { opacity: 0.35; }
}

/* ===================================================================
   NAVIGATION
   =================================================================== */

.nav {
    position: sticky;
    top: var(--banner-height);
    z-index: 50;
    background: rgba(11, 11, 13, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo .dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.3s var(--ease);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--text-1); }

.nav-links a.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
}

.nav-cta {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 22px;
    background: var(--gold);
    color: var(--bg-0);
    border-radius: 1px;
    transition: all 0.3s var(--ease);
    font-weight: 600;
}

.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-1);
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
}

/* ===================================================================
   BUTTONS
   =================================================================== */

.btn {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 1px;
}

.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
    background: var(--gold);
    color: var(--bg-0);
    font-weight: 600;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
    background: transparent;
    color: var(--text-1);
    border: 1px solid var(--text-1);
}
.btn-secondary:hover { background: var(--text-1); color: var(--bg-0); transform: translateY(-1px); }

.btn-ghost {
    background: transparent;
    color: var(--gold);
    padding: 14px 0;
    position: relative;
    transition: color 0.3s var(--ease);
}
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost:hover .arrow { transform: translateX(6px); }

.btn-lab {
    background: transparent;
    color: var(--lab-green);
    border: 1px solid var(--lab-green);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 22px;
}
.btn-lab:hover { background: var(--lab-green); color: var(--bg-0); }

/* ===================================================================
   TYPOGRAPHY UTILITIES
   =================================================================== */

.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.display-xl {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(48px, 8vw, 104px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-variation-settings: "opsz" 144;
}
.display-xl em { font-style: italic; color: var(--gold); font-weight: 300; }

.hero-content h1 {
    font-size: clamp(48px, 8.5vw, 132px);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-left: -0.04em;
}

.hero .container {
    padding-left: 24px;
}

@media (max-width: 800px) {
    .hero .container { padding-left: var(--gutter); }
}

/* Subtle gold shimmer on "Labs" */
.hero-content h1 em {
    background: linear-gradient(
        90deg,
        var(--gold) 0%,
        var(--gold) 35%,
        var(--gold-light) 50%,
        var(--gold) 65%,
        var(--gold) 100%
    );
    background-size: 220% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: labsShimmer 6s ease-in-out infinite;
    display: inline-block;
    will-change: background-position, transform;
}

@keyframes labsShimmer {
    0%, 100% {
        background-position: 100% 50%;
        transform: translateY(0);
    }
    50% {
        background-position: 0% 50%;
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content h1 em {
        animation: none;
        background: none;
        -webkit-text-fill-color: var(--gold);
        color: var(--gold);
    }
}

.display-l {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 96;
}
.display-l em { font-style: italic; color: var(--gold); font-weight: 300; }

.display-m {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 72;
}

.lede {
    font-family: var(--font-body);
    font-size: clamp(17px, 1.4vw, 20px);
    color: var(--text-2);
    max-width: 640px;
    line-height: 1.6;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ===================================================================
   REVEAL ON SCROLL
   =================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================================================
   HERO
   =================================================================== */

.hero {
    min-height: calc(100vh - var(--nav-height) - 40px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.05) brightness(0.55);
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,11,13,0.35) 0%, rgba(11,11,13,0.7) 60%, rgba(11,11,13,0.95) 100%),
        linear-gradient(90deg, rgba(11,11,13,0.85) 0%, rgba(11,11,13,0.3) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    text-align: left;
}

.hero-content .eyebrow { margin-bottom: 32px; }
.hero-content h1 { margin-bottom: 0; }
.hero-content .lede { margin-bottom: 48px; max-width: 560px; }

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-meta {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-2);
    text-transform: uppercase;
    text-align: right;
    line-height: 2;
}

.hero-meta strong { color: var(--gold); font-weight: 500; }

/* ===================================================================
   SECTION SHELL
   =================================================================== */

.section {
    padding: 120px 0;
    position: relative;
}

.section-head {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 60px;
    margin-bottom: 72px;
    align-items: baseline;
}

.section-head .num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.15em;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.section-head h2 { margin-bottom: 20px; }
.section-head p { max-width: 620px; color: var(--text-2); }

/* ===================================================================
   WHAT / ABOUT BLOCKS
   =================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) contrast(1.05);
    transition: transform 1.2s var(--ease);
}

.about-image:hover img { transform: scale(1.03); }

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11,11,13,0.6) 100%);
    pointer-events: none;
}

.about-content h2 { margin-bottom: 28px; }
.about-content .lede { margin-bottom: 36px; }

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    align-items: start;
}

.feature-list li:last-child { border-bottom: 1px solid var(--border); }

.feature-list .num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.15em;
    padding-top: 4px;
}

.feature-list h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.feature-list p {
    color: var(--text-2);
    font-size: 15px;
}

/* ===================================================================
   SERVICES / CARDS GRID
   =================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    border-radius: 2px;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.service-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.05);
    transition: transform 1s var(--ease), filter 0.6s var(--ease);
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
    filter: grayscale(0.1) contrast(1.05);
}

.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11,11,13,0.8) 100%);
}

.service-card-body {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--lab-green);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.service-card-desc {
    color: var(--text-2);
    font-size: 15px;
    margin-bottom: 24px;
    flex: 1;
}

/* ===================================================================
   PROCESS STEPS
   =================================================================== */

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

.process-step {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
    border-top: 1px solid var(--border);
    align-items: start;
}

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

.process-step .step-num {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 300;
    line-height: 1;
    color: var(--gold);
    font-variation-settings: "opsz" 96;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.process-step .mono-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--lab-green);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.process-step p {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
}

/* ===================================================================
   AUDIENCES
   =================================================================== */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.audience-item {
    background: var(--bg-0);
    padding: 40px 32px;
    transition: background 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 220px;
}

.audience-item:hover { background: var(--bg-1); }

.audience-item .mono-label {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 0.2em;
}

.audience-item h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 6px;
}

.audience-item p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.6;
    margin-top: auto;
}

/* Image filler that sits next to item 6 on row 2 */
.audience-image {
    background: var(--bg-0);
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.audience-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.35) contrast(1.05) brightness(0.85);
    transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.audience-image:hover img {
    transform: scale(1.04);
    filter: grayscale(0.1) contrast(1.05) brightness(0.95);
}

.audience-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 11, 13, 0.55) 0%,
        rgba(11, 11, 13, 0.15) 60%,
        transparent 100%
    );
    pointer-events: none;
}

@media (min-width: 1100px) {
    .audience-grid { grid-template-columns: repeat(5, 1fr); }
    .audience-image { grid-column: span 4; }
}

@media (max-width: 1099px) {
    .audience-image { display: none; }
}

/* ===================================================================
   GALLERY
   =================================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    filter: grayscale(0.35) contrast(1.05);
    transition: transform 1s var(--ease), filter 0.6s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0) contrast(1.05);
}

.gallery-item:nth-child(1) { grid-column: span 5; aspect-ratio: 5 / 4; }
.gallery-item:nth-child(1) img { aspect-ratio: auto; }
.gallery-item:nth-child(2) { grid-column: span 4; aspect-ratio: 4 / 4; }
.gallery-item:nth-child(2) img { aspect-ratio: auto; }
.gallery-item:nth-child(3) { grid-column: span 3; aspect-ratio: 3 / 4; }
.gallery-item:nth-child(3) img { aspect-ratio: auto; }
.gallery-item:nth-child(4) { grid-column: span 3; aspect-ratio: 3 / 4; }
.gallery-item:nth-child(4) img { aspect-ratio: auto; }
.gallery-item:nth-child(5) { grid-column: span 5; aspect-ratio: 5 / 4; }
.gallery-item:nth-child(5) img { aspect-ratio: auto; }
.gallery-item:nth-child(6) { grid-column: span 4; aspect-ratio: 4 / 4; }
.gallery-item:nth-child(6) img { aspect-ratio: auto; }

/* ===================================================================
   CTA SECTION
   =================================================================== */

.cta-section {
    padding: 140px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--gold);
}

.cta-section .eyebrow { margin-bottom: 28px; justify-content: center; }
.cta-section .eyebrow::before { display: none; }
.cta-section h2 { margin-bottom: 24px; }
.cta-section p { max-width: 560px; margin: 0 auto 48px; color: var(--text-2); font-size: 17px; }

/* ===================================================================
   FORM / CONTACT
   =================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
}

.contact-info .mono-label {
    color: var(--gold);
    font-size: 11px;
    margin-bottom: 20px;
    display: block;
}

.contact-info p {
    color: var(--text-2);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-details li {
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.contact-details .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.contact-details .value {
    color: var(--text-1);
    font-size: 16px;
}

.contact-details a.value:hover { color: var(--gold); }

.form {
    background: var(--bg-1);
    border: 1px solid var(--border);
    padding: 48px 40px;
    border-radius: 2px;
}

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

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

.form-field:last-of-type { margin-bottom: 32px; }

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 10px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: var(--bg-0);
    border: 1px solid var(--border);
    color: var(--text-1);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    border-radius: 1px;
    transition: border-color 0.3s var(--ease);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
    font-family: var(--font-body);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23C9A96A' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.form-footer .hint {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===================================================================
   INNOVATION / HIGHLIGHT
   =================================================================== */

.innovation {
    background: var(--bg-1);
    border: 1px solid var(--border);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 1px;
    background: var(--gold);
}

.innovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.innovation h2 { margin-bottom: 24px; }
.innovation p { color: var(--text-2); font-size: 17px; line-height: 1.7; margin-bottom: 20px; }

.innovation-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat {
    padding: 28px 24px;
    background: var(--bg-0);
    border: 1px solid var(--border);
}

.stat .num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
    font-variation-settings: "opsz" 96;
}

.stat .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-2);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ===================================================================
   PAGE HEADER (inner pages)
   =================================================================== */

.page-header {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.page-header .eyebrow { margin-bottom: 28px; }
.page-header h1 { margin-bottom: 28px; max-width: 900px; }
.page-header .lede { max-width: 640px; }

/* ===================================================================
   LEGAL PAGES · Prose content + notice box
   =================================================================== */

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 72px 0 120px;
}

.legal-content .mono-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-content .mono-meta strong { color: var(--gold); font-weight: 500; }

.legal-content h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 64px 0 20px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    font-variation-settings: "opsz" 72;
}

.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin: 32px 0 12px;
    color: var(--text-1);
    letter-spacing: -0.005em;
}

.legal-content p {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.75;
    padding-left: 22px;
    margin-bottom: 24px;
}

.legal-content li { margin-bottom: 8px; padding-left: 4px; }
.legal-content li::marker { color: var(--gold); }

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s var(--ease);
}
.legal-content a:hover { color: var(--gold-light); }

.legal-content strong { color: var(--text-1); font-weight: 600; }

.legal-content .section-number {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Notice box — prominent callout */
.notice-box {
    background: linear-gradient(180deg, rgba(201, 169, 106, 0.08) 0%, rgba(201, 169, 106, 0.03) 100%);
    border: 1px solid rgba(201, 169, 106, 0.35);
    border-left: 2px solid var(--gold);
    padding: 32px 36px;
    margin: 0 0 56px;
    border-radius: 2px;
    position: relative;
}

.notice-box .notice-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
}

.notice-box h2,
.notice-box h4 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.25;
    color: var(--text-1);
    /* Reset legal-content h2 side-effects (border-top, padding, large margins) */
    margin: 0 0 14px;
    padding: 0;
    border-top: none;
    font-variation-settings: "opsz" 72;
    letter-spacing: -0.005em;
}

.notice-box p {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.notice-box p + p { margin-top: 12px; }

.notice-box a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ===================================================================
   FOOTER · Minimal signature
   =================================================================== */

.footer {
    padding: 100px 0 48px;
    border-top: 1px solid var(--border);
    background: var(--bg-0);
    text-align: center;
    position: relative;
}

.footer-mark {
    margin-bottom: 36px;
}

.footer-mark .logo {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    line-height: 1;
    font-variation-settings: "opsz" 96;
    color: var(--text-1);
}

.footer-mark .logo .dot {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-top: 20px;
    font-weight: 500;
}

.footer-divider {
    width: 80px;
    height: 1px;
    background: var(--gold);
    margin: 48px auto 40px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.3s var(--ease);
    position: relative;
}

.footer-nav a:hover { color: var(--gold); }

.footer-meta {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-meta .gold { color: var(--gold); }

.footer-meta a {
    color: var(--text-3);
    transition: color 0.3s var(--ease);
}

.footer-meta a:hover,
.footer-meta a.is-active { color: var(--gold); }

@media (max-width: 700px) {
    .footer { padding: 72px 0 32px; }
    .footer-nav { gap: 24px 32px; }
    /* Column-reverse : on mobile, legal links come first, copyright drops to the bottom. */
    .footer-meta { flex-direction: column-reverse; text-align: center; gap: 12px; }
    .footer-divider { margin: 36px auto 32px; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 1100px) {
    .about-grid,
    .innovation-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process-step {
        grid-template-columns: 80px 1fr;
        gap: 32px;
    }
    .process-step p { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
    :root { --gutter: 24px; }

    .nav-inner {
        height: auto;
        min-height: var(--nav-height);
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-cta { display: none; }

    /* Disable backdrop-filter while the drawer is open — on iOS Safari,
       backdrop-filter promotes .nav to a containing block for fixed
       descendants, which breaks the drawer & bottom CTA positioning. */
    .nav.mobile-open {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--bg-0);
    }

    /* ---- Full mobile drawer ---- */
    .nav.mobile-open .nav-links {
        display: flex;
        position: fixed;
        top: calc(var(--banner-height) + var(--nav-height));
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-0);
        border-top: 1px solid var(--border);
        flex-direction: column;
        padding: 20px var(--gutter) 40px;
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 60;
    }

    .nav.mobile-open .nav-links li {
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .nav.mobile-open .nav-links a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 20px 4px;
        font-size: 22px;
        font-family: var(--font-display);
        font-weight: 400;
        color: var(--text-1);
        letter-spacing: -0.01em;
        min-height: 60px;
    }

    .nav.mobile-open .nav-links a.is-active { color: var(--gold); }
    .nav.mobile-open .nav-links a.is-active::after { display: none; }

    /* ---- CTA "Start a project / Enquire" pinned at bottom of drawer ---- */
    .nav.mobile-open .nav-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        left: var(--gutter);
        right: var(--gutter);
        bottom: calc(20px + env(safe-area-inset-bottom));
        padding: 18px 24px;
        font-size: 15px;
        font-weight: 600;
        min-height: 56px;
        background: var(--gold);
        color: var(--bg-0);
        box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
        z-index: 62;
    }

    .section-head,
    .section-head > * {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .section-head { grid-template-columns: 1fr; }
    .section-head .num { border-top: none; padding-top: 0; }

    .section { padding: 80px 0; }
    .hero { padding: 60px 0; min-height: auto; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-meta { display: none; }

    .process-step {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .process-step .step-num { font-size: 48px; }

    .innovation { padding: 48px 28px; }
    .form { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }

    .gallery { grid-template-columns: repeat(6, 1fr); }
    .gallery-item:nth-child(n) { grid-column: span 3; aspect-ratio: 1 / 1; }

    .cta-section { padding: 80px 0; }
    .page-header { padding: 60px 0 48px; }
}

/* ===================================================================
   MOBILE OPTIMIZATIONS · tap targets 44px+ · iOS-safe · typography
   Breakpoints: 900 / 700 / 600 / 480
   =================================================================== */

/* ---- Body scroll lock when mobile drawer is open ---- */
body.nav-open { overflow: hidden; touch-action: none; }

/* ---- Universal tap highlight cleanup ---- */
a, button {
    -webkit-tap-highlight-color: rgba(201, 169, 106, 0.18);
}

/* ---- Sale banner: make the link a tappable pill on mobile ---- */
@media (max-width: 900px) {
    .sale-banner {
        padding: 10px 16px;
        font-size: 10.5px;
    }
    .sale-banner-inner {
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 0 8px;
    }
    .sale-banner-msg {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 4px 6px;
    }
    .sale-banner-msg a {
        display: inline-flex;
        align-items: center;
        padding: 8px 14px;
        margin-left: 8px;
        background: rgba(11, 11, 13, 0.88);
        color: var(--gold);
        border-radius: 100px;
        min-height: 36px;
        text-decoration: none;
        font-weight: 700;
        letter-spacing: 0.14em;
    }
    .sale-banner-msg a:hover,
    .sale-banner-msg a:active {
        background: var(--bg-0);
        color: var(--gold);
        opacity: 1;
    }
}

/* ---- Nav toggle: proper 44×44 tap target ---- */
@media (max-width: 800px) {
    .nav-toggle {
        min-height: 44px;
        min-width: 48px;
        padding: 10px 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .nav-logo { font-size: 20px; }
}

/* ---- Form inputs: iOS-zoom-safe 16px + 48px height ---- */
@media (max-width: 900px) {
    .form-input,
    .form-textarea,
    .form-select {
        font-size: 16px;
        padding: 14px 16px;
        min-height: 48px;
    }
    .form-textarea {
        min-height: 160px;
    }
    .form-label {
        font-size: 10.5px;
    }
}

@media (max-width: 600px) {
    .form { padding: 28px 20px; }
    .form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-top: 18px;
    }
    .form-footer .hint {
        text-align: center;
        order: 2;
    }
    .form-footer .btn {
        width: 100%;
        justify-content: center;
        order: 1;
    }
}

/* ---- Buttons: 48px+ minimum tap height on mobile ---- */
@media (max-width: 900px) {
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 15px;
    }
    .btn-primary,
    .btn-secondary {
        min-height: 52px;
        padding: 16px 26px;
    }
    .btn-ghost {
        min-height: 44px;
        padding: 12px 0;
    }
    .btn-lab {
        min-height: 44px;
        padding: 12px 20px;
    }
}

/* ---- Typography scale down on narrow screens ---- */
@media (max-width: 600px) {
    .display-xl { font-size: clamp(40px, 11vw, 60px); line-height: 1; }
    .display-l  { font-size: clamp(30px, 8vw, 44px); }
    .display-m  { font-size: clamp(22px, 6vw, 30px); }
    .lede       { font-size: 16px; line-height: 1.55; }

    .hero { padding: 40px 0 48px; }
    .hero-content h1 {
        font-size: clamp(40px, 12vw, 68px);
        margin-left: 0;
        letter-spacing: -0.025em;
    }
    .hero .container { padding-left: var(--gutter); padding-right: var(--gutter); }

    .section { padding: 64px 0; }
    .page-header { padding: 48px 0 36px; }
    .cta-section { padding: 64px 0; }
    .cta-section p { font-size: 16px; }

    .section-head { margin-bottom: 48px; }
    .section-head .num { font-size: 11px; }
}

/* ---- Audience / About / Process / Service cards polish ---- */
@media (max-width: 600px) {
    .audience-item { padding: 28px 20px; min-height: 0; gap: 10px; }
    .audience-item h3 { font-size: 19px; }
    .audience-item p  { font-size: 14px; }

    .service-card-body { padding: 26px 22px; }
    .service-card-title { font-size: 24px; }
    .service-card-desc { font-size: 14px; margin-bottom: 20px; }

    .process-step { padding: 40px 0; }
    .process-step h3 { font-size: 24px; }
    .process-step p  { font-size: 15px; }

    .feature-list li {
        grid-template-columns: 48px 1fr;
        gap: 16px;
        padding: 16px 0;
    }
    .feature-list h4 { font-size: 18px; }
    .feature-list p  { font-size: 14px; }

    .about-grid, .innovation-grid, .contact-grid { gap: 36px; }
    .about-image { aspect-ratio: 4 / 4; }
}

/* ---- Contact info tap targets ---- */
@media (max-width: 900px) {
    .contact-details li {
        padding-top: 16px;
        padding-bottom: 6px;
    }
    .contact-details a.value {
        display: inline-block;
        padding: 8px 0;
        min-height: 44px;
        line-height: 28px;
    }
    .contact-details .value { font-size: 16px; }
}

/* ---- Innovation stats stack cleanly ---- */
@media (max-width: 600px) {
    .innovation { padding: 36px 22px; }
    .innovation h2 { margin-bottom: 18px; }
    .innovation-stats {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .stat { padding: 22px 18px; }
    .stat .num { font-size: 36px; margin-bottom: 6px; }
}

@media (max-width: 380px) {
    .innovation-stats { grid-template-columns: 1fr; }
}

/* ---- Footer tap targets + layout ---- */
@media (max-width: 700px) {
    .footer { padding: 64px 0 28px; }
    .footer-mark { margin-bottom: 24px; }
    .footer-tagline { font-size: 10px; letter-spacing: 0.18em; }
    .footer-divider { margin: 32px auto 28px; }
    .footer-nav {
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
    }
    .footer-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 12px 20px;
        font-size: 15px;
    }
    .footer-meta {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
        padding-top: 24px;
    }
    /* Copyright sits at the very bottom on narrow mobile */
    .footer-meta span:first-child {
        margin-top: 8px;
    }
    .footer-meta span:last-child {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .footer-meta a {
        display: inline-block;
        padding: 10px 12px;
        min-height: 44px;
        line-height: 24px;
    }
}

/* ---- Gallery: 2 cols at ≤600, 1 col ≤380 ---- */
@media (max-width: 600px) {
    .gallery { gap: 10px; grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(n) {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
    }
}

/* ---- Legal pages comfort ---- */
@media (max-width: 600px) {
    .legal-content { padding: 48px 0 72px; }
    .legal-content h2 { font-size: 22px; margin: 40px 0 14px; padding-top: 28px; }
    .legal-content h3 { font-size: 18px; margin: 24px 0 10px; }
    .legal-content p,
    .legal-content ul,
    .legal-content ol { font-size: 15px; line-height: 1.7; }
    .legal-content .mono-meta {
        gap: 10px 16px;
        font-size: 10px;
        margin-bottom: 32px;
        padding-bottom: 16px;
    }
    .notice-box { padding: 22px 20px; margin-bottom: 36px; }
    .notice-box h4 { font-size: 18px; }
    .notice-box p  { font-size: 14px; }
}

/* ---- Domain inquiry block (contact.html) ---- */
@media (max-width: 700px) {
    .innovation > div > div:first-child .btn { width: 100%; justify-content: center; }
    .innovation > div > div:first-child > div:last-of-type {
        flex-direction: column;
        gap: 12px;
    }
}

/* ---- Extra-small screens (≤480px) ---- */
@media (max-width: 480px) {
    :root { --gutter: 20px; }
    .sale-banner { padding: 10px 14px; font-size: 10px; letter-spacing: 0.12em; }
    .sale-banner-msg::after { display: none; }
    .nav-cta { font-size: 13px; }
    .hero-content h1 { font-size: clamp(38px, 13vw, 64px); }
    .display-xl { font-size: clamp(36px, 12vw, 56px); }
    .display-l  { font-size: clamp(28px, 8.5vw, 40px); }
    .gallery { gap: 8px; }
}

/* =====================================================================
   GDPR Cookie Banner
   - Fixed bottom-left card on desktop, full-width on mobile
   - Slide + fade in on first visit
   - Accept and Decline buttons equally prominent (GDPR requirement)
   - Reopenable via footer "Cookie preferences" link
   ===================================================================== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200; /* above sale-banner (101) and nav (50) */
    pointer-events: none;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: flex-start;
}

.cookie-banner-backdrop {
    /* subtle, non-blocking — purely decorative gradient to pull the banner
       visually off the page without trapping the user */
    position: fixed;
    inset: 0;
    background: linear-gradient(to top, rgba(11,11,13,0.55), rgba(11,11,13,0) 40%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease);
}

.cookie-banner.is-visible .cookie-banner-backdrop { opacity: 1; }

.cookie-banner-box {
    pointer-events: auto;
    position: relative;
    max-width: 520px;
    width: 100%;
    background: rgba(20, 21, 26, 0.94);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px 28px 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.35);
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.cookie-banner.is-visible .cookie-banner-box {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.cookie-banner-content .mono-label {
    display: block;
    margin-bottom: 14px;
}

.cookie-banner-content h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    color: var(--text-1);
}

.cookie-banner-content p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-2);
    margin: 0 0 10px;
}

.cookie-banner-links {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.02em;
    margin-top: 4px !important;
    margin-bottom: 22px !important;
}

.cookie-banner-links a {
    color: var(--text-1);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.18s var(--ease);
}

.cookie-banner-links a:hover { text-decoration-color: var(--gold); }

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}

.cookie-banner-actions .btn {
    flex: 1 1 auto;
    min-height: 44px;
    justify-content: center;
}

/* Cookie banner Decline button — same visual weight as primary for equal-prominence GDPR.
   Scoped to .cookie-banner so it does not override the site-wide .btn-ghost
   used on service cards, innovation sections, etc. */
.cookie-banner .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-1);
    cursor: pointer;
    transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
    border-radius: 0;
}

.cookie-banner .btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 106, 0.04);
}

.cookie-banner .btn-ghost:focus-visible,
.cookie-banner .btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Tablet and below — banner stretches full width from the bottom */
@media (max-width: 700px) {
    .cookie-banner {
        padding: 14px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }
    .cookie-banner-box {
        max-width: 100%;
        padding: 24px 22px 20px;
    }
    .cookie-banner-content h3 { font-size: 20px; }
    .cookie-banner-actions { flex-direction: column; gap: 10px; }
    .cookie-banner-actions .btn { width: 100%; }
}

/* =====================================================================
   SEO · screen-reader-only utility
   ===================================================================== */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================================
   Contact form · GDPR consent checkbox
   ===================================================================== */
.form-consent {
    margin-top: 20px;
    margin-bottom: 28px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
    min-height: 44px;
}

/* Visually-hidden native input, but still focusable */
.consent-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.consent-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 1.5px solid var(--border);
    background: var(--bg-1);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
    position: relative;
}

.consent-box::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--bg-0);
    border-bottom: 2px solid var(--bg-0);
    transform: rotate(-45deg) translate(1px, -1px) scale(0.6);
    opacity: 0;
    transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.consent-label:hover .consent-box {
    border-color: var(--gold);
}

.consent-label input[type="checkbox"]:focus-visible + .consent-box {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.consent-label input[type="checkbox"]:checked + .consent-box {
    background: var(--gold);
    border-color: var(--gold);
}

.consent-label input[type="checkbox"]:checked + .consent-box::after {
    opacity: 1;
    transform: rotate(-45deg) translate(1px, -1px) scale(1);
}

.consent-text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-2);
    letter-spacing: 0.005em;
}

.consent-text a {
    color: var(--text-1);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.18s var(--ease);
}

.consent-text a:hover {
    text-decoration-color: var(--gold);
}

/* Mobile comfort */
@media (max-width: 600px) {
    .consent-text { font-size: 14px; }
    .consent-box { width: 22px; height: 22px; }
}

/* =====================================================================
   Contact form · Formspree status messages
   ===================================================================== */
.form-status {
    margin-top: 20px;
    padding: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    min-height: 0;
    color: var(--text-2);
    transition: opacity 0.2s ease;
}

.form-status:empty {
    display: none;
}

.form-status.is-pending {
    padding: 14px 16px;
    border-left: 2px solid var(--gold);
    background: rgba(201, 169, 106, 0.08);
    color: var(--text-1);
}

.form-status.is-success {
    padding: 14px 16px;
    border-left: 2px solid var(--lab-green, #3FB489);
    background: rgba(63, 180, 137, 0.08);
    color: var(--text-1);
}

.form-status.is-error {
    padding: 14px 16px;
    border-left: 2px solid #E05D5D;
    background: rgba(224, 93, 93, 0.08);
    color: var(--text-1);
}


