/* ==========================================================================
   Mohammed Salam / محمد سلام
   Independent Web Designer & Developer / Personal Portfolio & Studio
   Direction: Warm Editorial Minimalism × Digital Craftsmanship × Human-Centered Design
   ========================================================================== */

/* 1. Self-Hosted Webfonts (IBM Plex Sans Arabic + Manrope) */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../assets/fonts/ibm-plex-sans-arabic-arabic-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../assets/fonts/ibm-plex-sans-arabic-arabic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../assets/fonts/ibm-plex-sans-arabic-arabic-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../assets/fonts/ibm-plex-sans-arabic-arabic-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../assets/fonts/ibm-plex-sans-arabic-arabic-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Design System Tokens */
:root {
  /* Core Brand Palette */
  --bg-ivory: #F7F4EE;
  --bg-beige: #E7DFD3;
  --bg-stone: #EFEAE0;
  --bg-matting: #EAE3D7;
  --bg-white: #FFFFFF;
  --bg-charcoal: #252923;
  --bg-charcoal-elevated: #2E332C;
  --bg-charcoal-deep: #1E211C;

  /* Ink & Typography */
  --text-charcoal: #252923;
  --text-secondary: #4E534B;
  --text-muted: #52574E;
  --text-on-dark: #F7F4EE;
  --text-on-dark-muted: #B8B2A6;

  /* Accents & Calibrated Contrast Variants */
  --accent-sandstone: #C49A73;
  --accent-sandstone-hover: #D2AA84;
  --accent-sandstone-ink: #845830;
  --accent-sandstone-soft: rgba(196, 154, 115, 0.16);
  --accent-sage: #8B9B86;
  --accent-sage-ink: #4A5A46;
  --accent-sage-soft: rgba(139, 155, 134, 0.18);

  /* Architectural Hairlines & Borders */
  --border-hairline: rgba(37, 41, 35, 0.12);
  --border-strong: rgba(37, 41, 35, 0.24);
  --border-on-dark: rgba(247, 244, 238, 0.14);
  --border-on-dark-strong: rgba(247, 244, 238, 0.28);

  /* Typography Families */
  --font-arabic: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-latin: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid Type Scale (Minimum 13px / 0.8125rem for high-DPI legibility) */
  --fs-hero: clamp(2.35rem, 4.1vw + 1rem, 4.35rem);
  --fs-h2: clamp(1.85rem, 2.7vw + 0.85rem, 3.1rem);
  --fs-h3: clamp(1.3rem, 1.35vw + 0.85rem, 1.85rem);
  --fs-lead: clamp(1.08rem, 0.55vw + 0.94rem, 1.3rem);
  --fs-body: clamp(1rem, 0.25vw + 0.94rem, 1.1rem);
  --fs-meta: 0.875rem;
  --fs-micro: 0.8125rem;
  --fs-numeral-xl: clamp(2.4rem, 3.6vw + 1rem, 4.2rem);

  /* Layout & Spacing */
  --container-max: 1380px;
  --container-pad: clamp(1.25rem, 4vw, 3.5rem);
  --section-py: clamp(5rem, 9vw, 8.5rem);
  --grid-gap: clamp(1.25rem, 2.2vw, 2.25rem);

  /* Radii & Shadows */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-editorial: 0 24px 48px -18px rgba(37, 41, 35, 0.10), 0 4px 12px -2px rgba(37, 41, 35, 0.05);

  /* Motion Tokens (Apple & Editorial calibrated) */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 380ms;
  --dur-slow: 850ms;
  --apple-travel: 38px;
}

/* 3. Reset & Browser Surface Craft */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-ivory);
  color: var(--text-charcoal);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-sandstone) var(--bg-ivory);
  -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-ivory);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-sandstone);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-sandstone-ink);
}

::selection {
  background-color: rgba(196, 154, 115, 0.28);
  color: var(--text-charcoal);
}

section[id],
footer[id] {
  scroll-margin-top: 6.5rem;
}

body {
  font-family: var(--font-arabic);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: 0;
  background-color: var(--bg-ivory);
  color: var(--text-charcoal);
  overflow-x: hidden;
  caret-color: var(--accent-sandstone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Subtle paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: radial-gradient(rgba(37, 41, 35, 0.75) 0.65px, transparent 0.65px);
  background-size: 12px 12px;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.26em;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-editorial);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-sandstone-ink);
  outline-offset: 4px;
}

.dark-surface :focus-visible {
  outline-color: var(--accent-sandstone);
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  right: var(--container-pad);
  z-index: 2000;
  background: var(--text-charcoal);
  color: var(--bg-ivory);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  transition: top var(--dur-fast) var(--ease-out-expo);
}
.skip-link:focus {
  top: 1rem;
}

