/* ==========================================================
   styles.css — Noor Boutique
   LIGHT-first base + 7 theme palettes.
   Switch with: <html data-theme="sunrise|ivory|rose|sage|royal|midnight|mono">
   Default: LIGHT "sunrise". System dark via prefers-color-scheme.
   ========================================================== */


/* ── Global layout + type tokens ── */
:root {
  color-scheme: light dark;

  --container: 1120px;
  --pad: clamp(16px, 3vw, 28px);

  --radius: 16px;
  --radius-sm: 12px;

  --h1: clamp(26px, 4.2vw, 42px);
  --h2: clamp(20px, 3vw, 32px);
  --h3: clamp(16px, 2.2vw, 20px);
  --body: 16px;
  --lh: 1.6;

  --shadow-sm: 0 6px 16px rgba(17, 24, 39, 0.08);
  --shadow: 0 14px 40px rgba(17, 24, 39, 0.12);

  --focus: rgba(15, 98, 254, 0.90);
  --focus-offset: 3px;
}


/* ── Theme: Sunrise (default light, warm) ── */
html,
html[data-theme="sunrise"] {
  color-scheme: light;

  --bg: #fff9f2;
  --surface: #ffffff;
  --card: #ffffff;

  --text: #111827;
  --muted: #4b5563;
  --border: rgba(17, 24, 39, 0.12);

  --primary: #0f62fe;
  --primary-2: #0a49bf;
  --accent: #f59e0b;

  --header-bg: rgba(255, 249, 242, 0.86);

  --glow-a: rgba(15, 98, 254, 0.10);
  --glow-b: rgba(245, 158, 11, 0.12);

  --badge-bg: rgba(17, 24, 39, 0.04);
  --btn-secondary-bg: rgba(17, 24, 39, 0.05);
}


/* ── Theme: Ivory ── */
html[data-theme="ivory"] {
  color-scheme: light;

  --bg: #fbfaf7;
  --surface: #ffffff;
  --card: #ffffff;

  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.12);

  --primary: #111827;
  --primary-2: #0f172a;
  --accent: #b45309;

  --header-bg: rgba(251, 250, 247, 0.90);

  --glow-a: rgba(17, 24, 39, 0.06);
  --glow-b: rgba(180, 83, 9, 0.08);

  --badge-bg: rgba(15, 23, 42, 0.04);
  --btn-secondary-bg: rgba(15, 23, 42, 0.05);

  --focus: rgba(17, 24, 39, 0.85);
}


/* ── Theme: Rose ── */
html[data-theme="rose"] {
  color-scheme: light;

  --bg: #fff6fb;
  --surface: #ffffff;
  --card: #ffffff;

  --text: #1f2937;
  --muted: #6b7280;
  --border: rgba(31, 41, 55, 0.12);

  --primary: #db2777;
  --primary-2: #a61e59;
  --accent: #f59e0b;

  --header-bg: rgba(255, 246, 251, 0.88);

  --glow-a: rgba(219, 39, 119, 0.12);
  --glow-b: rgba(245, 158, 11, 0.10);

  --badge-bg: rgba(219, 39, 119, 0.06);
  --btn-secondary-bg: rgba(31, 41, 55, 0.05);

  --focus: rgba(219, 39, 119, 0.86);
}


/* ── Theme: Sage ── */
html[data-theme="sage"] {
  color-scheme: light;

  --bg: #f6fbf8;
  --surface: #ffffff;
  --card: #ffffff;

  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.12);

  --primary: #0f766e;
  --primary-2: #0a5a54;
  --accent: #a16207;

  --header-bg: rgba(246, 251, 248, 0.90);

  --glow-a: rgba(15, 118, 110, 0.10);
  --glow-b: rgba(161, 98, 7, 0.08);

  --badge-bg: rgba(15, 118, 110, 0.06);
  --btn-secondary-bg: rgba(15, 23, 42, 0.05);

  --focus: rgba(15, 118, 110, 0.86);
}


/* ── Theme: Royal (dark) ── */
html[data-theme="royal"] {
  color-scheme: dark;

  --bg: #070a14;
  --surface: #0b1326;
  --card: #0d1830;

  --text: #eef3ff;
  --muted: #b8c4de;
  --border: rgba(238, 243, 255, 0.12);

  --primary: #6d5efc;
  --primary-2: #4c3ff0;
  --accent: #ffcc66;

  --header-bg: rgba(7, 10, 20, 0.76);

  --glow-a: rgba(109, 94, 252, 0.24);
  --glow-b: rgba(255, 204, 102, 0.10);

  --badge-bg: rgba(238, 243, 255, 0.06);
  --btn-secondary-bg: rgba(238, 243, 255, 0.06);

  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.25);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.35);

  --focus: rgba(109, 94, 252, 0.92);
}


