/* ============================================================
   OZER — redesign stylesheet (self-contained)
   Fixed night design with ambient + weather hooks
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    --bg: #090d18;
    --bg-elev: #0f1424;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(232, 201, 135, 0.30);
    --text: #f4f0e6;
    --text-dim: rgba(244, 240, 230, 0.64);
    --text-mute: rgba(244, 240, 230, 0.42);
    --gold: #e8c987;
    --gold-soft: #f5e6bd;
    --gold-deep: #c9a85f;

    /* scene */
    --hero-photo: url("assets/redesign/hero.jpg");
    --hero-fallback: radial-gradient(120% 90% at 72% 18%, #2a3a63 0%, #141d36 38%, #080c16 78%);
    --hero-overlay: linear-gradient(180deg, rgba(8, 11, 22, 0.45) 0%, rgba(8, 11, 22, 0.30) 40%, rgba(8, 11, 22, 0.78) 100%);
    --media-filter: brightness(1) saturate(1.02);
    --stars-opacity: 0.7;
    --sunglow-opacity: 0.85;
    --weather-tint: rgba(8, 11, 22, 0);

    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
    --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.35);

    /* "on photo" colors used over the dark dusk image */
    --on-photo: #f4f0e6;
    --on-photo-dim: rgba(244, 240, 230, 0.74);
    --on-photo-gold: #f5e6bd;
    --on-photo-border: rgba(255, 255, 255, 0.22);
    --on-photo-surface: rgba(255, 255, 255, 0.06);

    /* nav foreground — light while transparent over the photo */
    --nav-fg: #f4f0e6;
    --nav-fg-dim: rgba(244, 240, 230, 0.72);
    --nav-border: rgba(255, 255, 255, 0.14);
    --nav-surface: rgba(255, 255, 255, 0.06);

    --container: min(1180px, calc(100vw - 48px));
    --radius: 18px;
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.6s ease, color 0.6s ease;
}

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

img {
    display: block;
    max-width: 100%;
}

.wrap {
    width: var(--container);
    margin-inline: auto;
}

.gold {
    color: var(--gold);
    font-style: italic;
}

.hide-mobile {
    display: inline;
}

/* ============================================================
   BACKGROUND STACK
   ============================================================ */
/* photo + stars only cover the top (hero + philosophy); solid body bg below */
.bg-stack {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-photo {
    position: absolute;
    inset: -4%;
    z-index: 0;
    background-image: var(--hero-fallback);
    background-size: cover;
    background-position: 70% 30%;
    filter: var(--media-filter);
    transform: scale(1.04);
    animation: kenburns 40s ease-in-out infinite alternate;
    will-change: transform;
}

/* video background — sits above the gradient fallback, below the overlay */
.bg-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--media-filter);
    transition: opacity 0.6s ease;
}

/* layer the real photo above the fallback gradient when present */
.bg-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-photo);
    background-size: cover;
    background-position: 70% 30%;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--hero-overlay);
    transition: background 0.6s ease;
}

/* The fixed video remains visible behind every page section. */
.bg-overlay::after {
    content: none;
}

.bg-sunglow {
    position: absolute;
    z-index: 3;
    top: 26%;
    right: 16%;
    width: 42vw;
    height: 42vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 207, 130, 0.55) 0%, rgba(255, 170, 80, 0.18) 40%, transparent 68%);
    filter: blur(8px);
    opacity: var(--sunglow-opacity);
    animation: glowpulse 9s ease-in-out infinite;
    transition: opacity 0.6s ease, background 0.6s ease, top 0.6s ease, right 0.6s ease;
}

.bg-stars {
    position: absolute;
    inset: 0;
    z-index: 4;
    height: 100vh;
    opacity: var(--stars-opacity);
    transition: opacity 0.6s ease;
}

.bg-stars i {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
    animation: twinkle var(--dur, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.weather-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

@keyframes kenburns {
    from { transform: scale(1.04) translate(0, 0); }
    to   { transform: scale(1.10) translate(-1.5%, -1%); }
}

@keyframes glowpulse {
    0%, 100% { opacity: calc(var(--sunglow-opacity) * 0.78); }
    50%      { opacity: var(--sunglow-opacity); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.15; }
    50%      { opacity: 1; }
}

/* ============================================================
   NAV
   ============================================================ */
main { position: relative; z-index: 1; }
.footer { position: relative; z-index: 1; }

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav.is-stuck {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
    --nav-fg: var(--text);
    --nav-fg-dim: var(--text-dim);
    --nav-border: var(--border);
    --nav-surface: var(--surface);
}

.nav-inner {
    width: var(--container);
    margin-inline: auto;
    height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.32em;
    font-size: 16px;
    color: var(--nav-fg);
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: 28px;
}

.nav-link {
    font-size: 12px;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: var(--nav-fg-dim);
    position: relative;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--nav-fg);
}

.nav-link.is-active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--nav-border);
    background: var(--nav-surface);
    color: var(--nav-fg);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease, color 0.3s ease;
}

