/* HAERI HAUS main.css (bundled). Source in /assets/css/src/. Re-bundle after edits. */


/* ===== 01-variables.css ===== */
/* ==========================================================================
   HDS • HAERI HAUS DESIGN SYSTEM
   01-variables.css (Sky-Blue Luxury Aviation Palette & Design Tokens)
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------------
     1. Color System (60% Sky Blue, 25% White, 10% Dark Navy, 5% Gold)
     ------------------------------------------------------------------------ */
  /* Sky Blue Scale (Dominant Brand Palette) */
  --sky-50: #f0f7ff;
  --sky-100: #e5f2ff;
  --sky-200: #cce4ff;
  --sky-300: #99c9ff;
  --sky-400: #66adff;
  --sky-500: #499bea;   /* Official Haeri Haus Aviation Sky Blue */
  --sky-600: #2b82dd;
  --sky-700: #1b66be;
  --sky-800: #145098;
  --sky-900: #0f3d75;

  /* Champagne Gold Accents (5%) */
  --gold-100: #faf4e1;
  --gold-200: #f3e5b7;
  --gold-300: #e5c158;   /* Primary Highlight Gold */
  --gold-400: #d4af37;   /* Rich Champagne Gold */
  --gold-500: #b59223;
  --gold-600: #8c6f14;

  /* Atmospheric Whites & Clouds (25%) */
  --white: #ffffff;
  --cloud-100: #f8fafc;
  --cloud-200: #f1f5f9;
  --cloud-300: #e2e8f0;

  /* Contrast Deep Aviation Navy (10% - Contrast Text, Dark Accents & Footer) */
  --navy-500: #1e293b;
  --navy-700: #0f172a;
  --navy-800: #0d1527;
  --navy-900: #0a111e;   /* Deep Aviation Lounge Navy */

  /* Neutral Text & Muted Colors */
  --text-dark: #0f172a;
  --text-light: #f8fafc;
  --body: #334155;
  --heading: #0a111e;
  --muted: #64748b;

  /* Surface & Canvas Backgrounds */
  --surface-primary: #f8fafc;
  --surface-sky: #f0f7ff;
  --surface-card: #ffffff;
  --surface-dark: #0a111e;

  /* ------------------------------------------------------------------------
     2. Signature Design Elements
     ------------------------------------------------------------------------ */
  /* Cloud Glass™ Tokens (Light & Dark) */
  --cloud-glass-bg: rgba(255, 255, 255, 0.75);
  --cloud-glass-bg-dark: rgba(10, 17, 30, 0.75);
  --cloud-glass-sky-bg: rgba(73, 155, 234, 0.08);
  --cloud-glass-border: rgba(212, 175, 55, 0.35);  /* Thin 1px Champagne Border */
  --cloud-glass-border-light: rgba(73, 155, 234, 0.25);
  --cloud-glass-shadow: 0 20px 40px -15px rgba(10, 17, 30, 0.08), 0 0 30px rgba(73, 155, 234, 0.12);
  --glass-blur: blur(20px);

  /* Aurora Sky Lighting Gradient */
  --aurora-sky-glow: radial-gradient(circle at 50% 0%, rgba(73, 155, 234, 0.22) 0%, rgba(229, 193, 88, 0.08) 45%, transparent 70%);
  --aurora-sky-dark: radial-gradient(circle at 50% 20%, rgba(73, 155, 234, 0.28) 0%, rgba(10, 17, 30, 0.95) 75%);

  /* ------------------------------------------------------------------------
     3. Typography Tokens
     ------------------------------------------------------------------------ */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-number: 'Space Grotesk', monospace;

  /* Responsive Display Sizes */
  --display-xl: clamp(4.5rem, 7.5vw, 6rem);     /* 72px - 96px */
  --display-lg: clamp(3.5rem, 5.5vw, 4.5rem);   /* 56px - 72px */
  --display-md: clamp(2.5rem, 4vw, 3.25rem);    /* 40px - 52px */
  --display-sm: clamp(1.75rem, 2.5vw, 2.25rem); /* 28px - 36px */

  --h1: clamp(2.5rem, 4.5vw, 3.5rem);           /* 40px - 56px */
  --h2: clamp(2rem, 3.5vw, 2.75rem);            /* 32px - 44px */
  --h3: clamp(1.5rem, 2.5vw, 2rem);             /* 24px - 32px */
  --h4: clamp(1.25rem, 1.8vw, 1.5rem);          /* 20px - 24px */
  
  --body-lg: 1.15rem;                            /* 18.4px */
  --body-md: 1rem;                               /* 16px */
  --body-sm: 0.875rem;                           /* 14px */

  /* ------------------------------------------------------------------------
     4. Spacing Scale & 160px Vertical Rhythm
     ------------------------------------------------------------------------ */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-30: 120px;
  --space-40: 160px;                           /* 160px Desktop Vertical Rhythm */

  --section-xl: var(--space-40);               /* 160px */
  --section-lg: var(--space-30);               /* 120px */
  --section-md: var(--space-20);               /* 80px */
  --section-sm: var(--space-16);               /* 64px */

  /* Container Widths */
  --container-sm: 960px;
  --container-md: 1140px;
  --container-lg: 1280px;
  --container-xl: 1440px;

  /* ------------------------------------------------------------------------
     5. Radius, Shadows & Transitions
     ------------------------------------------------------------------------ */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(10, 17, 30, 0.04);
  --shadow-md: 0 12px 24px -6px rgba(10, 17, 30, 0.08), 0 0 20px rgba(73, 155, 234, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(10, 17, 30, 0.12), 0 0 30px rgba(73, 155, 234, 0.12);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);
  --shadow-sky: 0 10px 30px -5px rgba(73, 155, 234, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.25s var(--ease);
  --transition-normal: 0.4s var(--ease);
  --transition-slow: 0.7s var(--ease);

  --z-back: -1;
  --z-normal: 1;
  --z-sticky: 100;
  --z-header: 900;
  --z-modal: 1000;
  --z-tooltip: 1100;
}


/* ===== 02-reset.css ===== */
/* ===================================================
   HAERI HAUS DESIGN SYSTEM
   02-RESET.CSS
   Custom luxury reset, box sizing, scroll-behavior & defaults
   =================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Text Selection */
::selection {
  background-color: var(--gold-400);
  color: var(--white);
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 4px;
}

/* Media Elements */
img,
picture,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}

/* Form Controls */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Accessibility Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===== 03-typography.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   03-typography.css  (Editorial Typography & Display Scale)
   Fonts are loaded via <link> in each page head (Google Fonts):
   Cormorant Garamond, Manrope, Space Grotesk
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--body-md);
  font-weight: 400;
  line-height: 1.75;
  color: var(--body);
  letter-spacing: 0.01em;
}