/* Language & Numeric Helpers */
.en,
[lang="en"] {
  font-family: var(--font-latin);
  direction: ltr;
  display: inline-block;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* Layout Primitives */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1rem var(--container-pad);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

/* ==========================================================================
   4. Sticky Editorial Navigation Header
   ========================================================================== */
.meta-inline-sep {
  display: inline-block;
  width: 1px;
  height: 0.78em;
  background-color: var(--border-strong);
  margin-inline: 0.45rem;
  vertical-align: -0.08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background-color: var(--bg-ivory);
  border-bottom: 1px solid var(--border-hairline);
  transition: padding var(--dur-med) var(--ease-out-expo),
              background-color var(--dur-med) var(--ease-out-expo),
              border-color var(--dur-med) var(--ease-out-expo);
}

.site-header.is-scrolled {
  background-color: var(--bg-ivory);
  border-bottom-color: var(--border-strong);
}

.scroll-progress-bar {
  position: absolute;
  bottom: -1px;
  right: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-sandstone), var(--accent-sandstone-ink));
  z-index: 130;
  pointer-events: none;
  transition: width 40ms linear;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.1rem;
  gap: 1.25rem;
}

.brand-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-monogram {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-beige);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--text-charcoal);
  border-radius: var(--radius-xs);
  transition: background-color var(--dur-fast) var(--ease-out-expo),
              color var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo);
}

.brand-identity:hover .brand-monogram {
  background-color: var(--text-charcoal);
  color: var(--bg-ivory);
  border-color: var(--text-charcoal);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-ar {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-charcoal);
}

.brand-en {
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 2vw, 2.15rem);
}

.nav-link {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-block: 0.35rem;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-editorial);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--accent-sandstone-ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-med) var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-charcoal);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: right center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-inline-end: 1px solid var(--border-hairline);
  white-space: nowrap;
}

.header-mobile-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-charcoal);
  background-color: var(--bg-beige);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo),
              color var(--dur-fast) var(--ease-out-expo);
}

.header-mobile-switch:hover {
  background-color: var(--bg-ivory);
  border-color: var(--text-charcoal);
}

.header-mobile-switch svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

/* Tooltip below button (8px offset, small arrow, high z-index, hover/focus only) */
.header-mobile-switch .custom-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 50%;
  transform: translateX(50%) translateY(-4px);
  background-color: var(--text-charcoal);
  color: var(--bg-ivory);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 150;
  box-shadow: 0 4px 14px rgba(37, 41, 35, 0.18);
  transition: opacity var(--dur-fast) var(--ease-out-expo),
              transform var(--dur-fast) var(--ease-out-expo),
              visibility var(--dur-fast);
}

.header-mobile-switch .custom-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 50%;
  transform: translateX(50%);
  border-width: 0 5px 5px 5px;
  border-style: solid;
  border-color: transparent transparent var(--text-charcoal) transparent;
}

.header-mobile-switch:hover .custom-tooltip,
.header-mobile-switch:focus-visible .custom-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 1.05rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg-ivory);
  background-color: var(--text-charcoal);
  border: 1px solid var(--text-charcoal);
  border-radius: var(--radius-xs);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(37, 41, 35, 0.12);
  transition: background-color var(--dur-fast) var(--ease-out-expo),
              transform var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast) var(--ease-out-expo);
}

.header-cta:hover {
  background-color: #181B16;
  color: var(--bg-ivory);
  box-shadow: 0 4px 12px rgba(37, 41, 35, 0.2);
}

.header-cta svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform var(--dur-fast) var(--ease-out-expo);
}

.header-cta:hover svg {
  transform: translate(-3px, -2px);
}

/* Mobile Menu Trigger & Drawer */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background-color: var(--bg-beige);
  color: var(--text-charcoal);
}

.mobile-nav-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
}

.mobile-nav-drawer {
  display: none;
  border-top: 1px solid var(--border-hairline);
  background-color: var(--bg-ivory);
  padding: 1.25rem var(--container-pad) 1.75rem;
}

.mobile-nav-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-hairline);
}

/* ==========================================================================
   5. Hero Section - Human First (100% Above-the-Fold Editorial Split)
   ========================================================================== */
/* ==========================================================================
   5. Hero Section - Human First (Editorial 2-Column Asymmetric Grid)
   ========================================================================== */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-animate {
  animation: heroFadeInUp 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-anim-1 { animation-delay: 0ms; }
.hero-anim-2 { animation-delay: 20ms; }
.hero-anim-3 { animation-delay: 40ms; }
.hero-anim-4 { animation-delay: 60ms; }
.hero-anim-5 { animation-delay: 90ms; }
.hero-anim-6 { animation-delay: 120ms; }
.hero-anim-7 { animation-delay: 80ms; }
.hero-anim-8 { animation-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-animate {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 4.2rem);
  min-height: calc(100svh - 4.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-hairline);
}

.hero-container {
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 1.25rem;
}

.hero-top-ledger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.15rem 0.25rem 0.55rem;
  border-bottom: 1px solid var(--border-hairline);
  font-size: var(--fs-micro);
  color: var(--text-muted);
  width: 100%;
}

