/* ==========================================================================
   NesyBohbot — Architectural Studio
   Light paper-toned page with black/red dramatic bookends (hero, footer,
   quote band) instead of an all-dark theme. Real photography drives most
   sections instead of flat color blocks.
   ========================================================================== */
:root {
  /* Dark surfaces: header, hero, quote band, footer, lightbox */
  --black: #0b0b0c;
  --black-2: #17171a;
  --on-dark: #f7f5f2;
  --on-dark-dim: #cfcac4;
  --on-dark-faint: #8c8b8a;
  --line-dark: rgba(247, 245, 242, 0.14);

  /* Light surfaces: everything else */
  --paper: #faf9f6;
  --paper-2: #f1efe9;
  --ink: #15130f;
  --ink-dim: #57534c;
  --ink-faint: #928d83;
  --line: rgba(21, 19, 15, 0.12);
  --line-soft: rgba(21, 19, 15, 0.07);

  /* Brand accent, used everywhere */
  --red: #c81034;
  --red-light: #ff2d4d;
  --red-dark: #7a0a22;

  --font-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --font-body: "Heebo", "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; color: var(--ink); }

/* The `hidden` attribute must always win over any component's own
   `display` declaration (flex/inline-flex/etc.), otherwise elements like
   the lightbox or conditionally-shown buttons render even while hidden. */
[hidden] { display: none !important; }

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

:focus-visible {
  outline: 1.5px solid var(--red-light);
  outline-offset: 3px;
}

/* ==========================================================================
   Header (always dark, floats over both the photo hero and light content)
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  background: linear-gradient(to bottom, rgba(11, 11, 12, 0.85), rgba(11, 11, 12, 0));
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--red-light);
  border: 1px solid var(--line-dark);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  letter-spacing: 1px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 3px;
  color: var(--on-dark-faint);
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  color: var(--on-dark-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 1px;
  background: var(--red-light);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--on-dark); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-pill {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-dark);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--red-light);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.phone-pill:hover { border-color: var(--red-light); background: rgba(200, 16, 52, 0.12); }

.nav-toggle {
  display: none;
  width: 34px; height: 34px;
  background: none; border: none;
  flex-direction: column; justify-content: center; gap: 6px;
  align-items: flex-end;
}
.nav-toggle span { width: 100%; height: 1px; background: var(--on-dark); transition: 0.3s var(--ease); }
.nav-toggle span:nth-child(2) { width: 70%; }

/* ==========================================================================
   Hero — full-bleed photo instead of a flat pattern
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 100px;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,11,12,.4) 0%, rgba(11,11,12,.6) 45%, rgba(11,11,12,.92) 100%),
    radial-gradient(ellipse 70% 55% at 50% 20%, rgba(200,16,52,.14), transparent 60%);
}
.hero-inner {
  position: relative;
  max-width: 880px;
  text-align: center;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-light);
  margin: 0 0 26px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--on-dark);
}
.hero-title span {
  opacity: 0;
  animation: riseIn 1s var(--ease) forwards;
}
.hero-title span:nth-child(1) { animation-delay: 0.25s; }
.hero-title span.accent { color: var(--red-light); animation-delay: 0.42s; font-weight: 300; font-style: italic; }

.elevation-line {
  width: min(560px, 80%);
  height: 22px;
  margin: 28px auto;
  stroke: var(--red-light);
  opacity: 0;
  animation: fadeIn 0.6s var(--ease) 1.1s forwards;
}
.elevation-line line { stroke-width: 1; }
.elevation-line line:first-child {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 1.4s var(--ease) 0.85s forwards;
}
.elevation-line .tick { opacity: 0.6; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.hero-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--on-dark-dim);
  font-size: 1.02rem;
  font-weight: 300;
  opacity: 0;
  animation: riseIn 1s var(--ease) 0.65s forwards;
}
.hero-actions {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 1s var(--ease) 0.85s forwards;
}
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 52px;
  background: var(--line-dark);
  overflow: hidden;
}
.scroll-hint span {
  position: absolute; top: -100%; right: 0; left: 0;
  height: 100%;
  background: linear-gradient(var(--red-light), transparent);
  animation: hintSlide 2.2s ease-in-out infinite;
}
@keyframes hintSlide { to { top: 100%; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px;
  font-size: 0.86rem;
  letter-spacing: 0.6px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; font-weight: 500; }
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); }
.btn-google {
  background: #fff;
  color: #1f1f1f;
  font-weight: 500;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.btn-google:hover { background: #fdfdfd; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--red-light); color: var(--red-light); }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: rgba(200, 16, 52, 0.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.78rem; }

/* ==========================================================================
   Sections / shared
   ========================================================================== */
.section { padding: 120px 32px; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.dimension-line { width: 44px; height: 1px; background: var(--red); }
.section-eyebrow {
  font-size: 0.76rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin: 0;
}
.section h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 20px; max-width: 700px; }

.reveal, .reveal-img {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-img { transform: translateY(20px) scale(1.05); transition-duration: 1.1s; }
.reveal.is-visible, .reveal-img.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* ==========================================================================
   Studio / About
   ========================================================================== */
.studio { background: var(--paper); }
.studio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.studio-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(21, 19, 15, 0.14);
}
.studio-content p { color: var(--ink-dim); font-size: 1.02rem; max-width: 52ch; }
.specialty-cards { display: grid; gap: 20px; margin-top: 34px; }
.specialty-card {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 30px 28px;
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.specialty-card:hover { border-color: var(--red); transform: translateY(-3px); }
.specialty-num { color: var(--red); font-size: 0.9rem; }
.specialty-card h3 { font-size: 1.2rem; margin: 12px 0 10px; }
.specialty-card p { color: var(--ink-dim); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   Process — zig-zag photo + text rows
   ========================================================================== */
.process-visual { background: var(--paper-2); }
.process-visual h2 { margin-bottom: 70px; }
.process-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 90px;
}
.process-row:last-child { margin-bottom: 0; }
.process-row.is-reverse .process-row-media { order: 2; }
.process-row.is-reverse .process-row-content { order: 1; }
.process-row-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(21, 19, 15, 0.16);
}
.process-row-num {
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.process-row-content h3 { font-size: 1.5rem; margin-bottom: 14px; }
.process-row-content p { color: var(--ink-dim); font-size: 1rem; max-width: 46ch; margin: 0; }

/* ==========================================================================
   Quote / atmosphere band
   ========================================================================== */
.quote-band {
  position: relative;
  padding: 150px 32px;
  overflow: hidden;
  background: var(--black);
}
.quote-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.quote-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,.82), rgba(11,11,12,.9));
}
.quote-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--red-light);
  margin: 0 0 6px;
  line-height: 1;
}
.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--on-dark);
  line-height: 1.5;
  margin: 0 0 24px;
}
.quote-attr {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin: 0;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section { background: var(--paper); }
.gallery-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 42px;
}
.gallery-top h2 { margin: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  background: none; border: 1px solid var(--line);
  color: var(--ink-dim);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--red); color: var(--ink); }