/* Editorial display faces for hero and signature titles */
.display-xl {
  font-family: var(--font-display);
  font-size: var(--display-xl);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-wrap: balance;
}

.display-lg {
  font-family: var(--font-display);
  font-size: var(--display-lg);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--heading);
  text-wrap: balance;
}

.display-md {
  font-family: var(--font-display);
  font-size: var(--display-md);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--heading);
  text-wrap: balance;
}

/* Base headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: var(--h1); letter-spacing: -0.015em; }
h2 { font-size: var(--h2); letter-spacing: -0.01em; }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

p {
  max-width: 68ch;
  font-size: var(--body-md);
  line-height: 1.8;
  color: var(--body);
}

/* Eyebrow label: small tracked-out caps used above every section title */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.eyebrow--light { color: var(--gold-300); }

/* Numeric / statistic face */
.stat-number {
  font-family: var(--font-number);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--heading);
}

/* Lead paragraph under section titles */
.lead {
  font-size: var(--body-lg);
  line-height: 1.85;
  color: var(--muted);
}

/* Text colour helpers */
.text-gold   { color: var(--gold-400); }
.text-navy   { color: var(--navy-900); }
.text-muted  { color: var(--muted); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

a { transition: color var(--transition-fast); }
a:hover { color: var(--gold-500); }


/* ===== 04-layout.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   04-layout.css  (Containers, Sections, Rhythm)
   ========================================================================== */

.page {
  position: relative;
  overflow-x: clip;
}

.container {
  width: min(100% - 48px, var(--container-lg));
  margin-inline: auto;
}

.container--wide { width: min(100% - 48px, var(--container-xl)); }
.container--narrow { width: min(100% - 48px, var(--container-md)); }

/* Vertical rhythm. Screens use generous but not extreme spacing,
   so the homepage default is 96px, upgraded on large viewports. */
.section {
  position: relative;
  padding-block: var(--space-24);
}
.section--sm { padding-block: var(--space-16); }
.section--lg { padding-block: var(--space-30); }
.section--flush-top { padding-top: 0; }

/* Section intro block (eyebrow + title + lead) */
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}
.section-head .eyebrow { margin-bottom: var(--space-4); }
.section-head h2 { margin-bottom: var(--space-4); }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center p { margin-inline: auto; }

/* Two-column editorial split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Consistent vertical spacing between stacked children */
.stack > * + * { margin-top: var(--space-6); }
.stack-sm > * + * { margin-top: var(--space-3); }

/* Dark surface section (footer-adjacent bands like the world map) */
.surface-navy {
  background: var(--navy-900);
  color: var(--text-light);
}
.surface-navy h1,
.surface-navy h2,
.surface-navy h3 { color: var(--white); }
.surface-navy p { color: rgba(248, 250, 252, 0.72); }

.surface-sky { background: var(--surface-sky); }
.surface-cloud { background: var(--cloud-100); }


/* ===== 05-grid.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   05-grid.css  (CSS Grid, no framework)
   ========================================================================== */

.grid { display: grid; gap: var(--space-8); }

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* Auto-fit grid for card decks that should reflow gracefully */
.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }


/* ===== 06-utilities.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   06-utilities.css  (Only the utilities we actually use)
   ========================================================================== */

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.hidden { display: none; }
.relative { position: relative; }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* Standard media treatment used across the site */
.image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* Cloud-glass surface used for floating panels */
.glass {
  background: var(--cloud-glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--cloud-glass-border-light);
  box-shadow: var(--cloud-glass-shadow);
}
.glass-dark {
  background: var(--cloud-glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: var(--z-modal);
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

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


/* ===== 07-buttons.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   07-buttons.css  (Button Library)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast);
  white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Primary: champagne gold pill */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -8px rgba(212, 175, 55, 0.5);
  color: var(--navy-900);
}

/* Ghost: light outline on imagery, white text */
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  transform: translateY(-2px);
}

/* Outline: navy on light backgrounds */
.btn-outline {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
}

/* White solid: used inside dark CTA bands */
.btn-white {
  background: var(--white);
  color: var(--navy-900);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-sm { padding: 11px 20px; font-size: 0.72rem; }
.btn-lg { padding: 18px 34px; font-size: 0.82rem; }

/* Inline text link with arrow (used on cards: LEARN MORE ->) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.link-arrow:hover { color: var(--gold-500); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }


/* ===== 08-cards.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   08-cards.css  (Reusable Card Components)
   ========================================================================== */

/* ---- Material card (craftsmanship strip) ------------------------------- */
.material-card { text-align: left; }
.material-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
}
.material-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.material-card:hover .material-card__media img { transform: scale(1.06); }
.material-card__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 2px;
}
.material-card__sub { font-size: 0.85rem; color: var(--muted); }

/* ---- Service card (icon tile) ------------------------------------------ */
.service-card {
  background: var(--surface-card);
  border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cloud-glass-border);
}
.service-card__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-sky);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
}
.service-card__icon svg { width: 20px; height: 20px; }
.service-card__title {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--heading);
}
.service-card__text { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.service-card .link-arrow { margin-top: auto; }

/* ---- Large service tile (services page, big photo) --------------------- */
.service-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--cloud-300);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-tile__media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.service-tile:hover .service-tile__media img { transform: scale(1.05); }
.service-tile__body { padding: var(--space-6); position: relative; }
.service-tile__icon {
  position: absolute; top: -26px; left: var(--space-6);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* ---- Project card (cinematic showcase) --------------------------------- */
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.project-card:hover img { transform: scale(1.07); }
.project-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 30, 0.85) 0%, rgba(10, 17, 30, 0.1) 55%, transparent 100%);
}
.project-card__body {
  position: absolute; left: var(--space-5); bottom: var(--space-5);
  color: var(--white);
}
.project-card__title {
  font-family: var(--font-body);
  font-weight: 700; font-size: 1.05rem; color: var(--white);
  margin-bottom: 2px;
}
.project-card__sub { font-size: 0.82rem; color: rgba(255,255,255,0.75); }

