:root{
    /* PRIMARY ORANGE SYSTEM — BASED ON #e15f00 */
    --accent: #e15f00;
    --accent-dark: #b84d00;
    --accent-darker: #8a3a00;
    --accent-light: #ff7a1a;
    --accent-lighter: #ff9b4c;

    /* BACKGROUND: Light theme */
    --bg-1: #f6f7fb;    /* very light neutral */
    --bg-2: #ffffff;    /* pure white for gentle gradient */

    /* SURFACE + PANELS (very subtle warm glass) */
    --panel: rgba(11,18,32,0.02);        /* subtle warm tint on white */
    --panel-strong: rgba(11,18,32,0.03);
    --glass: rgba(225,95,0,0.04);       /* orange glass tint for accents */
    --glass-strong: rgba(225,95,0,0.06);

    /* TEXT: dark for readability on light background */
    --text: #0b1220;    /* near-black / deep slate */
    --muted: #6b6b6b;   /* neutral grey for secondary text */

    /* BORDERS */
    --border: rgba(11,18,32,0.06);
    --border-soft: rgba(11,18,32,0.04);

    --radius: 12px;

    /* focus ring (orange glow) */
    --focus-ring: rgba(225,95,0,0.18);
}
/* ===== FORCE LIGHT THEME — OVERRIDE ALL DARK STYLES ===== */
/* =========================================================
   GLOBAL FILM GRAIN
   ========================================================= */
html {
    width: 100%;
    max-width: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    position: relative;
}
main.py-8 {
    padding-top: 0 !important;
}

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

    background: linear-gradient(
            92deg,
            rgba(255,255,255,0.0) 0%,
            rgba(255,255,255,0.10) 50%,
            rgba(255,255,255,0.0) 100%
    );
}


[class*="bg-slate-"],
[class*="bg-gray-"],
[class*="bg-neutral-"],
.bg-slate-900, .bg-slate-800, .bg-slate-700, .bg-slate-600,
.bg-gray-900, .bg-gray-800, .bg-gray-700,
body.bg-slate-900 {
    background-color: transparent !important;
    background: transparent !important;
}

[class*="text-slate-"],
.text-slate-100, .text-slate-200, .text-slate-300, .text-white {
    color: #0b1220 !important;
}

input, textarea, select {
    background: #ffffff !important;
    color: #0b1220 !important;
    border-color: rgba(0,0,0,0.15) !important;
}

.card, .cat, .site-footer, .topbar, .hero-image, .thumb, .search-row {
    background: #ffffff !important;
    color: #0b1220 !important;
    border-color: rgba(0,0,0,0.08) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;

}

.btn {
    background: #e15f00 !important;
    color: white !important;
    border-color: rgba(0,0,0,0.05) !important;
}
.btn.ghost {
    background: transparent !important;
    color: #0b1220 !important;
    border-color: rgba(0,0,0,0.12) !important;
}

.nav a {
    color: #6b6b6b !important;
}
.nav a:hover {
    background: rgba(225,95,0,0.06) !important;
    color: #0b1220 !important;
}

footer, .site-footer a {
    color: #6b6b6b !important;
}

.accent {
    color: #e15f00 !important;
}
/* ---------------- ISLAND NAV + Header center adjustments ---------------- */

/* header layout helpers */
.sticky-topbar { position: sticky; top: 0; z-index: 120; }
.topbar-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding: .6rem 0; }
.top-left, .top-right { min-width: 56px; display:flex; align-items:center; justify-content:center; }
.top-center { flex: 1 1 auto; display:flex; align-items:center; justify-content:center; }

/* center logo style */
.centered-logo {
    width: 160px;
    height: auto;
    display:block;
    object-fit:contain;
    border-radius:8px;
    transition: transform .12s ease, box-shadow .12s ease;
}
.centered-logo:hover { transform: translateY(-3px); }