.filter-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 500; }

.masonry {
  column-count: 2;
  column-gap: 28px;
}
@media (max-width: 900px) { .masonry { column-count: 1; } }

.gallery-card {
  break-inside: avoid;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--paper-2);
  box-shadow: 0 20px 45px rgba(21, 19, 15, 0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery-card.is-shown { opacity: 1; transform: translateY(0); }
.gallery-card:hover { box-shadow: 0 26px 60px rgba(21, 19, 15, 0.16); }
.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.gallery-card:hover img { transform: scale(1.05); filter: brightness(0.55); }
.gallery-card .card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(to top, rgba(11,11,12,.92) 10%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-card:hover .card-overlay { opacity: 1; }
.card-overlay .tag {
  align-self: flex-start;
  font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red-light);
  border: 1px solid var(--line-dark);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease) 0.05s;
}
.card-overlay h3 {
  font-size: 1.25rem; color: var(--on-dark); margin: 0 0 4px;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease) 0.1s;
}
.card-overlay p {
  font-size: 0.86rem; color: var(--on-dark-dim); margin: 0;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease) 0.15s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gallery-card:hover .tag,
.gallery-card:hover h3,
.gallery-card:hover p { transform: translateY(0); }

.gallery-skeleton { column-count: 2; column-gap: 28px; }
@media (max-width: 900px) { .gallery-skeleton { column-count: 1; } }
.skel-card {
  break-inside: avoid; margin-bottom: 28px; height: 340px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--paper-2) 30%, #e7e3da 45%, var(--paper-2) 60%);
  background-size: 300% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}
.skel-card:nth-child(2n) { height: 420px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -100% 0; } }

.gallery-empty { text-align: center; color: var(--ink-faint); padding: 40px 0; }

