:root {
  --void: #050505;
  --ink: #f2f4f2;
  --ink-dim: #9aa39a;
  --panel: #0e0f0e;
  --panel-2: #141614;
  --line: rgba(124, 255, 58, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --mint: #7cff3a;
  --mint-deep: #4db81f;
  --mint-glow: rgba(124, 255, 58, 0.22);
  --red: #e11d2e;
  --red-soft: #ff4d5c;
  --mute: #6e776e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: system-ui, "Segoe UI", sans-serif;
  --display: system-ui, "Segoe UI", sans-serif;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

/* Native [hidden] must win over .btn / .unread-badge display rules */
[hidden] {
  display: none !important;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--void);
  color-scheme: dark;
}

body {
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(124, 255, 58, 0.14), transparent 55%),
    radial-gradient(700px 480px at 100% 0%, rgba(225, 29, 46, 0.08), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(124, 255, 58, 0.06), transparent 55%),
    linear-gradient(165deg, #050505 0%, #0a0b0a 45%, #080908 100%);
  animation: drift 20s ease-in-out infinite alternate;
}

.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 255, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 255, 58, 0.035) 1px, transparent 1px);
  background-size: 56px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 70%);
  pointer-events: none;
  transform: skewY(-2deg);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      60deg,
      transparent 0 28px,
      rgba(124, 255, 58, 0.015) 28px 29px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent 0 28px,
      rgba(124, 255, 58, 0.015) 28px 29px
    );
  opacity: 0.7;
  pointer-events: none;
  animation: hex-shift 28s linear infinite;
}

@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.05) translate3d(-1.2%, 1%, 0); }
}

@keyframes hex-shift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-40px, 24px, 0); }
}

/* Nav */
.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid var(--line-soft);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(124, 255, 58, 0.25), 0 0 24px var(--mint-glow);
}

.nav-brand-text {
  font: 800 1.05rem/1.1 var(--font);
  letter-spacing: 0.04em;
}

.nav-brand-text span {
  display: block;
  font: 600 0.62rem/1.2 var(--font);
  color: var(--mint);
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links > a,
.nav-desk,
.nav-auth {
  font: 500 0.92rem/1.2 var(--font);
  letter-spacing: 0;
  color: var(--ink-dim);
  transition: color 0.2s;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-desk:hover,
.nav-desk.active,
.nav-auth:hover,
.nav-auth.active {
  color: var(--mint);
}

.nav-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--ink-dim);
  border-radius: 999px;
}
.nav-instagram:hover { color: var(--mint); }
.nav-instagram svg { width: 18px; height: 18px; fill: currentColor; }

/* Unread count lives in admin inbox tab only — not in the nav */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 0.92rem/1 var(--font);
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.topnav .btn,
.topnav a.btn {
  padding: 0.55rem 1rem;
  font: 600 0.88rem/1 var(--font);
}

.topnav .btn.ghost,
.topnav a.btn.ghost {
  padding: 0.35rem 0.5rem;
  font: 500 0.92rem/1.2 var(--font);
  color: var(--ink-dim);
  border-color: transparent;
}

.topnav .btn.ghost:hover {
  color: var(--mint);
  background: transparent;
  transform: none;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 255, 58, 0.35);
}

.btn.primary {
  background: var(--mint);
  color: #061006;
  border-color: var(--mint);
  box-shadow: 0 0 28px var(--mint-glow);
}

.btn.primary:hover {
  background: #93ff5a;
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-dim);
}

.btn.wide { width: 100%; }
.btn.danger {
  border-color: rgba(225, 29, 46, 0.45);
  color: var(--red-soft);
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 700;
}

.lede {
  margin: 0.65rem 0 0;
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 38rem;
}

.lede.wide { max-width: 46rem; }

/* Hero — wallpaper aspect 1821×864; full photo uncropped (trx/pik approach) */
.land-hero {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1821 / 864;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.25rem);
  overflow: hidden;
  background: #061208;
}

.land-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(2, 6, 3, 0.72) 0%, rgba(2, 6, 3, 0.35) 40%, rgba(2, 6, 3, 0.12) 62%, rgba(2, 6, 3, 0.35) 100%),
    linear-gradient(180deg, rgba(2, 6, 3, 0.08) 0%, transparent 40%, rgba(2, 6, 3, 0.55) 100%),
    url("/assets/hero-wallpaper.png") center center / 100% 100% no-repeat,
    #061208;
}

