/* ============================================
   PORSH FZE LLC — Editorial Luxury
   Design System
   ============================================ */

:root {
  /* Color Palette */
  --ink: #0A0A0A;
  --ink-soft: #141414;
  --ink-2: #1C1C1C;
  --cream: #F2EBD7;
  --cream-warm: #EFE4C9;
  --paper: #FAF6EB;
  --gold-light: #F4DB92;
  --gold: #D4AF37;
  --gold-dark: #8B6914;
  --gold-deep: #5A4208;
  --white: #FFFFFF;
  --white-soft: #EDEDED;
  --border-soft: rgba(212, 175, 55, 0.15);
  --border-mid: rgba(212, 175, 55, 0.3);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'EB Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'Courier New', monospace;

  /* Spacing Scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  /* Containers */
  --max-wide: 1400px;
  --max-reg: 1200px;
  --max-narrow: 880px;
  --max-prose: 680px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--white-soft);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Warm grain texture overlay on dark sections */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  z-index: 1;
  will-change: transform;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display-xl,
.display-lg,
.display-md,
.display-sm {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.display-xl {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.display-lg {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.display-md {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.display-sm {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.display-italic {
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.eyebrow::before {
  content: '— ';
  color: var(--gold);
  margin-right: var(--s-1);
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--white-soft);
  font-weight: 300;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #C4C2BD;
  max-width: 68ch;
}

p + p {
  margin-top: var(--s-5);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-reg);
  margin: 0 auto;
  padding: 0 var(--s-6);
  position: relative;
  z-index: 2;
}

.container-wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--s-6);
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 var(--s-6);
  position: relative;
  z-index: 2;
}

.gold-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 var(--s-3);
}

.gold-text {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--s-5) 0;
  transition: padding 0.3s var(--ease-out), background 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out);
}

.nav.scrolled {
  padding: var(--s-3) 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--white);
  position: relative;
  z-index: 101;
}

.nav-logo img {
  width: 36px;
  height: 36px;
}

.nav-logo span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.28em;
}

.nav-links {
  display: flex;
  gap: var(--s-7);
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-soft);
  position: relative;
  padding: var(--s-2) 0;
  transition: color 0.25s var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: var(--s-3) var(--s-5);
  border-radius: 0;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  background: var(--gold-light);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 101;
}

.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), top 0.3s var(--ease-out);
}

.nav-toggle span:nth-child(1) {
  top: 10px;
}

.nav-toggle span:nth-child(2) {
  top: 15px;
}

.nav-toggle span:nth-child(3) {
  top: 20px;
}

.nav-toggle.open span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: var(--s-4) var(--s-6);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--white-soft);
  border: 1px solid var(--border-mid);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn .arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   HERO / SECTIONS
   ============================================ */
.section {
  padding: var(--s-10) 0;
  position: relative;
  z-index: 2;
}

.section-lg {
  padding: var(--s-11) 0;
}

.section-sm {
  padding: var(--s-8) 0;
}

.section-light {
  background: var(--cream);
  color: var(--ink);
}

.section-light p {
  color: #3A3A3A;
}

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

.section-light .eyebrow::before {
  color: var(--gold-dark);
}

.section-light .display-xl,
.section-light .display-lg,
.section-light .display-md,
.section-light .display-sm {
  color: var(--ink);
}

.section-light .gold-line {
  background: var(--gold-dark);
}

.section-light .lead {
  color: #2A2A2A;
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

/* ============================================
   HERO SECTION (Home)
   ============================================ */
.hero {
  min-height: 100vh;
  padding: calc(var(--s-10) + var(--s-8)) 0 var(--s-10);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: min(900px, 100vw);
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.08) 30%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.hero-emblem {
  width: clamp(160px, 22vw, 260px);
  margin: 0 auto var(--s-7);
  animation: fadeUp 1.2s var(--ease-out) 0.1s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: var(--s-5);
  animation: fadeUp 1.2s var(--ease-out) 0.3s both;
}

.hero-fze {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  letter-spacing: 0.45em;
  color: var(--gold);
  margin-bottom: var(--s-7);
  padding: 0 var(--s-3);
  display: inline-block;
  position: relative;
  animation: fadeUp 1.2s var(--ease-out) 0.5s both;
}

.hero-fze::before,
.hero-fze::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background: var(--gold);
}