/* make sure textual brand is unobtrusive */
.brand-text { display:flex; flex-direction:column; gap:0; margin-left:.5rem; }
.brand-text .logo { font-size:1rem; color:var(--text); }
.brand-text .tag { color:var(--muted); font-size:.82rem; }

/* Keep search row full-width under the header */
.search-row { width:100%; margin-top:.25rem; padding: .6rem .75rem; }

/* ---------------- ISLAND NAV ---------------- */
/* ---------------- ISLAND NAV (Updated Size + Larger Center Button) ---------------- */

.island-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
    z-index: 140;
}

.island-list {
    list-style: none !important;    /* remove default bullets */
    margin: 0 !important;
    display: flex;
    align-items: center!important;
    gap: .35rem !important;
    padding: 0.35rem 1rem !important;              /* add vertical padding so circle can overlap */
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(18px);
    border-radius: 999px;
    border: 1px solid rgba(11,18,32,0.05);
    box-shadow: 0 8px 28px rgba(11, 18, 32, 0.47);
    position: relative;                    /* allows overlap */
    height: 75px!important;
}

/* normal buttons */
.island-link {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 10px;
    font-size: .85rem;            /* smaller text */
    color: black;
    text-decoration: none;
    transition: background .12s ease, transform .08s ease;
}

.island-link:hover,
.island-link:focus {
    background: rgb(255, 107, 0);
    color: white;
    transform: translateY(-2px);
    border-radius: 90px;
    text-align: center;
}

/* ---------------- CENTER LOGO (BIGGER) ---------------- */
.island-center {
    position: relative;
    z-index: 3;
}

.island-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 86px;                            /* bigger circle */
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    border: 4px solid white;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.island-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* very small mobile screens */
@media (max-width:480px){
    .island-list { padding: .40rem .55rem; gap: .3rem; }
    .island-label { display:none; }
    .island-logo-link { width: 64px; height: 64px; } /* slightly smaller on tiny phones */
}

/* reset / base */
*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg,var(--bg-1),var(--bg-2));
    color:var(--text);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.45;
    font-size:16px;
}

/* container */
.container{max-width:1100px;margin:0 auto;padding:1rem}

/* topbar / header */
.topbar{
    background: linear-gradient(180deg, rgba(11,18,32,0.01), transparent);
    border-bottom:1px solid var(--border-soft);
    position:sticky;
    top:0;
    z-index:50;
}

/* header brand logo */
.brand { align-items: center; }

/* logo image */
.brand-logo{
    display: block;
    width: 140px;        /* default width — tweak to taste */
    height: auto;
    object-fit: contain;
    border-radius: 6px;  /* optional: rounded corners */
    transition: transform .12s ease;
}

/* small interaction */
.brand-logo:hover { transform: translateY(-2px); }

/* Responsive: shrink logo on small screens */
@media (max-width: 700px){
    .brand-logo { width: 110px; }
    .brand-text .logo { font-size: .95rem; }
}

