/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #f9f6f1;
  --dark:    #1a1814;
  --mid:     #252220;
  --ink:     #3a3630;
  --muted:   #7a756e;
  --accent:  #c8a96e;
  --accent2: #8fb3a8;
  --white:   #ffffff;
  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* compensate for fixed nav */
}

body {
  font-family: var(--ff-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--dark);
}

/* ─── Scroll Progress Bar ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(249, 246, 241, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: padding 0.35s ease, box-shadow 0.35s ease;
}

.nav.nav--scrolled {
  padding: 0.75rem 3rem;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.05em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--dark); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Subtle ruled-line grid — references a designer's notebook */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 47px,
    rgba(200, 169, 110, 0.065) 47px,
    rgba(200, 169, 110, 0.065) 48px
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

/* Staggered entrance animations */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-tag  { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.hero-name { animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s  both; }
.hero-sub  { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s  both; }
.hero .btn { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both; }

.hero-tag {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: var(--ff-serif);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1.0;
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-name em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-shape {
  position: absolute;
  right: -8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: 42% 58% 68% 32% / 38% 52% 48% 62%;
  opacity: 0.18;
  animation: morph 12s ease-in-out infinite;
  z-index: 0;
}

@keyframes morph {
  0%, 100% { border-radius: 42% 58% 68% 32% / 38% 52% 48% 62%; }
  33%       { border-radius: 70% 30% 50% 50% / 60% 40% 60% 40%; }
  66%       { border-radius: 30% 70% 30% 70% / 50% 50% 30% 70%; }
}

/* ─── Capabilities Strip ─── */
.cap-strip {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cap-strip-inner {
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

.cap-item {
  flex: 1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: default;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.35s ease;
}

.cap-item:last-child { border-right: none; }

.cap-item:hover { background: rgba(255,255,255,0.03); }

.cap-num {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
}

.cap-name {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  transition: color 0.35s ease;
  white-space: nowrap;
}

.cap-item:hover .cap-name { color: rgba(255,255,255,0.82); }

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--dark);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover { background: var(--accent); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover { background: var(--white); color: var(--dark); }

/* ─── Sections ─── */
.section { padding: 6rem 0; }

.section-dark {
  background: var(--dark);
  color: var(--cream);
}

.section-dark h2 { color: var(--white); }

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

.label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 2.5rem;
  font-weight: 700;
}

h2 em { font-style: italic; color: var(--accent); }

/* ─── About ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.85;
}

.about-text p strong { color: var(--ink); font-weight: 500; }

.about-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 40px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* Subtle inner accent line on left edge */
  border-left: 3px solid var(--accent);
}

/* ─── About — Performance Photo ─── */
.about-visual {
  position: relative;
  height: 460px;
  border-radius: 8px;
  overflow: hidden;
  border-left: 3px solid var(--accent);
}

.about-perf-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  /* Push into the gold palette: more amber, higher contrast, film-like */
  filter: sepia(30%) contrast(1.18) brightness(0.88) saturate(0.75);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-visual:hover .about-perf-img {
  transform: scale(1.03);
}

/* Subtle gold colour-grade overlay — ties it to the accent palette */
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(200, 169, 110, 0.08) 0%,
    transparent 55%,
    rgba(26, 24, 20, 0.12) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Dark gradient at base — details panel */
.about-perf-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(
    to top,
    rgba(14, 12, 10, 0.96) 0%,
    rgba(14, 12, 10, 0.7)  50%,
    transparent 100%
  );
  z-index: 2;
}

/* Override about-details for dark-overlay context */
.about-perf-overlay .about-details p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  border-bottom-color: rgba(255,255,255,0.1);
}

.about-perf-overlay .about-details span {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-details p {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0ece6;
  display: flex;
  gap: 1rem;
}

.about-details p:last-child { border-bottom: none; }

.about-details span { font-weight: 500; color: var(--ink); min-width: 60px; }

/* ─── Filter Bar ─── */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: #9a948c;
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  font-weight: 500;
}

/* ─── Gallery ─── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}

@keyframes itemIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.gallery-item {
  cursor: zoom-in;
  border-radius: 3px;
  overflow: hidden;
  animation: itemIn 0.4s ease both;
}

/* Featured items (brand identity) span 2 columns with landscape ratio */
.gallery-item--featured {
  grid-column: span 2;
}

.gallery-item--featured .g-thumb {
  aspect-ratio: 4 / 3;
}

.g-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--mid);
}

.g-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .g-thumb img { transform: scale(1.07); }

.g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.35) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .g-overlay {
  opacity: 1;
  transform: translateY(0);
}

.g-tag {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.g-title {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.g-cta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.g-count {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.8);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 7, 6, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.lb-close:hover { color: var(--white); }

.lb-stage {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  width: 90vw;
  max-width: 1120px;
  height: 86vh;
}

.lb-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-width: 0;
  min-height: 0;
}

#lb-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  transition: opacity 0.25s ease;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 1.8rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  z-index: 5;
  line-height: 1;
  padding: 0;
}