.land-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 14px,
      rgba(124, 255, 58, 0.03) 14px 15px
    );
  mix-blend-mode: screen;
  pointer-events: none;
}

.land-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: rise 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.brand-hero {
  margin: 0 0 1.1rem;
  font: 800 clamp(3.2rem, 10vw, 5.8rem)/0.95 var(--font);
  letter-spacing: -0.03em;
  text-shadow: 0 0 40px rgba(124, 255, 58, 0.18);
}

.brand-hero em {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--mint);
  font-size: 0.38em;
  letter-spacing: 0.14em;
  margin-top: 0.2em;
}

.land-title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 28ch;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Sections */
.land-section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3.5rem);
  max-width: calc(var(--max) + 7rem);
  margin: 0 auto;
}

.land-h2 {
  margin: 0;
  font: 800 clamp(2rem, 5vw, 2.8rem)/1.05 var(--font);
  letter-spacing: -0.02em;
}

.section-head {
  margin-bottom: 2rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  animation: rise 0.8s ease both;
}

.service-item:nth-child(2) { animation-delay: 0.08s; }
.service-item:nth-child(3) { animation-delay: 0.16s; }

.service-item h3 {
  margin: 0 0 0.55rem;
  font: 800 1.35rem/1.15 var(--font);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.service-item p {
  margin: 0;
  color: var(--ink-dim);
  line-height: 1.5;
  font-size: 0.95rem;
}

.service-kicker {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--mint);
  font-weight: 700;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.about-visual {
  min-height: 0;
  aspect-ratio: 1821 / 864;
  background: #0a0b0a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.about-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-copy .land-h2 { margin-bottom: 0.8rem; }

.about-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.about-points li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--ink-dim);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint-glow);
}

/* Gallery grid — photo only; caption opens in IG-style viewer */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.post-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
  isolation: isolate;
  border-radius: var(--radius-sm);
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  display: block;
  color: inherit;
}

.post-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.post-tile:hover img {
  transform: scale(1.04);
}

.post-tile-multi {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 1;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  pointer-events: none;
}

.post-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 0.75rem;
}

.post-viewer.is-open {
  display: grid !important;
}

.post-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.post-viewer-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 380px);
  width: min(1280px, 96vw);
  height: min(90vh, 900px);
  background: #0a0b0a;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-viewer-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.post-viewer-media {
  background: #000;
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.post-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.post-carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.28s ease;
  will-change: transform;
}

.post-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #000;
}

.post-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.post-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 0.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.post-carousel-nav:hover {
  background: #fff;
}

.post-carousel-nav.prev { left: 0.65rem; }
.post-carousel-nav.next { right: 0.65rem; }

.post-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
}

.post-carousel-dots button {
  pointer-events: auto;
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.post-carousel-dots button.is-active {
  background: var(--mint);
  transform: scale(1.15);
}

.post-viewer-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.2rem 1.4rem;
  border-left: 1px solid var(--line-soft);
  background: #0e0f0e;
  overflow: auto;
  min-height: 0;
}

.post-viewer-profile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}

.post-viewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(124, 255, 58, 0.35);
}

.post-viewer-profile strong {
  display: block;
  font-size: 0.92rem;
}

.post-viewer-profile span {
  display: block;
  font-size: 0.75rem;
  color: var(--mute);
}

.post-viewer-caption {
  flex: 1;
  white-space: pre-wrap;
  line-height: 1.55;
  color: var(--ink);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .post-viewer-dialog {
    grid-template-columns: 1fr;
    width: 96vw;
    height: auto;
    max-height: 94vh;
  }

  .post-viewer-media {
    height: min(52vh, 420px);
  }

  .post-viewer-side {
    border-left: none;
    border-top: 1px solid var(--line-soft);
    max-height: 42vh;
  }
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.posts-empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--ink-dim);
  border: 1px dashed var(--line-soft);
}

/* Blog cards on landing — interaction containers */
.blog-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(14, 15, 14, 0.7);
  transition: border-color 0.2s, transform 0.2s;
  min-height: 100%;
  overflow: hidden;
}

