/* ==========================================================================
   TRIBAL — Kilifi Beach
   Premium coastal restaurant — main stylesheet
   ========================================================================== */

/* -- Reset / Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* -- Tokens -------------------------------------------------------------- */
:root {
  /* Brand palette — palm-forest, cream, gold */
  --bg: #0B120E;
  --bg-2: #0F1A14;
  --bg-3: #13221B;
  --surface: #17251D;
  --surface-2: #1D2E24;
  --line: rgba(244, 235, 217, 0.12);
  --line-2: rgba(244, 235, 217, 0.22);

  --fg: #F4EBD9;
  --fg-muted: rgba(244, 235, 217, 0.72);
  --fg-dim: rgba(244, 235, 217, 0.55);

  --gold: #C9A961;
  --gold-2: #E0C079;
  --palm: #4A5D3A;
  --palm-2: #6B8357;
  --sand: #E9DEC4;
  --danger: #D97757;
  --success: #8BB974;

  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.6), 0 8px 18px -8px rgba(0,0,0,.35);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --container: 1240px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* -- Utilities ----------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.lead { color: var(--fg-muted); font-size: 1.08rem; max-width: 60ch; }
.section-head.center .lead { margin-inline: auto; }
.muted { color: var(--fg-dim); font-weight: 400; }

h1 { font-size: clamp(2.5rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); }

/* -- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform .3s var(--ease), background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 2rem; font-size: .9rem; }
.btn-primary {
  background: var(--gold);
  color: #1a1408;
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); color: #1a1408; transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(201, 169, 97, .45); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: not-allowed; transform: none !important; }
.btn-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -- Preloader ----------------------------------------------------------- */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  display: block;
  margin: 0 auto .9rem;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  animation: pulse 1.6s ease-in-out infinite;
}
.preloader-label {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .35em;
  text-transform: uppercase;
}
@keyframes pulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* -- Header -------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background .4s ease, padding .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 18, 14, .96);
  padding: .75rem 0;
  border-bottom-color: var(--line);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .32em;
  color: var(--fg);
  line-height: 1;
}
.brand-text small {
  display: block;
  font-size: .66rem;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}
.primary-nav ul {
  display: flex; gap: 2rem; align-items: center;
}
.primary-nav a {
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  position: relative;
  padding: .25rem 0;
}
.primary-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--fg); }
.primary-nav a:hover::after,
.primary-nav a.active::after { width: 100%; }
.nav-cta { padding: .75rem 1.3rem; font-size: .78rem; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px; background: var(--fg);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 100px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: slow-zoom 18s ease-in-out infinite alternate;
}
@keyframes slow-zoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(74, 93, 58, .35), transparent 60%),
    linear-gradient(180deg, rgba(11,18,14,.35) 0%, rgba(11,18,14,.75) 55%, rgba(11,18,14,.95) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 860px;
  padding: 2rem 0;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero-meta strong { color: var(--gold); font-weight: 500; }
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span {
  width: 3px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .3; }
}

/* -- Highlights ---------------------------------------------------------- */
.highlights {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.highlight-card {
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), border-color .4s ease, background .4s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--surface-2);
}
.highlight-icon {
  width: 52px; height: 52px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.highlight-icon svg { width: 24px; height: 24px; }
.highlight-card h3 { font-size: 1.3rem; color: var(--fg); margin-bottom: .5rem; }
.highlight-card p { color: var(--fg-muted); margin: 0; font-size: .95rem; }

/* -- About --------------------------------------------------------------- */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-media {
  position: relative;
  min-height: 500px;
}
.about-media img:first-child {
  width: 85%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-media-small {
  position: absolute;
  right: 0; bottom: -30px;
  width: 50%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-lg);
}
.about-copy p { color: var(--fg-muted); font-size: 1.02rem; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  margin-bottom: .25rem;
}
.about-stats span {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* -- Menu ---------------------------------------------------------------- */
.menu {
  background: var(--bg-2);
  position: relative;
}
.menu::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(74, 93, 58, .18), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(201, 169, 97, .08), transparent 50%);
  pointer-events: none;
}
.menu > .container { position: relative; z-index: 1; }
.menu-tabs {
  display: flex; justify-content: center;
  gap: .5rem;
  margin: 2.5rem auto 1.5rem;
  padding: .35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  width: fit-content;
}
.menu-tab {
  padding: .6rem 1.6rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-radius: 100px;
  transition: all .3s ease;
}
.menu-tab.is-active {
  background: var(--gold);
  color: #1a1408;
}
.menu-filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem;
  margin: 0 auto 3rem;
  max-width: 800px;
}
.menu-filter {
  padding: .5rem 1.1rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all .3s ease;
}
.menu-filter:hover { color: var(--fg); border-color: var(--line-2); }
.menu-filter.is-active { background: var(--surface); color: var(--gold); border-color: var(--gold); }

