/* ================================================================
   STYLES.CSS — Unified Stylesheet
   Powered by OKLCH Theme Engine + Page-Specific Components
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   1. COLOR PRIMITIVES (The OKLCH Theme Engine)
   ──────────────────────────────────────────────────────────────── */
:root {
  --hue-brand: 250;  /* Rotate this (0-360) to shift the entire brand theme 250-default */
  --hue-accent: 35;  /* Complementary pop 35-default */

  /* The Brand Scale (Lightness, Chroma, Hue) */
  --brand-50:  oklch(97% 0.02 var(--hue-brand));
  --brand-100: oklch(92% 0.04 var(--hue-brand));
  --brand-500: oklch(60% 0.17 var(--hue-brand)); /* Main Brand */
  --brand-700: oklch(40% 0.12 var(--hue-brand));
  --brand-900: oklch(25% 0.05 var(--hue-brand));

  /* The Accent Scale */
  --accent-100: oklch(90% 0.05 var(--hue-accent));
  --accent-500: oklch(65% 0.18 var(--hue-accent)); /* Main Accent */
  --accent-900: oklch(30% 0.08 var(--hue-accent));

  /* Tinted Neutrals (Grays infused with brand hue) */
  --neutral-50:  oklch(98% 0.01 var(--hue-brand));
  --neutral-200: oklch(85% 0.02 var(--hue-brand));
  --neutral-500: oklch(55% 0.03 var(--hue-brand));
  --neutral-800: oklch(25% 0.02 var(--hue-brand));
  --neutral-900: oklch(15% 0.02 var(--hue-brand));

  /* Surfaces & Text */
  --bg-page: var(--neutral-50);
  --bg-surface: white;
  --bg-surface-alt: var(--brand-50);
  --bg-invert: var(--brand-900);
  --text-main: var(--neutral-900);
  --text-muted: var(--neutral-500);
  --text-invert: white;
  --text-brand: var(--brand-700);

  /* UI & Fixed Feedback Colors (in OKLCH) */
  --border-light: var(--neutral-200);
  --border-brand: var(--brand-500);
  --color-success: oklch(65% 0.15 140);
  --color-warning: oklch(75% 0.18 50);
  --color-error:   oklch(60% 0.20 25);
  --color-info:    oklch(60% 0.15 250);
}

/* ────────────────────────────────────────────────────────────────
   1b. DARK MODE THEME OVERRIDES
   ──────────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  /* Surfaces & Text - Inverted for Dark Mode */
  --bg-page: oklch(12% 0.02 var(--hue-brand));
  --bg-surface: oklch(18% 0.02 var(--hue-brand));
  --bg-surface-alt: oklch(22% 0.03 var(--hue-brand));
  --bg-invert: var(--neutral-50);
  --text-main: var(--neutral-50);
  --text-muted: var(--neutral-200);
  --text-invert: var(--neutral-900);
  --text-brand: var(--brand-100);

  /* Borders adjust for dark backgrounds */
  --border-light: oklch(25% 0.02 var(--hue-brand));
  --border-brand: var(--brand-500);

  /* Form backgrounds */
  --input-bg: var(--bg-surface);
  --input-border: var(--border-light);
}

/* Smooth theme transitions */
[data-theme="dark"] body,
[data-theme="dark"] .navbar,
[data-theme="dark"] .card,
[data-theme="dark"] .testimonial,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

/* ────────────────────────────────────────────────────────────────
   2. TYPOGRAPHY, SPACING & GUARDRAILS
   ──────────────────────────────────────────────────────────────── */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;

  /* Fluid Type */
  --text-xs:  clamp(0.75rem, 0.5vw + 0.7rem, 0.85rem);
  --text-sm:  clamp(0.85rem, 0.8vw + 0.8rem, 0.95rem);
  --text-base: clamp(1rem, 0.4vw + 0.9rem, 1.15rem);
  --text-md:  clamp(1.1rem, 0.5vw + 1rem, 1.25rem);
  --text-lg:  clamp(1.25rem, 0.8vw + 1.1rem, 1.5rem);
  --text-xl:  clamp(1.5rem, 1.5vw + 1.3rem, 2rem);
  --text-2xl: clamp(2rem, 2.5vw + 1.6rem, 3rem);
  --text-3xl: clamp(2.5rem, 4vw + 1.8rem, 4rem);

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Radius, Shadows & Component Heights */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px oklch(0% 0 0 / 0.1);
  --shadow-md: 0 4px 12px oklch(0% 0 0 / 0.1);
  --shadow-lg: 0 10px 30px oklch(0% 0 0 / 0.15);
  --nav-height: 72px;
  /* Transitions Timing Function */
  --transition-main: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ────────────────────────────────────────────────────────────────
   3. BASE RESET
   ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--text-main); background: var(--bg-page); overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