.blog-card:hover {
  border-color: rgba(124, 255, 58, 0.35);
  transform: translateY(-2px);
}

.blog-card-cover {
  aspect-ratio: 16 / 10;
  background: #121412;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.blog-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.blog-card-body p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.88rem;
  line-height: 1.45;
  flex: 1;
}

.blog-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Contact strip */
.contact-band {
  margin: 0 clamp(1.25rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(124, 255, 58, 0.08), transparent 45%),
    rgba(14, 15, 14, 0.85);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.contact-band h2 {
  margin: 0;
  font: 800 clamp(1.7rem, 4vw, 2.3rem)/1.1 var(--font);
  letter-spacing: -0.02em;
}

.contact-band p {
  margin: 0.4rem 0 0;
  color: var(--ink-dim);
}

/* Footer */
.site-footer {
  padding: 2rem clamp(1.25rem, 5vw, 3.5rem) 2.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--mute);
  font-size: 0.85rem;
}

.site-footer a:hover { color: var(--mint); }

/* Auth */
.auth-wrap {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: min(420px, 100%);
  padding: 1.75rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(14, 15, 14, 0.92);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0;
  font: 800 2rem/1.1 var(--font);
  letter-spacing: -0.02em;
}

.tabs {
  display: flex;
  gap: 0.35rem;
  margin: 1.2rem 0 1rem;
}

.tab {
  flex: 1;
  padding: 0.55rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  cursor: pointer;
  font: 600 0.9rem/1 var(--font);
}

.tab.active {
  color: #061006;
  background: var(--mint);
  border-color: var(--mint);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-form.is-visible { display: flex; }

.auth-form label,
.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-dim);
}

.auth-form input,
.form-stack input,
.form-stack textarea,
.form-stack select,
.panel input,
.panel textarea,
.panel select {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #0a0b0a;
  outline: none;
}

.auth-form input:focus,
.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus,
.panel input:focus,
.panel textarea:focus,
.panel select:focus {
  border-color: rgba(124, 255, 58, 0.45);
  box-shadow: 0 0 0 3px var(--mint-glow);
}

.form-stack textarea,
.panel textarea {
  min-height: 120px;
  resize: vertical;
}

.google-btn {
  margin-bottom: 0.85rem;
  background: #fff;
  color: #222;
  border-color: #fff;
}

.google-btn:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

.form-error {
  margin: 0.75rem 0 0;
  color: var(--red-soft);
  font-size: 0.88rem;
}

.fine {
  margin: 0;
  font-size: 0.8rem;
  color: var(--mute);
}

/* App / Admin shells */
.app-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem clamp(1rem, 4vw, 2rem) 3rem;
}

.page-title {
  margin: 0;
  font: 800 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--font);
  letter-spacing: -0.02em;
}

.gate-card {
  max-width: 420px;
  margin: 4rem auto;
  padding: 1.75rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(14, 15, 14, 0.92);
  text-align: center;
}

.gate-card h1 {
  margin: 0;
  font: 800 1.8rem/1.1 var(--font);
  letter-spacing: -0.02em;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(14, 15, 14, 0.88);
  padding: 1.1rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.panel-head h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 0.5rem;
}

.admin-tab {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  cursor: pointer;
  font: 600 0.88rem/1 var(--font);
}

.admin-tab.active {
  background: var(--mint);
  color: #061006;
  border-color: var(--mint);
}

.admin-pane { display: none; }
.admin-pane.is-visible { display: block; }

.list-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 520px;
  overflow: auto;
}

.list-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #0a0b0a;
}

.list-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.list-item h3 {
  margin: 0;
  font-size: 0.95rem;
}

.list-item p {
  margin: 0.2rem 0 0;
  color: var(--ink-dim);
  font-size: 0.8rem;
}

.list-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.inquiry-item {
  display: block;
  padding: 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #0a0b0a;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.inquiry-item.is-new {
  border-color: rgba(124, 255, 58, 0.35);
}

.inquiry-item h3 {
  margin: 0;
  font-size: 0.95rem;
}

.inquiry-item .meta {
  margin-top: 0.3rem;
  color: var(--mute);
  font-size: 0.78rem;
}

.inquiry-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.inquiry-detail pre {
  white-space: pre-wrap;
  font-family: var(--font);
  color: var(--ink-dim);
  margin: 0.75rem 0;
  line-height: 1.5;
}

