/* ── 1. CSS VARIABLES ──────────────────────────────────────── */
/*
 * Custom properties live on :root so they're available
 * everywhere. Change --gold here and it updates across
 * every element that references it.
 */
:root {
    --bg:         #0b0b09;
    --bg2:        #131310;
    --bg3:        #1a1a16;
    --surface:    #222220;
    --gold:       #c9a96e;
    --gold-dim:   #8a6f43;
    --text:       #eae6dd;
    --muted:      #7c7970;
    --border:     rgba(201, 169, 110, 0.14);
}
 
 
/* ── 2. RESET & BASE ───────────────────────────────────────── */
/*
 * Box-sizing: border-box means padding and border are included
 * in an element's width/height. Much more predictable than
 * the default content-box behavior.
 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 
html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}
 
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}
 
 
/* ── 3. TYPOGRAPHY UTILITIES ──────────────────────────────── */
.about-label,
.section-label,
.price-tier,
.service-num,
.work-type,
.hero-eyebrow,
.contact-info .about-label {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
 
.section-heading,
.about-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 52px); /* clamp(min, preferred, max) */
    font-weight: 400;
    line-height: 1.1;
}
 
.about-body {
    color: var(--muted);
    line-height: 1.9;
    font-size: 15px;
}
 
.section-note {
    font-size: 14px;
    color: var(--muted);
    max-width: 280px;
    text-align: right;
    line-height: 1.7;
}
 
 
/* ── 4. NAV ────────────────────────────────────────────────── */
nav {
    position: fixed;           /* Stays at top while scrolling */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;              /* Above all other content */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 60px;
    background: linear-gradient(to bottom, rgba(11,11,9,0.95), rgba(11,11,9,0));
    transition: padding 0.3s;
}
 
.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.18em;
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
}
 
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}
 
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}
 
.nav-links a:hover {
    color: var(--gold);
}
 
.nav-cta {
    color: var(--gold) !important; /* Override the nav-links a color */
    border: 1px solid var(--border);
    padding: 10px 22px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s !important;
}
 
.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--bg) !important;
}
 
 
/* ── 5. HERO ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh; /* At least the full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}
 
/* Decorative radial gradient behind the hero text */
.hero::before {
    content: '';
    position: absolute;
    inset: 0; /* shorthand for top/right/bottom/left: 0 */
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,169,110,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 70%, rgba(201,169,110,0.04) 0%, transparent 50%);
    pointer-events: none; /* Click-through — don't intercept mouse events */
}
 
.hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards; /* name duration delay fill-mode */
}
 
.hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(72px, 10vw, 148px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.02em;
    max-width: 900px;
    opacity: 0;
    animation: fadeUp 0.9s 0.4s forwards;
}
 
.hero-headline em {
    font-style: italic;
    color: var(--gold);
}
 
.hero-sub {
    font-size: 15px;
    color: var(--muted);
    max-width: 420px;
    margin-top: 40px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}
 
.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 52px;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}
 
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--bg);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    font-family: 'Syne', sans-serif;
}
 
.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
 
.btn-ghost {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
 
.btn-ghost:hover { color: var(--text); }
 
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }
 
.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0;
    animation: fadeIn 1s 1.4s forwards;
}
 
.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--gold-dim);
}
 
 
/* ── 6. MARQUEE ───────────────────────────────────────────── */
.marquee-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    overflow: hidden;
    white-space: nowrap;
}
 
.marquee-inner {
    display: inline-flex;
    gap: 48px;
    animation: marquee 20s linear infinite;
}
 
.marquee-item {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-style: italic;
    color: var(--muted);
    letter-spacing: 0.04em;
}
 
.marquee-dot {
    color: var(--gold);
    font-style: normal;
}
 
 
/* ── 7. ABOUT ─────────────────────────────────────────────── */
.about {
    padding: 100px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
 
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}
 
.stat {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
 
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}
 
.stat-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-top: 6px;
}
 
 
/* ── 8. SERVICES ──────────────────────────────────────────── */
.services {
    padding: 100px 60px;
    background: var(--bg2);
}
 
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto 64px;
}
 
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto;
}
 