.hero-fze::before {
  right: 100%;
  margin-right: var(--s-4);
}

.hero-fze::after {
  left: 100%;
  margin-left: var(--s-4);
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--white-soft);
  max-width: 760px;
  margin: 0 auto var(--s-4);
  text-align: center;
  animation: fadeUp 1.2s var(--ease-out) 0.7s both;
}

.hero-subtagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 auto var(--s-8);
  text-align: center;
  display: block;
  animation: fadeUp 1.2s var(--ease-out) 0.9s both;
}

.hero-ctas {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s var(--ease-out) 1.1s both;
}

.hero-scroll {
  position: absolute;
  bottom: var(--s-6);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--gold-dark);
  text-transform: uppercase;
  animation: fadeIn 1s var(--ease-out) 1.5s both;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: var(--gold-dark);
  margin: var(--s-3) auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.5); opacity: 1; }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  max-width: var(--max-narrow);
  margin: 0 auto var(--s-9);
}

.section-header.align-left {
  text-align: left;
  max-width: var(--max-reg);
  margin-left: 0;
}

.section-header .eyebrow {
  margin-bottom: var(--s-4);
}

.section-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--s-5);
}

.section-header .lead {
  margin-top: var(--s-5);
  max-width: var(--max-prose);
  margin-left: auto;
  margin-right: auto;
}

.section-light .section-header h2 {
  color: var(--ink);
}

/* ============================================
   INTRO / MANIFESTO
   ============================================ */
.manifesto {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
}

.manifesto-text em {
  color: var(--gold);
  font-style: italic;
}

.section-light .manifesto-text {
  color: var(--ink);
}

/* ============================================
   PRACTICES / SERVICES GRID
   ============================================ */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
}

.practice-card {
  padding: var(--s-8) var(--s-6);
  background: var(--ink);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease-out);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.practice-card:hover {
  background: var(--ink-soft);
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.6s var(--ease-out);
}

.practice-card:hover::before {
  width: 100%;
}

.practice-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  margin-bottom: var(--s-5);
}

.practice-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: var(--s-5);
  transition: color 0.3s var(--ease-out);
}

.practice-card:hover h3 {
  color: var(--gold);
}

.practice-card p {
  color: #A8A6A0;
  font-size: 1rem;
  margin-bottom: var(--s-6);
  flex-grow: 1;
}

.practice-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-soft);
  transition: color 0.3s var(--ease-out), gap 0.3s var(--ease-out);
}

.practice-card:hover .practice-link {
  gap: var(--s-4);
}

.practice-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--s-6);
  opacity: 0.9;
}

.practice-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

/* ============================================
   VALUE PILLARS
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
  padding: var(--s-7) 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.pillar {
  text-align: center;
  padding: var(--s-5) var(--s-3);
  position: relative;
  transition: transform 0.3s var(--ease-out);
}

.pillar:hover {
  transform: translateY(-4px);
}

.pillar:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: var(--border-soft);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--s-4);
  stroke: var(--gold);
  fill: none;
}

.pillar-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-2);
}

.pillar-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #BDB9B0;
  font-weight: 400;
}

/* ============================================
   EDITORIAL / SPLIT LAYOUT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--s-5);
}

.section-light .split-text h2 {
  color: var(--ink);
}

.split-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--ink-soft) 0%, var(--ink-2) 100%);
  overflow: hidden;
}

.split-visual .emblem-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-7);
}

.split-visual .emblem-bg svg,
.split-visual .emblem-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-light .split-visual {
  background: linear-gradient(135deg, var(--paper) 0%, var(--cream) 100%);
}

/* ============================================
   CONTACT / CTA BAND
   ============================================ */
