/* ============================================================
   MAJAPAHIT GROUP — Stylesheet
   Warm cream / editorial / luxury aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ============================================================
   CUSTOM SVG ICON SYSTEM
   Usage: <svg class="icon" aria-hidden="true"><use href="#icon-NAME"></use></svg>
   Icons size themselves to 1em × 1em and inherit currentColor for stroke.
   ============================================================ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
  overflow: visible;
}

/* Lighter stroke for large photo-placeholder icons */
.about-sidebar__photo .icon,
.about-strip__img-box .icon {
  stroke-width: 1;
  opacity: 0.45;
}

/* --- Variables --- */
/* Tokens follow the official Color Palette Guideline v1.0 (april 2026):
   Majapahit Black #0E0B07 · Ink #1A1410 · Roots Bronze #6B4A22 · Java Brown #8A6332
   Heritage Gold #C8A24A (hi #E5C77A) · Palace Cream #F5EBD3 · Light Cream #FAF3E2
   Keris Silver #B8B0A2 / #86806F. No pure #000 or #FFF.
   Theme model:
   --cream/--cream-dark   fixed light tones (text/accents on permanently dark panels)
   --brown/--olive/--navy fixed dark tones (panel backgrounds, buttons)
   --bg/--bg-alt          page surfaces — flip in dark mode
   --ink (+ --ink-rgb)    dark-on-light text — flips in dark mode
   --surface              form input background — flips in dark mode */
:root {
  color-scheme: light;
  --cream:       #F5EBD3;   /* Palace Cream */
  --cream-dark:  #F2EAD9;   /* brown scale 50 */
  --olive:       #6B4A22;   /* Roots Bronze — heritage panels */
  --olive-mid:   #8A6332;   /* Java Brown */
  --brown:       #1A1410;   /* Ink — formal dark panels, buttons */
  --bg:          #F5EBD3;   /* Palace Cream — primary page */
  --bg-alt:      #F2EAD9;   /* alternate sections */
  --ink:         #1A1410;   /* Ink — body type */
  --ink-rgb:     26,20,16;
  --surface:     #FAF3E2;   /* Light Cream — cards, inputs */
  --text:        #1A1410;   /* Ink */
  --text-mid:    #6B4A22;   /* Roots Bronze — body emphasis */
  --text-light:  #86806F;   /* Keris Silver deep — captions, metadata */
  --black:       #0E0B07;   /* Majapahit Black */
  --white:       #F5EBD3;   /* never pure white — Palace Cream */
  --border:      rgba(var(--ink-rgb),0.12);
  --navy:        #0E0B07;   /* Majapahit Black — hero panels */
  --gold:        #C8A24A;   /* Heritage Gold — signature, emphasis only */
  --gold-hi:     #E5C77A;   /* gold highlight — hovers, gradient terminus */
  --silver:      #B8B0A2;   /* Keris Silver — hairline rules, disabled */

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  --max-width:   1360px;
  --gutter:      80px;
  --radius-pill: 100px;
}

/* --- Dark theme — Majapahit Black canvas, Palace Cream type --- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg:          #0E0B07;   /* Majapahit Black */
  --bg-alt:      #1A1410;   /* Ink — surfaces */
  --ink:         #F5EBD3;   /* Palace Cream */
  --ink-rgb:     245,235,211;
  --surface:     #1A1410;
  --text:        #F5EBD3;   /* Palace Cream */
  --text-mid:    #DAC9A6;   /* brown scale 100 */
  --text-light:  #B8B0A2;   /* Keris Silver */
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; }
/* Re-enable pointer events for linked images and nav logo */
a img, .nav__logo-img, .footer__logo-img { pointer-events: auto; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}
p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section        { padding: 100px var(--gutter); }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 11, 7, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(13, 11, 7, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px var(--gutter);
  border-bottom: 1px solid rgba(200,162,74,0.18);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.nav__logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 1px;
}


.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(245,235,211,0.82);
  transition: color 0.2s;
  position: relative;
}
.nav__links a:hover { color: var(--cream); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--cream); }

/* Dropdown */
.nav__has-dropdown { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,22,14,0.97);
  min-width: 190px;
  list-style: none;
  padding: 8px 0;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, visibility 0.18s;
  border-top: 2px solid var(--gold);
}
.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
}
.nav__dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(245,235,211,0.75) !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav__dropdown li a:hover {
  background: rgba(200,162,74,0.12);
  color: var(--cream) !important;
}
.nav__dropdown li a::after { display: none !important; }