.service-card {
    background: var(--bg3);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
 
/* The animated gold underline on hover */
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
 
.service-card:hover::before {
    transform: scaleX(1); /* Expands from left to right */
}
 
.service-card:hover {
    background: var(--surface);
}
 
.service-name {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
    margin-top: 8px;
}
 
.service-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}
 
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}
 
.tag {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--gold-dim);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 1px;
}
 
 
/* ── 9. WORK / PORTFOLIO ──────────────────────────────────── */
.work {
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
}
 
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 64px;
}
 
/* The first card in the grid spans both columns */
.work-card:first-child {
    grid-column: 1 / -1; /* From column line 1 to the last line */
}
 
.work-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
}
 
.work-img {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: var(--bg3);
}
 
/* Featured (first) card gets a wider aspect ratio */
.work-card:first-child .work-img {
    aspect-ratio: 16 / 7;
}
 
.work-img-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease;
}
 
.work-card:hover .work-img-inner {
    transform: scale(1.03); /* Subtle zoom on hover */
}
 
/* Placeholder visual patterns for portfolio cards */
.work-img-inner.p1 {
    background: linear-gradient(135deg, #1a1a16 0%, #222218 50%, #1a1a16 100%);
}
.work-img-inner.p1::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(201,169,110,0.06) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(201,169,110,0.06) 40px);
}
.work-img-inner.p1::before {
    content: 'Velko';
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    font-weight: 300;
    letter-spacing: 0.4em;
    color: rgba(201,169,110,0.08);
    z-index: 1;
}
.work-img-inner.p2 {
    background: linear-gradient(160deg, #161614, #1f1e1a);
}
.work-img-inner.p2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 60%, rgba(201,169,110,0.1) 0%, transparent 55%);
}
.work-img-inner.p3 {
    background: linear-gradient(200deg, #1c1b17, #151513);
}
.work-img-inner.p3::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(201,169,110,0.12);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 30px rgba(201,169,110,0.04),
        0 0 0 60px rgba(201,169,110,0.02);
}
 
.work-info {
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
 
.work-type {
    margin-bottom: 8px;
}
 
.work-title {
    font-size: 20px;
    font-weight: 600;
}
 
.work-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
 
.work-card:hover .work-arrow {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
}
 
 
/* ── 10. PROCESS ──────────────────────────────────────────── */
.process {
    padding: 100px 60px;
    background: var(--bg2);
}
 
.process-inner {
    max-width: 1200px;
    margin: 0 auto;
}
 
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 72px;
    border-top: 1px solid var(--border);
}
 
.process-step {
    padding: 48px 40px 48px 0;
}
 
.process-step + .process-step {
    /* + selector targets a sibling immediately after another */
    padding-left: 40px;
    border-left: 1px solid var(--border);
}
 
.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    color: var(--border);
    line-height: 1;
    margin-bottom: 28px;
}
 
.step-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
}
 
.step-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}
 
 
/* ── 11. PRICING ──────────────────────────────────────────── */
.pricing {
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
}
 
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}
 
.price-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 48px 40px;
    position: relative;
}
 
.price-card.featured {
    background: var(--bg3);
    border-color: var(--gold-dim);
}
 
.price-badge {
    position: absolute;
    top: -1px;
    right: 32px;
    background: var(--gold);
    color: var(--bg);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 14px;
}
 
.price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 8px;
    margin-top: 4px;
}
 
.price-amount sup {
    font-size: 22px;
    vertical-align: super;
}
 
.price-note {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 36px;
}
 
.price-features {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    margin-bottom: 40px;
}
 
.price-features li {
    font-size: 14px;
    color: var(--muted);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
 
/* The gold dot before each feature item */
.price-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}
 
.btn-outline {
    display: block;
    text-align: center;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
 
.btn-outline:hover,
.price-card.featured .btn-outline {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
}
 
 
/* ── 12. CTA STRIP ────────────────────────────────────────── */
.cta {
    padding: 120px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
 
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,169,110,0.06) 0%, transparent 65%);
    pointer-events: none;
}
 
.cta-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 300;
    line-height: 0.95;
    max-width: 800px;
    margin: 0 auto 24px;
}
 
.cta-heading em {
    font-style: italic;
    color: var(--gold);
}
 
