:root {
  /* Dark theme (forced) — Lush palette (Black / Ink / Posy / Embers) */
  /* Use an "ink navy" base so the site is colorful (not flat black) */
  --bg: #041a2b;   /* deep ink */
  --bg-2: #06233a; /* lifted ink */
  --panel: rgba(255, 255, 255, 0.055);
  --panel-2: rgba(255, 255, 255, 0.08);
  --panel-3: rgba(255, 255, 255, 0.04);
  --text: rgba(255, 255, 255, 0.93);
  --muted: rgba(255, 255, 255, 0.74);
  --muted-2: rgba(255, 255, 255, 0.60);
  --border: rgba(255, 255, 255, 0.14);

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.28);
  --shadow-accent: 0 20px 70px rgba(var(--primary-rgb), 0.14);
  --shadow-ink: 0 24px 90px rgba(var(--secondary-rgb), 0.18);

  /* Palette: Black / Ink / Posy / Embers */
  --primary-rgb: 129 55 114; /* posy   #813772 */
  --secondary-rgb: 6 47 79;  /* ink    #062F4F */
  --warm-rgb: 184 38 1;      /* embers #B82601 */
  --primary: rgb(var(--primary-rgb));
  --secondary: rgb(var(--secondary-rgb));
  --warm: rgb(var(--warm-rgb));

  /* Background glows (subtle, stays dark) */
  --glow-1: rgba(var(--secondary-rgb), 0.42); /* Ink */
  --glow-2: rgba(var(--primary-rgb), 0.30);   /* Posy */
  --glow-3: rgba(var(--warm-rgb), 0.20);      /* Embers */

  /* DARKER header/footer backgrounds for separation and see-through effect */
  --header-bg: rgba(4, 16, 28, 0.93); /* more black, still translucent */
  --nav-bg: rgba(4, 16, 28, 0.99);    /* very dark, almost opaque for nav */

  /* Footer: much darker, but translucent to allow background image through.
     This provides clear separation but retains translucency for the image. */
  --footer-bg: rgba(0, 0, 0, 0.84);

  --ring: rgba(var(--primary-rgb), 0.20);
  --accent: rgba(var(--primary-rgb), 0.95);
  --accent-2: rgba(var(--warm-rgb), 0.92);
  --surface-ink: rgba(var(--secondary-rgb), 0.10);
  --surface-posy: rgba(var(--primary-rgb), 0.08);
  --surface-embers: rgba(var(--warm-rgb), 0.06);
  --frame: linear-gradient(
    135deg,
    rgba(var(--secondary-rgb), 0.55),
    rgba(var(--primary-rgb), 0.55),
    rgba(var(--warm-rgb), 0.55)
  );

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(1100px 650px at 10% 6%, rgba(var(--secondary-rgb), 0.30), transparent 60%),
    radial-gradient(980px 620px at 92% 14%, rgba(var(--primary-rgb), 0.22), transparent 62%),
    radial-gradient(1100px 820px at 50% 92%, rgba(var(--warm-rgb), 0.18), transparent 62%),
    linear-gradient(120deg, rgba(var(--secondary-rgb), 0.16), rgba(var(--primary-rgb), 0.10) 55%, rgba(var(--warm-rgb), 0.06)),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Background photography (soft + tinted). Replace URLs with your own photos any time. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 26, 43, 0.55), rgba(4, 26, 43, 0.70)),
    url("https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&w=2400&q=60");
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.02);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 18% 22%, rgba(var(--secondary-rgb), 0.16), transparent 60%),
    radial-gradient(900px 560px at 82% 26%, rgba(var(--primary-rgb), 0.14), transparent 60%),
    radial-gradient(1000px 700px at 55% 92%, rgba(var(--warm-rgb), 0.10), transparent 62%);
}