/* Logo image in nav */
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 640px) {
  .nav__logo-img { height: 32px; }
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(245,235,211,0.85);
  transition: all 0.2s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-top: 96px; /* nav clearance */
}

/* Homepage — Jakarta skyline background */
.hero--jakarta {
  background-image: url('images/hero-skyscrapers.jpg');
  background-size: cover;
  background-position: center 40%;
}
.hero--jakarta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(28, 20, 8, 0.82) 0%,
    rgba(28, 20, 8, 0.68) 50%,
    rgba(28, 20, 8, 0.38) 100%
  );
  z-index: 0;
}
.hero--jakarta .hero__inner {
  position: relative;
  z-index: 1;
}
/* Force all hero text to white on the dark Jakarta overlay */
.hero--jakarta .hero__eyebrow-line  { background: rgba(201,168,76,0.70); }
.hero--jakarta .hero__eyebrow-text  { color: rgba(245,235,211,0.65); }
.hero--jakarta .hero__title         { color: #fff; }
.hero--jakarta .hero__subtitle      { color: rgba(255,255,255,0.80); }


.hero__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 48px 56px;
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  max-width: 820px;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  margin-top: 16px;
  max-width: 500px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */


/* ============================================================
   ABOUT / INTRO STRIP
   ============================================================ */


/* ============================================================
   CONSULTATION / CTA SECTION
   ============================================================ */


/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: 96px;
  padding-bottom: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px var(--gutter) 0;
}
.page-hero h1 {
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-hero p { font-size: 1.05rem; color: var(--text-mid); max-width: 580px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--text); }

/* Page heroes with photographic backgrounds */
.page-hero--image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: none;
  padding-bottom: 80px;
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28,22,10,0.78) 0%,
    rgba(28,22,10,0.55) 60%,
    rgba(28,22,10,0.35) 100%
  );
}
.page-hero--image .page-hero__inner { position: relative; z-index: 1; }
.page-hero--image h1              { color: #fff; }
.page-hero--image p               { color: rgba(255,255,255,0.85); }
.page-hero--image .breadcrumb,
.page-hero--image .breadcrumb a,
.page-hero--image .breadcrumb__current,
.page-hero--image .breadcrumb__sep { color: rgba(255,255,255,0.60); }
.page-hero--image .breadcrumb a:hover { color: #fff; }

/* Per-page image assignments */
.page-hero--services    { background-image: url('images/hero-services-jakarta.jpg'); background-position: center 50%; }
.page-hero--about       { background-image: url('images/jakarta-night.jpg'); background-position: center 25%; }
.page-hero--contact     { background-image: url('images/hero-handshake.jpg');  background-position: center 40%; }
.page-hero--philosophy  { background-image: url('images/careers/careers-office-walk.jpg'); background-position: center 50%; }
.page-hero--vision      { background-image: url('images/jakarta-scbd.jpg');      background-position: center 50%; }
.page-hero--careers     { background-image: url('images/careers/hero-careers.jpg'); background-position: center 40%; }

/* ============================================================
   SERVICES DETAIL (services.html)
   ============================================================ */


/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-sidebar__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.about-sidebar__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-sidebar__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.about-sidebar__role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-info h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.contact-info > p { font-size: 1rem; line-height: 1.8; color: var(--text-mid); margin-bottom: 40px; }


.contact-form h3 { font-size: 1.6rem; font-weight: 300; margin-bottom: 32px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--ink); }
.form-group textarea { min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px var(--gutter) 40px;
  background: var(--bg);
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.footer__brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 18px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: 0.875rem;
  color: var(--text-mid);
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}
.footer__links a:hover {
  color: var(--ink);
  text-decoration-color: var(--brown);
}
.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  
  
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  
  
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav__links, .nav__book { display: none; }
  .nav__toggle { display: flex; }
  
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* Mobile nav open */
.nav.open .nav__links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(26,22,14,0.97);
  padding: 32px var(--gutter);
  border-bottom: 1px solid rgba(200,162,74,0.2);
  gap: 24px;
  z-index: 99;
}
.nav.open .nav__links a { font-size: 1.1rem; color: rgba(245,235,211,0.88); }
.nav.open .nav__links a:hover,
.nav.open .nav__links a.active { color: var(--cream); }