/* topbar layout */
.topbar .container{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.brand{display:flex;flex-direction:row;align-items:center;gap:.75rem}
.logo{font-weight:800;color:var(--text);text-decoration:none;font-size:1.15rem}
.logo .accent{color:var(--accent);margin-left:6px;font-weight:900}
.tag{font-size:.85rem;color:var(--muted);margin-top:2px}
.nav{margin-left:auto;display:flex;gap:1rem;align-items:center}

/* neutral link styles */
.nav a, .nav-link {
    color:var(--muted);
    text-decoration:none;
    padding:.45rem .7rem;
    border-radius:8px;
    transition:background .12s ease, color .12s ease;
}
.nav a:hover, .nav-link:hover{background:var(--glass); color:var(--text)}
.nav a.active{
    color:var(--text);
    background:linear-gradient(90deg, rgba(225,95,0,0.06), rgba(225,95,0,0.03));
    border-radius:8px;
}



/* BUTTONS - use these instead of Tailwind color utility so everything uses the palette */
.btn{
    display:inline-block;
    padding:.6rem 1rem;
    border-radius:10px;
    background:var(--accent);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    border:1px solid rgba(0,0,0,0.04);
    transition:background .12s ease, transform .06s ease, box-shadow .06s ease;
    box-shadow: 0 6px 18px rgba(11,18,32,0.04);
}
.btn:hover{ background:var(--accent-dark); transform:translateY(-1px); box-shadow:0 10px 28px rgba(11,18,32,0.06) }
.btn:active{ background:var(--accent-darker); transform:translateY(0); }

.btn.ghost{
    background:transparent;
    color:var(--text);
    border:1px solid var(--border-soft);
}
.btn.ghost:hover{ background:var(--panel); }


/* hide search bar row (kept as original but styled with new palette) */
.search-row { display: none !important; }
.search-row.open { display: block !important; }

/* popup style for search bar */
.search-row {
    position: absolute;
    top: 65px; /* below topbar */
    right: 20px; /* aligned to search icon */
    width: 320px; /* smaller, island size */
    background: var(--panel);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(11,18,32,0.04);
    border: 1px solid var(--border-soft);
    display: none; /* hidden by default */
    z-index: 200;
}
.search-row.open { display: block !important; }

/* form inputs: light-friendly */
.search-row input, .search-row select, .search-row button {
    width: 100% !important;
    margin-bottom: .5rem;
}
input, textarea, select, .search-input, .search-select {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border-soft);
    padding:.6rem .9rem;
    border-radius:8px;
}

/* featured / grid */
.featured{padding-top:2rem}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:1rem}
.card{
    background:#fff;
    border-radius:12px;overflow:hidden;
    border:1px solid var(--border-soft);
    box-shadow:0 6px 18px rgba(11,18,32,0.03);
    display:flex;flex-direction:column;
    transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{transform:translateY(-6px);box-shadow:0 18px 30px rgba(11,18,32,0.06)}
.card-link{display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit}
/* ========== LATEST WORK GRID – CARD STYLE ========== */

/* ================= LATEST WORK SECTION ================= */

/* section layout & spacing */
.featured {
    max-width: 1100px;
    margin: 2.5rem auto 0;
    padding: 0 1.25rem 2.5rem;
}

/* header row: title + filters */
.featured-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.featured-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.featured-header .muted {
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

/* filter buttons row */
.featured-header .filter-btn {
    font-size: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(11,18,32,0.03);
    transition:
            background 120ms ease,
            color 120ms ease,
            box-shadow 120ms ease,
            border-color 120ms ease,
            transform 80ms ease;
}

.featured-header .filter-btn:hover {
    background: var(--glass);
    box-shadow: 0 8px 20px rgba(11,18,32,0.08);
    transform: translateY(-1px);
}

/* active filter */
.featured-header .filter-active {
    background: var(--accent);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(225,95,0,0.28);
}
/* =========================================================
   IMAGE-FIRST LEAN CARD SYSTEM (HOVER-REVEAL)
   ========================================================= */

/* =========================================================
   FEATURED GRID — IMAGE-FIRST HOVER REVEAL CARDS
   ========================================================= */

/* ---------- Card wrapper (remove bulk) ---------- */
#featured-grid .card {
    padding: 0 !important;
    margin: 0 auto;
    max-width: 360px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ---------- Card link becomes container ---------- */
#featured-grid .card-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(11,18,32,0.08);
    transition:
            transform .35s cubic-bezier(.2,.8,.2,1),
            box-shadow .35s cubic-bezier(.2,.8,.2,1);
}

#featured-grid .card:hover .card-link {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(11,18,32,0.14);
}

/* ---------- Thumbnail / image ---------- */
#featured-grid .thumb {
    height: 210px;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #f0f2f6, #eef2f7);
}

#featured-grid .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}

#featured-grid .card:hover .thumb img {
    transform: scale(1.08);
}