.gallery-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 52px;
}
.page-btn {
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink-dim);
  border-radius: 999px;
  font-size: 0.86rem;
  transition: all 0.25s var(--ease);
}
.page-btn:hover:not(:disabled) { border-color: var(--red); color: var(--ink); }
.page-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 500; }
.page-btn:disabled { opacity: 0.35; cursor: default; }
.page-btn-more { border-style: dashed; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--paper-2); }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; }
.contact-info p { color: var(--ink-dim); max-width: 40ch; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--red); }
.contact-list svg { color: var(--red); flex-shrink: 0; }
.contact-list a:hover { text-decoration: underline; }

.contact-form { display: grid; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.form-row label { font-size: 0.82rem; color: var(--ink-dim); letter-spacing: 0.3px; }
.checkbox-row label { display: flex; align-items: center; gap: 8px; flex-direction: row; padding-bottom: 12px; }
.checkbox-row input { width: 16px; height: 16px; }

.form-row input,
.form-row select,
.form-row textarea {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--red);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 100px; }

/* Force our own colors on browser-autofilled fields instead of the
   default light-blue/yellow highlight browsers paint over them. */
.form-row input:-webkit-autofill,
.form-row input:-webkit-autofill:hover,
.form-row input:-webkit-autofill:focus,
.form-row textarea:-webkit-autofill,
.form-row textarea:-webkit-autofill:hover,
.form-row textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 9999s ease-in-out 0s;
  caret-color: var(--ink);
}

.hp-field { position: absolute; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none; }

.form-status { min-height: 20px; font-size: 0.85rem; margin: 0; color: var(--red); }
.form-status.is-error { color: var(--red-dark); }

/* ==========================================================================
   Custom select (replaces the native <select> popup, which browsers
   render with OS-level styling that CSS can't consistently override)
   ========================================================================== */
.custom-select { position: relative; }
.custom-select-native {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.custom-select-trigger {
  width: 100%;
  text-align: right;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.custom-select-trigger::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--red);
  border-bottom: 1.5px solid var(--red);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.custom-select.is-open .custom-select-trigger::after { transform: rotate(225deg); }
.custom-select-trigger.is-placeholder { color: var(--ink-faint); }
.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger { border-color: var(--red); }

.custom-select-list {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(21, 19, 15, 0.18);
  max-height: 240px;
  overflow-y: auto;
}
.custom-select-option {
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--ink-dim);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.custom-select-option:hover {
  background: rgba(200, 16, 52, 0.08);
  color: var(--ink);
}
.custom-select-option.is-selected {
  color: var(--red);
  font-weight: 500;
}

/* ==========================================================================
   Footer (dark)
   ========================================================================== */
.site-footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: 48px 32px; }
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { color: var(--on-dark-faint); font-size: 0.85rem; margin: 0; }
.footer-contact { display: flex; gap: 24px; font-size: 0.85rem; color: var(--on-dark-dim); }
.footer-contact a:hover { color: var(--red-light); }
.footer-meta { display: flex; align-items: center; gap: 18px; font-size: 0.78rem; color: var(--on-dark-faint); }
.admin-link {
  color: var(--on-dark-faint);
  font-size: 0.75rem; text-decoration: underline; opacity: 0.6;
  transition: opacity 0.3s var(--ease);
}
.admin-link:hover { opacity: 1; }

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px; left: 26px;
  z-index: 400;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #0e1a12;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(10, 9, 6, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  animation: fadeIn 0.3s var(--ease) forwards;
}
.lightbox-content { max-width: 940px; width: 100%; margin: 0; }
.lightbox-content img { width: 100%; max-height: 68vh; object-fit: contain; border: 1px solid var(--line-dark); }
.lightbox-content figcaption { padding-top: 20px; text-align: center; }
.lightbox-content h3 { color: var(--red-light); font-size: 1.3rem; margin-bottom: 8px; }
.lightbox-content p { color: var(--on-dark-dim); max-width: 60ch; margin: 0 auto; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none; border: 1px solid var(--line-dark);
  color: var(--on-dark);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: all 0.25s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--red-light); color: var(--red-light); }
