/* ==========================================================
   STUDIO — base template
   Design language reference: light, editorial, picture-heavy
   (formerly a dark "Viewfinder HUD" system — see git history if
   that look is ever wanted back)
   ========================================================== */

:root {
  --bg: #ffffff;
  --bg-elevated: #fafaf9;
  --fg: #141414;
  --fg-muted: rgba(20, 20, 20, 0.65);
  --fg-faint: rgba(20, 20, 20, 0.4);
  --border: rgba(20, 20, 20, 0.12);
  --accent: #622a0f;
  --accent-dim: rgba(98, 42, 15, 0.5);
  --accent-fg: #ffffff; /* text/icon color placed ON TOP of --accent fills */
  /* On the old dark background, small TEXT in the true --accent brown failed
     contrast (~1.6:1), so a lightened tint was used for text and the true
     color reserved for fills. On this white background the true color reads
     at ~10.5:1 — comfortably passes for text too — so text and fills now
     share one color; the two variables stay separate for how the codebase
     already uses them (fills/borders vs. runs of text), not for color. */
  --accent-text: #622a0f;
  /* For accent-colored text/icons placed ON TOP of a photo (always behind
     a dark scrim there, regardless of page theme) — the pre-redesign
     lightened tint, kept for exactly that one job now. */
  --accent-on-photo: #d46a35;
  --header-h: 84px;
  --gutter: 40px;
  --font: "Inter", -apple-system, "system-ui", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-editorial: "Fraunces", Georgia, serif; /* headlines, CTAs, nav — the "read this" voice */
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  z-index: 100;
  /* Solid page-color fill, not a dark photo scrim — the hero photo no
     longer runs full-bleed behind the header (see .hero), so this just
     needs to occlude whatever scrolls underneath it. */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav { display: flex; align-items: center; gap: 32px; }

.nav-link {
  font-family: var(--font-editorial);
  font-size: 15px;
  letter-spacing: 0.01em;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover { opacity: 1; color: var(--accent-text); }

.chevron { font-size: 11px; opacity: 0.6; }

.nav-item { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  min-width: 190px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--fg-muted);
  white-space: nowrap;
}
.dropdown-link:hover { color: var(--accent-text); background: rgba(0, 0, 0, 0.04); }

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.logo-mark {
  height: 46px;
  width: auto;
  display: block;
  /* Wordmark asset is white-on-transparent; invert to read on the light theme's
     white header/footer until a dark-ink export exists. */
  filter: invert(1) brightness(0.15);
}
.logo-mark--footer { height: 36px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}
.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--fg);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-elevated);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  overflow-y: auto;
  padding: 24px 0;
  box-sizing: border-box;
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { font-size: 20px; font-weight: 400; }