.ledger-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.ledger-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-sandstone);
  display: inline-block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 38fr);
  gap: clamp(48px, 4.5vw, 64px);
  align-items: center;
  width: 100%;
  margin-block: auto;
}

/* Right Side (Arabic RTL Content ≈ 58%) */
.hero-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.hero-status-row {
  margin-bottom: 0.75rem;
}

.availability-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--accent-sage-soft);
  border: 1px solid rgba(139, 155, 134, 0.45);
  border-radius: var(--radius-xs);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-sage-ink);
  box-shadow: 0 1px 3px rgba(139, 155, 134, 0.12);
}

.availability-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-sage);
  display: inline-block;
}

.availability-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-sage);
  opacity: 0.75;
  animation: sage-pulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes sage-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  65% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hero-intro-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.hero-intro-label::before {
  content: "";
  width: 1.25rem;
  height: 1.5px;
  background-color: var(--accent-sandstone);
  display: inline-block;
}

.hero-headline {
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--text-charcoal);
  margin-bottom: 1rem;
}

.hero-title-main {
  display: block;
  color: var(--text-charcoal);
}

.hero-highlight {
  display: inline-block;
  position: relative;
  color: var(--accent-sandstone);
  z-index: 1;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0.08em;
  height: clamp(8px, 1vw, 10px);
  background-color: rgba(196, 154, 115, 0.3);
  z-index: -1;
  border-radius: 2px;
}

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-cta-group .btn {
  height: 54px;
  min-height: 54px;
  padding-inline: 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  transition: transform var(--dur-fast) var(--ease-out-expo),
              background-color var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo),
              color var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast) var(--ease-out-expo);
}

.hero-cta-group .btn:hover {
  transform: translateY(-2px);
}

.hero-cta-group .btn svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform var(--dur-fast) var(--ease-out-expo);
}

.hero-cta-group .btn:hover svg {
  transform: translateX(-4px);
}

.hero-cta-group .btn:focus-visible {
  outline: 2px solid var(--accent-sandstone-ink);
  outline-offset: 4px;
}

/* Primary & Secondary Editorial Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.15rem;
  padding: 0.78rem 1.65rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out-expo),
              background-color var(--dur-fast) var(--ease-out-expo),
              color var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast) var(--ease-out-expo);
  will-change: transform;
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform var(--dur-fast) var(--ease-out-expo);
}

.btn-primary {
  background-color: var(--text-charcoal);
  color: var(--bg-ivory);
  border: 1px solid var(--text-charcoal);
}

.btn-primary:hover {
  background-color: #181B16;
  box-shadow: 0 12px 24px -10px rgba(37, 41, 35, 0.35);
}

.btn-primary:hover svg {
  transform: translate(-4px, 0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-charcoal);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--bg-beige);
  border-color: var(--text-charcoal);
}

.btn-secondary:hover svg {
  transform: translate(-3px, -3px);
}

/* Left Side (Architectural Portrait Card ≈ 38%) */
.hero-portrait-col {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.portrait-architectural-stage {
  position: relative;
  width: 100%;
  max-width: 410px;
  margin-inline-start: auto;
  padding: 0.75rem;
  background-color: var(--bg-beige);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px -12px rgba(37, 41, 35, 0.12);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform var(--dur-med) var(--ease-out-expo),
              box-shadow var(--dur-med) var(--ease-out-expo),
              border-color var(--dur-med) var(--ease-out-expo);
  will-change: transform;
}

/* Corner handles completely removed per brief */

.portrait-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.15rem 0.25rem 0.45rem;
  margin-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.portrait-meta-top .en {
  letter-spacing: 0.08em;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 41, 35, 0.12);
  background-color: var(--bg-matting);
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xs);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transform: scale(1.005);
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.portrait-architectural-stage:hover .portrait-image {
  transform: scale(1.025);
}

/* Full-Width 3-Column Services Row */
.hero-services-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  border-top: 1px solid var(--border-hairline);
  padding-top: 1rem;
  margin-top: 1rem;
}

.service-pillar-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-inline: 1.5rem;
  text-align: right;
}

.service-pillar-col:first-child {
  padding-inline-start: 0;
}

.service-pillar-col:last-child {
  padding-inline-end: 0;
}

.service-pillar-col:not(:last-child) {
  border-inline-end: 1px solid var(--border-hairline);
}

.service-pillar-col .pillar-code {
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-sandstone-ink);
  letter-spacing: 0.06em;
}