.cta-sub {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 48px;
}
 
.cta-email {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--gold-dim);
    padding-bottom: 4px;
    transition: color 0.2s, border-color 0.2s;
}
 
.cta-email:hover {
    color: var(--text);
    border-color: var(--text);
}
 
 
/* ── 13. CONTACT PAGE ─────────────────────────────────────── */
.contact-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 60px 72px;
}
 
.contact-body {
    padding: 80px 60px 120px;
    max-width: 1200px;
    margin: 0 auto;
}
 
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Info takes 1/3, form takes 2/3 */
    gap: 80px;
}
 
.contact-info-block {
    margin-bottom: 48px;
}
 
.contact-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 3px;
    transition: color 0.2s;
}
 
.contact-link:hover { color: var(--text); }
 
.contact-text {
    font-size: 15px;
    line-height: 1.7;
}
 
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
 
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
 
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
 
.form-group label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
 
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    padding: 14px 18px;
    border-radius: 2px;
    transition: border-color 0.2s;
    outline: none;
    appearance: none; /* Remove default browser styling on select */
}
 
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}
 
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-dim); /* Highlight on focus */
}
 
.form-group textarea {
    resize: vertical; /* Only allow vertical resizing */
    min-height: 140px;
}
 
.form-group select option {
    background: var(--bg2);
}
 
/* Error messages */
.form-errors {
    background: rgba(201, 60, 60, 0.08);
    border: 1px solid rgba(201, 60, 60, 0.2);
    border-radius: 2px;
    padding: 16px 20px;
    margin-bottom: 8px;
}
 
.form-error-item {
    font-size: 14px;
    color: #e07070;
    line-height: 1.7;
}
 
/* Success message */
.form-success {
    padding: 48px;
    border: 1px solid var(--border);
    text-align: center;
}
 
.form-success h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 16px;
}
 
.form-success p {
    color: var(--muted);
}
 
 
/* ── 14. FOOTER ───────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 
.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
 
.footer-copy {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
}
 
.footer-links {
    display: flex;
    gap: 32px;
}
 
.footer-links a {
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}
 
.footer-links a:hover { color: var(--gold); }
 
 
/* ── 15. ANIMATIONS & SCROLL REVEAL ──────────────────────── */
 
/* Hero entry animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
 
/* Marquee scroll */
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* -50% because content is doubled */
}
 
/*
 * Scroll reveal system:
 * Elements start invisible and translated down.
 * JS adds .visible when they enter the viewport.
 * The transition then animates them into place.
 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
 
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
 
/* Stagger delays — each class delays slightly more */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
 
 
/* ── 16. RESPONSIVE (MOBILE) ─────────────────────────────── */
/*
 * @media queries apply styles only when a condition is met.
 * max-width: 900px means "on screens 900px wide or narrower"
 */
@media (max-width: 900px) {
    nav {
        padding: 24px 28px;
    }
 
    /* Hide nav links on mobile — you'd add a hamburger menu later */
    .nav-links {
        display: none;
    }
 
    .hero {
        padding: 110px 28px 64px;
    }
 
    .hero-scroll {
        left: 28px;
    }
 
    .about {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        padding: 72px 28px;
        gap: 48px;
    }
 
    .services {
        padding: 72px 28px;
    }
 
    .services-grid {
        grid-template-columns: 1fr;
    }
 
    .work {
        padding: 72px 28px;
    }
 
    .work-grid {
        grid-template-columns: 1fr;
    }
 
    .work-card:first-child {
        grid-column: auto; /* Remove the span on mobile */
    }
 
    .process {
        padding: 72px 28px;
    }
 
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
 
    .pricing {
        padding: 72px 28px;
    }
 
    .pricing-grid {
        grid-template-columns: 1fr;
    }
 
    .cta {
        padding: 80px 28px;
    }
 
    .contact-hero {
        padding: 110px 28px 48px;
    }
 
    .contact-body {
        padding: 48px 28px 80px;
    }
 
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
 
    .form-row {
        grid-template-columns: 1fr;
    }
 
    footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 40px 28px;
    }
 
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
 
    .section-note {
        text-align: left;
    }
}