/* Halal Mediterranean - modern olive brand system (static, no JS) */
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

:root {
  --brand: #41683a;
  --brand-dark: #2f4d2a;
  --brand-light: #5a8a50;
  --brand-soft: #e8f0e6;
  --brand-mist: #f3f7f2;
  --ink: #1a2118;
  --ink-soft: #3d4a38;
  --muted: #5c6b57;
  --line: #d5e0d2;
  --paper: #f7f5f0;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(26, 33, 24, 0.04), 0 12px 32px rgba(26, 33, 24, 0.08);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --max: 72rem;
  --prose: 42rem;
  --header-h: 4.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(65, 104, 58, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(90, 138, 80, 0.06), transparent 50%),
    var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--brand); }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(213, 224, 210, 0.85);
}

.site-header .inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 2.35rem;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* --- Hero (full-bleed) --- */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 33, 24, 0.25) 0%, rgba(26, 33, 24, 0.55) 45%, rgba(26, 33, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(26, 33, 24, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem 3.5rem;
  animation: fade-up 0.9s ease-out both;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero .sub {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
  font-weight: 500;
}

.hero-cta {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(65, 104, 58, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  background: var(--brand-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(65, 104, 58, 0.4);
}

.hero-cta svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.2s ease;
}

.hero-cta:hover svg { transform: translateX(3px); }

/* --- Sections --- */
.section {
  padding: 4.5rem 1.25rem;
}

.section .inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.section-head .eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-head h2,
.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.section-head p,
.lead {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }
}

.visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--brand-soft);
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose-block p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.prose-block p:last-child { margin-bottom: 0; }

.bridge {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Rewards teaser - interaction container */
.cta-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  align-items: center;
}

@media (min-width: 800px) {
  .cta-panel {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2.25rem 2.5rem;
  }
}

.cta-panel h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  background: var(--brand-mist);
  color: var(--brand-dark);
}

.cta-panel .thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--brand-soft);
}

.cta-panel .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.visit-meta a { text-decoration: none; }

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: #c9d4c5;
  padding: 2.75rem 1.25rem 2.25rem;
  margin-top: 2rem;
}

.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer .brand-logo {
  height: 2.35rem;
  width: auto;
  margin-bottom: 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
}

.site-footer .bridge {
  margin: 0 0 1rem;
  color: #a8b8a4;
  max-width: 40rem;
  font-size: 0.92rem;
}

.site-footer .meta {
  margin: 0.3rem 0;
  color: #8fa08b;
  font-size: 0.92rem;
}

.site-footer a { color: #dce6d8; }
.site-footer a:hover { color: #fff; }

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer .links a { text-decoration: none; }

/* --- Legal / rewards pages --- */
.page-banner {
  background: linear-gradient(165deg, var(--brand-mist) 0%, var(--paper) 70%);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 1.25rem 2rem;
}

.page-banner .inner {
  max-width: var(--prose);
  margin: 0 auto;
}

.page-banner .eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.page-banner h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-banner .effective {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal {
  max-width: var(--prose);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.5rem;
}

.legal h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal h2:first-of-type { margin-top: 0; }

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.legal li { margin: 0.35rem 0; }

.legal .eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.legal .effective {
  margin: 0.35rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal > h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(26, 33, 24, 0.04);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal th {
  background: var(--brand-mist);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal tr:last-child td { border-bottom: none; }

.consent-box {
  margin: 1rem 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--brand);
  background: var(--brand-mist);
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
  box-shadow: inset 0 0 0 1px rgba(65, 104, 58, 0.08);
}

.shot {
  margin: 1.5rem 0 2rem;
  padding: 0;
  max-width: 22rem;
}

.shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #111;
}

.shot figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.see-also {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

/* --- Motion --- */
@keyframes hero-breathe {
  from { transform: scale(1.06); }
  to { transform: scale(1.12); }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: none; }
  .hero-content { animation: none; }
  .hero-cta,
  .btn,
  .nav a { transition: none; }
}

@media (max-width: 640px) {
  .nav { gap: 0.25rem 0.85rem; font-size: 0.85rem; }
  .brand-logo { height: 2rem; }
  .hero { min-height: 78vh; }
  .hero-content { padding: 4rem 1.15rem 2.5rem; }
}
