:root {
  --bg-top: #d8dfd9;
  --bg-bottom: #aebbb3;
  --card: rgba(255, 251, 246, 0.78);
  --card-strong: #f8f3ec;
  --card-soft: rgba(73, 60, 46, 0.05);
  --text: #1d1a17;
  --muted: #6c6258;
  --accent: #5c6f66;
  --accent-strong: #31433d;
  --accent-soft: rgba(92, 111, 102, 0.14);
  --border: rgba(49, 67, 61, 0.12);
  --shadow: 0 30px 90px rgba(49, 67, 61, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at bottom right, rgba(92, 111, 102, 0.1), transparent 22%),
    radial-gradient(circle at center right, rgba(49, 67, 61, 0.08), transparent 28%),
    linear-gradient(160deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: 32px;
  display: grid;
  place-items: center;
}

.hero-card,
.admin-panel {
  width: min(100%, 980px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -80px auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(92, 111, 102, 0.15), rgba(255, 255, 255, 0.16));
  filter: blur(0);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(4rem, 10vw, 7.2rem);
  max-width: 6ch;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
}

.lead,
.modal-copy,
.admin-card p,
.helper-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(49, 67, 61, 0.12);
  padding: 8px;
  box-shadow: 0 18px 40px rgba(49, 67, 61, 0.08);
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(92, 111, 102, 0.18);
}

.hero-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.lead {
  max-width: 560px;
  margin: 24px 0 0;
}

.info-panel {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(92, 111, 102, 0.14);
}

.info-item + .info-item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(92, 111, 102, 0.14);
}

.info-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.info-item strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-strong);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
}

.contact-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(92, 111, 102, 0.1);
  border: 1px solid rgba(49, 67, 61, 0.1);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-strong);
}

.contact-list a:hover {
  text-decoration: underline;
}

.status-row,
.admin-panel__header {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--accent-soft);
  animation: statusPulse 2.8s ease-in-out infinite;
}

.ghost-button,
.primary-button,
.close-button {
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.ghost-button,
.primary-button {
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  border: 1px solid var(--border);
}

.primary-button {
  background: var(--accent);
  color: #fffdf9;
}

.ghost-button:hover,
.primary-button:hover,
.close-button:hover {
  transform: translateY(-1px);
}

.admin-panel {
  padding: 40px;
  background: rgba(255, 249, 242, 0.86);
}

.admin-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
}

.card-label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.admin-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 5, 0.62);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(100%, 460px);
  padding: 32px;
  border-radius: 28px;
  background: var(--card-strong);
  border: 1px solid rgba(49, 67, 61, 0.14);
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(92, 111, 102, 0.08);
  color: var(--accent-strong);
}

.login-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.login-form label {
  font-size: 0.95rem;
  color: var(--muted);
}

.login-form input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  outline: none;
}

.login-form input:focus {
  border-color: rgba(92, 111, 102, 0.7);
  box-shadow: 0 0 0 4px rgba(92, 111, 102, 0.14);
}

.helper-text,
.error-text {
  margin: 0;
  font-size: 0.92rem;
}

.error-text {
  color: #a54436;
}

.hidden {
  display: none !important;
}

@keyframes statusPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(92, 111, 102, 0.1);
  }

  35% {
    transform: scale(1.12);
    box-shadow: 0 0 0 9px rgba(92, 111, 102, 0.08);
  }

  65% {
    transform: scale(1.04);
    box-shadow: 0 0 0 13px rgba(92, 111, 102, 0.05);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(92, 111, 102, 0);
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding: 20px;
  }

  .hero-card,
  .admin-panel,
  .modal-card {
    border-radius: 24px;
  }

  .hero-card,
  .admin-panel {
    padding: 28px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}