input, button, textarea, select { font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; color: var(--text-brand); }
:focus-visible { outline: 3px solid var(--border-brand); outline-offset: 2px; }

/* ────────────────────────────────────────────────────────────────
   3b. THEME TOGGLE COMPONENT
   ──────────────────────────────────────────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-main);
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  background: var(--bg-surface-alt);
  border-color: var(--border-brand);
}
.theme-toggle__icon {
  font-size: var(--text-base);
  line-height: 1;
}

/* ────────────────────────────────────────────────────────────────
   4. STRUCTURAL UTILITIES
   ──────────────────────────────────────────────────────────────── */
.section { padding-block: var(--space-2xl); padding-inline: var(--space-md); display: flex; flex-direction: column; align-items: center; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--space-sm); }
.container-narrow { max-width: 800px; }

.stack { display: flex; flex-direction: column; gap: var(--space-md); }
.stack-sm { gap: var(--space-sm); }
.stack-lg { gap: var(--space-xl); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.cluster-between { justify-content: space-between; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-lg); }

.layout-sidebar { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-xl); align-items: start; }

.aspect-square { aspect-ratio: 1 / 1; object-fit: cover; }
.aspect-video { aspect-ratio: 16 / 9; object-fit: cover; }

/* ────────────────────────────────────────────────────────────────
   5. DECORATIVE UTILITIES
   ──────────────────────────────────────────────────────────────── */
.bg-surface { background: var(--bg-surface); }
.bg-surface-alt { background: var(--bg-surface-alt); }
.bg-brand { background: var(--brand-500); color: var(--text-invert); }
.bg-invert { background: var(--bg-invert); color: var(--text-invert); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

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

.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-brand { color: var(--text-brand); }

/* ────────────────────────────────────────────────────────────────
   6. COMPONENT: BUTTONS
   ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-xs); padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-md); font-weight: 700; font-size: var(--text-sm);
  text-transform: uppercase; cursor: pointer; border: 2px solid transparent;
  transition: all 120ms ease-out;
}
.btn-primary { background: var(--brand-500); color: var(--text-invert); border-color: var(--brand-500); }
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); }
.btn-ghost { background: var(--bg-surface); color: var(--text-brand); border-color: var(--bg-surface); }
.btn-ghost:hover { background: var(--bg-surface-alt); border-color: var(--bg-surface-alt); }

/* ────────────────────────────────────────────────────────────────
   7. COMPONENT: NAVBAR (Hybrid BEM)
   ──────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-surface); border-bottom: 1px solid var(--border-light);
  height: var(--nav-height); display: flex; align-items: center; padding-inline: var(--space-md);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.navbar__brand img { height: 52px; width: auto; }

.navbar__badge {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--brand-500); color: var(--text-invert); font-family: var(--font-display);
  padding: var(--space-2xs) var(--space-sm) var(--space-xs); border-radius: var(--radius-md); gap: 1px;
}
.navbar__badge-name { font-size: var(--text-sm); font-weight: 700; }
.navbar__badge-sub { font-size: var(--text-xs); }

.navbar__nav { display: flex; align-items: center; gap: var(--space-2xs); }
.navbar__nav a {
  display: block; padding: var(--space-xs) var(--space-sm); font-size: var(--text-sm);
  font-weight: 600; color: var(--text-main); border-radius: var(--radius-md); transition: background 120ms ease-out;
}
.navbar__nav a:hover { background: var(--bg-surface-alt); }

.nav-dropdown { position: relative; }
.nav-dropdown__toggle::after { content: " ▾"; font-size: 0.7em; opacity: 0.6; }
.nav-dropdown__menu {
  display: none; position: absolute; top: calc(100% + var(--space-2xs)); left: 0;
  min-width: 175px; background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); z-index: 200;
}
.nav-dropdown__menu a { padding: var(--space-xs) var(--space-md); font-weight: 400; border-radius: 0; }
.nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown:focus-within .nav-dropdown__menu { display: block; }

.navbar__toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 1px solid var(--border-brand); border-radius: var(--radius-md); padding: var(--space-xs) var(--space-sm); cursor: pointer;
}
.navbar__toggle span { display: block; width: 20px; height: 2px; background: var(--brand-500); border-radius: var(--radius-full); }

/* ────────────────────────────────────────────────────────────────
   8. COMPONENT: HERO (Hybrid BEM)
   ──────────────────────────────────────────────────────────────── */
.hero { min-height: calc(100vh - var(--nav-height)); background-size: cover; background-position: center; padding-block: var(--space-2xl); }
.hero__cards { display: flex; flex-direction: column; gap: var(--space-lg); max-width: 360px; }
.hero__card {
  background: oklch(0% 0 0 / 0.65); color: white; border: 1px solid oklch(100% 0 0 / 0.25);
  border-radius: var(--radius-lg); padding: var(--space-lg);
}
.hero__hiring-name { font-family: var(--font-display); font-size: var(--text-xl); display: block; color: white; }
.hero__hiring-sub { font-size: var(--text-sm); }
.hero__order-cta { font-size: var(--text-sm); font-weight: 600; margin-block-end: var(--space-xs); }
.hero__order-sub { font-size: var(--text-xs); margin-block-end: var(--space-md); }

/* ────────────────────────────────────────────────────────────────
   9. COMPONENTS: CARDS & TESTIMONIALS (Hybrid BEM)
   ──────────────────────────────────────────────────────────────── */
.card { padding: var(--space-lg); border: 1px solid var(--border-light); align-self: stretch; }
.card__title { font-family: var(--font-display); font-size: var(--text-md); color: var(--text-brand); margin-block-end: var(--space-sm); display: flex; align-items: center; gap: var(--space-sm); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--brand-500); color: var(--text-invert); border-radius: var(--radius-full); font-size: var(--text-xs); flex-shrink: 0; }