.cta-band {
  padding: var(--s-10) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band .eyebrow {
  margin-bottom: var(--s-4);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--s-6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn {
  margin-top: var(--s-5);
}

/* ============================================
   PAGE HEADER (About, Services, Contact)
   ============================================ */
.page-header {
  padding: calc(var(--s-10) + var(--s-8)) 0 var(--s-10);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-header .eyebrow {
  margin-bottom: var(--s-4);
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--s-5);
  max-width: 1100px;
}

.page-header h1 em {
  font-style: italic;
  color: var(--gold);
}

.page-header .lead {
  max-width: 680px;
  margin-top: var(--s-5);
}

.page-header-meta {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-soft);
  display: flex;
  gap: var(--s-7);
  flex-wrap: wrap;
}

.page-header-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.page-header-meta-item dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.page-header-meta-item dd {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--white-soft);
  font-weight: 500;
}

/* ============================================
   ABOUT — STORY / TIMELINE
   ============================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-9);
  align-items: start;
}

.story-grid .eyebrow {
  position: sticky;
  top: 120px;
}

.founder {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-9);
  align-items: start;
}

.founder-portrait {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--ink-soft), var(--ink-2));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
}

.founder-portrait-inner {
  text-align: center;
  padding: var(--s-7);
}

.founder-portrait-name {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s-3);
}

.founder-portrait-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-soft);
}

.founder-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--s-2);
}

.section-light .founder-name {
  color: var(--ink);
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-6);
}

.founder-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--white);
  margin: var(--s-6) 0;
  padding-left: var(--s-5);
  border-left: 2px solid var(--gold);
}

.section-light .founder-quote {
  color: var(--ink);
}

/* ============================================
   CREDENTIALS
   ============================================ */
.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  margin-top: var(--s-7);
}

.credential {
  padding: var(--s-7) var(--s-5);
  background: var(--ink);
  text-align: center;
}

.section-light .credential {
  background: var(--paper);
}

.credential-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}

.credential-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.2;
}

.section-light .credential-value {
  color: var(--ink);
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-hero {
  padding: calc(var(--s-10) + var(--s-7)) 0 var(--s-9);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--s-9);
  align-items: end;
}

.service-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--s-5);
}

.service-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.service-intro {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--white-soft);
  font-weight: 400;
}

.service-list {
  list-style: none;
  margin-top: var(--s-6);
}

.service-list li {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s-5);
  align-items: start;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list-number {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-top: 4px;
}

.service-list h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: var(--s-2);
  line-height: 1.25;
}

.service-list p {
  color: #A8A6A0;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  max-width: 60ch;
}

.section-light .service-list li {
  border-color: rgba(139, 105, 20, 0.2);
}

.section-light .service-list h4 {
  color: var(--ink);
}

.section-light .service-list p {
  color: #3A3A3A;
}

/* ============================================
   APPROACH STEPS
   ============================================ */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  counter-reset: step;
}

.approach-step {
  padding: var(--s-6) 0;
  position: relative;
  counter-increment: step;
}

.approach-step::before {
  content: '0' counter(step);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 3rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: var(--s-5);
}

.approach-step h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--s-3);
  line-height: 1.2;
}

.approach-step p {
  font-size: 0.9375rem;
  color: #A8A6A0;
  margin: 0;
}

.section-light .approach-step h4 {
  color: var(--ink);
}

.section-light .approach-step p {
  color: #3A3A3A;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.contact-info-item {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--border-soft);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}

.contact-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
}

.contact-value a {
  color: inherit;
  transition: color 0.25s var(--ease-out);
}