/* Mobile dropdown — show inline, not absolutely positioned */
.nav.open .nav__has-dropdown .nav__dropdown {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  background: transparent;
  border-top: none;
  border-left: 2px solid rgba(200,162,74,0.5);
  padding: 6px 0 2px 16px;
  margin-top: 4px;
  min-width: unset;
}
.nav.open .nav__dropdown li a {
  color: rgba(200,162,74,0.9) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  padding: 7px 0 !important;
  letter-spacing: 0.06em !important;
}
.nav.open .nav__dropdown li a:hover {
  background: transparent !important;
  color: var(--gold) !important;
}

/* ============================================================
   NAV INNER LAYOUT
   ============================================================ */
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}


.nav__cta { display: flex; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn:hover { opacity: 0.82; transform: translateY(-1px); }
.btn--primary  { background: var(--brown); color: var(--cream); }
.btn--gold     { background: var(--gold); color: #1A1410; }
.btn--gold:hover { background: var(--gold-hi); }
.btn--outline-white {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,235,211,0.4);
}
.btn--outline-white:hover { background: rgba(245,235,211,0.1); }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px var(--gutter) 100px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero__eyebrow-line { width: 40px; height: 1px; background: var(--text-light); }
.hero__eyebrow-text {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}
.hero__content h1 { margin-bottom: 20px; }
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px;
}
.hero__card-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.hero__service-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero__service-list li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.hero__service-list li:last-child { border-bottom: none; padding-bottom: 0; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px var(--gutter);
}
.trust-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item { text-align: center; }
.trust-item__num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.trust-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 6px;
  display: block;
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section--alt { background: var(--bg-alt); }
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ============================================================
   HOMEPAGE SERVICE GRID & CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 8px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 28px;
  transition: box-shadow 0.2s ease;
}
.service-card:hover { box-shadow: 0 4px 24px rgba(44,37,16,0.07); }
.service-card__icon { font-size: 1.8rem; margin-bottom: 16px; }
.service-card__title { font-size: 1.1rem; font-weight: 300; color: var(--ink); margin-bottom: 12px; }
.service-card__desc { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.service-card__link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.04em;
}
.service-card__link:hover { color: var(--text-light); }

/* ============================================================
   ABOUT STRIP (homepage)
   ============================================================ */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-strip__img { position: relative; }
.about-strip__img-box {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.about-strip__badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--brown);
  color: var(--cream);
  padding: 16px 20px;
  border-radius: 2px;
  text-align: center;
}
.about-strip__badge-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  display: block;
}
.about-strip__badge-text { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.about-strip__credentials {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-strip__credentials li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}
.about-strip__credentials li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-light);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: var(--brown); padding: 80px var(--gutter); }
.cta-banner__inner { max-width: var(--max-width); margin: 0 auto; text-align: center; }
.cta-banner h2 { color: var(--cream); margin-bottom: 16px; }
.cta-banner p { color: rgba(245,235,211,0.75); max-width: 600px; margin: 0 auto 32px; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER (corrected layout)
   ============================================================ */
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: block; /* override the grid from above */
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer__brand-desc { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; margin-top: 12px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-light);
}
.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--text-light);
}
.footer__bottom a:hover { color: var(--text); }
.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   SERVICES DETAIL GRID (services.html)
   ============================================================ */
/* ============================================================
   SERVICES TABLE OF CONTENTS
   ============================================================ */
.services-toc {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: var(--brown);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.services-toc__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.services-toc__inner::-webkit-scrollbar { display: none; }
.services-toc__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  padding: 16px 24px 16px 0;
  border-right: 1px solid rgba(255,255,255,0.15);
  margin-right: 8px;
  flex-shrink: 0;
}
.services-toc__link {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  padding: 16px 16px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.services-toc__link:hover,
.services-toc__link.active {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.6);
}

/* Service block images */
.service-block__img-wrap {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16/7;
}
.service-block__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.service-block__img-wrap:hover .service-block__img { transform: scale(1.02); }

.services-detail-grid { display: flex; flex-direction: column; }
.service-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-block:last-child { border-bottom: none; }
.service-block__sidebar { padding-top: 4px; }
.service-block__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.service-block__tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
}
.service-block__body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 20px;
}
.service-block__body > p {
  font-size: 0.975rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.service-block__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 32px;
}
.feature-item {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.feature-item h4 {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.feature-item p { font-size: 0.875rem; margin: 0; line-height: 1.7; }

/* Services disclaimer note */
.services-note {
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--bg-alt);
  border-left: 3px solid var(--border);
  border-radius: 0 2px 2px 0;
}
.services-note p { font-size: 0.875rem; color: var(--text-mid); margin: 0; line-height: 1.75; }

/* ============================================================
   ABOUT PAGE (moved from about.html inline)
   ============================================================ */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 72px;
  align-items: start;
}
.about-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.sidebar-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 10px;
}
.sidebar-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.sidebar-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}
.sidebar-contact-link:hover { color: var(--ink); }
.sidebar-contact-link:last-of-type { border-bottom: none; }
.sidebar-contact-icon { font-size: 1rem; width: 24px; text-align: center; }

