/* Bazarai Apps — tokens from the design system, layout matched to the wireframe. */

:root {
  --brand-pink: #fc6c85;
  --brand-pink-strong: #f85a77;
  --brand-pink-600: #db2777;
  --brand-pink-light: #ff8a9b;
  --brand-cream: #f7fdc4;
  --brand-cream-strong: #eef8a8;

  --pink-50: #fff1f4;
  --pink-100: #ffe0e7;
  --pink-200: #ffc2cf;
  --pink-300: #ff9bb0;
  --pink-400: #fc6c85;
  --pink-500: #f4517a;
  --pink-600: #db2777;

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --ink: #171717;

  --success: #059669;
  --success-bg: #d1fae5;
  --success-fg: #065f46;
  --danger: #dc2626;
  --danger-strong: #b91c1c;
  --danger-bg: #fee2e2;

  --bg-page: var(--white);
  --text-primary: var(--gray-900);
  --text-body: var(--gray-700);
  --text-muted: var(--gray-500);

  --border-default: var(--gray-200);
  --border-subtle: var(--gray-100);
  --border-strong: #000000;

  --link: var(--brand-pink);
  --link-hover: var(--brand-pink-strong);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Baloo 2", "Inter", system-ui, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;

  --container-max: 80rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 200ms;
}

html[lang="ar"] {
  --font-sans: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --font-display: "Baloo Bhaijaan 2", "Baloo 2", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-page);
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

button, input, textarea, select { font-family: inherit; }

h1, h2, h3 {
  color: var(--text-primary);
  line-height: 1.15;
  font-weight: 600;
  margin: 0;
}

a { color: var(--link); text-decoration: none; }

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

main { flex: 1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-default);
}

.header-bar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--gray-900);
}

.brand:hover { color: var(--gray-900); }

.logo-header {
  height: 80px;
  width: auto;
  display: block;
  margin: -14px -22px -14px -30px;
}

.logo-footer {
  height: 64px;
  width: auto;
  display: block;
  margin: -10px -18px -10px -24px;
}

html[dir="rtl"] .logo-header { margin: -14px -30px -14px -22px; }
html[dir="rtl"] .logo-footer { margin: -10px -24px -10px -18px; }

.brand-apps {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-900);
  letter-spacing: 0.14em;
  padding-top: 4px;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav a,
.lang a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  transition: background-color var(--duration-fast);
}

.nav a:hover,
.lang a:hover {
  color: var(--text-primary);
  background: var(--pink-50);
}

.nav a[aria-current="page"],
.lang a[aria-current="true"] {
  color: var(--brand-pink);
  background: var(--pink-50);
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang a { padding: 8px 10px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background-color var(--duration-fast), color var(--duration-fast);
}

.btn-primary {
  background: var(--brand-pink);
  color: #fff;
  padding: 15px 26px;
}

.btn-primary:hover {
  background: var(--brand-cream);
  color: var(--brand-pink);
}

.btn-secondary {
  background: #fff;
  color: var(--gray-900);
  border: 1px solid var(--border-strong);
  padding: 14px 24px;
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--brand-cream);
  color: var(--gray-900);
}

.btn-sm {
  padding: 11px 18px;
  font-size: var(--text-sm);
  font-weight: 700;
}

.btn-compact {
  padding: 10px 18px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero {
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 56px;
  align-items: center;
}

.hero-copy { display: grid; gap: 36px; min-width: 0; }

.eyebrow {
  justify-self: start;
  background: var(--pink-50);
  color: var(--brand-pink-600);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.eyebrow-plain {
  background: none;
  padding: 0;
  color: var(--brand-pink);
  letter-spacing: 0.1em;
}

html[lang="ar"] .eyebrow {
  letter-spacing: 0;
  text-transform: none;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  max-width: 22ch;
  text-wrap: balance;
  color: var(--gray-900);
}

.hero-title span { color: var(--brand-pink); }

.lede {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  max-width: 58ch;
  color: var(--text-body);
  text-wrap: pretty;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 14px;
  aspect-ratio: 1 / 1;
  min-width: 0;
}

.tile {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-width: 0;
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-shadow { box-shadow: var(--shadow-lg); }

.tile-a { grid-column: 1 / 4; grid-row: 1 / 4; }
.tile-b { grid-column: 4 / 7; grid-row: 1 / 3; }
.tile-c { grid-column: 4 / 7; grid-row: 3 / 7; }
.tile-d { grid-column: 1 / 3; grid-row: 4 / 7; }
.tile-e { grid-column: 3 / 4; grid-row: 4 / 7; }

.tile-pink, .tile-cream {
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.tile-pink { background: var(--brand-pink); }
.tile-cream { background: var(--brand-cream); }

.tile-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.1;
}

.tile-pink .tile-label { color: #fff; }
.tile-cream .tile-label { color: var(--brand-pink); }

.photo-block { padding-bottom: 64px; }

.photo {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.photo-wide { aspect-ratio: 2576 / 1405; }
.photo-std { aspect-ratio: 1408 / 768; }

.pillars { padding-bottom: 96px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--duration-base);
}

.card:hover { box-shadow: var(--shadow-xl); }

.num-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--pink-50);
  color: var(--brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.15;
}

.card p, .svc p, .prose p {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-body);
}

.band {
  border-top: 1px solid var(--border-default);
}

.band-inner {
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.band h2, .page-title, .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.band h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  text-wrap: balance;
}

/* Interior pages */
.page-intro {
  padding-top: 88px;
  padding-bottom: 56px;
  display: grid;
  gap: 20px;
}

.page-title {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  color: var(--gray-900);
  max-width: 20ch;
  text-wrap: balance;
}

.page-title-open { max-width: none; }

.columns-3 {
  padding-top: 24px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}

.rule-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--brand-pink);
  padding-top: 24px;
}