.contact-value a:hover {
  color: var(--gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: var(--s-8);
  background: var(--ink-soft);
  border: 1px solid var(--border-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-mid);
  padding: var(--s-3) 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  transition: border-color 0.25s var(--ease-out);
  font-weight: 400;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.form-group select option {
  background: var(--ink);
  color: var(--white);
}

.form-submit {
  margin-top: var(--s-3);
  align-self: start;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #888;
  margin-top: var(--s-2);
  letter-spacing: 0.05em;
}

.map-embed {
  aspect-ratio: 16/9;
  width: 100%;
  margin-top: var(--s-7);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) brightness(0.9);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink-2);
  padding: var(--s-9) 0 var(--s-6);
  border-top: 1px solid var(--border-soft);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.footer-brand-logo img {
  width: 44px;
  height: 44px;
}

.footer-brand-name {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--white);
}

.footer-brand-name sup {
  font-size: 0.55em;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-left: var(--s-2);
  font-weight: 500;
  vertical-align: top;
  top: 0.4em;
  position: relative;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  max-width: 280px;
  line-height: 1.5;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-4);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer-col a {
  font-size: 0.875rem;
  color: #A8A6A0;
  transition: color 0.25s var(--ease-out);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col p {
  font-size: 0.875rem;
  color: #A8A6A0;
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666;
}

.footer-bottom a {
  color: #888;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ============================================
   ANIMATIONS ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 400ms; }

.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--s-6);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.125rem;
    letter-spacing: 0.2em;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .practices-grid {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-3);
  }

  .pillar:not(:last-child)::after {
    display: none;
  }

  .pillar {
    border-bottom: 1px solid var(--border-soft);
    padding: var(--s-5) var(--s-3);
  }

  .split,
  .split-reverse,
  .founder,
  .story-grid,
  .contact-grid,
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }

  .story-grid .eyebrow {
    position: static;
  }

  .split-reverse {
    direction: ltr;
  }

  .credentials {
    grid-template-columns: 1fr;
  }

  .approach {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-5);
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--s-3);
  }

  .contact-form {
    padding: var(--s-5);
  }

  .section,
  .section-lg {
    padding: var(--s-8) 0;
  }

  .page-header {
    padding: calc(var(--s-9) + var(--s-6)) 0 var(--s-8);
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .approach {
    grid-template-columns: 1fr;
  }

  .container,
  .container-wide,
  .container-narrow {
    padding: 0 var(--s-5);
  }

  .nav-inner {
    padding: 0 var(--s-5);
  }

  .page-header-meta {
    gap: var(--s-5);
  }
}


/* ============================================
   LANGUAGE SWITCHER FIX (Apr 27, 2026)
   Overrides inline styles in HTML <head>
   Bug: Arabic "عربي" was invisible (--ink-soft #141414 on --ink #0A0A0A background)
   Fix: Cream tone for inactive, gold for active/hover
   ============================================ */
.lang-switch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-inline-end: 1rem !important;
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
}
.lang-switch a {
  color: rgba(242, 235, 215, 0.55) !important;  /* Cream 55% — visible on dark BG */
  text-decoration: none !important;
  padding: 0.25rem 0.5rem !important;
  transition: color 0.2s !important;
}
.lang-switch a.active {
  color: var(--gold) !important;                  /* Bright gold for active state */
  font-weight: 600 !important;
}
.lang-switch a:hover {
  color: var(--gold-light) !important;            /* Lighter gold on hover */
}
.lang-switch a[lang="ar"] {
  font-family: 'Tajawal', 'Noto Naskh Arabic', system-ui, sans-serif !important;
  font-size: 0.9rem !important;                   /* Slightly larger for Arabic readability */
}
.lang-switch .divider {
  color: rgba(212, 175, 55, 0.4) !important;     /* Faint gold divider */
}
@media (max-width: 768px) {
  .lang-switch {
    font-size: 0.7rem !important;
    margin-inline-end: 0.5rem !important;
  }
  .lang-switch a[lang="ar"] {
    font-size: 0.85rem !important;
  }
}
