@import "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap";

:root {
  /* LOCKED Designer BRIEF — Achefor only, not Work in Gibraltar */
  --bg: #0b0914;
  --ink: #f1ede4;
  --display: #f5eddf;
  --gold: #e2c08a;
  --gold-deep: #c9a46e;
  --violet: #8b5cf6;
  --muted-45: rgba(241, 237, 228, 0.45);
  --muted-65: rgba(241, 237, 228, 0.65);
  --muted-80: rgba(241, 237, 228, 0.8);
  --card-from: rgba(40, 28, 68, 0.65);
  --card-to: rgba(22, 16, 40, 0.8);
  --border-strong: #323041;
  --border-soft: rgba(255, 255, 255, 0.1);
  --coming-soon-fg: rgba(241, 237, 228, 0.35);
  --content: 1024px;
  --pad: 32px;
  --radius: 16px;
  --pill: 9999px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: Outfit, system-ui, sans-serif;
  --obsidian: var(--bg);
  --cream: var(--display);
  --champagne: var(--gold);
  --champagne-border: rgba(245, 237, 223, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border-strong);
}

html {
  color-scheme: dark;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-ui);
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: inherit;
}

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

button,
input {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: transparent;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

img,
svg {
  display: block;
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

p,
h1,
h2 {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.bg-obsidian {
  background-color: var(--bg);
}

.night {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 48% at 12% -8%, rgba(139, 92, 246, 0.3), transparent 58%),
    radial-gradient(ellipse 48% 36% at 88% 10%, rgba(139, 92, 246, 0.12), transparent 52%),
    radial-gradient(ellipse 40% 28% at 62% 58%, rgba(139, 92, 246, 0.08), transparent 60%),
    linear-gradient(180deg, #140f22 0%, #0b0914 42%, #09070f 100%);
}

.night-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
  position: relative;
  z-index: 10;
  margin-inline: auto;
  display: flex;
  min-height: 100dvh;
  width: 100%;
  max-width: var(--content);
  flex-direction: column;
  padding-inline: var(--pad);
}
.font-display {
  font-family: var(--font-display);
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}
.font-light {
  font-weight: 300;
}
.uppercase {
  text-transform: uppercase;
}
.object-contain {
  object-fit: contain;
}
.overflow-hidden {
  overflow: hidden;
}
.pointer-events-none {
  pointer-events: none;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.inset-0 {
  inset: 0;
}
.z-10 {
  z-index: 10;
}
.hidden {
  display: none;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.flex-col {
  flex-direction: column;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.w-full {
  width: 100%;
}
.min-h-\[100dvh\] {
  min-height: 100dvh;
}
.min-h-\[44px\] {
  min-height: 44px;
}
.max-w-5xl {
  max-width: var(--content);
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-xl {
  max-width: 36rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-auto {
  margin-top: auto;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.rounded-2xl {
  border-radius: var(--radius);
}
.rounded-full {
  border-radius: var(--pill);
}
.border {
  border-width: 1px;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.p-5 {
  padding: 1.25rem;
}
.pb-12 {
  padding-bottom: 3rem;
}
.pt-4 {
  padding-top: 1rem;
}
.text-center {
  text-align: center;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-\[10px\] {
  font-size: 10px;
}
.leading-\[1\.1\] {
  line-height: 1.1;
}
.leading-snug {
  line-height: 1.375;
}
.leading-relaxed {
  line-height: 1.625;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-\[0\.08em\] {
  letter-spacing: 0.08em;
}
.tracking-\[0\.16em\] {
  letter-spacing: 0.16em;
}
.tracking-\[0\.22em\] {
  letter-spacing: 0.22em;
}
.text-\[\#E2C08A\] {
  color: var(--gold);
}
.text-\[\#8B5CF6\] {
  color: var(--violet);
}
.text-\[\#F5EDDF\] {
  color: var(--display);
}
.text-\[\#0B0914\] {
  color: var(--bg);
}
.text-foreground {
  color: var(--ink);
}
.text-foreground\/80 {
  color: var(--muted-80);
}
.text-foreground\/65 {
  color: var(--muted-65);
}
.text-foreground\/60 {
  color: var(--muted-65);
}
.text-foreground\/50 {
  color: var(--muted-45);
}
.text-foreground\/45 {
  color: var(--muted-45);
}
.text-foreground\/40 {
  color: var(--muted-45);
}
.text-foreground\/35 {
  color: var(--coming-soon-fg);
}
.bg-\[\#8B5CF6\]\/40 {
  background-color: #8b5cf666;
}
.bg-\[\#8B5CF6\]\/25 {
  background-color: #8b5cf640;
}
.bg-\[\#8B5CF6\]\/15 {
  background-color: #8b5cf626;
}
.bg-\[\#E2C08A\]\/20 {
  background-color: #e2c08a33;
}
.bg-\[\#E2C08A\]\/15 {
  background-color: #e2c08a26;
}
.bg-\[\#E2C08A\]\/10 {
  background-color: #e2c08a1a;
}
.bg-white\/5 {
  background-color: #ffffff0d;
}
.bg-white\/\[0\.04\] {
  background-color: #ffffff0a;
}
.bg-white\/\[0\.03\] {
  background-color: #ffffff08;
}
.border-white\/10 {
  border-color: #ffffff1a;
}
.border-white\/\[0\.06\] {
  border-color: #ffffff0f;
}
.border-\[\#E2C08A\]\/25 {
  border-color: #e2c08a40;
}
.border-t {
  border-top-width: 1px;
}
.h-4 {
  height: 1rem;
}
.w-4 {
  width: 1rem;
}
.h-9 {
  height: 2.25rem;
}
.w-9 {
  width: 2.25rem;
}
.h-36 {
  height: 9rem;
}
.w-36 {
  width: 9rem;
}
.h-\[18rem\] {
  height: 18rem;
}
.w-\[18rem\] {
  width: 18rem;
}
.h-\[24rem\] {
  height: 24rem;
}
.w-\[24rem\] {
  width: 24rem;
}
.h-\[28rem\] {
  height: 28rem;
}
.w-\[28rem\] {
  width: 28rem;
}
.left-\[-10\%\] {
  left: -10%;
}
.top-\[-8\%\] {
  top: -8%;
}
.bottom-\[-12\%\] {
  bottom: -12%;
}
.right-\[-8\%\] {
  right: -8%;
}
.left-1\/2 {
  left: 50%;
}
.top-1\/3 {
  top: 33.333333%;
}
.-translate-x-1\/2 {
  transform: translateX(-50%);
}
.opacity-\[0\.035\] {
  opacity: 0.035;
}
.blur-2xl {
  filter: blur(40px);
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.underline-offset-2 {
  text-underline-offset: 2px;
}
.transition-opacity {
  transition-property: opacity;
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-duration: 150ms;
}
.hover\:opacity-90:hover {
  opacity: 0.9;
}
.hover\:border-\[\#E2C08A\]\/35:hover {
  border-color: #e2c08a59;
}
.hover\:text-\[\#E2C08A\]:hover {
  color: #e2c08a;
}
.hover\:underline:hover {
  text-decoration: underline;
}
.hover\:brightness-105:hover {
  filter: brightness(1.05);
}
.active\:scale-\[0\.98\]:active {
  transform: scale(0.98);
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-\[\#E2C08A\] {
  --tw-gradient-from: var(--gold);
  --tw-gradient-to: rgb(226 192 138 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-\[\#c9a46e\] {
  --tw-gradient-to: var(--gold-deep);
}
.shadow-cta {
  box-shadow: 0 8px 24px -8px rgba(226, 192, 138, 0.55);
}
.drop-shadow-mark {
  filter: drop-shadow(0 0 28px rgba(226, 192, 138, 0.35));
}

.glow-orb {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.45;
}

.glass-card {
  background: linear-gradient(145deg, var(--card-from), var(--card-to));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 0 1px var(--border-strong) inset, 0 24px 48px -16px #0000008c;
}

.glass-card-featured {
  background: linear-gradient(145deg, var(--card-from), var(--card-to));
  border: 1px solid var(--champagne-border);
  box-shadow:
    0 0 0 1px var(--border-strong) inset,
    0 0 40px -12px #8b5cf640,
    0 28px 56px -18px #0009;
}

.hero {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.hero-kicker {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--display);
}

.hero-lead {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
  color: var(--muted-65);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--display);
}

.featured-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--display);
}

.card-sub {
  margin-top: 0.75rem;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.625;
  color: var(--muted-65);
}

.directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.cta-gold {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--pill);
  background-image: linear-gradient(to right, var(--gold), var(--gold-deep));
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg);
  box-shadow: 0 8px 24px -8px rgba(226, 192, 138, 0.55);
}

.cta-gold:hover {
  filter: brightness(1.05);
}

.cta-gold:active {
  transform: scale(0.98);
}

.cta-soon {
  display: inline-flex;
  min-height: 44px;
  cursor: not-allowed;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--pill);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--coming-soon-fg);
}

.ig-pill {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--pill);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: var(--muted-80);
}

.ig-pill:hover {
  border-color: rgba(226, 192, 138, 0.35);
  color: var(--gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-45);
}

.card-icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-45);
}

.card-icon.is-gold {
  border-color: rgba(226, 192, 138, 0.25);
  background: rgba(226, 192, 138, 0.1);
  color: var(--gold);
}

.featured-art {
  display: none;
  position: relative;
  height: 220px;
  width: 220px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--champagne-border);
  background:
    radial-gradient(circle at 50% 42%, rgba(139, 92, 246, 0.38), rgba(11, 9, 20, 0.92) 70%);
}

.featured-art img {
  position: relative;
  height: 168px;
  width: 168px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(226, 192, 138, 0.35));
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.signup-add {
  margin-top: 20px;
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
}

.signup-form input[type="email"] {
  flex: 1 1 12rem;
  min-height: 44px;
  border-radius: var(--pill);
  border: 1px solid var(--border-soft);
  background: rgba(11, 9, 20, 0.55);
  padding: 0.5rem 1.1rem;
  color: var(--ink);
}

.signup-form input[type="email"]::placeholder {
  color: var(--muted-45);
}

.signup-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(226, 192, 138, 0.45);
}

.signup-notice {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.signup-notice.is-ok {
  color: #c5d9b8;
}

.signup-notice.is-err {
  color: #e8a0a0;
}

.legal-copy {
  max-width: 42rem;
}

.legal-copy p + p {
  margin-top: 1rem;
}

.admin-panel {
  max-width: 42rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
}

.admin-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-65);
}

.admin-form input[type="email"],
.admin-form input[type="password"] {
  min-height: 44px;
  border-radius: var(--pill);
  border: 1px solid var(--border-soft);
  background: rgba(11, 9, 20, 0.55);
  padding: 0.5rem 1.1rem;
  color: var(--ink);
}

.admin-form input:focus {
  outline: none;
  border-color: rgba(226, 192, 138, 0.45);
}

.admin-form .cta-gold {
  margin-top: 0.75rem;
  align-self: flex-start;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin: 1.25rem 0 1.5rem;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  padding: 0.25rem 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-45);
  border-bottom: 1px solid var(--border-soft);
}

.admin-table td {
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .hero {
    margin-bottom: 3.5rem;
  }
  .featured-title {
    font-size: 30px;
    line-height: 36px;
  }
  .card-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .card-sub {
    font-size: 15px;
  }
  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .sm\:pt-8 {
    padding-top: 2rem;
  }
  .sm\:mb-14 {
    margin-bottom: 3.5rem;
  }
  .sm\:p-6 {
    padding: 1.5rem;
  }
  .sm\:gap-5 {
    gap: 1.25rem;
  }
  .sm\:inline {
    display: inline;
  }
  .sm\:hidden {
    display: none;
  }
  .sm\:h-10 {
    height: 2.5rem;
  }
  .sm\:w-10 {
    width: 2.5rem;
  }
  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .sm\:text-\[15px\] {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 60px;
    line-height: 60px;
  }
  .directory-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-art {
    display: flex;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  .md\:flex {
    display: flex;
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:items-stretch {
    align-items: stretch;
  }
  .md\:gap-8 {
    gap: 2rem;
  }
  .md\:p-8 {
    padding: 2rem;
  }
  .md\:mt-0 {
    margin-top: 0;
  }
  .md\:mt-8 {
    margin-top: 2rem;
  }
  .md\:w-48 {
    width: 12rem;
  }
  .md\:shrink-0 {
    flex-shrink: 0;
  }
  .md\:max-w-md {
    max-width: 28rem;
  }
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:w-56 {
    width: 14rem;
  }
  .lg\:h-44 {
    height: 11rem;
  }
  .lg\:w-44 {
    width: 11rem;
  }
}

@media (max-width: 639px) {
  .signup-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