.bio-section { margin-bottom: 52px; }
.bio-section h2 { margin-bottom: 20px; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.bio-section p { font-size: 1rem; line-height: 1.85; color: var(--text-mid); margin-bottom: 1.2rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.pillar-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
  transition: box-shadow 0.2s ease;
}
.pillar-card:hover { box-shadow: 0 4px 20px rgba(44,37,16,0.08); }
.pillar-card__icon { font-size: 1.6rem; margin-bottom: 12px; }
.pillar-card h4 { color: var(--ink); margin-bottom: 6px; font-size: 0.82rem; letter-spacing: 0.08em; }
.pillar-card p { font-size: 0.85rem; margin: 0; }

.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--olive);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--olive);
}
.timeline-item__year {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-mid);
  margin-bottom: 4px;
}
.timeline-item__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.timeline-item__desc { font-size: 0.875rem; color: var(--text-mid); margin: 0; line-height: 1.7; }

.jurisdiction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.jurisdiction-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 14px;
}

/* ============================================================
   CONTACT PAGE (moved from contact.html inline)
   ============================================================ */
.consultation-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0;
}
.consult-type {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
  text-align: center;
}
.consult-type__icon { font-size: 1.8rem; margin-bottom: 10px; }
.consult-type h4 { font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.06em; }
.consult-type p { font-size: 0.82rem; margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: start;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item__icon { font-size: 1.2rem; width: 28px; flex-shrink: 0; }
.contact-item__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-item__value { font-size: 0.95rem; color: var(--text); }
.contact-item__value a { text-decoration: underline; text-underline-offset: 3px; }
.contact-item__value a:hover { color: var(--text-light); }

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 16px;
}


/* ============================================================
   PRIVACY & TERMS PAGES
   ============================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.legal-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-top: 48px;
  margin-bottom: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-content p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: none;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-light);
}
.legal-notice {
  background: rgba(var(--ink-rgb),0.05);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin-bottom: 40px;
  border-radius: 0 2px 2px 0;
}
.legal-notice p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ============================================================
   ADDITIONAL RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid        { grid-template-columns: repeat(2, 1fr); }
  .about-strip          { gap: 60px; }
  .hero__inner          { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about-page-grid      { grid-template-columns: 1fr; }
  .about-sidebar        { position: static; }
  .about-sidebar__photo { aspect-ratio: 1/1; max-width: 260px; }
  .pillars-grid         { grid-template-columns: 1fr; }
  .service-block        { grid-template-columns: 1fr; gap: 24px; }
  .service-block__features { grid-template-columns: 1fr; }
  .consultation-types   { grid-template-columns: 1fr; }
  .contact-grid         { grid-template-columns: 1fr; gap: 48px; }
  .about-strip          { grid-template-columns: 1fr; }
  .footer__top          { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav__cta             { display: none; }
}
@media (max-width: 640px) {
  .services-grid        { grid-template-columns: 1fr; }
  .footer__top          { grid-template-columns: 1fr; }
}
.footer__bottom a { color: var(--text-light); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--ink); }

/* Social icons row */
.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 8px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 1.1rem;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.footer__social-link:hover {
  color: var(--cream);
  background-color: var(--navy);
  border-color: var(--navy);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  max-width: 800px;
}

/* ============================================================
   HERO (homepage layout)
   ============================================================ */
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px var(--gutter) 100px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero__eyebrow-line { width: 40px; height: 1px; background: var(--text-light); }
.hero__eyebrow-text { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); }
.hero__content h1 { margin-bottom: 20px; }
.hero__subtitle { font-size: 1.05rem; color: var(--text-mid); max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 2px; padding: 32px; }
.hero__card-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 20px; }
.hero__service-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero__service-list li { font-size: 0.9rem; color: var(--text-mid); padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.hero__service-list li:last-child { border-bottom: none; padding-bottom: 0; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--brown); padding: 0 var(--gutter); }
.trust-bar__inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: stretch; }
.trust-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 32px; border-right: 1px solid rgba(255,255,255,0.12); flex: 1; text-align: center; }
.trust-item:last-child { border-right: none; }
.trust-item__num { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 300; color: var(--white); line-height: 1; margin-bottom: 6px; }
.trust-item__label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ============================================================
   SECTION LABELS & HEADINGS
   ============================================================ */