/* ---------- Hero — light, picture-heavy ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  padding-top: var(--header-h);
  box-sizing: border-box;
  overflow: hidden;
}

/* Headline column, in the negative space beside the photo */
.hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  min-width: 0;
}
.hero-title {
  margin: 0 0 20px;
  font-family: var(--font-editorial);
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero-caption {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 320px;
  margin: 0 0 28px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}
.hero-link:hover { color: var(--accent-text); }
.hero-link .arrow { color: var(--accent-text); transition: transform 0.2s var(--ease); }
.hero-link:hover .arrow { transform: translateX(4px); }

/* Photo panel — fills its whole grid cell edge-to-edge (picture-heavy:
   no inset margin, no fixed aspect ratio) */
.hero-frame {
  position: relative;
  z-index: 1;
  background: var(--bg-elevated);
}

.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  /* background-image is set inline per slide in the HTML — see index.html.
     (Deliberately not routed through a custom property: url() inside a
     custom property resolves relative to the stylesheet that consumes it,
     not the document, which 404s here since this file lives in /css/.) */
  background-size: cover;
  background-position: center 25%; /* keep faces in frame when a portrait is cropped wide */
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero-slide.is-active { opacity: 1; }


.hero-frame-label {
  position: absolute;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55); /* stays legible on very light photos */
}
.hero-frame-label--top { left: 20px; top: 20px; }
.hero-frame-label--bottom { right: 20px; bottom: 20px; }
.hero-frame-label .counter-current { color: #ffffff; }

.hero-frame .hero-dots {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.hero-dot.is-active { background: var(--accent-on-photo); }

/* ---------- About ---------- */
.about {
  max-width: 680px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 28px;
}
.section-eyebrow--tight { margin-bottom: 16px; }
.eyebrow-num { color: var(--accent-text); }
.about-copy {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  /* Was hardcoded rgba(255,255,255,0.9) — a leftover from the dark theme
     that never got wired to the theme variables, so it went invisible
     (white-on-white) the moment the page background flipped to light. */
  color: rgba(20, 20, 20, 0.82);
  margin: 0 0 28px;
}
.text-link {
  display: inline-block;
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.text-link:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* ---------- Portfolio teaser ---------- */
.portfolio-teaser {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px var(--gutter) 130px;
  box-sizing: border-box;
}
.portfolio-teaser-copy { flex-shrink: 0; max-width: 300px; }
.portfolio-teaser-copy h2 { font-family: var(--font-editorial); font-size: 2.1rem; font-weight: 500; margin: 0 0 10px; }
.portfolio-teaser-tagline { font-size: 0.95rem; color: var(--fg-muted); margin: 0 0 24px; }

.portfolio-frame {
  position: relative;
  display: block;
  flex-grow: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.portfolio-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.portfolio-frame:hover img { transform: scale(1.04); }
.portfolio-frame-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(13, 13, 13, 0.55);
  padding: 4px 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.logo--footer { position: static; transform: none; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-nav a { font-size: 13px; color: var(--fg-muted); }
.footer-nav a:hover { color: var(--accent-text); }
.footer-copyright { font-size: 12px; color: var(--fg-faint); margin: 0; }

/* ---------- Portfolio page ---------- */
.nav-link.is-current { color: var(--accent-text); }

.page-hero {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 72px) 24px 48px;
  text-align: center;
}
.page-title {
  margin: 0 0 18px;
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.page-intro {
  margin: 0;
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 var(--gutter) 56px;
}
.filter-btn {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-bottom: 2px solid transparent;
  padding: 8px 18px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-bottom-color 0.2s var(--ease);
}
.filter-btn:first-child { border-left: none; }
.filter-btn:hover { color: var(--fg); }
.filter-btn.is-active { color: var(--fg); border-bottom-color: var(--accent-text); }

/* Masonry: CSS columns, so every photo keeps its own proportions. */
.gallery-grid {
  column-count: 3;
  column-gap: 20px;
  padding: 0 var(--gutter) 140px;
}
.gallery-item {
  position: relative;
  display: block;
  margin: 0 0 20px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-elevated);
  min-height: 200px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 50%);
  z-index: 1;
}
.gallery-item-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
}
.gallery-item-tag {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-on-photo);
  margin-bottom: 6px;
}
.gallery-item-copy h3 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-weight: 500;
  /* On-photo, behind a dark scrim (.gallery-item::before) — fixed light
     color regardless of page theme, not the inherited (dark) --fg. */
  color: #ffffff;
}
.gallery-empty,
.gallery-loading {
  column-span: all;
  text-align: center;
  padding: 60px 0;
  color: var(--fg-faint);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- About page ---------- */
.mission-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px var(--gutter);
}
.mission-statement {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--fg-muted);
}
.mission-accent { color: var(--fg); font-style: italic; }

.process {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px;
}
.process .section-eyebrow { text-align: center; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.process-step {
  text-align: left;
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.process-index {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-text);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.process-step h3 { margin: 0 0 12px; font-family: var(--font-editorial); font-size: 1.25rem; font-weight: 500; }
.process-step p { margin: 0; color: var(--fg-muted); font-size: 0.92rem; line-height: 1.65; }

.founder {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 120px;
}
.founder .section-eyebrow { text-align: center; margin-bottom: 40px; }
.founder-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.founder-photo {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  aspect-ratio: 4 / 5;
}
.founder-photo-inner { position: relative; width: 100%; height: 100%; overflow: hidden; }
.founder-photo-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy h2 { margin: 0 0 6px; font-family: var(--font-editorial); font-size: 1.85rem; font-weight: 500; }
.founder-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-text);
  margin: 0 0 22px;
}
.founder-copy p { color: var(--fg-muted); line-height: 1.7; margin: 0 0 18px; }
.founder-pullquote {
  color: var(--fg) !important;
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 32px 0 !important;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.cta-band {
  text-align: center;
  padding: 100px 24px 140px;
  border-top: 1px solid var(--border);
}
.cta-band h2 {
  max-width: 640px;
  margin: 0 auto 36px;
  font-family: var(--font-editorial);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 500;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-fg); }