.rule-block h2, .objet h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
}

.rule-block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.objet { padding-top: 80px; padding-bottom: 88px; }

.objet-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.objet-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.objet-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-pink);
  font-size: 16px;
}

.objet-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.jumps { display: flex; gap: 10px; flex-wrap: wrap; }

.jump {
  color: var(--gray-900);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
}

.jump:hover { background: var(--brand-cream); color: var(--gray-900); }

.pole { padding-top: 40px; padding-bottom: 40px; scroll-margin-top: 90px; }
.pole-last { padding-bottom: 96px; }

.pole-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-default);
}

.pole-mark {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  flex-shrink: 0;
}

.pole-mark-a { background: var(--brand-pink); color: #fff; }
.pole-mark-b { background: var(--brand-cream); color: var(--brand-pink); }

.pole-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
}

.pole-head p { margin: 2px 0 0; font-size: var(--text-sm); color: var(--text-muted); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.svc-grid-wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.svc {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--duration-base), border-color var(--duration-base);
}

.svc:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-200);
}

.svc-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-pink);
}

.svc h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
}

.svc p { font-size: 15px; }

.pole-cta {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.pole-cta span { font-size: var(--text-sm); color: var(--text-muted); }

/* Contact */
.contact-layout {
  padding-top: 88px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: start;
}

.contact-intro { display: flex; flex-direction: column; gap: 28px; }
.contact-intro .title-block { display: flex; flex-direction: column; gap: 16px; }

.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  color: var(--gray-900);
}

.contact-meta {
  border-top: 1px solid var(--border-default);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

html[lang="ar"] .meta-label { letter-spacing: 0; text-transform: none; }

.contact-meta p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-primary); }
.contact-meta .soft { font-size: 15px; color: var(--text-body); }
.contact-meta a { color: var(--text-primary); font-weight: 600; }
.contact-meta a:hover { color: var(--brand-pink); }

.form-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  min-width: 0;
}

form.project-form { display: flex; flex-direction: column; gap: 24px; }

.choice { display: flex; flex-direction: column; gap: 10px; }

.choice-label, .field-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; }

.chip {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-default);
  background: #fff;
  color: var(--text-primary);
}

.chip.is-on {
  border-color: var(--brand-pink);
  background: var(--brand-pink);
  color: #fff;
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field input, .field textarea {
  padding: 11px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 400;
  outline: none;
  color: var(--text-primary);
  background: #fff;
  width: 100%;
}

.field textarea { resize: vertical; }

.field input:focus, .field textarea:focus { border-color: var(--brand-pink); }

.field input.is-invalid, .field textarea.is-invalid { border-color: var(--danger); }

.field-error {
  color: var(--danger);
  font-size: var(--text-xs);
  font-weight: 600;
  min-height: 0;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--text-muted);
}

.consent input { margin-top: 2px; accent-color: #fc6c85; }

.form-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--danger-bg);
  color: var(--danger-strong);
  font-size: var(--text-sm);
  font-weight: 600;
}

.success {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
}

.badge-ok {
  align-self: flex-start;
  background: var(--success-bg);
  color: var(--success-fg);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.success h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
}

.success p { margin: 0; font-size: 15px; line-height: 1.6; }

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Legal */
.legal {
  max-width: 900px;
  padding-top: 88px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  color: var(--gray-900);
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
}

.title-block { display: flex; flex-direction: column; gap: 16px; }

.legal-table {
  margin-top: 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.legal-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-row:last-child { border-bottom: 0; }

.legal-row .k {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.legal-row .v {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
}

.legal-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.legal-notes article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 3px solid var(--brand-pink);
  padding-top: 20px;
}

.legal-notes h2 { font-size: 22px; }

.legal-notes p { margin: 0; font-size: 15px; line-height: 1.65; }

/* Footer */
.site-footer { background: var(--brand-pink); }

.footer-grid {
  padding-top: 48px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-brand { display: flex; align-items: center; gap: 8px; }

.footer-apps {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-cream);
  letter-spacing: 0.14em;
  padding-top: 4px;
}

.site-footer p {
  margin: 10px 0 0;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: #fff;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-cream);
}

html[lang="ar"] .footer-label { letter-spacing: 0; text-transform: none; }

.site-footer a {
  font-size: var(--text-lg);
  color: #fff;
}

.site-footer a:hover { color: var(--brand-cream); }

.footer-base {
  padding-top: 16px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: var(--text-sm);
  color: #fff;
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.whatsapp:hover { background: #1ebe5d; color: #fff; }

.whatsapp svg { width: 30px; height: 30px; display: block; }

/* Utility pages */
.missing {
  padding-top: 88px;
  padding-bottom: 96px;
  display: grid;
  gap: 20px;
}

.missing h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--gray-900);
}

.lang-row { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .site-header { position: sticky; }

  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-default);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 12px 14px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-copy { gap: 22px; }
  .page-intro { padding-top: 48px; padding-bottom: 28px; }
  .contact-layout { padding-top: 48px; padding-bottom: 64px; gap: 32px; }
  .form-card { padding: 22px; }
  .band-inner { padding-top: 48px; padding-bottom: 48px; }
  .legal { padding-top: 48px; gap: 36px; }
  .legal-row { grid-template-columns: 1fr; gap: 4px; }
  .columns-3 { gap: 28px; padding-bottom: 56px; }
  .header-bar { padding-left: 16px; padding-right: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }

  .mosaic {
    aspect-ratio: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e {
    grid-column: auto;
    grid-row: auto;
    min-height: 120px;
  }

  .tile-a, .tile-c { grid-column: 1 / -1; min-height: 200px; }
  .tile-b, .tile-d { min-height: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
  }
}