/* ---- Testimonial card -------------------------------------------------- */
.testimonial-card {
  background: var(--surface-card);
  border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.testimonial-card__mark {
  font-family: var(--font-display);
  font-size: 2.4rem; line-height: 1;
  color: var(--gold-300);
  margin-bottom: var(--space-3);
}
.testimonial-card__text {
  font-size: 0.9rem; color: var(--body); line-height: 1.7;
  margin-bottom: var(--space-4);
}
.testimonial-card__name { font-weight: 700; font-size: 0.9rem; color: var(--heading); }
.testimonial-card__role { font-size: 0.78rem; color: var(--muted); }

/* ---- Trust chip (About image strip) ------------------------------------ */
.trust-chip { display: flex; align-items: center; gap: var(--space-3); }
.trust-chip__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(212,175,55,0.14); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-chip__title { font-weight: 700; font-size: 0.85rem; color: var(--heading); }
.trust-chip__sub { font-size: 0.72rem; color: var(--muted); }


/* ===== 09-navigation.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   09-navigation.css  (Floating Cloud-Glass Pill Navigation)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  position: relative;
  width: min(100% - 40px, var(--container-lg));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 10px 12px 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(10, 17, 30, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 12px 34px rgba(10, 17, 30, 0.28);
  transition: background var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

/* Localised dark fade behind the logo corner so the gold mark always pops,
   even where the nav floats over a bright part of the hero. Fades to clear. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,
    rgba(10, 17, 30, 0.92) 0%,
    rgba(10, 17, 30, 0.6) 12%,
    rgba(10, 17, 30, 0.2) 26%,
    transparent 42%);
  pointer-events: none;
  z-index: 0;
}
.nav__logo,
.nav__menu,
.nav__actions { position: relative; z-index: 1; }

/* Solidifies once the user scrolls past the hero */
.site-header.is-scrolled .nav {
  background: rgba(10, 17, 30, 0.9);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 14px 40px rgba(10, 17, 30, 0.4);
}

.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 40px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding-block: 6px;
}
.nav__link:hover { color: var(--white); }
.nav__link.is-active { color: var(--gold-300); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold-300);
  border-radius: 2px;
}
.nav__link .caret { font-size: 0.6rem; margin-left: 4px; opacity: 0.8; }

.nav__actions { display: flex; align-items: center; gap: var(--space-3); }

.nav__toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 18px; height: 18px; }

/* ---- Mobile drawer ----------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--navy-900);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  padding: var(--space-16) var(--space-8) var(--space-8);
  pointer-events: none;
}
.drawer.is-open { transform: translateX(0); pointer-events: auto; }
.drawer__close {
  position: absolute; top: var(--space-6); right: var(--space-6);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.drawer nav { display: flex; flex-direction: column; width: 100%; }
.drawer__link {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  padding-block: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drawer__link:hover { color: var(--gold-300); }
.drawer .btn { margin-top: var(--space-8); width: 100%; justify-content: center; }

body.no-scroll { overflow: hidden; }


/* ===== 10-forms.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   10-forms.css  (Contact & Quote Forms)
   ========================================================================== */

.form { width: 100%; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.field { position: relative; margin-bottom: var(--space-4); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--cloud-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(73, 155, 234, 0.14);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.field select { color: var(--muted); appearance: none; background-image: none; }
.field select:valid { color: var(--heading); }

/* Consent checkbox row */
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: var(--space-5);
}
.form__consent input { margin-top: 3px; accent-color: var(--gold-400); }

/* Field-level validation */
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #d64545; }
.field__error {
  display: none;
  font-size: 0.74rem;
  color: #d64545;
  margin-top: 5px;
}
.field.has-error .field__error { display: block; }

/* Submit feedback banner */
.form-feedback {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  display: none;
}
.form-feedback.is-visible { display: block; }
.form-feedback.success { background: rgba(73,155,234,0.1); color: var(--sky-800); border: 1px solid rgba(73,155,234,0.3); }
.form-feedback.error { background: rgba(214,69,69,0.08); color: #b23434; border: 1px solid rgba(214,69,69,0.3); }


/* ===== 11-footer.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   11-footer.css  (Luxury Multi-Column Footer)
   ========================================================================== */

.footer {
  position: relative;
  background: var(--navy-900);
  color: rgba(248, 250, 252, 0.72);
  padding-top: var(--space-24);
  padding-bottom: var(--space-8);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(73, 155, 234, 0.18), transparent);
  pointer-events: none;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand img { height: 54px; width: auto; margin-bottom: var(--space-5); }
.footer__brand p {
  font-size: 0.86rem;
  line-height: 1.7;
  max-width: 34ch;
  color: rgba(248, 250, 252, 0.6);
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--space-5);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.68);
}
.footer__col a:hover { color: var(--white); }

.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.footer__social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(248,250,252,0.8);
}
.footer__social a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.footer__social svg { width: 17px; height: 17px; }

.footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.5);
}
.footer__bottom a { color: rgba(248,250,252,0.7); }
.footer__bottom a:hover { color: var(--gold-300); }


/* ===== 12-animations.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   12-animations.css  (In-house Reveal Engine, IntersectionObserver driven)

   Progressive enhancement: content is visible by default. Reveal states
   apply only after main.js adds .reveal-on to <html>. So if JavaScript is
   unavailable or blocked (e.g. opened over file://), nothing is ever hidden.
   ========================================================================== */

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal-on [data-reveal="left"]  { transform: translateX(-28px); }
.reveal-on [data-reveal="right"] { transform: translateX(28px); }
.reveal-on [data-reveal="scale"] { transform: scale(0.96); }

.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

/* Stagger children when a container is revealed */
.reveal-on [data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-on [data-stagger].is-visible > * { opacity: 1; transform: none; }
.reveal-on [data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-on [data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-on [data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-on [data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-on [data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-on [data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* Signature flight-path stroke draw */
.flight-path path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.flight-path.is-visible path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal],
  .reveal-on [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .flight-path path { stroke-dashoffset: 0; transition: none; }
}


/* ===== 14-home.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   14-home.css  (Homepage-specific sections, assembled from components)
   Section classes are named by purpose, per the design-system spec.
   ========================================================================== */

/* ---- HERO -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(240, 247, 255, 0.92) 0%, rgba(240, 247, 255, 0.55) 34%, rgba(10, 17, 30, 0.12) 62%, rgba(10, 17, 30, 0.28) 100%);
}
.hero__arc {
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none; opacity: 0.9;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-12);
  padding-top: 120px;
  padding-bottom: 80px;
  padding-inline: clamp(20px, 5vw, 96px);
}
.hero__content { max-width: 620px; }
.hero__title { margin: var(--space-4) 0 var(--space-5); }
.hero__subtitle {
  font-size: var(--body-lg);
  color: var(--navy-700);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}
.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Floating feature panel (right) */
.hero__panel {
  justify-self: end;
  width: min(340px, 100%);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}
.hero__panel-list { display: flex; flex-direction: column; gap: var(--space-4); }
.hero__panel-item {
  display: flex; align-items: center; gap: var(--space-3);
  color: var(--white);
  font-size: 0.9rem; font-weight: 500;
}
.hero__panel-item svg { width: 18px; height: 18px; color: var(--gold-300); flex-shrink: 0; }
.hero__panel-foot {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-300);
}

.hero__scroll {
  position: absolute;
  right: var(--space-8); bottom: var(--space-8);
  z-index: 2;
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--navy-700);
}

/* ---- TRUST BAR --------------------------------------------------------- */
.trustbar { background: var(--white); padding-block: var(--space-12); border-bottom: 1px solid var(--cloud-200); }
.trustbar__label {
  text-align: center;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-8);
}
.trustbar__logos {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-8); flex-wrap: wrap;
}
.trustbar__logo {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--navy-500); opacity: 0.72;
  white-space: nowrap;
}

/* ---- ABOUT ------------------------------------------------------------- */
.about__divider {
  width: 64px; height: 2px; background: var(--gold-400);
  margin: var(--space-5) 0;
}
.about__media { position: relative; }
.about__media > img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about__chips {
  position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
}

/* ---- SERVICES ---------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-5); }

/* ---- PROCESS ----------------------------------------------------------- */
.process__layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--space-12); align-items: center; }
.process__steps { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-6); }
.process-step { display: flex; gap: var(--space-4); }
.process-step__num {
  font-family: var(--font-number);
  font-size: 0.9rem; font-weight: 600; color: var(--gold-500);
  padding-top: 2px;
}
.process-step__title { font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; color: var(--heading); margin-bottom: 4px; }
.process-step__text { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }

.process__video { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.process__video img { width: 100%; height: 100%; object-fit: cover; }
.process__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast);
}
.process__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.process__play svg { width: 22px; height: 22px; margin-left: 3px; }
.process__caption {
  position: absolute; left: var(--space-5); bottom: var(--space-4);
  color: var(--white); font-size: 0.82rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* ---- PROJECTS ---------------------------------------------------------- */
.projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-10); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

/* ---- TESTIMONIALS ------------------------------------------------------ */
.testimonials__layout { display: grid; grid-template-columns: 0.8fr 2.2fr auto; gap: var(--space-8); align-items: center; }
.testimonials__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.testimonials__nav { display: flex; flex-direction: column; gap: var(--space-3); }
.testimonials__nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--cloud-300); color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.testimonials__nav button:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* ---- CONSULTATION CTA -------------------------------------------------- */
.consultation {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--sky-100), var(--sky-200));
  padding-block: var(--space-16);
}
.consultation__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-8); flex-wrap: wrap;
}
.consultation h2 { margin-bottom: var(--space-3); }
.consultation p { color: var(--navy-700); max-width: 52ch; }
.consultation__wing {
  position: absolute; right: 0; bottom: 0; width: 42%; max-width: 520px;
  opacity: 0.9; z-index: 1; pointer-events: none;
}


/* ===== 15-inner.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   15-inner.css  (Shared inner-page patterns reused across all subpages)
   ========================================================================== */

/* ---- Page hero (compact banner with nav overlaid) ---------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84vh;
  padding: 168px 0 100px;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 78%, rgba(255,255,255,0.7) 94%, rgba(255,255,255,0.95) 100%),
    linear-gradient(100deg, rgba(240,247,255,0.94) 0%, rgba(240,247,255,0.55) 32%, rgba(10,17,30,0.2) 66%, rgba(10,17,30,0.42) 100%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-12);
  padding-inline: clamp(20px, 5vw, 96px);
}
.page-hero__content { max-width: 600px; }
.page-hero__content h1 { margin: var(--space-3) 0 var(--space-4); }
.page-hero__content p { color: var(--navy-700); max-width: 48ch; }
.page-hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); }
.page-hero__arc { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.9; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb span { color: var(--gold-500); }

/* Contact/hero inline details (phone + email) */
.hero-contacts { display: flex; gap: var(--space-8); flex-wrap: wrap; margin-top: var(--space-6); }
.hero-contacts a { display: flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: 0.9rem; color: var(--navy-800); }
.hero-contacts svg { width: 18px; height: 18px; color: var(--gold-500); }

/* ---- Reusable glass feature panel (the "we're here to help" list) ------ */
.feature-panel {
  justify-self: end;
  width: min(340px, 100%);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--cloud-glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(212, 175, 55, 0.28);
}
.feature-panel__label {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: var(--space-4);
}
.feature-panel__list { display: flex; flex-direction: column; gap: var(--space-4); }
.feature-panel__item { display: flex; align-items: center; gap: var(--space-3); color: var(--white); font-size: 0.9rem; }
.feature-panel__item svg { width: 18px; height: 18px; color: var(--gold-300); flex-shrink: 0; }
.feature-panel__foot {
  margin-top: var(--space-5); padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300);
}

/* ---- Stats strip (glass over an image) --------------------------------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-md);
}
.stat__num { font-family: var(--font-number); font-size: 1.7rem; font-weight: 600; color: var(--heading); line-height: 1; }
.stat__label { font-size: 0.72rem; color: var(--muted); margin-top: 6px; }

/* ---- Generic CTA band -------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--sky-100), var(--sky-200));
  padding-block: var(--space-16);
}
.cta-band__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.9; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(240,247,255,0.94), rgba(240,247,255,0.35)); }
.cta-band__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-8); flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: var(--space-2); }
.cta-band p { color: var(--navy-700); max-width: 54ch; }
.cta-band__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ---- 404 --------------------------------------------------------------- */
.error-hero {
  background: var(--navy-900);
  color: var(--white);
  padding-top: 130px;
}
.error-hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-10); align-items: center; }
.error-hero__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.95;
  color: var(--gold-300);
}
.error-hero h1 { color: var(--white); margin: var(--space-2) 0 var(--space-4); }
.error-hero p { color: rgba(248,250,252,0.7); margin-bottom: var(--space-8); max-width: 42ch; }
.error-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.error-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Quick-link cards */
.quicklinks { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.quicklink {
  background: var(--surface-card); border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md); padding: var(--space-6) var(--space-4);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.quicklink:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quicklink__icon { color: var(--gold-500); }
.quicklink__icon svg { width: 30px; height: 30px; }
.quicklink__title { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--heading); }
.quicklink__text { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.quicklink .link-arrow { margin-top: auto; font-size: 0.66rem; }

/* Still-need-help band */
.help-band {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap;
  justify-content: space-between;
}
.help-band__left { display: flex; align-items: center; gap: var(--space-5); }
.help-band__icon {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(212,175,55,0.5); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.help-band__icon svg { width: 26px; height: 26px; }
.help-band h3 { color: var(--white); font-family: var(--font-display); margin-bottom: 4px; }
.help-band p { color: rgba(248,250,252,0.7); font-size: 0.9rem; }

@media (max-width: 960px) {
  .error-hero__inner { grid-template-columns: 1fr; }
  .quicklinks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .quicklinks { grid-template-columns: 1fr 1fr; }
  .help-band { flex-direction: column; align-items: flex-start; }
}

/* ---- Inner-page responsive --------------------------------------------- */
@media (max-width: 960px) {
  .page-hero__inner { grid-template-columns: 1fr; }
  .feature-panel { justify-self: start; margin-top: var(--space-4); }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { min-height: auto; padding: 130px 0 64px; }
  .page-hero__actions { flex-direction: column; align-items: stretch; }
  .page-hero__actions .btn { width: 100%; }
  .hero-contacts { gap: var(--space-4); }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
}

/* Breathing room for hero text away from the left edge (over full-bleed image) */
/* Hero side spacing is handled by .page-hero__inner padding-inline (both sides) */


/* ===== 16-contact.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   16-contact.css  (Contact page: form, info card, world band, offices, FAQ)
   ========================================================================== */

/* ---- Form + info split ------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-10); align-items: start; }

.contact-form-card,
.contact-info-card {
  background: var(--surface-card);
  border: 1px solid var(--cloud-300);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.contact-form-card .eyebrow,
.contact-info-card .eyebrow { display: block; margin-bottom: var(--space-5); }

/* Info card rows */
.contact-info__item { display: flex; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--cloud-200); }
.contact-info__item:last-of-type { border-bottom: 0; }
.contact-info__icon {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface-sky); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 18px; height: 18px; }
.contact-info__label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-info__value { font-weight: 600; color: var(--heading); font-size: 0.95rem; }
.contact-info__note { font-size: 0.8rem; color: var(--muted); }
.contact-info__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.contact-info__social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--surface-sky); color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__social a:hover { background: var(--navy-900); color: var(--white); }
.contact-info__social svg { width: 16px; height: 16px; }