/* ---------- Hover-reveal details ---------- */
#featured-grid .card-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.95rem 1rem 1.1rem;

    background: linear-gradient(
            to top,
            rgba(255,255,255,0.94),
            rgba(255,255,255,0.78),
            rgba(255,255,255,0)
    );

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transform: translateY(100%);
    opacity: 0;

    transition:
            transform .35s cubic-bezier(.2,.8,.2,1),
            opacity .35s cubic-bezier(.2,.8,.2,1);
}

#featured-grid .card:hover .card-body {
    transform: translateY(0);
    opacity: 1;
}

/* ---------- Typography ---------- */
#featured-grid .card-body strong {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: .15rem;
}

#featured-grid .meta {
    font-size: .8rem;
    color: var(--muted);
}

/* ---------- Empty state ---------- */
#featured-grid .empty {
    grid-column: 1 / -1;
    text-align: center;
}

/* ---------- Section spacing ---------- */
.featured .center {
    margin-top: 1.75rem;
}

.featured .center .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    border-radius: 999px;
}

/* ---------- Tablet & mobile behavior ---------- */
@media (max-width: 820px) {

    #featured-grid .card-link {
        transform: none !important;
        box-shadow: 0 10px 26px rgba(11,18,32,0.10);
    }

    #featured-grid .thumb img {
        transform: none !important;
    }

    /* Always show details (no hover on touch) */
    #featured-grid .card-body {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
    .featured {
        padding: 0 1rem 2rem;
        margin-top: 2rem;
    }

    .featured-header {
        align-items: flex-start;
    }
}
/* =========================================================
   PURE IMAGE CARDS — NO BORDER / NO RADIUS / LARGE SCALE
   ========================================================= */

/* Remove ALL rounding + backgrounds */
#featured-grid .card,
#featured-grid .card-link,
#featured-grid .thumb,
#featured-grid .thumb img {
    border-radius: 0.25rem !important;
    background: transparent !important;
}

/* Make cards visually larger */
#featured-grid .card {
    max-width: 420px;   /* increase scale */
}

/* Image container = viewing window */
#featured-grid .thumb {
    height: 300px;              /* LARGE visual presence */
    overflow: hidden;           /* crop overflow */
    background: #000;           /* prevents white flash while loading */
}

/* Image behavior — NO stretching */
#featured-grid .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* fills area, crops excess */
    object-position: center;
    display: block;
}

/* Disable hover zoom if you want PURE viewing */
#featured-grid .card:hover .thumb img {
    transform: none !important;
}

/* Optional: subtle lift without borders */
#featured-grid .card-link {
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    transition: transform .35s ease, box-shadow .35s ease;
}

#featured-grid .card:hover .card-link {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.28);
}
@media (max-width: 820px) {
    #featured-grid .thumb {
        height: 240px;
    }
}

@media (max-width: 480px) {
    #featured-grid .thumb {
        height: 200px;
    }
}


