/* =============== Root / Reset =============== */

:root {
    --bg: #0b0f14;
    --bg-alt: #0e1319;
    --text: #e6eef7;
    --muted: #a9b6c6;
    --accent: #78d3ff;
    --accent-2: #b889ff;
    --glass: rgba(255, 255, 255, 0.06);
    --stroke: rgba(255, 255, 255, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1200px 800px at 80% -10%, rgba(120, 211, 255, 0.15), transparent 50%), radial-gradient(1000px 700px at -10% 10%, rgba(184, 137, 255, 0.10), transparent 45%), var(--bg);
}


/* Utilities */

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    margin: 0 0 8px;
    font-size: 2rem;
}

.center {
    text-align: center;
}

.m-top {
    margin-top: 16px;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.9rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 9999;
}

.skip-link:focus {
    left: 8px;
}

.glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}


/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 12, 17, 0.55);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--stroke);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
}

.brand-logo {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0f14;
    font-weight: 800;
}

.brand-logo-img {
    width: 50px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.brand-text {
    letter-spacing: 0.2px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.nav-toggle .bar {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a:focus {
    background: var(--glass);
    outline: none;
}

.nav-menu .cta .btn {
    padding: 10px 14px;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-block;
    }
    .nav-menu {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        padding: 16px;
        display: none;
        flex-direction: column;
        background: rgba(11, 15, 20, 0.92);
        border-bottom: 1px solid var(--stroke);
    }
    .nav-menu.show {
        display: flex;
    }
}


/* Buttons / Pills */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #061016;
    border-color: transparent;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn.small {
    padding: 8px 12px;
    border-radius: 8px;
}


/* Hero */

.hero {
    position: relative;
    padding: 96px 0 72px;
}

.hero-inner {
    padding: 32px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 3.6vw + 1rem, 3.2rem);
    margin: 0 0 8px;
}

.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    color: var(--muted);
    margin: 0 auto 16px;
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0 8px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.badges li {
    padding: 6px 10px;
    border: 1px dashed var(--stroke);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 240px at 15% 20%, rgba(120, 211, 255, 0.14), transparent 60%), radial-gradient(500px 240px at 85% 35%, rgba(184, 137, 255, 0.14), transparent 60%);
    z-index: -1;
}


/* Cards / Grids */

.grid {
    display: grid;
    gap: 20px;
}

.cards {
    grid-template-columns: repeat(3, 1fr);
}

.products {
    grid-template-columns: repeat(3, 1fr);
}

.gallery {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
    .cards,
    .products,
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cards,
    .products,
    .gallery {
        grid-template-columns: 1fr;
    }
}

.card,
.product,
.shot,
.about-copy,
.about-cta,
.form {
    padding: 22px;
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.tick {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.tick li {
    position: relative;
    padding-left: 24px;
    margin: 8px 0;
}

.tick li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.product-tag {
    font-size: 0.8rem;
    letter-spacing: 0.4px;
    color: var(--muted);
    margin-bottom: 4px;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 12px;
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    color: var(--muted);
}


/* Gallery */

.shot img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--stroke);
}

.shot figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem;
}


/* About */

.about {
    grid-template-columns: 2fr 1fr;
    align-items: start;
}

@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
    }
}


/* Forms */

.form-grid {
    grid-template-columns: 1fr 1fr;
}

.form-grid .span-2 {
    grid-column: span 2;
}

@media (max-width: 720px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .span-2 {
        grid-column: auto;
    }
}

.field {
    display: grid;
    gap: 6px;
}

.field span {
    color: var(--muted);
    font-size: 0.95rem;
}

input,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--stroke);
    border-radius: 10px;
    padding: 12px 12px;
    color: var(--text);
}

input:focus,
textarea:focus {
    outline: 2px solid color-mix(in oklab, var(--accent), white 15%);
    outline-offset: 1px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.form-status {
    min-height: 1lh;
}

.payment-note {
    margin-top: 12px;
}


/* Footer */

.site-footer {
    padding-top: 28px;
    border-top: 1px solid var(--stroke);
    background: rgba(9, 12, 17, 0.6);
    backdrop-filter: blur(8px);
}

.footer-inner {
    display: grid;
    gap: 20px;
    grid-template-columns: 2fr 1fr 1.5fr;
    width: min(1100px, 92%);
    margin: 0 auto;
    padding-bottom: 20px;
}

.footer-col .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin: 6px 0;
}

.footer-nav a {
    color: var(--text);
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal {
    text-align: center;
    padding: 14px 0 24px;
    border-top: 1px dashed var(--stroke);
}


/* Light theme (toggle) */

:root.light {
    --bg: #f6f8fb;
    --bg-alt: #ffffff;
    --text: #0b1020;
    --muted: #4a5568;
    --glass: rgba(255, 255, 255, 0.7);
    --stroke: rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== Recent Work (full-width collage scroller) ===== */
#work .container {
    width: 100%;         /* override the fixed max width */
    max-width: none;
    padding: 0;
}

#work .section-header {
    padding: 0 5%;
    margin-bottom: 20px;
}

#work .gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 5% 20px;
    scrollbar-width: none;  /* Firefox */
}
#work .gallery::-webkit-scrollbar {
    display: none;          /* Chrome/Safari */
}

#work .shot {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    border-radius: 12px;
}

#work .shot img {
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

/* Collage effect: randomised heights */
#work .shot:nth-child(2n) img {
    max-height: 280px;
}
#work .shot:nth-child(3n) img {
    max-height: 200px;
}
#work .shot:nth-child(4n) img {
    max-height: 260px;
}

/* ===== Recent Work — full-bleed auto-scrolling collage ===== */

/* Keep the heading in a normal container, but make the photos span the viewport */
.work-collage { padding-top: 72px; padding-bottom: 0; }
.work-collage .section-header { margin-bottom: 16px; }

/* Full-bleed rail */
.work-reel {
  width: 100vw;
  margin-left: calc(50% - 50vw);   /* escape the page container for full-bleed */
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  position: relative;
  padding: 8px 0 20px;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

/* Scrolling track */
.work-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 2vw;
  /* Smooth, continuous scroll */
  animation: workScroll 55s linear infinite;
  will-change: transform;
}
.work-track:hover { animation-play-state: paused; } /* pause on hover */

/* Photo tiles — tall, crisp, no captions */
.work-track img {
  height: auto;
  aspect-ratio: 16 / 9;   /* force 16:9 */
  width: 46vh;            /* base size: controls overall height/width */
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-drag: none;
}


/* Make sure it still looks good on small screens */
@media (max-width: 900px) {
  .work-track img { height: 34vh; }
  .work-track img:nth-child(4n) { height: 38vh; }
  .work-track img:nth-child(7n) { height: 36vh; }
}

/* Keyframes for seamless marquee */
@keyframes workScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* because we duplicated the strip */
}
