/* ============================================================
   HELLOGIZA MEDIA — design system
   Warm near-black · antique champagne gold · Bodoni / Mono / Helvetica
   ============================================================ */

:root {
    /* Surfaces — warm, not dead-black */
    --bg:        oklch(0.145 0.006 70);
    --bg-2:      oklch(0.185 0.007 68);
    --bg-3:      oklch(0.225 0.008 66);

    /* Ink */
    --text:      oklch(0.940 0.008 82);
    --muted:     oklch(0.660 0.012 78);
    --faint:     oklch(0.470 0.010 74);

    /* Antique gold — restrained chroma so it reads expensive */
    --gold:      oklch(0.815 0.072 82);
    --gold-deep: oklch(0.660 0.080 72);

    /* Hairlines (warm) */
    --line:      color-mix(in oklab, var(--gold) 22%, transparent);
    --line-soft: color-mix(in oklab, var(--text) 9%, transparent);

    /* digital type system */
    --serif: "Space Grotesk", "IBM Plex Sans", sans-serif;   /* display */
    --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --sans:  "IBM Plex Sans", system-ui, "Helvetica Neue", Arial, sans-serif;

    --maxw: 1320px;
    --pad: clamp(22px, 6vw, 96px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: #14110b; }

a { color: inherit; text-decoration: none; transition: color 0.35s var(--ease); }

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

/* ---------- Film grain + warm vignette ---------- */
.grain, .vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
}
.grain { opacity: 0.05; mix-blend-mode: overlay; }
.grain svg { width: 100%; height: 100%; }
.vignette {
    background: radial-gradient(120% 90% at 50% 30%,
        transparent 40%,
        color-mix(in oklab, var(--bg) 70%, black) 130%);
    z-index: 1;
}

/* ---------- Type primitives ---------- */
.eyebrow {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.85em;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--gold-deep);
    display: inline-block;
}

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--pad);
    transition: padding 0.5s var(--ease), background 0.5s var(--ease),
                border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    background: color-mix(in oklab, var(--bg) 80%, transparent);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border-bottom-color: var(--line-soft);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 58px; width: auto; display: block; transition: height 0.5s var(--ease); }
.nav.scrolled .brand-logo { height: 46px; }
.brand .mark { height: 32px; width: auto; display: block; }
.brand .word {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
}
.brand .word b { color: var(--gold); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.nav-links a {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
    padding: 4px 0;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text) !important;
    border: 1px solid var(--line);
    padding: 11px 20px;
    border-radius: 100px;
    transition: all 0.4s var(--ease);
}
.nav-cta:hover { background: var(--gold); color: #14110b !important; border-color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 160px var(--pad) 56px;
    overflow: hidden;
}
/* original site hero image, darkened for cinematic legibility */
.hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to bottom,
            color-mix(in oklab, var(--bg) 78%, transparent) 0%,
            color-mix(in oklab, var(--bg) 70%, transparent) 45%,
            color-mix(in oklab, var(--bg) 92%, transparent) 100%),
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: saturate(0.9) contrast(1.02);
    pointer-events: none;
}
/* faint monumental pyramid */
.hero .monument {
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: min(78vw, 920px);
    height: auto;
    opacity: 0.32;
    z-index: 0;
    pointer-events: none;
}
.hero .monument polygon { fill: none; stroke: color-mix(in oklab, var(--gold) 26%, transparent); stroke-width: 0.6; }
.hero .glow {
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 60vh;
    background: radial-gradient(ellipse at center bottom,
        color-mix(in oklab, var(--gold-deep) 16%, transparent), transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; }

.hero h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.7rem, 8vw, 7.6rem);
    line-height: 0.99;
    letter-spacing: -0.03em;
    margin: 28px 0 0;
    max-width: 14ch;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.hero .lede {
    margin-top: 34px;
    max-width: 52ch;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: var(--muted);
    line-height: 1.7;
}

.hero-meta {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    width: 100%;
    margin: clamp(48px, 9vh, 110px) auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 56px;
    border-top: 1px solid var(--line-soft);
    padding-top: 26px;
}
.hero-meta .cell { display: flex; flex-direction: column; gap: 5px; }
.hero-meta .k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.hero-meta .v { font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.06em; color: var(--text); }
.hero-meta .v b { color: var(--gold); font-weight: 500; }

/* ============================================================
   MARQUEE credential strip
   ============================================================ */