/* thumbnail area - light tone */
.thumb{
    height:220px;
    background:linear-gradient(180deg,#f0f2f6, #eef2f7);
    display:flex;align-items:center;justify-content:center;overflow:hidden;
    border-bottom:1px solid var(--border-soft)
}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* file badge for non-images */
.file-badge{
    padding:1rem;font-weight:700;color:var(--muted);
    display:inline-block;background:#fff;border-radius:8px;border:1px solid var(--border-soft)
}
.card {
    padding: 1.75rem !important;
}
.card form .space-y-3 > * + * {
    margin-top: 0.85rem !important;
}
/* card body */
.card-body{padding:14px;flex:1;display:flex;flex-direction:column;gap:6px}
.card-body strong{display:block;font-size:1.02rem}
.meta{font-size:.9rem;color:var(--muted)}
.desc{color:var(--muted);font-size:.95rem}
.card h3,
.card h2,
.card h4 {
    margin-bottom: 0.75rem;
}
/* empty state */
.empty{padding:2rem;background:transparent;border-radius:8px;color:var(--muted)}

/* category cards */
.category-cards{display:flex;gap:1rem;flex-wrap:wrap;margin-top:.75rem}
.cat{
    flex:1;min-width:180px;padding:1rem;border-radius:10px;
    background:#fff;
    text-decoration:none;color:inherit;border:1px solid var(--border-soft);
    box-shadow:0 6px 14px rgba(11,18,32,0.02);
}
.cat:hover{ background:var(--panel); transform:translateY(-3px) }
.cat-title{font-weight:700}
.cat-desc{color:var(--muted);font-size:.95rem}

/* site footer */
.site-footer{
    border-top:1px solid rgba(11,18,32,0.03);
    padding:1.25rem 0;margin-top:2rem;background:transparent;
}
.site-footer .container{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.muted{color:var(--muted)}

/* small UI helpers */
.center{text-align:center}
.icon-btn{background:transparent;border:none;font-size:1.05rem;cursor:pointer;padding:.35rem .5rem}

/* responsive tweaks */
@media (max-width:900px){
    .nav{order:3;width:100%;justify-content:space-around}
    .brand{flex-direction:row;align-items:center;gap:1rem}
}

/* focussing and accessibility - updated focus ring to match orange */
a:focus, button:focus, input:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset:2px;
}

/* image fallback icon alignment */
.thumb .file-badge{height:100%;display:flex;align-items:center;justify-content:center}



/* optional: slightly larger cards on wide screens */
@media (min-width:1400px){ .card{min-height:260px} }

/* helper classes used by JS for active state */
.filter-active {
    box-shadow: 0 0 0 3px rgba(225,95,0,0.12);
    border-radius:8px;
}/* ================= CONTACT CARD CLEANUP ================= */

.contact-card {
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 14px 40px rgba(11,18,32,0.06);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* heading + subtext */
.contact-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.contact-card p.muted {
    margin: 0.15rem 0 0;
    font-size: 0.9rem;
}

/* main form layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* two-column row for name/email on desktop */
.contact-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

@media (min-width: 768px) {
    .contact-two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* each field block */
.contact-form .field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* labels */
.contact-form label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

/* inputs / selects / textareas (override generic ones) */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border-radius: 10px !important;
    border: 1px solid var(--border-soft) !important;
    padding: 0.55rem 0.8rem !important;
    font-size: 0.9rem;
    background: #ffffff !important;
    color: var(--text) !important;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
    transition:
            border-color 120ms ease,
            box-shadow 120ms ease,
            background 120ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(225,95,0,0.7) !important;
    box-shadow: 0 0 0 1px rgba(225,95,0,0.45) !important;
}

/* textarea sizing */
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* actions row */
.contact-actions {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* pill-ish button in this card */
.contact-actions .btn {
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

/* ============= SOCIAL LINKS TILE STYLES ============= */

/* outer card already uses .card — this styles each row inside */
.social-link {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 12px rgba(11,18,32,0.03);
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition:
            transform 120ms ease,
            box-shadow 120ms ease,
            background 120ms ease,
            border-color 120ms ease;
}

/* icon sits in a soft pill */
.social-link svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

/* texts inside tile */
.social-link div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-link .text-sm {
    font-weight: 600;
    font-size: 0.9rem;
}

.social-link .text-xs {
    font-size: 0.78rem;
}

/* hover / active state */
.social-link:hover {
    background: var(--glass);
    border-color: rgba(225,95,0,0.30);
    box-shadow: 0 10px 26px rgba(11,18,32,0.10);
    transform: translateY(-2px);
}

/* slightly pressed */
.social-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(11,18,32,0.06);
}

/* keyboard focus – integrate with your focus ring */
.social-link:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

/* make tiles breathe better on tiny screens */
@media (max-width: 480px) {
    .social-link {
        padding: 0.55rem 0.7rem;
        border-radius: 10px;
    }

    .social-link .text-sm {
        font-size: 0.88rem;
    }

    .social-link .text-xs {
        font-size: 0.76rem;
    }
}

/* small brand accent helper for buttons/hover states  for photography.php*/
.btn:focus { box-shadow: 0 0 0 6px rgba(225,95,0,0.10); }
.lightbox { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 1200; }
.lightbox[aria-hidden="false"] { display:flex; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(2,6,23,0.80); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox__panel { position: relative; max-width: 96vw; max-height: 96vh; padding: 1rem; border-radius: 12px; z-index: 1201; display:flex; align-items:center; justify-content:center; box-shadow: 0 18px 50px rgba(2,6,23,0.7); background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.04); }
.lightbox__figure { margin:0; display:flex; flex-direction:column; gap:.6rem; align-items:center; justify-content:center; }
.lightbox__figure img { display:block; max-width: calc(96vw - 2rem); max-height: calc(96vh - 5rem); width:auto; height:auto; object-fit: contain; border-radius:8px; box-shadow: 0 8px 30px rgba(3,6,23,0.6); }
.lightbox__caption { color: var(--muted); font-size:.95rem; max-width:86vw; text-align:center; padding:.2rem .4rem; }
.lightbox__close { position:absolute; top:.5rem; right:.5rem; border:none; background: rgba(0,0,0,0.45); color:#fff; width:36px; height:36px; border-radius:10px; font-size:1.25rem; cursor:pointer; z-index:1210; display:flex; align-items:center; justify-content:center; }
.lightbox__close:focus { outline: 3px solid rgba(124,58,237,0.18); outline-offset:2px; }
@media (max-width:520px) {
    .lightbox__panel { max-width:98vw; max-height:98vh; padding:.6rem; border-radius:8px; }
    .lightbox__figure img { max-width: calc(98vw - 1rem); max-height: calc(98vh - 5rem); }
}

/* ===================== DYNAMIC BACKGROUND ===================== */

@keyframes meshMove {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(8deg); }
}

/* subtle cinematic noise */
#bg-noise {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    /* finer + more uniform noise */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}
.dither-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

/* particles layer */
#particles-js {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ===================== GLOBAL MOTION ===================== */

.card,
.cat,
.social-link {
    will-change: transform;
    transition:
            transform 300ms cubic-bezier(.2,.8,.2,1),
            box-shadow 300ms ease;
}

.card:hover {
    box-shadow: 0 28px 60px rgba(11,18,32,0.14);
}

/* image reveal */
.thumb img {
    transition: transform 800ms cubic-bezier(.2,.8,.2,1);
}
.card:hover .thumb img {
    transform: scale(1.06);
}

/* ===================== ISLAND NAV ===================== */



@keyframes islandGlow {
    from {
        box-shadow: 0 8px 30px rgba(225,95,0,0.25);
    }
    to {
        box-shadow: 0 14px 45px rgba(225,95,0,0.45);
    }
}

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

.btn {
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(255,255,255,.35), transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
}
.btn:hover::after {
    opacity: 1;
}

/* ===================== REDUCED MOTION ===================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
/* ================= SQUARE BREATHING PARTICLES ================= */
body {
    background:
            linear-gradient(180deg,
            rgba(255,160,100,0.10) 0%,
            rgba(255,255,255,0.90) 25%,
            rgba(255,160,100,0.10) 50%,
            rgba(255,255,255,0.90) 75%,
            rgba(255,160,100,0.10) 100%
            );

radial-gradient(
                    140% 90% at 50% 10%,
                    rgba(225,95,0,0.06) 0%,
                    rgba(225,95,0,0.03) 35%,
                    rgba(225,95,0,0.0) 65%
            ),
            linear-gradient(
                    180deg,
                    #fbf7f2 0%,
                    #f8f6f2 40%,
                    #f6f6f8 100%
            );
}

.square-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}


.square-particles span {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: rgba(225, 95, 0, 0.12);
    border-radius: 6px;
    opacity: var(--opacity);
    filter: blur(var(--blur));
    animation:
            squareFloat var(--moveDur) linear infinite,
            squareBreathe var(--breathDur) ease-in-out infinite;
}

@keyframes squareFloat {
    from { transform: translateY(110vh) rotate(0deg); }
    to   { transform: translateY(-20vh) rotate(180deg); }
}

@keyframes squareBreathe {
    0%,100% {
        transform: scale(1);
        opacity: calc(var(--opacity) * 0.75);
    }
    50% {
        transform: scale(1.25);
        opacity: calc(var(--opacity) * 1.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .square-particles span {
        animation: none !important;
    }
}
/* === HARD OVERFLOW CLIP ROOT === */
html {
    width: 100%;
    overflow-x: clip; /* modern + better than hidden */
}

body {
    width: 100%;
    position: relative;
}/* Add breathing room under page content */
body,
main,
.page-wrapper {
    padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
}
/* iOS requires prefixed blur + bottom inset */
.island-nav {
    padding-bottom: env(safe-area-inset-bottom);
}

.island-list {
    -webkit-backdrop-filter: blur(18px);
}

#bg-mesh {
    display: none !important;
    position: fixed;
    inset: -15%;
    width: 130%;
    height: 130%;
    pointer-events: none;
    z-index: -3;
    overflow: hidden;

    background:
            radial-gradient(40% 30% at 20% 20%, rgba(225,95,0,0.15), transparent),
            radial-gradient(30% 40% at 80% 30%, rgba(255,140,60,0.12), transparent),
            radial-gradient(35% 35% at 50% 80%, rgba(225,95,0,0.10), transparent);

    animation: meshMove 18s ease-in-out infinite alternate;
}

#bg-mesh,
#bg-noise,
#particles-js,
.square-particles {
    max-width: 100vw;
    overflow: hidden;
}

.page-scrolled .island-nav {
    opacity: 1 !important;
    pointer-events: auto;
}

:root {
    --radius: 1rem;
}

/* Global rounding pass */
.card,
.cat,
.thumb,
.hero-image,
.search-row,
.social-link,
.contact-card,
.contact-form input,
.contact-form select,
.contact-form textarea,
.btn{
    border-radius: var(--radius) !important;
}

/* Images & thumbnails respect container rounding */
.thumb img,
.hero-image img {
    border-radius: var(--radius) !important;
}

/* Fully-pill chips & filters keep round pill look */
.featured-header .filter-btn,
.featured .center .btn {
    border-radius: 999px !important;
}
.brand-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 18px;
}

/* Glass container */
.brand-carousel {
    padding: 22px 0;
    border-radius: 18px;
    overflow: hidden;
}

/* Auto scroll track */
.brand-track {
    display: flex;
    gap: 70px;
    align-items: center;
    width: max-content;
    animation: scrollBrands 22s linear infinite;
}


.brand-track img {
    height: 78px;
    object-fit: contain;

    /* High-quality greyscale */
    filter: grayscale(100%) contrast(1.35) brightness(.92);

    opacity: .95;
    transition: transform .28s ease, opacity .28s ease;
}

/* Subtle premium hover */
.brand-track img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Infinite marquee */
@keyframes scrollBrands {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


.brands-block {
    width: 100%;
    padding: 48px 0 56px;

    /* soft warm panel — no harsh line */
    background: linear-gradient(
            180deg,
            rgba(255, 245, 235, 0.85) 0%,
            rgba(255, 240, 225, 0.90) 100%
    );

    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.05);

    box-shadow: inset 0 8px 24px rgba(0,0,0,.03);
}
.brands-block::before {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background: radial-gradient(80% 40% at 50% 0%,
    rgba(255,255,255,.4),
    transparent 70%
    );
}
/* ===============================
   📱 MOBILE + iOS SAFARI FIXES
   (Does NOT affect desktop view)
   =============================== */

@supports (-webkit-touch-callout: none) {
    /* iOS enables glass blur only with prefixed filter */
    .island-list {
        -webkit-backdrop-filter: blur(18px);
    }
}

/* Safe-area support — prevents nav clipping */
.island-nav {
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Prevent iOS shrinking icons / hiding text */
.island-link {
    min-width: 42px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Ensure labels + icons stay visible */
.island-link *,
.island-logo {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Fix disappearing text in iOS (subpixel render bug) */
.island-link {
    -webkit-font-smoothing: antialiased;
    font-smooth: always;
}

/* Prevent layout compression on iOS */
.island-list {
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* ===============================
   📱 MOBILE LAYOUT RESPONSIVE
   =============================== */
@media (max-width: 820px) {

    /* Reduce card spacing on phones */
    .card {
        padding: 1.2rem !important;
        border-radius: 14px !important;
    }


    /* Island nav sits higher for thumb gestures */
    .island-nav {
        bottom: 18px;
    }

    /* Center button slightly smaller */
    .island-logo-link {
        width: 72px;
        height: 72px;
    }

    /* Keep text visible on mobile */
    .island-label {
        display: inline-flex;
    }


    /* Make touch targets comfortable */
    .island-link {
        padding: .45rem .65rem;
        border-radius: 12px;
    }

    /* Prevent image overspill */
    .thumb img {
        object-fit: cover;
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }

    /* Topbar compact spacing */
    .topbar .container {
        gap: .6rem;
    }
}

/* SUPER small phones (iPhone SE / 375px) */
@media (max-width: 480px) {

    .island-logo-link {
        width: 60px;
        height: 60px;
    }

    .card {
        padding: 1rem !important;
    }


}
.showcase {
    padding: 3rem 0;
}

.filter-tabs {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: .6rem 1.2rem;
    margin: .3rem;
    border-radius: 30px;
    border: 1px solid #333;
    background: transparent;
    cursor: pointer;
    transition: .3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #111;
    color: #fff;
}

.card {
    background: #0e0e0e;
    border-radius: 18px;
    overflow: hidden;
    transition: all .4s ease;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card img {
    width: 100%;
    display: block;
    transition: transform .5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.badges span {
    display: inline-block;
    background: #1c1c1c;
    padding: .3rem .7rem;
    border-radius: 20px;
    font-size: .75rem;
    margin: .3rem .3rem 0 0;
}

.github-btn {
    display: inline-block;
    padding: .5rem 1rem;
    background: #fff;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.github-btn:hover {
    background: #ddd;
}
.tech-stack {
    position: relative;
}

.tech-group {
    margin-bottom: 3rem;
}

.tech-heading {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--muted);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 1.5rem;
    font-size: 48px;
    align-items: center;
}

.tech-grid i {
    transition: all .3s ease;
    cursor: pointer;
    opacity: 0.85;
}

.tech-grid i:hover {
    transform: translateY(-8px) scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
}
/* ===== PREMIUM TECH MARQUEE ===== */

.tech-marquee-section {
    position: relative;
    overflow: hidden;
}

.tech-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.tech-track {
    display: flex;
    gap: 60px;
    font-size: 56px;
    align-items: center;
    animation: scrollLeft 35s linear infinite;
}

.tech-marquee.reverse .tech-track {
    animation: scrollRight 40s linear infinite;
}

.tech-track i {
    opacity: 0.85;
    transition: all .35s ease;
    cursor: pointer;
}

.tech-track i:hover {
    transform: scale(1.2);
    opacity: 1;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
}

/* Pause on hover */
.tech-marquee:hover .tech-track {
    animation-play-state: paused;
}

/* Animations */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Subtle ambient glow */
.tech-marquee-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 70%);
    pointer-events: none;
}
