/* ─────────────────────────────────────────────
   FALAFEL IN HOTPOT — Shared Brand Styles
   letters.falafelinhotpot.com
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&family=Noto+Sans+SC:wght@300;400&family=Cairo:wght@300;400&display=swap');

/* ── TOKENS ── */
:root {
  --red:        #8B1A1A;
  --red-bright: #C0392B;
  --sand:       #C4A882;
  --sand-light: #D9C5A8;
  --beige:      #F2EBE0;
  --ink:        #1C1410;
  --ink-light:  #261c17;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', sans-serif;
  --chinese: 'Noto Sans SC', sans-serif;
  --arabic:  'Cairo', sans-serif;

  --max-w: 640px;
  --pad-x: 80px;
  --pad-x-sm: 28px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--ink);
  color: var(--beige);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes breathe {
  0%, 100% { opacity: 0.06; transform: translateY(-50%) scale(1); }
  50%       { opacity: 0.1;  transform: translateY(-50%) scale(1.015); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(28,20,16,0.9) 0%, rgba(28,20,16,0) 100%);
  pointer-events: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled {
  background: rgba(28,20,16,0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.nav-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: all;
}
.nav-logo {
  height: 62px;
  width: auto;
  flex-shrink: 0;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--beige);
  white-space: nowrap;
  line-height: 1;
}
.nav-back {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.7;
  pointer-events: all;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-back:hover { opacity: 1; }
.nav-back::before { content: '←'; font-family: var(--sans); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px var(--pad-x) 100px;
  position: relative;
  overflow: hidden;
}

/* Ghost logo watermark — fixed to viewport, always behind content */
.hero-watermark {
  position: fixed;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 42vw, 560px);
  height: auto;
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
  filter: brightness(3) saturate(0);
  z-index: 0;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-w);
  position: relative;
  z-index: 1;
}

/* ── SECTION LABEL ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.1s;
}
.section-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--sand);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── HEADLINE ── */
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--beige);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.25s;
}
.hero-headline em {
  font-style: italic;
  color: var(--sand);
}

/* ── SUBHEADLINE ── */
.hero-sub {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  color: var(--sand);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.4s;
}

/* ── BODY TEXT ── */
.hero-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: rgba(242, 235, 224, 0.65);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.55s;
}

/* ── ACCENT ITALIC LINE ── */
.hero-accent {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  color: var(--sand);
  line-height: 1.4;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.55s;
}

/* ── FORM AREA ── */
.form-area {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.7s;
}

/* Placeholder form (shown until AC embed is pasted) */
.form-placeholder {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-bottom: 14px;
  border: 1px solid rgba(196, 168, 130, 0.35);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.form-placeholder:focus-within {
  border-color: var(--sand);
}
.form-placeholder input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--beige);
  min-width: 0;
}
.form-placeholder input[type="email"]::placeholder {
  color: rgba(242, 235, 224, 0.38);
}
.form-placeholder button {
  background: var(--red);
  border: none;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--beige);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.form-placeholder button:hover {
  background: var(--red-bright);
}

/* Privacy note */
.form-note {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(242, 235, 224, 0.38);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.form-note::before {
  content: '·';
  color: var(--sand);
  opacity: 0.5;
}

/* Archive link — quiet, below form note */
.archive-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--sand);
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 0.2s;
}
.archive-link:hover { opacity: 0.9; text-decoration: underline; text-underline-offset: 3px; }

/* ── ACTIVE CAMPAIGN FORM OVERRIDES ── */
/* These styles ensure AC embed looks on-brand when pasted in */
.ac-embed-wrapper {
  max-width: 480px;
  margin-bottom: 14px;
}
.ac-embed-wrapper .email-form,
.ac-embed-wrapper ._form {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.ac-embed-wrapper ._form_element,
.ac-embed-wrapper ._field-wrapper {
  margin: 0 !important;
}
.ac-embed-wrapper input[type="text"],
.ac-embed-wrapper input[type="email"] {
  background: transparent !important;
  border: 1px solid rgba(196, 168, 130, 0.35) !important;
  border-radius: 2px !important;
  padding: 16px 20px !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: var(--beige) !important;
  width: 100% !important;
  margin-bottom: 10px !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  box-shadow: none !important;
}
.ac-embed-wrapper input[type="text"]:focus,
.ac-embed-wrapper input[type="email"]:focus {
  border-color: var(--sand) !important;
}
.ac-embed-wrapper input::placeholder {
  color: rgba(242, 235, 224, 0.38) !important;
}
.ac-embed-wrapper input[type="submit"],
.ac-embed-wrapper button[type="submit"],
.ac-embed-wrapper ._button-wrapper input {
  background: var(--red) !important;
  border: none !important;
  border-radius: 2px !important;
  padding: 16px 28px !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--beige) !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background 0.2s !important;
}
.ac-embed-wrapper input[type="submit"]:hover,
.ac-embed-wrapper button[type="submit"]:hover {
  background: var(--red-bright) !important;
}

/* ── COUNTDOWN ── */
.countdown-block {
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.55s;
}
.countdown-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.countdown-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sand);
  opacity: 0.5;
  flex-shrink: 0;
}
.countdown-timer {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.countdown-num {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 300;
  color: var(--beige);
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.1s ease;
}
.countdown-unit-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.55;
  margin-top: 8px;
}
.countdown-sep {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  color: var(--sand);
  opacity: 0.25;
  line-height: 1;
  padding-top: 4px;
  user-select: none;
}

/* ── DIVIDER LINE ── */
.hero-divider {
  width: 100%;
  max-width: var(--max-w);
  height: 1px;
  background: rgba(196, 168, 130, 0.12);
  margin: 48px 0;
}

/* ── FOOTER ── */
.site-footer {
  padding: 36px var(--pad-x);
  border-top: 1px solid rgba(196, 168, 130, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer-mark {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--sand);
  letter-spacing: 5px;
  opacity: 0.5;
}
.footer-url {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(196, 168, 130, 0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root {
    --pad-x: var(--pad-x-sm);
  }

  .nav {
    padding: 18px var(--pad-x-sm);
  }
  .nav-logo {
    height: 42px;
  }
  .nav-brand {
    font-size: 15px;
  }

  /* Hide brand name on very small screens to prevent overlap with back link */
  @media (max-width: 480px) {
    .nav-brand {
      display: none;
    }
    .nav-back {
      font-size: 10px;
      letter-spacing: 1px;
    }
  }

  .hero {
    padding: 120px var(--pad-x-sm) 80px;
    align-items: flex-start;
    padding-top: 110px;
  }

  .hero-watermark {
    width: clamp(160px, 50vw, 260px);
    right: -10px;
    top: 50%;
    opacity: 0.018;
  }

  .hero-headline {
    font-size: clamp(38px, 11vw, 56px);
    letter-spacing: -1px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .form-placeholder {
    flex-direction: column;
    max-width: 100%;
    border: none;
    gap: 10px;
    overflow: visible;
    background: transparent;
  }
  .form-placeholder input[type="email"] {
    border: 1px solid rgba(196, 168, 130, 0.35);
    border-radius: 2px;
    width: 100%;
  }
  .form-placeholder button {
    width: 100%;
    border-radius: 2px;
    text-align: center;
    padding: 16px;
  }

  .ac-embed-wrapper {
    max-width: 100%;
  }

  .countdown-unit {
    min-width: 44px;
  }
  .countdown-sep {
    padding-top: 2px;
  }

  .site-footer {
    padding: 28px var(--pad-x-sm);
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