.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}
.menu-section-title {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.5rem 0 .5rem;
}
.menu-section-title h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--fg);
  margin-bottom: .35rem;
}
.menu-section-title p { color: var(--fg-dim); font-size: .95rem; margin: 0; }
.menu-item {
  padding: 1.25rem 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item-head {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: .35rem;
}
.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--fg);
  flex: 1;
}
.menu-item-name .dot { color: var(--gold); margin-right: .25rem; }
.menu-item-dots {
  flex: 1; border-bottom: 1px dotted var(--line-2); height: 0;
  margin-bottom: 6px;
}
.menu-item-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}
.menu-item-desc {
  color: var(--fg-muted);
  font-size: .95rem;
  margin: 0;
  line-height: 1.55;
}
.menu-item-tags {
  margin-top: .4rem;
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.menu-tag {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 169, 97, .08);
  padding: .15rem .55rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 169, 97, .25);
}
.menu-tag.v { color: var(--palm-2); background: rgba(107, 131, 87, .08); border-color: rgba(107, 131, 87, .3); }
.menu-tag.spicy { color: var(--danger); background: rgba(217, 119, 87, .08); border-color: rgba(217, 119, 87, .3); }
.menu-loading { text-align: center; color: var(--fg-dim); padding: 2rem; grid-column: 1 / -1; }
.menu-note {
  text-align: center; margin-top: 2rem;
  color: var(--fg-dim);
}
.menu-note .sep { margin: 0 .4rem; color: var(--line-2); }
.menu-note .dot { color: var(--gold); }

/* -- Reservation --------------------------------------------------------- */
.reservation {
  background: var(--bg);
  background-image:
    linear-gradient(rgba(11,18,14,.88), rgba(11,18,14,.95)),
    url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1600&q=70");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.reservation-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.reservation-copy h2 { margin-bottom: 1rem; }
.reservation-copy p { color: var(--fg-muted); font-size: 1.05rem; }
.reservation-list {
  margin-top: 2rem;
}
.reservation-list li {
  padding: .85rem 0;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--fg-muted);
}
.reservation-list li:last-child { border-bottom: 1px solid var(--line); }

/* -- Forms --------------------------------------------------------------- */
.card {
  background: rgba(23, 37, 29, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--fg);
  margin-bottom: 1.5rem;
  text-align: center;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  margin-bottom: 1rem;
  position: relative;
}
.form-field label {
  display: block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: .5rem;
  font-weight: 500;
}
.form-field label span { color: var(--gold); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: rgba(11, 18, 14, .6);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(11, 18, 14, .85);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, .15);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-dim); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23C9A961' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--danger);
}
.form-field .field-error {
  position: absolute;
  bottom: -18px; left: 0;
  font-size: .72rem;
  color: var(--danger);
}
.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: .9rem;
  min-height: 1.25rem;
}
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }
.form-note { text-align: center; margin-top: .75rem; color: var(--fg-dim); }

/* -- Testimonials -------------------------------------------------------- */
.testimonials { background: var(--bg-2); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial {
  padding: 2.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 0;
  position: relative;
  transition: transform .4s var(--ease), border-color .4s ease;
}
.testimonial:hover { transform: translateY(-4px); border-color: var(--gold); }
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -20px; left: 20px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  opacity: .5;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fg);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.testimonial figcaption {
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 500;
}
.testimonial figcaption span { color: var(--fg-dim); margin-left: .25rem; }

/* -- Contact ------------------------------------------------------------- */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info p { color: var(--fg-muted); font-size: 1.05rem; }
.contact-list {
  margin: 2rem 0;
  border-top: 1px solid var(--line);
}
.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.contact-list strong {
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.contact-list a, .contact-list span { color: var(--fg); font-size: 1rem; }
.socials { display: flex; gap: .75rem; }
.socials a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--fg-muted);
  transition: all .3s ease;
}
.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.map-wrap {
  margin-top: 4rem;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(.2) contrast(1.05);
}

/* -- Footer -------------------------------------------------------------- */
.site-footer {
  background: #07100B;
  padding: 5rem 0 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand img {
  width: 56px; height: 56px; border-radius: 50%;
  margin-bottom: 1rem; border: 1px solid var(--line-2);
}
.footer-brand strong {
  font-family: var(--font-display);
  letter-spacing: .3em;
  font-size: 1.2rem;
}
.footer-brand small { color: var(--gold); letter-spacing: .25em; font-size: .7rem; text-transform: uppercase; }
.footer-tag { color: var(--fg-dim); margin-top: 1rem; font-size: .9rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul li { padding: .35rem 0; color: var(--fg-muted); font-size: .9rem; }
.footer-col p { color: var(--fg-muted); font-size: .9rem; margin-bottom: 1rem; }
.newsletter { display: flex; gap: .5rem; }
.newsletter input {
  flex: 1;
  padding: .75rem .9rem;
  background: rgba(11, 18, 14, .6);
  border: 1px solid var(--line-2);
  color: var(--fg);
  border-radius: var(--radius);
  font-size: .9rem;
}
.newsletter input:focus {
  outline: none; border-color: var(--gold);
}
.newsletter .btn { padding: .75rem 1.2rem; font-size: .72rem; }
.footer-bar {
  display: flex; justify-content: space-between;
  padding-top: 1.5rem;
  color: var(--fg-dim);
}

/* -- Toast --------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--surface-2);
  color: var(--fg);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  max-width: 90vw;
  z-index: 1000;
  transition: transform .4s var(--ease), opacity .4s ease;
  opacity: 0;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.is-success { border-color: var(--success); }
.toast.is-error { border-color: var(--danger); }

/* -- Reveal animations --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Accessibility ------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* -- Selection ----------------------------------------------------------- */
::selection { background: var(--gold); color: #1a1408; }