.service-pillar-col .pillar-desc {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-charcoal);
  line-height: 1.6;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 41, 35, 0.14);
  background-color: var(--bg-matting);
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transform: scale(1.005);
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.portrait-architectural-stage:hover .portrait-image {
  transform: scale(1.025);
}

.portrait-caption-bar {
  display: block;
  padding: 0.55rem 0.2rem 0.15rem;
  margin-top: 0.45rem;
  border-top: 1px solid var(--border-hairline);
}

.portrait-caption-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.portrait-caption-top-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.portrait-name-wrap {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.portrait-name-main {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-charcoal);
}

.portrait-name-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.portrait-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  background-color: var(--bg-ivory);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  font-family: var(--font-latin);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-sandstone-ink);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.portrait-caption-sub-line {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   6. Section Architectural Header Pattern
   ========================================================================== */
.section-block {
  padding: 5.5rem 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.section-header-bar {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: end;
  padding: 1rem 0.75rem 2.5rem;
  margin-bottom: clamp(2.5rem, 4.5vw, 4.25rem);
  border-bottom: 1px solid var(--border-hairline);
}

.section-title-group {
  grid-column: span 8;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.section-index-num {
  font-family: var(--font-latin);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 700;
  color: var(--accent-sandstone-ink);
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-bottom: 2px solid var(--accent-sandstone);
}

.section-heading {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-charcoal);
}

.section-subtitle-col {
  grid-column: span 4;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.75;
}

/* ==========================================================================
   7. Selected Work - Asymmetric Editorial Portfolio Gallery
   ========================================================================== */
.work-notice-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
  background-color: var(--bg-beige);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.work-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--accent-sandstone-ink);
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.5rem, 4.5vw, 4.5rem) var(--grid-gap);
  align-items: start;
}

/* Asymmetric column spans for the 4 projects */
.project-card--wide-right {
  grid-column: 1 / span 7;
}

.project-card--narrow-left {
  grid-column: 8 / span 5;
  margin-top: clamp(0rem, 5vw, 4.5rem);
}

.project-card--narrow-right {
  grid-column: 1 / span 5;
}

.project-card--wide-left {
  grid-column: 6 / span 7;
  margin-top: clamp(0rem, 4vw, 3.5rem);
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-figure {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-beige);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-editorial);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform var(--dur-med) var(--ease-out-expo),
              box-shadow var(--dur-med) var(--ease-out-expo),
              border-color var(--dur-med) var(--ease-out-expo);
  will-change: transform;
}

/* Modern Kinetic Motion & Physical Tilt (Linear / Magic UI inspired) */
[data-tilt] {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  position: relative;
}

.card-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(196, 154, 115, 0.16), transparent 75%);
  transition: opacity 0.3s ease;
  z-index: 4;
}

[data-tilt]:hover .card-spotlight {
  opacity: 1;
}

.project-figure-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: var(--bg-ivory);
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.project-sample-pill {
  padding: 0.25rem 0.65rem;
  background-color: var(--bg-beige);
  border: 1px solid var(--border-hairline);
  color: var(--accent-sandstone-ink);
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: var(--radius-xs);
}

.project-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 35 / 24;
  background-color: var(--bg-matting);
  display: block;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.project-card:hover .project-image {
  transform: scale(1.035);
}

.project-hover-Prompt {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  background-color: var(--bg-charcoal);
  color: var(--bg-ivory);
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  transform: translateY(8px);
  opacity: 0;
  transition: transform var(--dur-med) var(--ease-out-expo),
              opacity var(--dur-med) var(--ease-out-expo);
}

.project-card:hover .project-hover-Prompt,
.project-card:focus-within .project-hover-Prompt {
  transform: translateY(0);
  opacity: 1;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-category {
  font-weight: 600;
  color: var(--accent-sandstone-ink);
}

.project-header-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.project-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-charcoal);
}

.project-title-en {
  display: block;
  font-family: var(--font-latin);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.project-explore-btn {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-ivory);
  color: var(--text-charcoal);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-fast) var(--ease-out-expo),
              color var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo),
              transform var(--dur-fast) var(--ease-out-expo);
}

.project-explore-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform var(--dur-fast) var(--ease-out-expo);
}

.project-card:hover .project-explore-btn,
.project-explore-btn:hover {
  background-color: var(--text-charcoal);
  color: var(--bg-ivory);
  border-color: var(--text-charcoal);
}

.project-card:hover .project-explore-btn svg,
.project-explore-btn:hover svg {
  transform: translate(-3px, -3px);
}