/* ── Theme: Midnight (dark) ── */
html[data-theme="midnight"] {
  color-scheme: dark;

  --bg: #0b0f14;
  --surface: #0f1620;
  --card: #121c28;

  --text: #eaf0f7;
  --muted: #b7c3d2;
  --border: rgba(255, 255, 255, 0.12);

  --primary: #2d7ff9;
  --primary-2: #1f63cc;
  --accent: #ffcc66;

  --header-bg: rgba(11, 15, 20, 0.74);

  --glow-a: rgba(45, 127, 249, 0.24);
  --glow-b: rgba(255, 204, 102, 0.12);

  --badge-bg: rgba(255, 255, 255, 0.06);
  --btn-secondary-bg: rgba(255, 255, 255, 0.07);

  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.22);
  --shadow: 0 18px 56px rgba(0, 0, 0, 0.34);

  --focus: rgba(45, 127, 249, 0.92);
}


/* ── Theme: Mono ── */
html[data-theme="mono"] {
  color-scheme: light;

  --bg: #ffffff;
  --surface: #ffffff;
  --card: #ffffff;

  --text: #0a0a0a;
  --muted: #404040;
  --border: rgba(10, 10, 10, 0.14);

  --primary: #0a0a0a;
  --primary-2: #0a0a0a;
  --accent: #0a0a0a;

  --header-bg: rgba(255, 255, 255, 0.88);

  --glow-a: rgba(10, 10, 10, 0.05);
  --glow-b: rgba(10, 10, 10, 0.03);

  --badge-bg: rgba(10, 10, 10, 0.04);
  --btn-secondary-bg: rgba(10, 10, 10, 0.05);

  --focus: rgba(10, 10, 10, 0.85);
}


/* ── System dark (no data-theme set) ── */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    color-scheme: dark;

    --bg: #0b0f14;
    --surface: #0f1620;
    --card: #121c28;

    --text: #eaf0f7;
    --muted: #b7c3d2;
    --border: rgba(255, 255, 255, 0.12);

    --primary: #2d7ff9;
    --primary-2: #1f63cc;
    --accent: #ffcc66;

    --header-bg: rgba(11, 15, 20, 0.74);

    --glow-a: rgba(45, 127, 249, 0.24);
    --glow-b: rgba(255, 204, 102, 0.12);

    --badge-bg: rgba(255, 255, 255, 0.06);
    --btn-secondary-bg: rgba(255, 255, 255, 0.07);

    --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.22);
    --shadow: 0 18px 56px rgba(0, 0, 0, 0.34);

    --focus: rgba(45, 127, 249, 0.92);
  }
}


/* ══════════════════════════════════════
   BASE / RESET
   ══════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  font-size: var(--body);
  line-height: var(--lh);
  background:
    radial-gradient(900px 520px at 14% -10%, var(--glow-a), transparent 55%),
    radial-gradient(900px 620px at 100% 0%, var(--glow-b), transparent 45%),
    var(--bg);
  color: var(--text);
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: var(--focus-offset);
  border-radius: 10px;
}


/* ── Utilities ── */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}

.xsmall {
  font-size: 12.5px;
}

.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;
}

.nobreak {
  white-space: nowrap;
}


/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 50;
}

.skip-link:focus-visible {
  transform: translateY(0);
}


/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg, rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo {
  width: 82px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary),
    color-mix(in srgb, var(--accent), transparent 35%)
  );
  color: color-mix(in srgb, var(--text), #ffce1f 72%);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.kicker {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  color: var(--muted);
}

.site-title {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.2;
}

.tagline {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 54ch;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}


/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 11px 14px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease,
    border-color 140ms ease, box-shadow 140ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  border-color: color-mix(in srgb, var(--primary), transparent 40%);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary), transparent 82%);
  color: #ffffff;
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  border-color: var(--border);
  color: var(--text);
}

.btn-full {
  width: 100%;
}


/* ══════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════ */
.section {
  padding-block: clamp(28px, 4vw, 56px);
}

.site-main {
  padding-bottom: 40px;
}


/* ── Hero ── */
.hero {
  padding-top: clamp(18px, 3vw, 30px);
  padding-bottom: clamp(22px, 3.6vw, 44px);
}

.hero-grid {
  display: grid;
  gap: 18px;
}

.hero-copy {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 26px);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  color: color-mix(in srgb, var(--accent), transparent 8%);
  letter-spacing: 0.2px;
}

.headline {
  margin: 0 0 10px;
  font-size: var(--h1);
  line-height: 1.18;
  letter-spacing: -0.2px;
}

.subhead {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 65ch;
}

.hero-points {
  margin: 0 0 16px;
  padding-left: 18px;
}