.status-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line-soft);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.status-pill.new {
  color: var(--mint);
  border-color: rgba(124, 255, 58, 0.4);
}

.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2rem) 4rem;
}

.blog-article h1 {
  margin: 0.4rem 0 0.8rem;
  font: 800 clamp(2rem, 5vw, 2.8rem)/1.08 var(--font);
  letter-spacing: -0.02em;
}

.blog-article .cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.blog-body {
  color: var(--ink-dim);
  line-height: 1.7;
  white-space: pre-wrap;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.7rem 1.1rem;
  background: var(--mint);
  color: #061006;
  font: 600 0.9rem/1 var(--font);
  border-radius: 999px;
  z-index: 100;
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.upload-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.upload-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-dim);
}

.dropzone {
  position: relative;
  display: block;
  border: 1.5px dashed rgba(124, 255, 58, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(124, 255, 58, 0.06), transparent 55%),
    #0a0b0a;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  min-height: 160px;
}

.dropzone:hover,
.dropzone.is-drag {
  border-color: var(--mint);
  border-style: solid;
  box-shadow: 0 0 0 3px var(--mint-glow);
  background:
    linear-gradient(160deg, rgba(124, 255, 58, 0.12), transparent 55%),
    #0a0b0a;
}

.dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.dropzone-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.6rem 1rem;
  text-align: center;
  color: var(--ink-dim);
  pointer-events: none;
}

.dropzone-idle strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.dropzone-idle span:last-child {
  font-size: 0.78rem;
  color: var(--mute);
}

.dropzone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  color: var(--mint);
  background: rgba(124, 255, 58, 0.1);
  box-shadow: 0 0 24px var(--mint-glow);
}

.dropzone-preview {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 200px;
}

.dropzone-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.dropzone-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(5, 5, 5, 0.92);
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: var(--ink-dim);
  z-index: 3;
  position: relative;
}

.dropzone-preview-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone-change {
  flex-shrink: 0;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  position: relative;
  z-index: 4;
}

.dropzone.has-file .dropzone-idle {
  display: none;
}

.dropzone.has-file.is-multi {
  min-height: 88px;
}

.dropzone.has-file.is-multi .dropzone-idle {
  display: flex;
  padding: 0.9rem 1rem;
}

.dropzone.has-file.is-multi .dropzone-icon {
  display: none;
}

.multi-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.multi-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #111;
}

.multi-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.multi-thumb-x {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.4rem;
  height: 1.4rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.preview-tile {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: #111;
  margin-top: 0.5rem;
  border-radius: var(--radius-sm);
}

.preview-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

.check-row input { width: auto; }

@media (max-width: 900px) {
  .service-grid,
  .blog-row,
  .about-split,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-desk { display: none; }

  .nav-brand-text { display: none; }

  /* Phones: only Prijava + Kontakt (CTA) in the banner */
  .nav-instagram,
  #btn-logout {
    display: none !important;
  }

  .nav-auth {
    display: inline-flex;
    align-items: center;
    font-size: 0.84rem;
  }

  .nav-cta {
    padding: 0.55rem 0.95rem;
    font-size: 0.84rem;
  }

  /* Wallpaper first, copy below — keeps the photo fully visible on phones */
  .land-hero {
    aspect-ratio: auto;
    min-height: 0;
    max-width: 100%;
    overflow: visible;
    padding: 0;
    justify-content: flex-start;
    background: var(--void);
  }

  .land-hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    aspect-ratio: 1821 / 864;
    flex: 0 0 auto;
    background:
      url("/assets/hero-wallpaper.png") center center / 100% 100% no-repeat,
      #061208;
  }

  .land-hero-media::after {
    display: none;
  }

  .land-hero-copy {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding: 1.35rem 1.15rem 1.75rem;
    background: var(--void);
    animation: none;
  }

  .brand-hero {
    font-size: clamp(2.4rem, 14vw, 3.4rem);
    text-shadow: none;
  }

  .land-title {
    max-width: none;
  }

  .hero-actions {
    margin-top: 1.15rem;
  }
}

@media (max-width: 560px) {
  .posts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  .list-item {
    grid-template-columns: 56px 1fr;
  }

  .list-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
}