.section-label { display: inline-block; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 16px; }
.section-heading { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 300; color: var(--ink); margin-bottom: 20px; line-height: 1.15; }
.section-sub { font-size: 1rem; color: var(--text-mid); max-width: 620px; margin-bottom: 0; }
.section--alt { background: var(--bg-alt); }

/* ============================================================
   SERVICES GRID (homepage cards)
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 56px; }
.service-card { background: var(--bg); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; transition: background 0.2s; }
.service-card:hover { background: var(--bg-alt); }
.service-card__icon { font-size: 1.6rem; }
.service-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
.service-card__desc { font-size: 0.875rem; color: var(--text-mid); line-height: 1.75; flex: 1; }
.service-card__link { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); border-bottom: 1px solid var(--border); padding-bottom: 2px; width: fit-content; transition: color 0.2s, border-color 0.2s; }
.service-card__link:hover { color: var(--ink); border-color: var(--ink); }

/* ============================================================
   ABOUT STRIP (homepage)
   ============================================================ */
.about-strip { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.about-strip__img { position: relative; flex-shrink: 0; }
.about-strip__img-box { width: 100%; aspect-ratio: 3/4; background: var(--bg-alt); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 4rem; overflow: hidden; }
.about-strip__badge { position: absolute; bottom: -20px; right: -20px; background: var(--brown); color: var(--white); padding: 20px 24px; border-radius: 2px; }
.about-strip__badge-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; display: block; line-height: 1; margin-bottom: 4px; }
.about-strip__badge-text { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.about-strip__credentials { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.about-strip__credentials li { font-size: 0.875rem; color: var(--text-mid); padding-left: 16px; position: relative; }
.about-strip__credentials li::before { content: '—'; position: absolute; left: 0; color: var(--text-light); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: var(--brown); padding: 80px var(--gutter); }
.cta-banner__inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; text-align: left; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1rem; margin: 0; max-width: 560px; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.service-block__sidebar { padding-top: 4px; }
.service-block__num { font-family: var(--font-display); font-size: 3.5rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.service-block__tag { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); border: 1px solid var(--border); padding: 4px 10px; border-radius: var(--radius-pill); }
.service-block__body h2 { margin-bottom: 20px; }
.service-block__body > p { margin-bottom: 16px; max-width: 680px; }
.service-block__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.feature-item { padding: 24px; background: var(--bg-alt); border-radius: 2px; }
.feature-item h4 { margin-bottom: 10px; }
.feature-item p { font-size: 0.875rem; line-height: 1.75; margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.consultation-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.consultation-type { padding: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: 2px; }


.consultation-type p { font-size: 0.875rem; line-height: 1.75; margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: start; margin-top: 56px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); }
.form-group input, .form-group select, .form-group textarea { padding: 14px 16px; border: 1px solid var(--border); border-radius: 2px; background: var(--surface); font-family: var(--font-sans); font-size: 0.9rem; color: var(--text); outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { display: flex; flex-direction: column; }


/* ============================================================
   MEDIA QUERIES
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid           { grid-template-columns: repeat(2, 1fr); }
  .about-strip             { gap: 60px; }
  .hero__inner             { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .nav { padding: 20px var(--gutter); }
  .nav.scrolled { padding: 14px var(--gutter); }
  .nav__links { display: none; }
  .nav__cta  { display: none; }
  .nav__toggle { display: flex; }
  .nav.menu-open .nav__links { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--bg); padding: 32px var(--gutter); gap: 24px; border-bottom: 1px solid var(--border); z-index: 99; }
  .nav.menu-open .nav__cta   { display: block; padding: 0 var(--gutter) 32px; }
  .about-strip             { grid-template-columns: 1fr; }
  .about-page-grid         { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner__inner       { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid            { grid-template-columns: 1fr; }
  .pillars-grid            { grid-template-columns: repeat(2, 1fr); }
  .consultation-types      { grid-template-columns: 1fr; }
  .service-block           { grid-template-columns: 1fr; gap: 24px; }
  .service-block__features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero__actions           { flex-direction: column; }
  .services-grid           { grid-template-columns: 1fr; }
  .about-strip__badge      { right: 0; }
  .pillars-grid            { grid-template-columns: 1fr; }
  .form-row                { grid-template-columns: 1fr; }
  .trust-bar__inner        { flex-direction: column; }
  .trust-item              { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 20px 32px; }
  .services-toc__link      { font-size: 0.68rem; padding: 14px 10px; }
}

/* ============================================================
   MOBILE ENHANCEMENTS — Touch, Tap Targets & Polish
   ============================================================ */

/* Larger tap target for hamburger */
.nav__toggle {
  padding: 10px;
  margin-right: -10px;
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
}

/* Hide hero card on tablets/phones, let headline breathe */
@media (max-width: 900px) {
  .hero__card { display: none; }
  .hero__inner { padding: 60px var(--gutter) 72px; }
}

/* Page hero: tighter padding on mobile */
@media (max-width: 640px) {
  .page-hero { padding-top: 80px; padding-bottom: 36px; }
  .page-hero__inner { padding-top: 32px; }
}

/* Services TOC: hide verbose label, keep links scrollable */
@media (max-width: 640px) {
  .services-toc__label { display: none; }
}

/* About badge: keep inside container edge */
@media (max-width: 640px) {
  .about-strip__badge { right: 0; bottom: -12px; }
}

/* CTA banner: stack content on small screens */
@media (max-width: 640px) {
  .cta-banner__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .cta-banner__actions { justify-content: center; }
}

/* Contact FAQ grid: single column on mobile */
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Prevent horizontal overflow on all viewports */
html, body { overflow-x: hidden; }

/* ============================================================
   LANGUAGE TOGGLE BUTTON
   ============================================================ */
.nav__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(245,235,211,0.35);
  border-radius: var(--radius-pill);
  color: rgba(245,235,211,0.75);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__lang:hover {
  background: rgba(200,162,74,0.15);
  border-color: var(--gold);
  color: var(--cream);
}
/* Language + theme toggles sit together in a tight group */
.nav__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
/* Theme toggle shares the lang pill look, sized for an icon */
.nav__theme { padding: 6px 11px; }
.nav__theme .icon { width: 1.25rem; height: 1.25rem; display: block; }
.nav__lang #langLabel { font-size: 0.85rem; }
/* In the mobile open menu, the toggle group sits before the hamburger */
@media (max-width: 900px) {
  .nav__controls {
    order: 10;
    margin-left: auto;
    margin-right: 10px;
  }
}

/* Smooth anchor scroll offset for fixed nav */
:target { scroll-margin-top: 80px; }

/* ============================================================
   MOBILE DROPDOWN — show inline when hamburger menu is open
   ============================================================ */
@media (max-width: 900px) {
  /* In mobile open menu, dropdown is always visible inline */
  .nav.menu-open .nav__has-dropdown .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    min-width: auto;
    padding: 0 0 0 20px;
    border-top: none;
    box-shadow: none;
  }
  .nav.menu-open .nav__dropdown li a {
    color: var(--text-mid) !important;
    font-size: 0.88rem;
    padding: 8px 0;
    border-left: 2px solid var(--gold);
    padding-left: 12px;
  }
  .nav.menu-open .nav__dropdown li a:hover {
    background: transparent;
    color: var(--ink) !important;
  }
  /* Also fix cream-background mobile menu link colours */
  .nav.menu-open .nav__links a {
    color: var(--ink) !important;
  }
  .nav.menu-open .nav__links a:hover,
  .nav.menu-open .nav__links a.active {
    color: var(--gold) !important;
  }
  .nav.menu-open .nav__links a::after {
    background: var(--gold);
  }
}

/* ============================================================
   SERVICES OVERVIEW — 2-col grid that stacks on mobile
   ============================================================ */
.services-grid--2col {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .services-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOBILE IMAGE FIXES — prevent overflow, ensure responsive sizing
   ============================================================ */

/* Service block images: use a more portrait-friendly ratio on phones */
@media (max-width: 640px) {
  .service-block__img-wrap {
    aspect-ratio: 16/9;
  }
  /* Service row images: constrain height when stacked */
  
  /* Hero image: cap height on small phones */
  
  /* About strip: use 4:3 ratio when stacked */
  .about-strip__img-box {
    aspect-ratio: 4/3;
  }
}

/* ============================================================
   Mobile overrides for inline-styled grids across pages
   ============================================================ */
@media (max-width: 640px) {
  .con-faq-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .cs-sectors-grid { grid-template-columns: 1fr !important; }
  .vm-values-grid { grid-template-columns: 1fr !important; }
  .vm-commit-grid { grid-template-columns: 1fr !important; }
  .abt-disc-grid { grid-template-columns: 1fr !important; }
}