.project-description {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.project-tags li {
  padding: 0.35rem 0.75rem;
  background-color: var(--bg-stone);
  border: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   8. Services Section - Architectural Horizontal Ledger (No Boxed Cards)
   ========================================================================== */
.services-section {
  background-color: var(--bg-ivory);
}

.services-ledger {
  border-top: 1px solid var(--border-strong);
  padding: 1rem 0.5rem;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
  padding: 2.25rem 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color var(--dur-med) var(--ease-out-expo),
              padding-inline-start var(--dur-med) var(--ease-out-expo);
}

.service-row:hover {
  background-color: var(--bg-beige);
  padding-inline-start: 1.85rem;
}

.service-num-col {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.service-index {
  font-family: var(--font-latin);
  font-size: var(--fs-numeral-xl);
  font-weight: 300;
  line-height: 1;
  color: var(--accent-sandstone-ink);
  transition: color var(--dur-fast) var(--ease-out-expo),
              transform var(--dur-fast) var(--ease-out-expo);
}

.service-row:hover .service-index {
  color: var(--text-charcoal);
}

.service-rule {
  width: 1.75rem;
  height: 1.5px;
  background-color: var(--accent-sandstone);
  display: inline-block;
}

.service-title-col {
  grid-column: span 4;
}

.service-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.32;
  color: var(--text-charcoal);
}

.service-title-en {
  display: block;
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.service-desc-col {
  grid-column: span 5;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
}

.service-icon-col {
  grid-column: span 1;
  display: flex;
  justify-content: flex-end;
}

.service-icon-box {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-ivory);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-charcoal);
  transition: background-color var(--dur-fast) var(--ease-out-expo),
              color var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo),
              transform var(--dur-fast) var(--ease-out-expo);
}

.service-icon-box svg {
  width: 1.3rem;
  height: 1.3rem;
}

.service-row:hover .service-icon-box {
  background-color: var(--text-charcoal);
  color: var(--bg-ivory);
  border-color: var(--text-charcoal);
  transform: translate(-3px, -3px);
}

/* ==========================================================================
   9. About Mohammed Section - Editorial Split Layout
   ========================================================================== */
.about-section {
  background-color: var(--bg-beige);
}

.about-grid {
  align-items: center;
}

.about-visual-col {
  grid-column: span 5;
}

.about-specimen-card {
  background-color: var(--bg-ivory);
  border: 1px solid var(--border-strong);
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-editorial);
}

.about-specimen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.about-portrait-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-matting);
  margin-bottom: 0.9rem;
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-specimen-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0.5rem 0.25rem 0.25rem;
  font-size: 0.85rem;
}

.specimen-detail span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.specimen-detail strong {
  color: var(--text-charcoal);
  font-weight: 600;
}

.about-narrative-col {
  grid-column: span 7;
  padding-inline-start: clamp(0rem, 3vw, 3rem);
}

.about-heading {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.24;
  color: var(--text-charcoal);
  margin-bottom: 1.65rem;
}

.about-description {
  font-size: var(--fs-lead);
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.5rem 0.5rem;
  margin-bottom: 2rem;
  border-block: 1px solid var(--border-hairline);
}

.principle-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 0.35rem;
}

.principle-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.about-skills-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-skills-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.skill-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
}

.skill-pill {
  padding: 0.5rem 1rem;
  background-color: var(--bg-ivory);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-family: var(--font-latin);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-charcoal);
  letter-spacing: 0.02em;
  transition: background-color var(--dur-fast) var(--ease-out-expo),
              color var(--dur-fast) var(--ease-out-expo);
}

.skill-pill:hover {
  background-color: var(--text-charcoal);
  color: var(--bg-ivory);
}

/* ==========================================================================
   10. Working Process Section - 5-Step Architectural Blueprint Timeline
   ========================================================================== */
.process-section {
  background-color: var(--bg-ivory);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--text-charcoal);
  border-bottom: 1px solid var(--border-hairline);
  list-style: none;
}

.process-step {
  position: relative;
  padding: 2rem 1.35rem 2.25rem;
  border-inline-end: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: background-color var(--dur-med) var(--ease-out-expo);
}

.process-step:last-child {
  border-inline-end: none;
}

.process-step::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 1.35rem;
  width: 8px;
  height: 8px;
  background-color: var(--accent-sandstone);
  border: 1px solid var(--text-charcoal);
}

.process-step:hover {
  background-color: var(--bg-beige);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.process-num {
  font-family: var(--font-latin);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-sandstone-ink);
  line-height: 1;
}

.process-phase-en {
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.process-step-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ==========================================================================
   10.5 FAQ & Trust Guarantees Section
   ========================================================================== */
.faq-section {
  background-color: var(--bg-ivory);
  border-top: 1px solid var(--border-hairline);
  position: relative;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.guarantee-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  transition: transform var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo);
}

.guarantee-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-sandstone);
  box-shadow: 0 10px 25px -8px rgba(37, 41, 35, 0.08);
}