/* ---- Worldwide band ---------------------------------------------------- */
.world-band { position: relative; overflow: hidden; }
.world-band__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-10); align-items: center; }
.world-band__stats { display: flex; gap: var(--space-10); margin-top: var(--space-8); }
.world-band__stats .stat__num { color: var(--white); font-size: 2rem; }
.world-band__stats .stat__label { color: rgba(248,250,252,0.6); }
.world-map { position: relative; width: 100%; aspect-ratio: 2 / 1; }
.world-map svg { width: 100%; height: 100%; }
.world-map__dots circle { fill: rgba(255,255,255,0.16); }
.world-map__pin { fill: var(--gold-400); }

/* ---- Offices ----------------------------------------------------------- */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.office-card {
  background: var(--surface-card); border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.office-card__media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.office-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.office-card:hover .office-card__media img { transform: scale(1.05); }

/* Placeholder office visuals until licensed city photography is supplied.
   Layered gradients read as a skyline-at-dusk abstraction, not an empty box. */
.office-card__media--dubai,
.office-card__media--london,
.office-card__media--miami {
  background:
    linear-gradient(180deg, transparent 55%, rgba(10,17,30,0.55) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--sky-400), var(--navy-800));
}
.office-card__media--london { background:
    linear-gradient(180deg, transparent 55%, rgba(10,17,30,0.55) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #6b7f96, var(--navy-800)); }
.office-card__media--miami { background:
    linear-gradient(180deg, transparent 55%, rgba(10,17,30,0.55) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #d9a679, var(--navy-800)); }
.office-card__media[class*="--"]::after {
  content: attr(data-city);
  position: absolute; left: 16px; bottom: 12px;
  font-family: var(--font-display); font-size: 1.3rem; color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.office-card__body { padding: var(--space-6); }
.office-card__tag { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); }
.office-card__title { font-family: var(--font-body); font-weight: 700; color: var(--heading); margin: 4px 0 var(--space-3); }
.office-card__line { font-size: 0.85rem; color: var(--muted); margin-bottom: 3px; }
.office-card__contact { display: flex; align-items: center; gap: var(--space-2); font-size: 0.85rem; color: var(--navy-700); margin-top: var(--space-2); }
.office-card__contact svg { width: 15px; height: 15px; color: var(--gold-500); }

/* ---- FAQ accordion ----------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-10); align-items: center; }
.faq-list { border-top: 1px solid var(--cloud-300); }
.faq-item { border-bottom: 1px solid var(--cloud-300); }
.faq-item__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; color: var(--heading);
  cursor: pointer;
}
.faq-item__icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold-500); transition: transform var(--transition-fast); }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}
.faq-item__a p { color: var(--muted); font-size: 0.9rem; padding-bottom: var(--space-5); }
.faq-item.is-open .faq-item__a { max-height: 320px; }
.faq-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .world-band__inner { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-media { order: -1; }
}
@media (max-width: 640px) {
  .contact-form-card, .contact-info-card { padding: var(--space-6); }
  .world-band__stats { gap: var(--space-6); }
}

/* Single-office layout: constrain the lone card to a sensible width, left-aligned */
.offices--single { grid-template-columns: minmax(320px, 560px); justify-content: start; }


/* ===== 17-about.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   17-about.css  (About page: philosophy, specialists, aircraft strip, timeline)
   ========================================================================== */

/* Our Story image with stats strip */
.story__media { position: relative; }
.story__media > img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.story__stats {
  position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5);
}

/* Philosophy cards */
.philosophy { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.philosophy-card {
  background: var(--surface-card); border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.philosophy-card__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-sky); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
}
.philosophy-card__icon svg { width: 22px; height: 22px; }
.philosophy-card__title { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--heading); }
.philosophy-card__text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* Specialists (cinematic) */
.specialists { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }

/* Aircraft strip */
.aircraft-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.aircraft-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4 / 3; display: block;
}
.aircraft-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.aircraft-card:hover img { transform: scale(1.07); }
.aircraft-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,17,30,0.8), transparent 60%); }
.aircraft-card__label { position: absolute; left: var(--space-3); bottom: var(--space-3); color: var(--white); font-weight: 600; font-size: 0.82rem; }
.section-head--with-nav { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
.strip-nav { display: flex; gap: var(--space-3); }
.strip-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--cloud-300); color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
}
.strip-nav button:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* Journey timeline */
.journey__layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-10); align-items: center; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.timeline::before {
  content: ""; position: absolute; top: 14px; left: 6%; right: 6%;
  height: 2px; background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
}
.timeline__step { position: relative; text-align: left; }
.timeline__dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold-400); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-number); font-size: 0.72rem; font-weight: 600;
  position: relative; z-index: 1; margin-bottom: var(--space-3);
}
.timeline__title { font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; color: var(--heading); margin-bottom: 3px; }
.timeline__text { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }
.journey__video { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.journey__video img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .philosophy { grid-template-columns: 1fr; }
  .specialists { grid-template-columns: 1fr 1fr; }
  .aircraft-strip { grid-template-columns: 1fr 1fr 1fr; }
  .journey__layout { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .specialists { grid-template-columns: 1fr; }
  .aircraft-strip { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .section-head--with-nav { flex-direction: column; align-items: flex-start; }
}

/* About hero with CEO portrait on the left */
.about-hero-grid { grid-template-columns: 0.78fr 1.22fr; align-items: center; gap: var(--space-10); }
.about-hero-portrait { width: min(360px, 100%); justify-self: start; align-self: center; }
.about-hero-grid .page-hero__content { padding-left: 0; }
@media (max-width: 860px){
  .about-hero-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .about-hero-portrait { width: min(280px, 70%); }
}

/* Founder hero: keep the wash light across the full width so the right-column text stays legible */
.page-hero--founder .page-hero__bg::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 76%, rgba(255,255,255,0.72) 93%, rgba(255,255,255,0.96) 100%),
    linear-gradient(100deg, rgba(240,247,255,0.96) 0%, rgba(240,247,255,0.9) 46%, rgba(240,247,255,0.72) 100%);
}
.page-hero--founder .page-hero__arc { opacity: 0.35; }