.features-label { font-family: var(--font-display); font-size: var(--text-xl); color: var(--text-brand); line-height: 1.2; }

.testimonial { padding: var(--space-lg); border: 1px solid var(--border-light); }
.testimonial__quote { font-style: italic; font-size: var(--text-sm); line-height: 1.6; color: var(--text-main); margin-block-end: var(--space-md); }
.testimonial__quote::before { content: "\201C"; font-size: var(--text-2xl); color: var(--brand-500); line-height: 0; vertical-align: -0.45em; margin-inline-end: 2px; font-family: var(--font-display); }
.testimonial__author { font-size: var(--text-xs); font-weight: 600; color: var(--text-brand); }
.testimonial__author::before { content: "— "; }

/* ────────────────────────────────────────────────────────────────
   10. COMPONENT: FAQ ACCORDION (Hybrid BEM)
   ──────────────────────────────────────────────────────────────── */
.faq__filters { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.faq__filter {
  background: none; border: 1px solid var(--text-muted); border-radius: var(--radius-sm);
  padding: var(--space-2xs) var(--space-sm); font-size: var(--text-xs); font-family: var(--font-body); cursor: pointer; transition: all 120ms;
}
.faq__filter.active, .faq__filter:hover { background: var(--brand-500); color: white; border-color: var(--brand-500); }
.faq__group-title { font-family: var(--font-display); font-size: var(--text-md); color: var(--text-brand); text-align: center; margin-block: var(--space-lg) var(--space-md); }
.faq__group[hidden] { display: none; }
.faq__item { border-bottom: 1px solid var(--border-light); }
.faq__question { display: flex; align-items: center; gap: var(--space-sm); padding-block: var(--space-sm); cursor: pointer; font-size: var(--text-base); font-weight: 600; user-select: none; }
.faq__question::marker, .faq__question::-webkit-details-marker { display: none; }
.faq__thumb { color: var(--brand-500); flex-shrink: 0; transition: transform 200ms ease-out; }
details[open] .faq__thumb { transform: rotate(90deg); }
.faq__answer { padding-inline-start: calc(var(--space-lg) + var(--space-xs)); padding-block-end: var(--space-sm); font-size: var(--text-sm); color: var(--text-muted); }

/* ────────────────────────────────────────────────────────────────
   11. COMPONENT: CONTACT FORM (Hybrid BEM)
   ──────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: start; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); }
.map-frame iframe { display: block; width: 100%; height: 280px; border: 0; }
.map-address { background: var(--brand-500); color: white; font-size: var(--text-xs); padding: var(--space-xs) var(--space-md); text-align: center; }

.form-title { font-family: var(--font-display); font-size: var(--text-lg); text-align: center; color: var(--text-main); margin-block-end: var(--space-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-block-end: var(--space-md); }
.form-row.span-full { grid-template-columns: 1fr; }
.form-group label { display: block; font-size: var(--text-xs); font-weight: 600; margin-block-end: var(--space-2xs); color: var(--text-main); }
.form-group input, .form-group textarea {
  width: 100%; padding: var(--space-xs) var(--space-sm); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); background: var(--input-bg, var(--bg-surface)); color: var(--text-main); font-size: var(--text-sm); transition: all 120ms;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input:focus, .form-group textarea:focus {
  outline: 2px solid var(--border-brand);
  outline-offset: 1px;
  border-color: var(--border-brand);
}
.form-group input:hover, .form-group textarea:hover {
  border-color: var(--brand-500);
}

/* Form Validation States */
.form-group.is-error input,
.form-group.is-error textarea {
  border-color: var(--color-error);
  background: oklch(95% 0.02 25);
}
.form-group.is-error label { color: var(--color-error); }
.form-group.is-error .form-message {
  display: block; font-size: var(--text-xs); color: var(--color-error); margin-block-start: var(--space-2xs);
}

.form-group.is-success input,
.form-group.is-success textarea {
  border-color: var(--color-success);
  background: oklch(95% 0.02 140);
}
.form-group.is-success label { color: var(--color-success); }
.form-group.is-success .form-message {
  display: block; font-size: var(--text-xs); color: var(--color-success); margin-block-start: var(--space-2xs);
}

.form-message { display: none; }

/* Custom Checkbox */
.form-checkbox {
  display: flex; align-items: center; gap: var(--space-xs); cursor: pointer;
  font-size: var(--text-sm); color: var(--text-main); user-select: none;
}
.form-checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; border: 2px solid var(--border-light);
  border-radius: var(--radius-sm); background: var(--bg-surface);
  cursor: pointer; flex-shrink: 0; margin: 0;
  transition: all var(--transition-fast);
}
.form-checkbox input[type="checkbox"]:checked {
  background: var(--brand-500); border-color: var(--brand-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}
.form-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--border-brand); outline-offset: 2px;
}
.form-checkbox input[type="checkbox"]:hover {
  border-color: var(--brand-500);
}