.icon-btn:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

/* weather icon changes by state */
.icon-weather {
    width: 18px;
    height: 18px;
    display: block;
    position: relative;
    color: var(--nav-fg);
}

.icon-weather::before {
    content: "○";
    font-size: 15px;
    line-height: 18px;
}

:root[data-weather="wind"] .icon-weather::before { content: "≈"; color: var(--gold); }
:root[data-weather="rain"] .icon-weather::before { content: "☂"; color: var(--gold); }

.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--nav-surface);
    color: var(--nav-fg);
    font-size: 11px;
    letter-spacing: 0.14em;
    font-weight: 600;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.pill-btn:hover {
    background: var(--gold);
    color: #14110a;
    border-color: var(--gold);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--nav-border);
    border-radius: 10px;
    background: var(--nav-surface);
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    margin-inline: auto;
    background: var(--nav-fg);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    z-index: 90;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 16px 24px 28px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
    transform: translateY(0);
}

.mobile-link {
    padding: 14px 4px;
    font-size: 14px;
    letter-spacing: 0.12em;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
}

.mobile-cta {
    color: var(--gold);
    border-bottom: none;
    margin-top: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
}

.hero-wrap {
    max-width: var(--container);
}

.kicker {
    font-size: 12px;
    letter-spacing: 0.42em;
    color: var(--on-photo-dim);
    margin: 0 0 22px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(44px, 7vw, 92px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0 0 28px;
    max-width: 12ch;
    color: var(--on-photo);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero-title .gold {
    color: var(--on-photo-gold);
}

.hero-sub {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--on-photo-dim);
    margin: 0 0 36px;
    max-width: 42ch;
    line-height: 1.7;
}

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    border: 1px solid var(--on-photo-border);
    background: var(--on-photo-surface);
    color: var(--on-photo);
    font-size: 12px;
    letter-spacing: 0.16em;
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.ghost-btn:hover {
    background: var(--gold);
    color: #14110a;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.ghost-btn svg { transition: transform 0.25s ease; }
.ghost-btn:hover svg { transform: translateX(3px); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--gold);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: gap 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
    gap: 12px;
    border-color: var(--gold);
}

.text-link.small {
    font-size: 11px;
    letter-spacing: 0.12em;
}

/* ============================================================
   PHILOSOPHY BANNER
   ============================================================ */
.philosophy {
    margin: 30px auto 0;
    padding: 38px 44px;
    border-radius: var(--radius);
    border: 1px solid var(--on-photo-border);
    background: rgba(10, 14, 26, 0.34);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
}

.philosophy-spark {
    font-size: 30px;
    color: var(--gold);
    line-height: 1;
}

.philosophy-quote {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.25;
    margin: 0;
    color: var(--on-photo-gold);
}

.philosophy-note {
    margin: 0;
    color: var(--on-photo-dim);
    font-size: 14px;
    line-height: 1.7;
    text-align: right;
    min-width: 240px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 110px 0 10px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.30em;
    color: var(--text-mute);
    margin: 0 0 18px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    margin: 0;
}

.section-aside {
    max-width: 340px;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
}

.section-aside p { margin: 0 0 16px; }
.section-aside--end {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

/* ---------- Products grid ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-grid--services {
    grid-template-columns: repeat(2, 1fr);
}

.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elev);
    padding: 26px 24px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--gold-soft);
    background: var(--surface-2);
    border: 1px solid var(--border);
    margin-bottom: 22px;
}

.product-card h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 23px;
    margin: 0 0 10px;
}

.product-card p {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
    min-height: 66px;
}

.product-grid--services .product-card {
    padding-bottom: 28px;
}

.product-grid--services .text-link {
    margin-top: auto;
}

.card-photo {
    margin: 4px -24px 0;
    height: 130px;
    background-color: var(--bg-elev);
    background-size: cover;
    background-position: center;
    filter: var(--media-filter);
}

.card-photo[data-img="card-studio"]    { background-image: linear-gradient(160deg, #2a2350, #0f1430); }
.card-photo[data-img="card-launchkit"] { background-image: linear-gradient(160deg, #3a2a1c, #14172c); }
.card-photo[data-img="card-flow"]      { background-image: linear-gradient(160deg, #122a2e, #0c1626); }
.card-photo[data-img="card-portal"]    { background-image: linear-gradient(160deg, #3a2418, #160f1f); }

.service-photo {
    height: 190px;
    margin-top: 28px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.72) saturate(0.78) contrast(1.06);
    border-top: 1px solid var(--border);
}

.service-photo--saas { background-image: url("assets/redesign/service-saas.jpg"); }
.service-photo--websites { background-image: url("assets/redesign/service-websites.jpg"); }
.service-photo--problem-solving { background-image: url("assets/redesign/service-problem-solving.jpg"); }
.service-photo--strategy { background-image: url("assets/redesign/service-strategy.jpg"); }

/* ---------- Work grid ---------- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.work-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3.4;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.work-photo {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0c101c;
    filter: var(--media-filter);
    transition: transform 0.5s ease;
}

.work-card:hover .work-photo { transform: scale(1.06); }

.work-photo--commerza { background-image: url("portfolio-commerza.png"); }
.work-photo--afflix { background-image: url("portfolio-afflix-hero.png"); }
.work-photo--taskflow { background-image: url("portfolio-3.png"); }
.work-photo--nova { background-image: url("portfolio-4.png"); }

.work-meta {
    position: relative;
    z-index: 1;
    padding: 22px 24px;
    width: 100%;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 16, 0.82));
}

.work-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--gold-soft);
    margin-bottom: 8px;
}

.work-meta h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 20px;
    margin: 0;
    color: #f4f0e6;
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.cta {
    position: relative;
    margin-top: 120px;
    padding: 120px 0 130px;
    overflow: hidden;
    text-align: center;
}

.cta-photo {
    position: absolute;
    inset: 0;
    background-image: none;
    background-size: cover;
    background-position: center;
    filter: var(--media-filter);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 11, 22, 0.38), rgba(8, 11, 22, 0.70));
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(30px, 4.4vw, 50px);
    margin: 0 0 12px;
    color: var(--on-photo);
}

.cta-sub {
    color: var(--on-photo-dim);
    margin: 0 0 30px;
    font-size: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    background: rgba(9, 13, 24, 0.78);
    backdrop-filter: blur(14px);
    padding: 40px 0;
}

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

.footer-copy {
    color: var(--text-mute);
    font-size: 13px;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-dim);
    font-size: 13px;
    transition: color 0.2s ease;
}

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

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.subpage {
    background: var(--bg);
}

.subpage .nav {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
    --nav-fg: var(--text);
    --nav-fg-dim: var(--text-dim);
    --nav-border: var(--border);
    --nav-surface: var(--surface);
}

.contact-main {
    min-height: calc(100vh - 120px);
    padding: 150px 0 100px;
}

.contact-intro {
    max-width: 760px;
    margin-bottom: 58px;
}

.contact-intro .section-title {
    font-size: clamp(42px, 6vw, 74px);
    max-width: 12ch;
}

.contact-intro p:last-child {
    color: var(--text-dim);
    max-width: 58ch;
    font-size: 16px;
    line-height: 1.8;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
}

.contact-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elev);
    padding: 34px;
}

.contact-panel h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 12px;
}

.contact-panel > p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 30px;
}

.contact-methods {
    display: grid;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-method:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.contact-method-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--gold-soft);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.contact-method small {
    display: block;
    color: var(--text-mute);
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 3px;
}

.contact-method strong {
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field--full { grid-column: 1 / -1; }

.form-field label {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    padding: 14px 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 201, 135, 0.10);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-mute); }

.form-field select option { background: var(--bg-elev); }

.contact-submit {
    grid-column: 1 / -1;
    justify-content: center;
    border-color: var(--border-strong);
    cursor: pointer;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .philosophy { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .philosophy-note { text-align: center; min-width: 0; }
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .pill-btn { display: none; }
    .hamburger { display: flex; }
    .work-grid { grid-template-columns: 1fr; }
    .hide-mobile { display: none; }
    .section { padding: 80px 0 0; }
    .section-aside--end { justify-content: flex-start; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .product-grid { grid-template-columns: 1fr; }
    .philosophy { padding: 28px 22px; }
    .nav-inner { height: 64px; }
    .mobile-menu { inset-block-start: 64px; }
    .hero-title { font-size: clamp(40px, 12vw, 60px); }
    .contact-main { padding-top: 115px; }
    .contact-panel { padding: 24px; }
    .contact-form { grid-template-columns: 1fr; }
    .form-field,
    .form-field--full,
    .contact-submit { grid-column: 1; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .bg-photo,
    .bg-sunglow,
    .bg-stars i {
        animation: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
}