/* CEO name caption under the About hero portrait */
.about-hero-caption { text-align: center; margin-top: var(--space-4); }
.about-hero-caption__name { font-family: var(--font-display); font-size: 1.4rem; color: var(--heading); line-height: 1.2; }
.about-hero-caption__role { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--gold-600); margin-top: 3px; }


/* ===== 18-services.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   18-services.css  (Services page)
   ========================================================================== */

.services-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6) var(--space-5); }

.service-tile__title { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--heading); margin-bottom: var(--space-2); margin-top: var(--space-3); }
.service-tile__text { font-size: 0.84rem; color: var(--muted); line-height: 1.6; margin-bottom: var(--space-4); }

/* Process over a soft sky band */
.process-band { background: linear-gradient(180deg, var(--sky-50), var(--surface-sky)); }

/* Dark CTA band variant (navy with jet image) */
.cta-band--dark { background: var(--navy-900); }
.cta-band--dark .cta-band__bg::after { background: linear-gradient(90deg, rgba(10,17,30,0.92), rgba(10,17,30,0.4)); }
.cta-band--dark h2 { color: var(--white); }
.cta-band--dark p { color: rgba(248,250,252,0.72); }

@media (max-width: 1200px) { .services-showcase { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px)  { .services-showcase { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .services-showcase { grid-template-columns: 1fr; } }


/* ===== 19-collections.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   19-collections.css  (Projects, Gallery, Process shared pieces)
   ========================================================================== */

/* ---- Before / After comparison slider ---------------------------------- */
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* base = after (renovated). overlay = before, clipped to the left of the handle */
.ba__overlay { z-index: 2; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__tag {
  position: absolute; top: var(--space-3); z-index: 3;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); background: rgba(10,17,30,0.6);
  padding: 5px 10px; border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.ba__tag--before { left: var(--space-3); }
.ba__tag--after { right: var(--space-3); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 4;
  width: 2px; background: var(--white); transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(10,17,30,0.2);
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.ba__grip svg { width: 20px; height: 20px; }

/* ---- Timeline column variants ------------------------------------------ */
.timeline--6 { grid-template-columns: repeat(6, 1fr); }
.timeline--7 { grid-template-columns: repeat(7, 1fr); }

/* ---- Project card body (list card with white footer) ------------------- */
.project-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.project-entry {
  background: var(--surface-card); border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.project-entry .ba { border-radius: 0; }
.project-entry__body { padding: var(--space-6); }
.project-entry__tag { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-500); }
.project-entry__title { font-family: var(--font-display); font-size: 1.35rem; color: var(--heading); margin: 4px 0 var(--space-3); }
.project-entry__text { font-size: 0.86rem; color: var(--muted); line-height: 1.6; margin-bottom: var(--space-4); }

/* ---- Before/After row (compact) ---------------------------------------- */
.ba-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.ba-row .ba { aspect-ratio: 16 / 11; }
.ba-row__caption { margin-top: var(--space-3); }
.ba-row__title { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500); }
.ba-row__sub { font-size: 0.9rem; color: var(--heading); font-weight: 600; }

/* ---- Gallery ----------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-bottom: var(--space-8); }
.filter-btn {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--cloud-300); background: var(--white); color: var(--navy-700);
  cursor: pointer; transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--gold-400); color: var(--gold-600); }
.filter-btn.is-active { background: linear-gradient(135deg, var(--gold-300), var(--gold-400)); color: var(--navy-900); border-color: transparent; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.gallery-card {
  background: var(--surface-card); border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.gallery-card.is-hidden { display: none; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-card:hover .gallery-card__media img { transform: scale(1.06); }
.gallery-card__body { padding: var(--space-6); }
.gallery-card__tag { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-500); }
.gallery-card__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); margin: 4px 0 var(--space-2); }
.gallery-card__text { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: var(--space-3); }

/* ---- Process step cards (vertical) ------------------------------------- */
.step-cards { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--space-4); }
.step-card {
  background: var(--surface-card); border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.step-card__media { aspect-ratio: 3 / 4; overflow: hidden; position: relative; }
.step-card__media img { width: 100%; height: 100%; object-fit: cover; }
.step-card__num {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-number); font-size: 0.78rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.step-card__body { padding: var(--space-6) var(--space-4) var(--space-5); text-align: center; }
.step-card__title { font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; color: var(--heading); margin-bottom: 6px; }
.step-card__text { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin-bottom: var(--space-3); }

/* ---- Feature row (why different) --------------------------------------- */
.feature-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
.feature-item { text-align: left; }
.feature-item__icon { color: var(--gold-500); margin-bottom: var(--space-3); }
.feature-item__icon svg { width: 30px; height: 30px; }
.feature-item__title { font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; color: var(--heading); margin-bottom: 4px; }
.feature-item__text { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1100px) {
  .step-cards { grid-template-columns: repeat(4, 1fr); }
  .timeline--7, .timeline--6 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .timeline--7::before, .timeline--6::before { display: none; }
}
@media (max-width: 960px) {
  .project-list { grid-template-columns: 1fr 1fr; }
  .ba-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
  .step-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .project-list { grid-template-columns: 1fr; }
  .ba-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .step-cards { grid-template-columns: 1fr; }
  .timeline--7, .timeline--6 { grid-template-columns: 1fr; }
}


/* ===== 20-detail.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   20-detail.css  (Aircraft Types/Detail, Materials/Detail)
   ========================================================================== */

/* ---- Aircraft category cards (dark, exterior photo + wordmark) --------- */
.aircraft-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.ac-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: var(--navy-900); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
}
.ac-card__media { position: absolute; inset: 0; }
.ac-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform var(--transition-slow); }
.ac-card:hover .ac-card__media img { transform: scale(1.06); }
.ac-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,17,30,0.92) 8%, rgba(10,17,30,0.15) 60%, rgba(10,17,30,0.35) 100%); }
.ac-card__brand { position: absolute; top: var(--space-5); left: var(--space-5); z-index: 2; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.08em; color: var(--white); text-transform: uppercase; }
.ac-card__body { position: relative; z-index: 2; padding: var(--space-5); }
.ac-card__label { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 6px; }
.ac-card__models { font-size: 0.85rem; color: rgba(255,255,255,0.78); line-height: 1.5; margin-bottom: var(--space-4); }
.ac-card__body .link-arrow { color: var(--gold-300); }
.ac-card__body .link-arrow:hover { color: var(--white); }