.lightbox-close { top: 28px; left: 28px; }
.lightbox-nav.prev { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { left: 28px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Admin — standalone page (admin.html), stays dark/professional
   ========================================================================== */
.admin-body { background: var(--black); color: var(--on-dark); }
.admin-body h1, .admin-body h3 { color: var(--on-dark); }

.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto;
  padding: 28px 32px;
}
.back-to-site {
  font-size: 0.82rem; color: var(--on-dark-dim);
  border: 1px solid var(--line-dark);
  padding: 9px 18px; border-radius: 999px;
  transition: all 0.25s var(--ease);
}
.back-to-site:hover { border-color: var(--red-light); color: var(--red-light); }

.admin-page {
  min-height: calc(100svh - 100px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 20px 32px 100px;
}
.admin-panel {
  background: var(--black-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 44px;
  max-width: 620px; width: 100%;
}
.admin-login h1, .admin-dash-head h1 { font-size: 1.7rem; margin: 6px 0 26px; }
.admin-login-hint { color: var(--on-dark-faint); font-size: 0.86rem; margin: 0 0 22px; }
.admin-login .section-eyebrow, .admin-dash-head .section-eyebrow { margin: 0; color: var(--red-light); }
.admin-login .form-row, .admin-form .form-row { margin-bottom: 16px; }
.admin-dash-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; gap: 20px; }
.admin-form { border-top: 1px solid var(--line-dark); padding-top: 24px; margin-top: 10px; }
.admin-form-actions { display: flex; gap: 12px; margin-top: 6px; }
.admin-list { margin-top: 30px; display: grid; gap: 12px; }
.admin-list-item {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 10px;
}
.admin-list-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.admin-list-item .info { flex: 1; min-width: 0; }
.admin-list-item .info h4 { margin: 0 0 2px; font-size: 0.92rem; color: var(--on-dark); font-family: var(--font-body); font-weight: 500; }
.admin-list-item .info span { font-size: 0.76rem; color: var(--on-dark-faint); }
.admin-list-item .actions { display: flex; gap: 6px; }
.admin-list-item button {
  background: none; border: 1px solid var(--line-dark); color: var(--on-dark-dim);
  padding: 6px 12px; border-radius: 999px; font-size: 0.74rem;
  transition: all 0.25s var(--ease);
}
.admin-list-item button:hover { border-color: var(--red); color: var(--red-light); }
.admin-list-item button.danger:hover { border-color: #d98b6b; color: #d98b6b; }

/* Admin runs on a dark page, so shared form/select components need a
   dark-context override — everywhere else on the site those components
   default to their light styling above. */
.admin-body .form-row input,
.admin-body .form-row select,
.admin-body .form-row textarea,
.admin-body .custom-select-trigger {
  background: rgba(247, 245, 242, 0.04);
  border-color: var(--line-dark);
  color: var(--on-dark);
}
.admin-body .form-row input:focus,
.admin-body .form-row select:focus,
.admin-body .form-row textarea:focus,
.admin-body .custom-select.is-open .custom-select-trigger,
.admin-body .custom-select-trigger:hover {
  border-color: var(--red);
  background: rgba(247, 245, 242, 0.07);
}
.admin-body .form-row label { color: var(--on-dark-dim); }
.admin-body .form-row input:-webkit-autofill,
.admin-body .form-row textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--on-dark);
  -webkit-box-shadow: 0 0 0px 1000px var(--black-2) inset;
  box-shadow: 0 0 0px 1000px var(--black-2) inset;
}
.admin-body .custom-select-list { background: var(--black-2); border-color: var(--line-dark); }
.admin-body .custom-select-option { color: var(--on-dark-dim); }
.admin-body .custom-select-option:hover { background: rgba(200, 16, 52, 0.18); color: var(--on-dark); }
.admin-body .custom-select-option.is-selected { color: var(--red-light); }
.admin-body .btn-ghost { border-color: var(--line-dark); color: var(--on-dark); }
.admin-body .btn-ghost:hover { border-color: var(--red-light); color: var(--red-light); }
.admin-body .form-status { color: var(--red-light); }
.admin-body .form-status.is-error { color: #ff6b7d; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .studio-grid { grid-template-columns: 1fr; gap: 44px; }
  .process-row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
  .process-row.is-reverse .process-row-media,
  .process-row.is-reverse .process-row-content { order: initial; }
  .contact-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 780px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100svh; width: min(78vw, 320px);
    background: var(--black-2);
    border-left: 1px solid var(--line-dark);
    flex-direction: column;
    padding: 110px 36px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .phone-pill span { display: none; }
  .header-inner { padding: 16px 20px; }
  .hero { padding: 130px 20px 80px; }
  .section { padding: 80px 20px; }
  .quote-band { padding: 100px 20px; }
  .form-row-inline { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .phone-pill { padding: 8px 12px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; left: 18px; }
  .lightbox { padding: 20px; }
  .lightbox-nav { width: 38px; height: 38px; }
  .admin-panel { padding: 30px 22px; }
}