.btn--primary:hover { background: #7f3714; }
.btn--outline { border-color: var(--border); color: var(--fg); }
.btn--outline:hover { border-color: var(--fg); }

/* ---------- Contact page ---------- */
.contact-details {
  max-width: 1080px;
  margin: 0 auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-detail {
  padding: 28px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-detail:last-child { border-right: none; }
.contact-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.contact-detail a,
.contact-detail span:not(.contact-label) {
  font-size: 0.95rem;
  color: var(--fg);
  overflow-wrap: anywhere;
}
.contact-detail a:hover { color: var(--accent-text); }

.contact-form-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 140px;
}
.contact-form-intro { text-align: center; margin-bottom: 48px; }
.contact-form-intro h2 { font-family: var(--font-editorial); font-size: clamp(1.7rem, 3.6vw, 2.2rem); font-weight: 500; margin: 0 0 16px; }
.contact-form-intro p { color: var(--fg-muted); line-height: 1.7; margin: 0 0 8px; }
.contact-response-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text) !important;
}

.hp-field {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-row { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-row--split > div { display: flex; flex-direction: column; gap: 10px; }
.form-row label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.form-row label span { color: var(--accent-text); margin-left: 2px; }

.contact-form--framed {
  position: relative;
  border: 1px solid var(--border);
  padding: 40px 36px;
  box-sizing: border-box;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 13px 14px;
  color: var(--fg);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select:invalid { color: var(--fg-faint); }

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea,
.form-row--split > div.has-error input,
.form-row--split > div.has-error select {
  border-color: #ff6b6b;
}
.field-error {
  font-family: var(--mono);
  font-size: 11px;
  color: #ff8787;
}

.form-row--footer { align-items: center; gap: 16px; }
.form-status {
  margin: 0;
  font-size: 0.88rem;
  color: var(--fg-muted);
}
.form-status--success { color: var(--accent-text); }
.form-status--error { color: #ff8787; }

/* ---------- Client gallery ---------- */
.gallery-login {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 24px 140px;
  text-align: center;
}
.gallery-login-form {
  position: relative;
  text-align: left;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  padding: 40px 36px;
  box-sizing: border-box;
}
.gallery-login-form .form-row--footer { flex-direction: column; align-items: stretch; gap: 12px; }
.gallery-login-form .btn { width: 100%; }
.gallery-login-help {
  font-size: 0.85rem;
  color: var(--fg-faint);
}

/* ---------- Client gallery view — dark, photo-first ---------- */
body.in-gallery { background: #0b0b0b; color: #ffffff; }
body.in-gallery .site-header,
body.in-gallery .site-footer,
body.in-gallery .page-hero { display: none; }
body.gv-noscroll { overflow: hidden; }

.gv { min-height: 100svh; background: #0b0b0b; color: #ffffff; }

/* Cover screen */
.gv-cover {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.gv-cover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-color: #161616;
}
.gv-cover-bg::after { content: ""; position: absolute; inset: 0; background: rgba(8, 8, 8, 0.55); }
.gv-cover-inner { position: relative; z-index: 1; padding: 0 24px; }
.gv-cover-title {
  margin: 0 0 30px;
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.gv-cover-btn {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 16px 38px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.gv-cover-btn:hover { background: #ffffff; color: #111111; }
.gv-cover-studio {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 28px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* Top bar */
.gv-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.gv-bar-title { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gv-title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gv-studio { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.gv-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.gv-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.gv-icon:hover { background: rgba(255, 255, 255, 0.12); }
.gv-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gv-icon svg.gv-fill { fill: currentColor; stroke: none; }
.gv-icon.is-on { color: #ff5a5f; }
.gv-icon.is-on svg { fill: currentColor; }
.gv-icon:disabled { opacity: 0.5; cursor: progress; }
.gv-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #ff5a5f;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gv-signout {
  margin-left: 10px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.gv-signout:hover { color: #ffffff; }
.gv-status {
  margin: 0;
  padding: 10px 32px;
  text-align: center;
  font-size: 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Photo grid */
.gv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px 6px 80px; }
.gv-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #161616; }
.gv-photo-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gv-photo-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gv-photo:hover .gv-photo-open img { transform: scale(1.03); }
.gv-like {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.gv-like svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gv-photo:hover .gv-like,
.gv-photo.is-liked .gv-like,
.gv-like:focus-visible { opacity: 1; }
.gv-photo.is-liked .gv-like { color: #ff5a5f; }
.gv-photo.is-liked .gv-like svg { fill: currentColor; }
@media (hover: none) { .gv-like { opacity: 1; } }
.gv-empty { margin: 0; padding: 90px 24px; text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 14px; }

/* Full-size viewer */
.gv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 76px 36px;
  background: rgba(6, 6, 6, 0.98);
  color: #ffffff;
}
.gv-lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.gv-lb-count { font-size: 12px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.55); }
.gv-lb-actions { display: flex; align-items: center; gap: 4px; }
.gv-lb-img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.gv-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.gv-lb-nav:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
.gv-lb-nav svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gv-lb-prev { left: 12px; }
.gv-lb-next { right: 12px; }

/* ---------- Pricing / packages ---------- */
.pricing { max-width: 1100px; margin: 0 auto; padding: 0 24px 100px; }
.pricing-eyebrow { text-align: center; margin-bottom: 40px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pricing-card--featured {
  position: relative;
  border-color: var(--accent);
  border-radius: 0;
  background: var(--bg-elevated);
  transform: translateY(-8px);
}
.pricing-card-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pricing-card-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.pricing-card-name { margin: 6px 0 10px; font-family: var(--font-editorial); font-size: 1.5rem; font-weight: 500; }
.pricing-card-price {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent-text);
  margin: 0 0 24px;
  font-family: var(--mono);
}
.pricing-card-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.pricing-card-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.pricing-card-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-text);
  font-size: 0.7rem;
  top: 4px;
}
.pricing-card .btn { text-align: center; }
.pricing-note {
  text-align: center;
  max-width: 640px;
  margin: 48px auto 0;
  color: var(--fg-faint);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ---------- Custom projects ---------- */
.custom-projects { max-width: 1100px; margin: 0 auto; padding: 0 24px 120px; }
.custom-projects .section-eyebrow { text-align: center; margin-bottom: 12px; }
.custom-projects-intro {
  text-align: center;
  color: var(--fg-muted);
  max-width: 620px;
  line-height: 1.7;
  margin: 0 auto 48px;
}
.custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.custom-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
}
.custom-card h3 { margin: 0 0 8px; font-family: var(--font-editorial); font-size: 1.25rem; font-weight: 500; }
.custom-card-tagline { color: var(--fg) !important; font-style: italic; font-size: 0.92rem !important; margin-bottom: 8px !important; }
.custom-card p { margin: 0 0 18px; color: var(--fg-muted); font-size: 0.9rem; line-height: 1.6; }
.custom-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.custom-card li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--fg-faint);
  padding-left: 16px;
  position: relative;
}
.custom-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent-text); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav--left, .nav--right { display: none; }
  .menu-toggle { display: flex; }
  .logo { position: static; transform: none; }
  .site-header { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 24px); }
  .hero-frame { aspect-ratio: 4 / 3; }
  .hero-info { padding: 32px 24px 8px; }
  .portfolio-teaser { flex-direction: column; align-items: flex-start; gap: 32px; }
  .portfolio-teaser-copy { max-width: none; }
  .portfolio-frame { width: 100%; }
  .gallery-grid { column-count: 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { position: static; max-width: 320px; margin: 0 auto 32px; }
  .contact-details { grid-template-columns: repeat(2, 1fr); }
  .contact-detail:nth-child(2) { border-right: none; }
  .contact-detail { border-bottom: 1px solid var(--border); }
  .gv-grid { grid-template-columns: repeat(2, 1fr); }
  .gv-bar { padding: 14px 16px; }
  .gv-status { padding: 10px 16px; }
  .gv-icon { width: 38px; height: 38px; }
  .gv-signout { margin-left: 4px; }
  .gv-lightbox { padding: 64px 12px 84px; }
  .gv-lb-nav { top: auto; bottom: 16px; transform: none; }
  .gv-lb-prev { left: calc(50% - 64px); }
  .gv-lb-next { right: calc(50% - 64px); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .custom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .gallery-grid { column-count: 1; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-detail { border-right: none; }
  .form-row--split { grid-template-columns: 1fr; gap: 24px; }
  .form-row--footer { flex-direction: column; align-items: flex-start; }
}

/* The hidden attribute must win over component display rules (filtering, etc.) */
[hidden] { display: none !important; }

/* ---------- Full-size photo viewer ---------- */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.97);
  padding: 24px 72px;
  box-sizing: border-box;
}
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox.has-caption .lightbox-img { max-height: calc(100vh - 100px); }
.lightbox-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  color: #ffffff;
  text-align: center;
}
.lightbox-project { font-family: var(--font-editorial); font-style: italic; font-size: 14px; color: var(--accent-on-photo); }
.lightbox-project:hover { text-decoration: underline; }
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: none;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { opacity: 1; color: var(--accent-on-photo); }
.lightbox-close { top: 14px; right: 20px; font-size: 40px; padding: 4px 10px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 52px; padding: 12px 16px; }
.lightbox-nav--prev { left: 6px; }
.lightbox-nav--next { right: 6px; }
@media (max-width: 640px) {
  .lightbox { padding: 56px 12px 16px; }
  .lightbox-nav { top: auto; bottom: 10px; transform: none; font-size: 40px; }
  .lightbox-img { max-height: calc(100vh - 170px); }
  .lightbox.has-caption .lightbox-img { max-height: calc(100vh - 210px); }
}