/* Accessible focus rings */
:where(a, button, input, select, textarea):focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: rgba(var(--primary-rgb), 0.50);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.35)
    ),
    radial-gradient(120% 220% at 0% 0%, rgba(var(--primary-rgb), 0.45), transparent 55%),
    radial-gradient(120% 220% at 100% 0%, rgba(var(--warm-rgb), 0.35), transparent 55%),
    rgba(4, 18, 36, 0.96);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.96), rgba(var(--primary-rgb), 0.88));
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.14);
}
.brand small {
  display: block;
  color: var(--muted-2);
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-top: 0.1rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.nav-toggle:hover { background: var(--panel-2); transform: translateY(-1px); }
.nav-toggle:active { transform: translateY(0); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.site-nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.site-nav a:hover { color: var(--text); background: var(--panel); transform: translateY(-1px); }
.site-nav a:hover { border-color: rgba(var(--secondary-rgb), 0.35); }
.site-nav a:active { transform: translateY(0); }
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(var(--primary-rgb), 0.46);
  background: rgba(var(--primary-rgb), 0.15);
}

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.045)) padding-box,
    var(--frame) border-box;
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.15px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), var(--shadow-ink); }
.btn:active { transform: translateY(0); }
.btn.primary {
  border-color: rgba(var(--primary-rgb), 0.38);
  background: linear-gradient(135deg, rgb(var(--primary-rgb)), rgb(var(--warm-rgb)));
  box-shadow:
    0 18px 52px rgba(var(--warm-rgb), 0.14),
    0 10px 34px rgba(var(--primary-rgb), 0.12);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.btn.primary:hover { filter: brightness(1.05) saturate(1.05); }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.ghost:hover { background: rgba(var(--secondary-rgb), 0.10); border-color: rgba(var(--secondary-rgb), 0.28); }

/* Sections */
main { padding-bottom: 4rem; }
.section { padding: 3.4rem 0; }
.section.slim { padding: 2.4rem 0; }
.section-title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  letter-spacing: -0.3px;
  margin: 0 0 0.6rem;
}
.section-kicker {
  color: rgba(var(--secondary-rgb), 0.85);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}
.lead { color: var(--muted); max-width: 70ch; margin: 0.4rem 0 0; }

/* Hero */
.hero {
  position: relative;
  padding: 3.8rem 0 2.2rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -80px -40px -60px -40px;
  z-index: -1;
  pointer-events: none;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.55), rgba(var(--primary-rgb), 0.28), rgba(var(--warm-rgb), 0.22)),
    url("images/hero-section-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(1.15) contrast(1.05);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.8rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.75px;
  margin: 0;
  /* Subtle colorful headline (still readable) */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.95) 30%,
    rgba(var(--primary-rgb), 0.95) 62%,
    rgba(var(--warm-rgb), 0.95)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 44px rgba(var(--secondary-rgb), 0.14);
}
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 65ch; margin: 0.9rem 0 0; }
.hero-card {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)) padding-box,
    var(--frame) border-box;
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card .img {
  height: 250px;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.36), rgba(var(--primary-rgb), 0.20), rgba(var(--warm-rgb), 0.14)),
    url("assets/images/4BB5AA03-B3D5-4FE0-8862-55A6243ED0DD.mp4");
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 0 0 0 2px rgba(var(--secondary-rgb), 0.18);
  background-size: cover;
  background-position: center;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.pill {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04)) padding-box,
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.40), rgba(var(--primary-rgb), 0.28)) border-box;
  border-radius: 999px;
  padding: 0.6rem 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Cards / grids */
.grid {
  display: grid;
  gap: 1rem;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04)) padding-box,
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.40), rgba(var(--primary-rgb), 0.30), rgba(var(--warm-rgb), 0.22)) border-box;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}
.card:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: var(--shadow-sm); }
.card:hover { box-shadow: var(--shadow-sm), var(--shadow-accent); border-color: rgba(var(--secondary-rgb), 0.22); }
.card:active { transform: translateY(0); }
.card.soft { background: var(--panel-3); }
.card.soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.032)) padding-box,
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.32), rgba(var(--warm-rgb), 0.22), rgba(var(--secondary-rgb), 0.22)) border-box;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; letter-spacing: -0.2px; }
.card p { margin: 0; color: var(--muted); }
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.32), rgba(var(--primary-rgb), 0.18));
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
  letter-spacing: 0.04em;
}

.quote {
  border-left: 3px solid rgba(var(--warm-rgb), 0.82);
  padding: 1rem 1rem 1rem 1.1rem;
  background: var(--panel-3);
  border-radius: 14px;
  color: var(--muted);
  margin: 1.2rem 0 0;
}
.quote strong { color: var(--text); font-weight: 650; }