/* ---- Hero spec bar (chips over hero) ----------------------------------- */
.spec-bar {
  display: flex; flex-wrap: wrap; gap: var(--space-6);
  padding: var(--space-5) var(--space-6); border-radius: var(--radius-md);
  background: var(--cloud-glass-bg-dark);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(212,175,55,0.25);
}
.spec-bar__item { display: flex; flex-direction: column; gap: 2px; }
.spec-bar__label { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-300); }
.spec-bar__value { font-family: var(--font-number); font-size: 1rem; color: var(--white); }

/* ---- Spec list card ---------------------------------------------------- */
.spec-card { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-7); }
.spec-card h3 { color: var(--white); font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: var(--space-5); }
.spec-row { display: flex; align-items: center; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid rgba(255,255,255,0.08); }
.spec-row:last-child { border-bottom: 0; }
.spec-row__icon { color: var(--gold-300); flex-shrink: 0; }
.spec-row__icon svg { width: 18px; height: 18px; }
.spec-row__label { font-size: 0.78rem; color: rgba(248,250,252,0.6); flex: 1; }
.spec-row__value { font-weight: 600; font-size: 0.9rem; }

/* ---- Capability icon grid ---------------------------------------------- */
.capabilities { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--space-4); }
.capability { text-align: center; }
.capability__icon { width: 52px; height: 52px; margin: 0 auto var(--space-3); border-radius: 50%; background: var(--surface-sky); color: var(--gold-500); display: flex; align-items: center; justify-content: center; }
.capability__icon svg { width: 24px; height: 24px; }
.capability__title { font-size: 0.8rem; font-weight: 600; color: var(--heading); line-height: 1.3; }

/* ---- Dark service cards (aircraft "our services for X") ----------------- */
.svc-dark { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.svc-dark-card { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 200px; display: flex; align-items: flex-end; }
.svc-dark-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-dark-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,17,30,0.94), rgba(10,17,30,0.2)); }
.svc-dark-card__body { position: relative; z-index: 2; padding: var(--space-5); color: var(--white); }
.svc-dark-card__title { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.svc-dark-card__text { font-size: 0.76rem; color: rgba(255,255,255,0.72); line-height: 1.5; }

/* ---- Mini gallery thumbs ----------------------------------------------- */
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.thumbs--5 { grid-template-columns: repeat(5, 1fr); }
.thumb { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.thumb:hover img { transform: scale(1.08); }

/* ---- Material swatch chips (popular materials) ------------------------- */
.mat-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.mat-swatch { text-align: center; }
.mat-swatch__img { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 6px; }
.mat-swatch__img img { width: 100%; height: 100%; object-fit: cover; }
.mat-swatch__label { font-size: 0.72rem; color: var(--muted); }

/* ---- Materials index cards --------------------------------------------- */
.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.material-index-card {
  background: var(--surface-card); border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.material-index-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.material-index-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.material-index-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.material-index-card:hover .material-index-card__media img { transform: scale(1.06); }
.material-index-card__body { padding: var(--space-6); }
.material-index-card__title { font-family: var(--font-display); font-size: 1.4rem; color: var(--heading); margin-bottom: var(--space-2); }
.material-index-card__text { font-size: 0.86rem; color: var(--muted); line-height: 1.6; margin-bottom: var(--space-3); }

/* ---- Material detail: overview image + stat strip ---------------------- */
.mat-overview { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.mat-overview > img { width: 100%; display: block; }
.mat-overview__stats {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(to top, rgba(10,17,30,0.9), transparent);
}
.mat-overview__num { font-family: var(--font-number); font-size: 1.3rem; font-weight: 600; color: var(--gold-300); }
.mat-overview__label { font-size: 0.68rem; color: rgba(255,255,255,0.75); }

/* Applications grid */
.applications { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.application__media { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-3); }
.application__media img { width: 100%; height: 100%; object-fit: cover; }
.application__title { font-weight: 700; font-size: 0.9rem; color: var(--heading); margin-bottom: 3px; }
.application__text { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* Colour options */
.color-opts { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.color-opt { text-align: center; width: 60px; }
.color-opt__dot { display: block; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); margin: 0 auto 6px; box-shadow: var(--shadow-sm); }
.color-opt__name { font-size: 0.68rem; color: rgba(255,255,255,0.8); }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1100px) {
  .aircraft-cats { grid-template-columns: repeat(2, 1fr); }
  .capabilities { grid-template-columns: repeat(4, 1fr); }
  .svc-dark { grid-template-columns: repeat(3, 1fr); }
  .applications { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .materials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .aircraft-cats { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr 1fr; }
  .svc-dark { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .applications { grid-template-columns: 1fr; }
  .thumbs, .thumbs--5 { grid-template-columns: 1fr 1fr; }
  .mat-overview__stats { grid-template-columns: 1fr 1fr; }
  .spec-bar { gap: var(--space-4); }
}


/* ===== 21-content.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   21-content.css  (Industries, Careers, Insights, Legal, Newsletter)
   ========================================================================== */

/* ---- Industry cards ---------------------------------------------------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.industry-card {
  background: var(--surface-card); border: 1px solid var(--cloud-300);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.industry-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.industry-card:hover .industry-card__media img { transform: scale(1.05); }
.industry-card__icon {
  position: absolute; left: var(--space-5); bottom: -22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(212,175,55,0.4);
}
.industry-card__icon svg { width: 20px; height: 20px; }
.industry-card__body { padding: var(--space-8) var(--space-6) var(--space-6); }
.industry-card__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); margin-bottom: var(--space-2); }
.industry-card__text { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: var(--space-3); }

/* ---- Careers: values row + positions table ----------------------------- */
.values-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
.value { text-align: center; }
.value__icon { width: 54px; height: 54px; margin: 0 auto var(--space-3); border-radius: 50%; border: 1px solid var(--gold-300); color: var(--gold-500); display: flex; align-items: center; justify-content: center; }
.value__icon svg { width: 24px; height: 24px; }
.value__title { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--heading); margin-bottom: 4px; }
.value__text { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.positions { display: flex; flex-direction: column; }
.position {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; align-items: center; gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border: 1px solid rgba(255,255,255,0.08); border-bottom: 0;
}
.position:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.position__role { display: flex; align-items: center; gap: var(--space-3); font-weight: 700; color: var(--white); }
.position__role svg { width: 18px; height: 18px; color: var(--gold-300); }
.position__meta { font-size: 0.82rem; color: rgba(248,250,252,0.6); display: flex; align-items: center; gap: var(--space-2); }
.position__meta svg { width: 15px; height: 15px; color: var(--gold-300); }
.position .link-arrow { color: var(--gold-300); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-8); }
.benefit { display: flex; align-items: center; gap: var(--space-3); font-size: 0.88rem; color: var(--body); }
.benefit svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; }

/* ---- Insights: featured + article cards + newsletter ------------------- */
.insights-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-8); align-items: start; }
.feature-article__media { aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-5); }
.feature-article__media img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; gap: var(--space-4); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: var(--space-3); }
.article-meta .cat { color: var(--gold-500); font-weight: 600; }
.feature-article__title { font-family: var(--font-display); font-size: 1.9rem; color: var(--heading); margin-bottom: var(--space-3); line-height: 1.15; }