.guarantee-badge {
  display: inline-block;
  font-family: var(--font-latin);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-sandstone-ink);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.guarantee-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 0.65rem;
}

.guarantee-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Accordion Component */
.faq-accordion {
  max-width: 920px;
  margin-inline: auto;
  border-top: 1px solid var(--border-hairline);
}

.faq-item {
  border-bottom: 1px solid var(--border-hairline);
}

.faq-question {
  width: 100%;
  text-align: start;
  padding: 1.5rem 0.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-charcoal);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out-expo);
}

.faq-question:hover {
  color: var(--accent-sandstone-ink);
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent-sandstone-ink);
  outline-offset: 4px;
}

.faq-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-fast) var(--ease-out-expo),
              background-color var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo);
}

.faq-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform var(--dur-fast) var(--ease-out-expo);
}

.faq-item.is-open .faq-icon {
  background-color: var(--text-charcoal);
  border-color: var(--text-charcoal);
  color: var(--bg-ivory);
}

.faq-item.is-open .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.25s ease;
  opacity: 0;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 0.5rem 1.75rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ==========================================================================
   11. Contact & Dark-Charcoal Footer Section (#252923 Climax)
   ========================================================================== */
.contact-footer-section {
  background-color: var(--bg-charcoal);
  color: var(--text-on-dark);
  padding: 5.5rem 1.5rem 3.5rem;
  position: relative;
}

.contact-grid {
  align-items: start;
  padding: 1rem 0.5rem 4.5rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.contact-pitch-col {
  grid-column: span 5;
  padding-inline-end: clamp(0rem, 2vw, 2rem);
}

.contact-availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  background-color: rgba(139, 155, 134, 0.16);
  border: 1px solid rgba(139, 155, 134, 0.36);
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 600;
  color: #C7D4C3;
  margin-bottom: 1.5rem;
}

.contact-headline {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-on-dark);
  margin-bottom: 1.25rem;
}

.contact-supporting {
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: var(--text-on-dark-muted);
  margin-bottom: 2.25rem;
}

.contact-direct-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.btn-whatsapp {
  background-color: var(--accent-sandstone);
  color: var(--bg-charcoal-deep);
  border: 1px solid var(--accent-sandstone);
  font-weight: 700;
  justify-content: space-between;
  padding-inline: 1.5rem;
}

.btn-whatsapp:hover {
  background-color: #D2AA84;
  border-color: #D2AA84;
  box-shadow: 0 12px 24px -10px rgba(37, 41, 35, 0.5);
}

.btn-dark-outline {
  background-color: rgba(247, 244, 238, 0.04);
  color: var(--text-on-dark);
  border: 1px solid var(--border-on-dark-strong);
  justify-content: space-between;
  padding-inline: 1.5rem;
}

.btn-dark-outline:hover {
  background-color: rgba(247, 244, 238, 0.1);
  border-color: var(--accent-sandstone);
}

.contact-direct-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  padding: 1.5rem 0.25rem 0.25rem;
  border-top: 1px solid var(--border-on-dark);
}

.direct-meta-item > span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.25rem;
}

.direct-meta-item a,
.direct-meta-item strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.direct-meta-item a:hover {
  color: var(--accent-sandstone);
}

/* Inquiry Form Column */
.contact-form-col {
  grid-column: span 7;
}

.inquiry-form-card {
  background-color: var(--bg-charcoal-elevated);
  border: 1px solid var(--border-on-dark-strong);
  border-radius: var(--radius-sm);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

.form-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.25rem 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.form-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.form-card-code {
  font-family: var(--font-latin);
  font-size: 0.8125rem;
  color: var(--accent-sandstone);
  letter-spacing: 0.05em;
}

.form-row-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-row-split .form-group {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-optional {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-on-dark-muted);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-charcoal-deep);
  border: 1px solid var(--border-on-dark-strong);
  border-radius: var(--radius-xs);
  color: var(--text-on-dark);
  font-size: 0.96rem;
  transition: border-color var(--dur-fast) var(--ease-out-expo),
              background-color var(--dur-fast) var(--ease-out-expo);
}

.form-control::placeholder {
  color: var(--text-on-dark-muted);
  opacity: 1;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-sandstone);
  background-color: var(--bg-charcoal-deep);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C49A73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: 1rem center;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  padding-inline-end: 2.5rem;
}

select.form-control option {
  background-color: var(--bg-charcoal);
  color: var(--text-on-dark);
}

textarea.form-control {
  min-height: 7.5rem;
  resize: vertical;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-submit-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.form-submit-btn {
  background-color: var(--accent-sandstone);
  color: var(--bg-charcoal-deep);
  font-weight: 700;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--accent-sandstone);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out-expo),
              transform var(--dur-fast) var(--ease-out-expo);
}