.hero-points li {
  margin-block: 8px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.microcopy {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.hero-aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.trust-title {
  margin: 0 0 10px;
  font-size: var(--h3);
  letter-spacing: -0.1px;
}

.trust-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.trust-list li {
  margin-block: 8px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--badge-bg);
  font-size: 12.5px;
  color: var(--muted);
}


/* ── Video ── */
.video-card {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary), transparent 88%),
    color-mix(in srgb, var(--accent), transparent 90%)
  );
}

.video-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.vsl-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ── Cards ── */
.cards-3 {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  contain: layout style;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: var(--h3);
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.bullet-block {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.section-subtitle {
  margin: 0 0 10px;
  font-size: var(--h3);
}


/* ── Local proof / location ── */
.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-top: 14px;
}

.location-title {
  margin: 0 0 10px;
  font-size: var(--h3);
}

.location-details p {
  margin: 0 0 8px;
  color: var(--muted);
}


/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.testimonial-card {
  margin: 0;
  display: grid;
  grid-template-columns: clamp(84px, 12vw, 110px) 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(14px, 2.2vw, 18px);
  box-shadow: var(--shadow-sm);
  contain: layout style;
}

.testimonial-card img {
  width: clamp(84px, 12vw, 110px);
  height: clamp(84px, 12vw, 110px);
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--muted), transparent 90%);
}

.testimonial-content .t-name {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: clamp(16px, 1.2vw + 12px, 18px);
  line-height: 1.2;
}

.testimonial-content .muted {
  margin: 0;
  font-size: clamp(14.5px, 0.7vw + 12px, 16px);
  line-height: 1.55;
}


/* ── Trust bar ── */
.trust-bar {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: grid;
  gap: 2px;
}

.trust-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}


/* ── Opt-in / lead form ── */
.optin-grid {
  display: grid;
  gap: 14px;
}

.lead-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.form-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

label {
  font-weight: 700;
  font-size: 14px;
}

input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface), #000 2%);
  color: var(--text);
  padding: 12px;
  font-size: 16px;
  outline: none;
}

input::placeholder {
  color: color-mix(in srgb, var(--muted), transparent 25%);
}

input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}


/* ── Products ── */
.product-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  contain: layout style;
}

.product-name {
  margin: 0 0 6px;
  font-size: var(--h3);
}

.product-meta {
  margin: 0 0 12px;
  color: var(--muted);
}


/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg), #000 2%);
  padding-block: 22px;
}

.footer-inner {
  display: grid;
  gap: 8px;
}

.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  padding: 6px 0;
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}


/* ══════════════════════════════════════
   PRIMARY NAV BAR
   ══════════════════════════════════════ */
.site-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface), transparent 8%);
}

.nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 10px;
}

.site-nav a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.site-nav a:hover {
  text-decoration: none;
  background: color-mix(in srgb, var(--surface), #000 2%);
  border-color: var(--border);
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  background: color-mix(in srgb, var(--primary), transparent 88%);
  border-color: color-mix(in srgb, var(--primary), transparent 60%);
  color: var(--text);
}


/* ══════════════════════════════════════
   FAQ (details / summary)
   ══════════════════════════════════════ */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: clip;
}

.faq-item > summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface), #000 2%);
  color: var(--text);
  flex: 0 0 auto;
}

.faq-item[open] > summary::after {
  content: "–";
}

.faq-item > p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
}

.faq-item > summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: calc(var(--radius) - 6px);
}


/* ══════════════════════════════════════
   BRANDFACE SECTION
   ══════════════════════════════════════ */
.brandface {
  padding: 38px 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.brandface-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: center;
}

.brandface-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg), transparent 0%);
  box-shadow: var(--shadow);
}

.brandface-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 50%;
}

.brandface-kicker {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.brandface-title {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.6px;
}

.brandface-subtitle {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 62ch;
}

.brandface-points {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.brandface-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* ══════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ══════════════════════════════════════ */

/* Very small screens: stack testimonial image */
@media (max-width: 420px) {
  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .testimonial-card img {
    width: 100%;
    height: clamp(180px, 38vw, 240px);
    border-radius: 16px;
  }
}

/* Tablet and up */
@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: start;
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .optin-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 980px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-title {
    font-size: 20px;
  }

  .tagline {
    font-size: 14px;
  }

  .testimonial-card {
    grid-template-columns: 64px 1fr;
  }

  .testimonial-card img {
    width: 64px;
    height: 64px;
  }
}

/* Brandface mobile */
@media (max-width: 820px) {
  .brandface {
    padding: 22px 0 18px;
  }

  .brandface-inner {
    grid-template-columns: 1fr;
  }

  .brandface-media {
    max-width: 420px;
  }
}


/* ══════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .btn:hover {
    transform: none;
  }

  .site-nav a {
    transition: none;
  }
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  background: color-mix(in srgb, var(--muted), transparent 85%);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
  border-radius: 18px;
}

/* Very small screens */
@media (max-width: 420px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .team-photo {
    border-radius: 14px;
  }
}