.article-list { display: flex; flex-direction: column; gap: var(--space-5); }
.article-row { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-4); align-items: center; }
.article-row__media { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.article-row__media img { width: 100%; height: 100%; object-fit: cover; }
.article-row__title { font-family: var(--font-display); font-size: 1.05rem; color: var(--heading); line-height: 1.25; }

.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.article-card { background: var(--surface-card); border: 1px solid var(--cloud-300); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.article-card:hover .article-card__media img { transform: scale(1.06); }
.article-card__body { padding: var(--space-5); }
.article-card__title { font-family: var(--font-display); font-size: 1.15rem; color: var(--heading); line-height: 1.25; margin-bottom: var(--space-2); }

/* Newsletter band */
.newsletter { position: relative; overflow: hidden; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.newsletter__form { display: flex; gap: var(--space-3); align-items: stretch; flex-wrap: wrap; }
.newsletter__form .field { margin-bottom: 0; }
.newsletter__form input { min-width: 260px; }
.newsletter__note { font-size: 0.74rem; color: rgba(248,250,252,0.5); margin-top: var(--space-2); }

/* ---- Article + legal prose --------------------------------------------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 { font-size: 1.6rem; margin-top: var(--space-10); }
.prose h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; margin-top: var(--space-8); }
.prose p { color: var(--body); line-height: 1.85; }
.prose ul { padding-left: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.prose li { color: var(--body); line-height: 1.7; list-style: disc; }
.prose blockquote { border-left: 3px solid var(--gold-400); padding-left: var(--space-5); font-family: var(--font-display); font-size: 1.3rem; color: var(--heading); }
.legal-updated { font-size: 0.82rem; color: var(--muted); }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1100px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .values-row { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
}
@media (max-width: 960px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .insights-featured { grid-template-columns: 1fr; }
  .position { grid-template-columns: 1fr; gap: var(--space-2); text-align: left; }
  .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .industry-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr 1fr; }
  .newsletter__form input { min-width: 0; width: 100%; }
}

/* ---- Leadership / CEO page --------------------------------------------- */
.leader { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--space-12); align-items: start; }
.leader__portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.leader__portrait img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.leader__portrait::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(212,175,55,0.45); border-radius: inherit; pointer-events: none; }
.leader__name { font-family: var(--font-display); font-size: 2.1rem; color: var(--heading); line-height: 1.1; }
.leader__role { color: var(--gold-600); font-weight: 600; letter-spacing: 0.06em; margin: 6px 0 var(--space-5); }
.leader__meta { display: flex; gap: var(--space-8); flex-wrap: wrap; margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--cloud-200); }
.leader__meta .stat__num { color: var(--heading); }
.leader__signature { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; color: var(--gold-600); margin-top: var(--space-6); }
.leader__note { display: inline-block; margin-top: var(--space-4); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); background: var(--surface-sky); border: 1px dashed var(--gold-300); border-radius: var(--radius-pill); padding: 6px 14px; }
@media (max-width: 900px) { .leader { grid-template-columns: 1fr; } }


/* ===== 13-responsive.css ===== */
/* ==========================================================================
   HDS - HAERI HAUS DESIGN SYSTEM
   13-responsive.css  (Desktop -> Laptop -> Tablet -> Mobile)
   Loaded last so it can override component defaults.
   ========================================================================== */

/* ---- Laptop / small desktop (<= 1200px) -------------------------------- */
@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: var(--space-10); }
}

/* ---- Tablet (<= 960px) ------------------------------------------------- */
@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }

  .grid-5 { grid-template-columns: repeat(3, 1fr); }

  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 140px; padding-bottom: 64px; }
  .hero__panel { justify-self: start; margin-top: var(--space-4); }
  .hero__scroll { display: none; }
  .hero__bg::after {
    background: linear-gradient(160deg, rgba(240,247,255,0.92) 0%, rgba(240,247,255,0.5) 55%, rgba(10,17,30,0.35) 100%);
  }

  .split { grid-template-columns: 1fr; gap: var(--space-10); }
  .process__layout { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__layout { grid-template-columns: 1fr; }
  .testimonials__track { grid-template-columns: 1fr 1fr; }
  .testimonials__nav { flex-direction: row; }
  .trustbar__logos { justify-content: center; gap: var(--space-6); }
}

/* ---- Mobile (<= 640px) ------------------------------------------------- */
@media (max-width: 640px) {
  .container, .container--wide, .container--narrow { width: min(100% - 32px, var(--container-lg)); }

  .section { padding-block: var(--space-16); }
  .section-head { margin-bottom: var(--space-8); }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .services__grid { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .projects__head { flex-direction: column; align-items: flex-start; }
  .testimonials__track { grid-template-columns: 1fr; }
  .about__chips { position: static; margin-top: var(--space-4); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
  .consultation__wing { display: none; }
  .form__row { grid-template-columns: 1fr; }
}

/* ---- Small mobile (<= 400px) ------------------------------------------- */
@media (max-width: 400px) {
  .services__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