/* Portfolio */
.masonry {
  columns: 3 260px;
  column-gap: 1rem;
}
.shot {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)) padding-box,
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.42), rgba(var(--primary-rgb), 0.32), rgba(var(--warm-rgb), 0.28)) border-box;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}
.shot:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.shot:hover { box-shadow: var(--shadow-sm), 0 20px 70px rgba(var(--secondary-rgb), 0.12); }
.shot:active { transform: translateY(0); }
.shot img { width: 100%; height: auto; }
.shot figcaption {
  padding: 0.75rem 0.9rem 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 0.9rem;
}
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.35), rgba(var(--primary-rgb), 0.28), rgba(var(--warm-rgb), 0.22)) border-box;
  transition: transform 170ms ease, background 170ms ease, box-shadow 170ms ease;
}
.step:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: var(--shadow-sm); }
.step:hover { box-shadow: var(--shadow-sm), 0 20px 70px rgba(var(--primary-rgb), 0.12); }
.step:active { transform: translateY(0); }
.badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.92), rgba(var(--warm-rgb), 0.72));
  color: rgba(0, 0, 0, 0.94);
}
.step h3 { margin: 0; font-size: 1.1rem; }
.step p { margin: 0.35rem 0 0; color: var(--muted); }

/* Forms */
form { margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.field { display: grid; gap: 0.45rem; }
label { color: var(--muted); font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.40), rgba(var(--primary-rgb), 0.25)) border-box;
  color: var(--text);
  padding: 0.85rem 0.9rem;
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; grid-column: 1 / -1; }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.46); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 4px var(--ring);
}

.form-status {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.form-status[data-kind="success"] { color: rgba(var(--secondary-rgb), 0.95); }
.form-status[data-kind="error"] { color: rgba(var(--warm-rgb), 0.95); }

/* Footer */
.site-footer {
  border-top: 0;
  background:
    radial-gradient(120% 220% at 0% 0%, rgba(var(--secondary-rgb), 0.55), transparent 60%),
    radial-gradient(120% 220% at 100% 10%, rgba(var(--primary-rgb), 0.45), transparent 60%),
    radial-gradient(140% 260% at 50% 120%, rgba(var(--warm-rgb), 0.40), transparent 65%),
    linear-gradient(180deg, #030712, #050816 55%, #030712);
  padding: 2.2rem 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.9), rgba(var(--warm-rgb), 0.9));
  opacity: 0.9;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
}
.footer-grid p { color: var(--muted); margin: 0.6rem 0 0; }
.footer-links { display: grid; gap: 0.45rem; margin-top: 0.25rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.fineprint { color: var(--muted-2); margin-top: 1.2rem; font-size: 0.92rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card .img { height: 220px; }
  .hero-meta { grid-template-columns: 1fr; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
    .site-nav {
    position: absolute;
    top: 64px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #1a1a1a; /* solid charcoal background */
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.95);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav[data-open="true"] {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { padding: 0.75rem 0.85rem; border-radius: 12px; }
  .form-grid { grid-template-columns: 1fr; }
}
/* === FINAL FIX for dropdown visibility === */

/* Main dropdown box */
select {
  background: linear-gradient(135deg, rgb(var(--primary-rgb)), rgb(var(--warm-rgb))); /* posy → embers */
  color: #fff;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  font: inherit;
  appearance: none;
  box-shadow:
    0 10px 24px rgba(var(--primary-rgb), 0.18),
    0 6px 18px rgba(var(--warm-rgb), 0.15);
  transition: background 160ms ease, filter 160ms ease, border-color 160ms ease;
}

select:hover {
  filter: brightness(1.05) saturate(1.05);
  border-color: rgba(var(--primary-rgb), 0.55);
}

select:focus {
  outline: none;
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 4px var(--ring);
}

/* Make sure dropdown list items are visible on all browsers */
select option {
  background-color: #151515 !important; /* solid dark background for dropdown menu */
  color: #ffffff !important;            /* white text always visible */
}

/* Optional hover effect for list items (supported in most modern browsers) */
select option:hover {
  background-color: rgba(var(--primary-rgb), 0.9);
  color: #fff;
}


/* Light theme intentionally disabled (client requested dark mustard + charcoal). */

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .btn:hover { transform: none; }
  .card:hover { transform: none; }
  .shot:hover { transform: none; }
  .step:hover { transform: none; }
}