/* Custom Radio */
.form-radio {
  display: flex; align-items: center; gap: var(--space-xs); cursor: pointer;
  font-size: var(--text-sm); color: var(--text-main); user-select: none;
}
.form-radio input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; border: 2px solid var(--border-light);
  border-radius: var(--radius-full); background: var(--bg-surface);
  cursor: pointer; flex-shrink: 0; margin: 0; position: relative;
  transition: all var(--transition-fast);
}
.form-radio input[type="radio"]:checked {
  border-color: var(--brand-500);
  background: var(--brand-500);
  box-shadow: inset 0 0 0 3px var(--bg-surface);
}
.form-radio input[type="radio"]:focus-visible {
  outline: 2px solid var(--border-brand); outline-offset: 2px;
}
.form-radio input[type="radio"]:hover {
  border-color: var(--brand-500);
}

/* Custom Select */
.form-group select {
  width: 100%; padding: var(--space-xs) var(--space-lg) var(--space-xs) var(--space-sm);
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  background: var(--input-bg, var(--bg-surface)); color: var(--text-main);
  font-size: var(--text-sm); font-family: var(--font-body);
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 16px; background-position: right var(--space-sm) center;
  background-repeat: no-repeat; transition: all var(--transition-fast);
}
.form-group select:focus {
  outline: 2px solid var(--border-brand); outline-offset: 1px;
  border-color: var(--border-brand);
}
.form-group select:hover {
  border-color: var(--brand-500);
}
.form-submit-wrap { text-align: center; margin-block-start: var(--space-sm); }
.form-note { text-align: center; font-size: var(--text-xs); font-style: italic; color: var(--text-muted); margin-block-start: var(--space-xs); }
.contact-info { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); margin-block-start: var(--space-lg); font-size: var(--text-sm); }
.contact-info a { color: var(--text-brand); text-decoration: underline; }

/* ────────────────────────────────────────────────────────────────
   12. COMPONENT: FOOTER STRIP (Hybrid BEM)
   ──────────────────────────────────────────────────────────────── */
.footer-strip { border-top: 2px solid var(--border-light); padding-block: var(--space-xl); padding-inline: var(--space-md); }
.footer-strip__inner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-xl); align-items: start; }
.hours__label { font-size: var(--text-sm); font-weight: 700; color: var(--text-main); margin-block-end: var(--space-xs); }
.hours__list { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.8; }
.hours__tofa { font-size: var(--text-xs); color: var(--text-muted); text-decoration: underline; display: inline-block; margin-block-start: var(--space-xs); }