.lb-nav:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.lb-prev { left: 0.75rem; }
.lb-next { right: 0.75rem; }

.lb-panel {
  border-left: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  overflow-y: auto;
  min-height: 0;
}

.lb-info { flex: 1; }

.lb-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.lb-info h3 {
  font-family: var(--ff-serif);
  font-size: 1.55rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.lb-info p {
  font-size: 0.875rem;
  color: #8a847c;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.lb-counter {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

.lb-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 1.5rem;
  flex-shrink: 0;
}

.lb-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.2s;
  border: 1.5px solid transparent;
}

.lb-thumb:hover { opacity: 0.7; }

.lb-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Skills ─── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.skill-group h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.skill-group ul { list-style: none; }

.skill-group li {
  font-size: 1rem;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.2s, padding-left 0.2s;
}

.skill-group li:hover {
  color: var(--ink);
  padding-left: 0.4rem;
}

.skill-group li:last-child { border-bottom: none; }

/* ─── Awards ─── */
.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.award-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Left column gets a right divider */
.award-item:nth-child(odd) {
  padding-right: 3rem;
  border-right: 1px solid rgba(0,0,0,0.06);
}

/* Right column gets left padding */
.award-item:nth-child(even) {
  padding-left: 3rem;
}

/* Bottom two items: no bottom border */
.award-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.award-badge-web {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  outline: 2px solid rgba(200, 169, 110, 0.3);
  outline-offset: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: transform 0.3s ease, outline-offset 0.3s ease;
}

.award-item:hover .award-badge-web {
  transform: scale(1.08);
  outline-offset: 5px;
}

.aw-star { font-size: 1.05rem; line-height: 1; }
.aw-text {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.award-info h4 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.award-event {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.award-inst {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ─── Contact ─── */
#contact {
  position: relative;
  overflow: hidden;
}

/* Large decorative arrow — atmospheric depth, barely visible */
#contact::before {
  content: '→';
  position: absolute;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(14rem, 28vw, 26rem);
  color: rgba(200, 169, 110, 0.045);
  line-height: 1;
  right: -1rem;
  bottom: -3rem;
  pointer-events: none;
  user-select: none;
}

.contact-wrap {
  text-align: center;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.contact-sub {
  color: #9a948c;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ─── Footer ─── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #6a625c; /* was #4a4440 — too dark to read */
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav.nav--scrolled { padding: 0.65rem 1.5rem; }
  .container { padding: 0 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .skills-grid { grid-template-columns: 1fr; gap: 2rem; }

  .about-visual { height: 360px; }

  /* Gallery drops to 2 cols, featured items no longer span */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .gallery-item--featured { grid-column: span 1; }
  .gallery-item--featured .g-thumb { aspect-ratio: 3 / 4; }

  .lb-stage {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: 90vh;
    width: 96vw;
  }
  .lb-visual { padding: 1rem; }
  #lb-img { max-height: 52vh; }
  .lb-panel {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1rem 1.25rem;
    max-height: 34vh;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }
  .award-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
  .award-item:nth-child(even) {
    padding-left: 0;
  }
  .award-item:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .award-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 580px) {
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.75rem; }
  .hero-name { font-size: 3rem; }
  .hero-shape { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
  .footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  .lb-thumbs { grid-template-columns: repeat(4, 1fr); }
  #contact::before { font-size: 8rem; }

  /* Cap strip: 2×2 on small screens */
  .cap-strip-inner { flex-wrap: wrap; }
  .cap-item {
    flex: 0 0 50%;
    border-right: none;
    padding: 1.1rem 0.75rem;
  }
  .cap-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.07); }
  .cap-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
}

/* ─── Admin Bar (preview only) ─── */
body.has-admin-bar .nav           { top: 40px; }
body.has-admin-bar .scroll-progress { top: 40px; }
html:has(body.has-admin-bar)      { scroll-padding-top: 112px; }

.admin-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  background: var(--dark);
  border-bottom: 1px solid rgba(200, 169, 110, 0.25);
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.admin-label {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding-right: 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.admin-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.admin-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.admin-btn--gold {
  border-color: var(--accent);
  color: var(--accent);
}

.admin-btn--gold:hover:not(:disabled) {
  background: rgba(200, 169, 110, 0.12);
}

.admin-status {
  color: rgba(249, 246, 241, 0.55);
  font-size: 0.7rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-pin-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(26, 24, 20, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-pin-overlay[hidden] { display: none; }

.admin-pin-box {
  background: var(--mid);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  min-width: 220px;
}

.admin-pin-label {
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-pin-box input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  padding: 0.4rem 0.75rem;
  text-align: center;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.admin-pin-box input:focus { border-color: var(--accent); }

.admin-pin-err {
  color: #e07070;
  font-size: 0.7rem;
  margin: 0;
}

.admin-pin-err[hidden] { display: none; }