.strip {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: var(--bg-2);
    overflow: hidden;
    padding: 18px 0;
    position: relative;
    z-index: 2;
}
.marquee { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .item {
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 38px;
    display: inline-flex;
    align-items: center;
    gap: 38px;
    white-space: nowrap;
}
.marquee .item::after { content: "◆"; color: var(--gold-deep); font-size: 0.6em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION scaffold
   ============================================================ */
section.block { padding: clamp(90px, 14vh, 180px) var(--pad); position: relative; z-index: 2; }
.inner { max-width: var(--maxw); margin: 0 auto; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(48px, 8vh, 88px); }
.sec-head h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.1rem, 4.6vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
    max-width: 16ch;
}
.sec-head h2 em { font-style: normal; color: var(--gold); }
.sec-index { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.24em; color: var(--faint); text-transform: uppercase; white-space: nowrap; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.about-copy .eyebrow { margin-bottom: 26px; }
.about-copy .pull {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.5vw, 2.05rem);
    line-height: 1.32;
    letter-spacing: -0.01em;
    margin-bottom: 30px;
    color: var(--text);
}
.about-copy .pull em { font-style: normal; color: var(--gold); }
.about-copy p { color: var(--muted); margin-bottom: 20px; max-width: 56ch; }
.about-copy p:last-child { margin-bottom: 0; }

/* placeholder image frame */
.frame {
    position: relative;
    border: 1px solid var(--line);
    background:
        repeating-linear-gradient(135deg,
            color-mix(in oklab, var(--text) 4%, transparent) 0 2px,
            transparent 2px 11px),
        var(--bg-2);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    overflow: hidden;
}
.frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid var(--line-soft);
    pointer-events: none;
}
.frame .tag {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faint);
    position: relative;
}
.frame .corner {
    position: absolute; top: 14px; right: 14px;
    font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em;
    color: var(--gold-deep);
    z-index: 2;
}
/* filled with real imagery from the original site */
.frame.filled {
    background:
        linear-gradient(to top, color-mix(in oklab, var(--bg) 80%, transparent), transparent 55%),
        url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}
.frame.filled::before { border-color: color-mix(in oklab, var(--text) 18%, transparent); }
.frame.filled .tag { color: var(--text); }

/* ============================================================
   EXPERTISE — capability dossier / ledger
   ============================================================ */
.expertise { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.ledger { border-top: 1px solid var(--line-soft); }
.row {
    display: grid;
    grid-template-columns: 88px 1fr 1.15fr;
    gap: clamp(20px, 4vw, 60px);
    align-items: baseline;
    padding: clamp(28px, 4vh, 44px) 0;
    border-bottom: 1px solid var(--line-soft);
    position: relative;
    transition: background 0.5s var(--ease);
}
.row::before {
    content: "";
    position: absolute; left: 0; top: -1px;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.6s var(--ease);
}
.row:hover { background: color-mix(in oklab, var(--gold) 4%, transparent); }
.row:hover::before { width: 100%; }
.row .num { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--gold); padding-top: 6px; }
.row h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
}
.row .desc { color: var(--muted); font-size: 0.99rem; line-height: 1.7; max-width: 52ch; }

/* ============================================================
   STATEMENT band
   ============================================================ */
.statement { text-align: center; }
.statement .q {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.7rem, 3.7vw, 3.05rem);
    line-height: 1.28;
    letter-spacing: -0.01em;
    max-width: 22ch;
    margin: 30px auto 0;
}
.statement .q em { font-style: normal; color: var(--gold); }
.statement .sig { margin-top: 38px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.contact .lede { color: var(--muted); max-width: 46ch; margin-top: 22px; font-size: 1.08rem; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    margin-top: clamp(44px, 7vh, 76px);
}
.contact-cell { background: var(--bg-2); padding: clamp(32px, 4vw, 50px); transition: background 0.5s var(--ease); }
.contact-cell:hover { background: var(--bg-3); }
.contact-cell .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.contact-cell .v { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.01em; }
.contact-cell a.v:hover { color: var(--gold); }
.contact-cell .sub { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--faint); margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 64px var(--pad) 54px;
    border-top: 1px solid var(--line-soft);
    position: relative;
    z-index: 2;
}
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.foot-top .brand .word { font-size: 1.05rem; }
.foot-brand img { height: 48px; width: auto; display: block; }
.foot-links { display: flex; gap: 30px; }
.foot-links a { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.foot-links a:hover { color: var(--gold); }
.foot-bottom { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.foot-bottom .copy { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); }
.foot-bottom .legal { font-size: 0.82rem; color: var(--faint); max-width: 80ch; line-height: 1.7; }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-copy { order: 2; }
    .frame { order: 1; aspect-ratio: 16 / 10; max-height: 360px; }
    .row { grid-template-columns: 60px 1fr; }
    .row .desc { grid-column: 2; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .nav-links { display: none; }
    .hero { padding-top: 130px; }
    .brand-logo { height: 46px; }
    .hero-meta { gap: 18px 32px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .marquee { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