.form-email-btn {
  background-color: transparent;
  color: var(--text-on-dark);
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border-on-dark-strong);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out-expo),
              color var(--dur-fast) var(--ease-out-expo);
}

.form-email-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-sandstone);
  color: var(--accent-sandstone);
}

.form-trust-note {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

.form-trust-note svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--accent-sandstone);
  margin-top: 0.15rem;
}
}

.form-submit-btn:hover {
  background-color: #D2AA84;
}

.form-status-msg {
  font-size: 0.9rem;
  color: #C7D4C3;
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.form-status-msg.is-visible {
  display: inline-flex;
}

/* Footer Branding Colophon */
.footer-colophon {
  padding: 2.5rem 0.5rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-brand-names {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.footer-brand-sep {
  width: 1.25rem;
  height: 1px;
  background-color: var(--accent-sandstone);
  display: inline-block;
}

.footer-brand-role {
  font-family: var(--font-latin);
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.03em;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.footer-links-row a:hover {
  color: var(--accent-sandstone);
}

/* ==========================================================================
   12. Interactive Project Case-Study Preview Drawer (Modal)
   ========================================================================== */
.case-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background-color: rgba(37, 41, 35, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out-expo),
              visibility var(--dur-med);
}

.case-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-drawer-panel {
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-ivory);
  color: var(--text-charcoal);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-editorial);
  transform: translateY(18px) scale(0.98);
  transition: transform var(--dur-med) var(--ease-out-expo);
}

.case-drawer-backdrop.is-open .case-drawer-panel {
  transform: translateY(0) scale(1);
}

.case-drawer-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--bg-ivory);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.case-drawer-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-beige);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.case-drawer-close:hover {
  background-color: var(--text-charcoal);
  color: var(--bg-ivory);
}

.case-drawer-body {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.case-drawer-image {
  width: 100%;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  margin-bottom: 1.5rem;
}

.case-drawer-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  background-color: var(--bg-beige);
  border: 1px solid var(--border-hairline);
  margin-bottom: 1.5rem;
}

.case-drawer-meta-item span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.case-drawer-meta-item strong {
  font-size: 0.92rem;
  color: var(--text-charcoal);
}

/* ==========================================================================
   13. Apple-Grade Section & Content Scroll Reveal
   ========================================================================== */
/* 13.1 Whole Section Glide from Bottom */
[data-section-reveal] {
  opacity: 0;
  transform: translateY(68px);
  transition: opacity 950ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-section-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 13.2 Complementary Child Element Stagger */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cascading utilities for grid and ledger children */
[data-reveal-stagger] > [data-reveal]:nth-child(1),
[data-reveal-stagger] > *:nth-child(1)[data-reveal],
[data-reveal-stagger] > *:nth-child(1) [data-reveal] {
  transition-delay: 40ms;
}
[data-reveal-stagger] > [data-reveal]:nth-child(2),
[data-reveal-stagger] > *:nth-child(2)[data-reveal],
[data-reveal-stagger] > *:nth-child(2) [data-reveal] {
  transition-delay: 130ms;
}
[data-reveal-stagger] > [data-reveal]:nth-child(3),
[data-reveal-stagger] > *:nth-child(3)[data-reveal],
[data-reveal-stagger] > *:nth-child(3) [data-reveal] {
  transition-delay: 220ms;
}
[data-reveal-stagger] > [data-reveal]:nth-child(4),
[data-reveal-stagger] > *:nth-child(4)[data-reveal],
[data-reveal-stagger] > *:nth-child(4) [data-reveal] {
  transition-delay: 310ms;
}
[data-reveal-stagger] > [data-reveal]:nth-child(5),
[data-reveal-stagger] > *:nth-child(5)[data-reveal],
[data-reveal-stagger] > *:nth-child(5) [data-reveal] {
  transition-delay: 400ms;
}
[data-reveal-stagger] > [data-reveal]:nth-child(6),
[data-reveal-stagger] > *:nth-child(6)[data-reveal],
[data-reveal-stagger] > *:nth-child(6) [data-reveal] {
  transition-delay: 490ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-section-reveal],
  [data-reveal],
  [data-tilt] {
    opacity: 1 !important;
    transform: none !important;
  }
  .card-spotlight {
    display: none !important;
  }
  .availability-dot::after {
    animation: none !important;
  }
}

/* ==========================================================================
   14. Responsive Breakpoints - True Tablet Grid (681px–1024px) & Mobile (<=680px)
   ========================================================================== */