.site-links { position: relative; }
.site-links__btn { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: var(--space-2xs) var(--space-sm); font-size: var(--text-xs); font-family: var(--font-body); cursor: pointer; }
.site-links__btn::after { content: " ▾"; }
.site-links__menu { display: none; position: absolute; right: 0; bottom: calc(100% + var(--space-2xs)); background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-md); box-shadow: var(--shadow-md); min-width: 210px; z-index: 50; }
.site-links:hover .site-links__menu, .site-links:focus-within .site-links__menu { display: block; }
.site-links__menu a { display: block; padding: var(--space-xs) var(--space-md); font-size: var(--text-xs); color: var(--text-main); transition: background 120ms; }
.site-links__menu a:hover { background: var(--bg-surface-alt); }

/* ────────────────────────────────────────────────────────────────
   13. SYSTEM RESPONSIVE OVERRIDES
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .footer-strip__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .navbar__nav {
    display: none; position: absolute; top: var(--nav-height); inset-inline: 0;
    flex-direction: column; align-items: stretch; background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light); padding: var(--space-md); z-index: 90;
  }
  .navbar__nav.is-open { display: flex; }
  .navbar__toggle { display: flex; }
  .nav-dropdown__menu { position: static; box-shadow: none; border: none; background: var(--bg-surface-alt); border-radius: 0; }
}

/* ================================================================
   PAGE-SPECIFIC COMPONENTS
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   P1. BUTTON PAGE VARIANTS
   ──────────────────────────────────────────────────────────────── */
/* Pill-style primary button */
.btn--primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--brand-900);
  color: var(--text-invert);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.btn--primary:hover { background: var(--brand-500); }

.btn--sm {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
}

/* ────────────────────────────────────────────────────────────────
   P2. COMPONENT: PAGE HEADER
   ──────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--neutral-50);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-sm) var(--space-lg);
}

.header__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--brand-900);
}

.header__nav {
  display: flex;
  gap: var(--space-lg);
}

.header__nav a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* ────────────────────────────────────────────────────────────────
   P3. COMPONENT: PAGE HERO (3-Column Layout)
   ──────────────────────────────────────────────────────────────── */
/* Override system's full-height background-image hero */
.hero {
  position: relative;
  background: var(--bg-surface);
  overflow: hidden;
  padding-block-end: var(--space-2xl);
  min-height: unset;
  background-size: unset;
  background-position: unset;
  padding-block-start: unset;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 0.6fr;
  grid-template-rows: auto auto;
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-2xl) var(--space-lg) 0;
  gap: 0 var(--space-lg);
}

/* Left column — content */
.hero__content {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding-block-end: var(--space-lg);
}

.hero__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-block-end: var(--space-sm);
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--brand-900);
  margin-block-end: var(--space-md);
}

.hero__heading-highlight {
  text-decoration: underline;
  text-decoration-color: var(--brand-500);
  text-underline-offset: 0.25em;
  text-decoration-thickness: 3px;
}

.hero__subtext {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 340px;
  margin-block-end: var(--space-lg);
}

/* Center column — image */
.hero__image {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero__image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
}

/* Right column — quote */
.hero__quote {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  position: relative;
  z-index: 3;
  max-width: 260px;
  margin-block-start: var(--space-2xl);
}

.hero__quote blockquote::before {
  content: "\201C\201C";
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  color: var(--brand-900);
  margin-block-end: var(--space-xs);
}

.hero__quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-main);
}

.hero__quote blockquote footer {
  margin-block-start: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--brand-900);
}

/* Decorative elements */
.hero__decor--circle {
  position: absolute;
  bottom: 20px;
  right: 80px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--brand-900);
  z-index: 3;
}

.hero__decor--lines {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 40%, oklch(60% 0.17 var(--hue-brand) / 0.08) 40%, oklch(60% 0.17 var(--hue-brand) / 0.08) 42%, transparent 42%),
    linear-gradient(135deg, transparent 48%, oklch(60% 0.17 var(--hue-brand) / 0.06) 48%, oklch(60% 0.17 var(--hue-brand) / 0.06) 50%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--brand-900));
  z-index: 0;
  border-top-left-radius: 40% 20%;
  border-top-right-radius: 0;
}

/* ────────────────────────────────────────────────────────────────
   P4. PAGE RESPONSIVE OVERRIDES
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero__quote {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: 100%;
    margin-block-start: var(--space-lg);
  }
}

@media (max-width: 680px) {
  .header__nav { display: none; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: var(--space-lg) var(--space-md) 0;
    text-align: center;
  }

  .hero__content { grid-column: 1; }
  .hero__subtext { margin-inline: auto; }

  .hero__image {
    grid-column: 1;
    grid-row: 2;
  }

  .hero__quote {
    grid-column: 1;
    grid-row: 4;
    justify-self: center;
    margin-block: var(--space-lg);
  }

  .hero__heading { font-size: var(--text-xl); }
}