@media (max-width: 1024px) {
  .header-location {
    display: none;
  }

  .brand-en {
    display: none;
  }

  .primary-nav {
    gap: 0.9rem;
  }

  .nav-link {
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .header-mobile-switch {
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
  }

  .header-cta {
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0 0.85rem;
    font-size: 0.84rem;
  }

  /* Tablet Hero: Balanced 58/38 Asymmetric Split */
  .hero-grid {
    grid-template-columns: minmax(0, 58fr) minmax(0, 38fr);
    gap: 2rem;
  }

  .hero-headline {
    font-size: clamp(30px, 3.8vw, 44px);
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.15rem;
  }

  .hero-cta-group {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .hero-cta-group .btn {
    height: 48px;
    min-height: 48px;
    padding-inline: 1.25rem;
    font-size: 0.92rem;
  }

  .portrait-architectural-stage {
    max-width: 320px;
    padding: 0.6rem;
  }

  .hero-services-bar {
    padding-top: 0.75rem;
    margin-top: 0.75rem;
  }

  .service-pillar-col {
    padding-inline: 0.85rem;
  }

  .service-pillar-col .pillar-desc {
    font-size: 0.86rem;
  }

  /* Tablet Section Headers */
  .section-title-group {
    grid-column: span 7;
  }

  .section-subtitle-col {
    grid-column: span 5;
    font-size: 0.95rem;
  }

  /* Tablet Selected Work: Balanced 2-Column Editorial Spread */
  .project-card--wide-right,
  .project-card--narrow-left,
  .project-card--narrow-right,
  .project-card--wide-left {
    grid-column: span 6;
    margin-top: 0;
  }

  /* Tablet Services Ledger */
  .service-num-col {
    grid-column: span 2;
  }
  .service-title-col {
    grid-column: span 4;
  }
  .service-desc-col {
    grid-column: span 5;
  }
  .service-icon-col {
    grid-column: span 1;
  }

  /* Tablet About Section: Preserve 5/7 Split */
  .about-visual-col {
    grid-column: span 5;
  }

  .about-narrative-col {
    grid-column: span 7;
    padding-inline-start: 1.25rem;
  }

  .about-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  /* Tablet Process Timeline: 3-Column Architectural Grid */
  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-step {
    border-bottom: 1px solid var(--border-hairline);
  }

  /* Tablet Contact Section: Preserve 5/7 Editorial Split */
  .contact-pitch-col {
    grid-column: span 5;
    padding-inline-end: 1rem;
  }

  .contact-form-col {
    grid-column: span 7;
  }

  .form-row-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   Responsive Breakpoint: Under 900px Single Column Layout (Photo First)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-section {
    min-height: auto;
    padding-block: 1.25rem 2rem;
  }

  .hero-container {
    gap: 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Photo first per brief */
  .hero-portrait-col {
    order: 1;
    justify-content: center;
  }

  .portrait-architectural-stage {
    max-width: min(100%, 380px);
    margin-inline: auto;
  }

  .portrait-frame {
    max-height: 60vh;
  }

  /* Text second */
  .hero-content-col {
    order: 2;
    padding-inline-end: 0;
    text-align: right;
  }

  .hero-headline {
    font-size: clamp(32px, 6vw, 48px);
  }

  .hero-lead {
    max-width: 100%;
  }

  /* Services row as single column */
  .hero-services-bar {
    order: 3;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .service-pillar-col {
    padding-inline: 0;
    border-inline-end: none;
    border-bottom: 1px solid var(--border-hairline);
    padding-bottom: 0.75rem;
  }

  .service-pillar-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 680px) {
  .primary-nav,
  .header-location,
  .header-actions .header-cta {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .hero-section {
    min-height: auto;
    padding: 1rem 0.75rem 2rem;
  }

  .hero-top-ledger {
    font-size: 0.8125rem;
    padding-bottom: 0.65rem;
    margin-bottom: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .section-title-group,
  .section-subtitle-col {
    grid-column: span 12;
  }

  .project-card--wide-right,
  .project-card--narrow-left,
  .project-card--narrow-right,
  .project-card--wide-left {
    grid-column: span 12;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.75rem 0.75rem;
  }

  .service-num-col,
  .service-title-col,
  .service-desc-col,
  .service-icon-col {
    grid-column: 1 / -1;
  }

  .service-icon-col {
    justify-content: flex-start;
    margin-top: 0.25rem;
  }

  .about-visual-col,
  .about-narrative-col {
    grid-column: span 12;
  }

  .about-narrative-col {
    padding-inline-start: 0;
    margin-top: 1.5rem;
  }

  .about-principles-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-inline-end: none;
    padding-inline: 0.75rem;
  }

  .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .contact-pitch-col,
  .contact-form-col {
    grid-column: span 12;
  }

  .contact-pitch-col {
    margin-bottom: 2rem;
    padding-inline-end: 0;
  }

  .form-row-split {
    grid-template-columns: 1fr;
  }

  .contact-direct-meta {
    grid-template-columns: 1fr;
  }

  .case-drawer-meta-grid {
    grid-template-columns: 1fr;
  }
}
