/* ═══════════════════════════════════════════════
   RENA Industrial Hygiene Solutions Inc.
   Stylesheet — styles.css
   ═══════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ══════════════════════════════════════════════
   DESIGN TOKENS
   Light palette: layered warm neutrals + deep slate
   ══════════════════════════════════════════════ */
:root {
  /* Brand gradient */
  --teal: #2e8fa0;
  --sage: #3d8c52;
  --amber: #7ab828;
  --grad: linear-gradient(125deg, #2a023e 0%, #7a0c93 50%, #250129 100%);
  --grad-subtle: linear-gradient(125deg, rgba(46,143,160,.12) 0%, rgba(61,140,82,.1) 50%, rgba(122,184,40,.08) 100%);

  /* Background layers — 6 distinct shades */
  --bg-1: #f7f5f0;       /* page base — warm off-white */
  --bg-2: #eeeae2;       /* subtle section fill */
  --bg-3: #e4dfd4;       /* card surface */
  --bg-4: #d8d2c5;       /* border-adjacent fill */
  --bg-dark: #dfd6e5b2;  /* purple-tinted panels */
  --bg-dark-2: #716262;  /* hover state on dark panels */
  --bg-dark-3: #716262;  /* hover state on dark */

  /* Text */
  --ink-1: #1a1f18;      /* primary heading */
  --ink-2: #687c68f4;      /* body copy */
  --ink-3: #6b7a65;      /* secondary / muted */
  --ink-4: #697065;      /* placeholder / caption */

  /* Lines */
  --line: rgba(26,31,24,.09);
  --line-med: rgba(26,31,24,.15);
  --line-strong: rgba(26,31,24,.22);

  /* Surfaces */
  --card: #ffffff;
  --card-tinted: #f2efe8;
  --field-bg: #eeeae2;
  --nav-glass: rgba(247,245,240,.92);

  /* Shadows */
  --shadow-sm: 0 1px 8px rgba(26,31,24,.06);
  --shadow-md: 0 4px 24px rgba(26,31,24,.09);
  --shadow-lg: 0 12px 48px rgba(26,31,24,.13);
  --shadow-xl: 0 24px 80px rgba(26,31,24,.18);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ══════════════════════════════════════════════
   BASE RESET
   ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-1);
  color: var(--ink-1);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════════════
   NOISE TEXTURE OVERLAY
   ══════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 800;
  opacity: .5;
}

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
#topnav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: var(--nav-glass);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s;
}
#topnav.scrolled {
  box-shadow: 0 4px 32px rgba(26,31,24,.1);
  border-bottom-color: var(--line-med);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.logo-hex { width: 40px; height: 0px; flex-shrink: 0; }
.logo-img { height: clamp(100px, 8vw, 250px); width: clamp(160px, 15vw, 300px); flex-shrink: 0; display: block; image-rendering: auto;}
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.logo-tagline {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 400;
}

.nav-right { display: flex; align-items: center; gap: 2.5rem; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-right .nav-links a:hover, .nav-right .nav-links a.active {
  color: var(--ink-1);
  border-bottom-color: var(--teal);
}
.nav-cta {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 1.5rem;
  border-radius: 100px;
  border: none;
  background: var(--bg-dark);
  color: #1a1f18;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover {
  background: var(--bg-dark-2);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── Language Toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: .3rem .8rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang-toggle:hover { background: var(--bg-3); }
.lang-opt {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-3);
  transition: color .2s;
}
.lang-opt.active {
  color: var(--teal);
  font-weight: 700;
}
.lang-divider {
  font-size: .6rem;
  color: rgba(255,255,255,.25);
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink-2); border-radius: 2px; transition: .3s; }

/* ══════════════════════════════════════════════
   MOBILE DRAWER
   ══════════════════════════════════════════════ */
.drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: rgba(26,31,24,0.72);
}
.drawer.open {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.drawer-panel {
  width: min(280px, 80vw);
  height: calc(100% - 72px);
  margin-top: 72px;
  background: #2a2e28;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(26,31,24,0.3);
  overflow-y: auto;
  flex-shrink: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.drawer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: .04em;
}
.drawer-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  font-size: .85rem;
  cursor: pointer;
  color: rgba(255,255,255,.8);
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.drawer-close:hover { background: rgba(255,255,255,.2); color: #fff; }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  flex: 1;
}
.drawer a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: rgba(255,255,255,.82);
  cursor: pointer;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .2s, background .2s;
  border-left: 3px solid transparent;
}
.drawer a:hover {
  color: #5ecfdf;
  background: rgba(94,207,223,.08);
  border-left-color: #5ecfdf;
  padding-left: 30px;
}

.drawer-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 8px 24px;
}

.drawer-footer {
  display: none;
}

.drawer-lang-toggle {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  padding: .3rem .9rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  width: fit-content;
  transition: background .2s;
}
.drawer-lang-toggle:hover { background: rgba(255,255,255,.18); }
.drawer-lang-toggle .lang-opt {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: .12em;
  transition: color .2s;
}
.drawer-lang-toggle .lang-opt.active {
  color: #5ecfdf;
  font-weight: 700;
}
.drawer-lang-toggle .lang-divider {
  font-size: .6rem;
  color: var(--line-strong);
}

/* ══════════════════════════════════════════════
   PAGE SYSTEM
   ══════════════════════════════════════════════ */
.page { display: none; min-height: 100vh; padding-top: 72px; }
.page.active { display: block; }

/* ══════════════════════════════════════════════
   SHARED COMPONENTS
   ══════════════════════════════════════════════ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--grad);
  flex-shrink: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.01em;
}

.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 100px;
  border: none;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--bg-dark);
  color: #1a1f18;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--bg-dark-2);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-primary svg { width: 14px; height: 14px; stroke: #1a1f18; fill: none; stroke-width: 2.5; flex-shrink: 0; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 100px;
  border: 1.5px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(61,168,180,.05);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.7rem;
  border-radius: 100px;
  border: 1.5px solid var(--teal);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-teal:hover { background: var(--teal); color: #fff; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════
   HOME — HERO
   ══════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 5vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 5vw 5rem;
  min-height: calc(100vh - 72px);
}

/* Background accent blob */
#hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -60px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(61,168,180,.09) 0%,
    rgba(106,170,125,.06) 45%,
    transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero background photo ──────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* dark brand fallback so it still looks intentional before/if the photo is missing */
  background: linear-gradient(135deg, #14231a 0%, #0f1c14 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-bg.media-placeholder img { display: none; }
.hero-bg::before {
  /* scrim — darkest behind the text on the left, sheer near the info panels on the right,
     so the photo stays visible but copy stays readable */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(10,16,11,.86) 0%,
    rgba(10,16,11,.68) 32%,
    rgba(10,16,11,.42) 55%,
    rgba(10,16,11,.20) 75%,
    rgba(10,16,11,.10) 100%);
  z-index: 1;
}
.hero-bg::after {
  /* fade the bottom edge of the photo into the page background — darkened
     through the middle so the light-colored text/buttons sitting in this
     zone stay readable, before resolving into the page background color */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(to bottom,
    rgba(247,245,240,0) 0%,
    rgba(10,16,11,.4) 60%,
    var(--bg-1) 100%);
  z-index: 1;
}

.hero-left { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 100px;
  background: rgba(247,245,240,.14);
  border: 1px solid rgba(247,245,240,.28);
  backdrop-filter: blur(6px);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(247,245,240,.92);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rise .7s .1s forwards;
}
.hero-badge .maple { color: #ff8f7a; font-size: .9rem; }

.hero-h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 600;
  color: #fdfcf9;
  line-height: 1.03;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
  opacity: 0;
  animation: rise .85s .2s forwards;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(120deg, #6fd6c9 0%, #9adf83 50%, #d9e86a 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(120deg, #6fd6c9, #9adf83);
  border-radius: 2px;
  margin: 2rem 0;
  opacity: 0;
  animation: rise .7s .35s forwards;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(247,245,240,.86);
  line-height: 1.8;
  max-width: 480px;
  text-shadow: 0 1px 16px rgba(0,0,0,.2);
  opacity: 0;
  animation: rise .8s .42s forwards;
}
.hero-mantra {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247,245,240,.55);
  opacity: 0;
  animation: rise .7s .5s forwards;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  opacity: 0;
  animation: rise .8s .6s forwards;
}
/* Ghost button is reused site-wide on light sections — scoped override
   here so it stays visible against the hero's dark photo scrim */
#hero .hero-ctas .btn-ghost {
  border-color: rgba(247,245,240,.4);
  color: rgba(247,245,240,.92);
}
#hero .hero-ctas .btn-ghost:hover {
  border-color: #9adf83;
  color: #9adf83;
  background: rgba(247,245,240,.08);
}

/* Hero right — stacked info panels */
.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  animation: rise 1s .55s forwards;
}

.h-panel {
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.h-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}
.h-panel-inner { padding: 1.6rem 1.8rem; }
.h-panel-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: .6rem;
}
.h-panel-val {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.1;
}
.h-panel-sub { font-size: .8rem; color: var(--ink-4); margin-top: .3rem; }

/* Dark tone panel */
.h-panel-dark { background: var(--bg-dark); }
.h-panel-dark .h-panel-label { color: rgba(248, 249, 255, 0.929); }
.h-panel-dark .h-panel-val {
  color: #e8ede4;
  background: var(--grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.h-panel-dark .h-panel-sub { color: rgba(232,237,228,.38); }

.svc-chip-list { display: flex; flex-direction: column; gap: .5rem; }
.svc-chip {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .82rem;
  color: var(--ink-2);
}
.svc-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   HOME — STATS STRIP
   ══════════════════════════════════════════════ */
.stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 5vw;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  nav-index: 1px solid var(--line);
}
.stat-item {
  padding: 2.2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-n {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  background: var(--grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-l {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: .4rem;
}

/* ══════════════════════════════════════════════
   HOME — ABOUT SECTION
   ══════════════════════════════════════════════ */
#about-s {
  padding: 8rem 5vw;
  background: var(--bg-1);
}
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  color: var(--ink-1);
  margin: .9rem 0 1.4rem;
  font-weight: 600;
}
.about-text p {
  font-size: .97rem;
  line-height: 1.82;
  color: var(--ink-2);
  font-weight: 300;
}
.about-text p + p { margin-top: 1rem; }
.about-text .cta-row { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.values-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-med);
}
.val-row {
  background: var(--card);
  padding: 1.6rem 2rem;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  transition: background .2s;
  cursor: default;
}
.val-row:hover { background: var(--card-tinted); }
.val-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  background: var(--grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  width: 36px;
  line-height: 1.1;
}
.val-body h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-1);
  margin-bottom: .35rem;
}
.val-body p {
  font-size: .85rem;
  line-height: 1.65;
  color: var(--ink-3);
  font-weight: 300;
}

/* ══════════════════════════════════════════════
   HOME — DARK INCORPORATION BELT
   ══════════════════════════════════════════════ */
.inc-section {
  margin: 0;
  padding: 6rem 5vw;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.inc-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(61,168,180,.07) 0%, transparent 65%);
  pointer-events: none;
}
.inc-section::after {
  content: 'CANADA';
  position: absolute;
  right: -30px; bottom: -40px;
  font-family: var(--font-display);
  font-size: clamp(6.5rem , 12vw, 12rem);
  font-weight: 700;
  color: rgba(26,31,24,.12);
  letter-spacing: .06em;
  line-height: 1;
  pointer-events: none;
}
.inc-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.inc-eyebrow {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .8rem;
}
.inc-inner h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: #1a1f18;
  font-weight: 600;
}
.inc-inner p {
  font-size: .93rem;
  color: rgba(26,31,24,.7);
  margin-top: .7rem;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.75;
}
.inc-badge {
  text-align: center;
  flex-shrink: 0;
}
.inc-badge-word {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  background: var(--grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .08em;
}
.inc-badge-sub {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(26,31,24,.45);
  margin-top: .4rem;
}

/* ══════════════════════════════════════════════
   SERVICES PAGE
   ══════════════════════════════════════════════ */
#page-services { background: var(--bg-1); }

.svc-page-hero {
  background: var(--bg-dark);
  padding: 5rem 5vw 4rem;
  position: relative;
  overflow: hidden;
}
.svc-page-hero::before {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(106,170,125,.08) 0%, transparent 65%);
  pointer-events: none;
}
.svc-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  position: relative;
  z-index: 1;
}
.svc-hero-inner h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: #1a1f18;
  margin-top: .9rem;
  font-weight: 600;
}
.svc-hero-right p {
  font-size: .97rem;
  color: rgba(26,31,24,.65);
  line-height: 1.78;
  font-weight: 300;
}
.svc-hero-right .cta-row { margin-top: 1.8rem; }

.svc-list-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5vw 6rem;
}

.svc-card-row {
  border-bottom: 1px solid var(--line-med);
  overflow: hidden;
}
.svc-card-row:first-child { border-top: 1px solid var(--line-med); }

.svc-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr 40px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.9rem 0;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  transition: background .2s;
}
.svc-trigger:hover { background: transparent; }
.svc-trigger:hover .svc-card-title { color: var(--teal); }

.svc-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  background: var(--grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: right;
  flex-shrink: 0;
}
.svc-card-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-1);
  transition: color .2s;
  display: block;
}
.svc-card-sub {
  font-size: .8rem;
  color: var(--ink-4);
  margin-top: .18rem;
  font-weight: 300;
  display: block;
}
.svc-toggle-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform .35s, border-color .25s, background .25s;
}
.svc-toggle-btn svg {
  width: 13px; height: 13px;
  stroke: var(--ink-3);
  fill: none;
  stroke-width: 2.2;
  transition: stroke .2s;
}
.svc-card-row.open .svc-toggle-btn {
  transform: rotate(45deg);
  border-color: var(--teal);
  background: rgba(61,168,180,.1);
}
.svc-card-row.open .svc-toggle-btn svg { stroke: var(--teal); }

.svc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
}
.svc-card-row.open .svc-panel { max-height: 520px; }

.svc-panel-inner {
  padding: 0 0 2.2rem 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
.svc-panel-desc {
  font-size: .95rem;
  line-height: 1.78;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 580px;
}
.svc-panel-desc small {
  display: block;
  margin-top: .6rem;
  font-size: .8rem;
  color: var(--ink-4);
  font-style: italic;
}

/* ══════════════════════════════════════════════
   BOOKING PAGE
   ══════════════════════════════════════════════ */
#page-booking {
  background: var(--bg-2);
  padding: 5rem 5vw 7rem;
}
.booking-wrap { max-width: 1060px; margin: 0 auto; }

.booking-hd {
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-med);
}
.booking-hd h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--ink-1);
  margin: .8rem 0 .9rem;
  font-weight: 600;
}
.booking-hd p {
  font-size: .97rem;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.75;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.75fr;
  gap: 2.5rem;
  align-items: start;
}

/* Sidebar */
.bk-side {
  background: var(--bg-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: 92px;
  box-shadow: var(--shadow-lg);
}
.bk-side-top {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid rgba(26,31,24,.1);
}
.bk-side-top h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1f18;
  margin-bottom: .3rem;
}
.bk-side-top p { font-size: .8rem; color: rgba(26,31,24,.55); font-weight: 300; }

.bk-steps {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  border-bottom: 1px solid rgba(26,31,24,.1);
}
.bk-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.bk-step-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  margin-top: 2px;
}
.bk-step span {
  font-size: .82rem;
  color: rgba(26,31,24,.7);
  font-weight: 300;
  line-height: 1.6;
}

.bk-sel-preview { padding: 1.6rem 2rem; }
.bk-sel-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(26,31,24,.5);
  margin-bottom: .9rem;
}
#sel-tags { display: flex; flex-direction: column; gap: .45rem; }
.sel-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(26,31,24,.8);
  padding: .5rem .9rem;
  border-radius: var(--r-sm);
  background: rgba(26,31,24,.06);
  border: 1px solid rgba(26,31,24,.15);
}
.sel-tag-rm {
  background: none; border: none;
  color: rgba(26,31,24,.35);
  cursor: pointer;
  font-size: .85rem;
  padding: 0 0 0 .6rem;
  transition: color .2s;
}
.sel-tag-rm:hover { color: #e05050; }
.sel-empty {
  font-size: .82rem;
  color: rgba(26,31,24,.35);
  font-style: italic;
}

/* Form card */
.bk-form-card {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}


.form-sec-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
}

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}
.f-group label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.f-group input,
.f-group select,
.f-group textarea {
  background: var(--field-bg);
  border: 1.5px solid var(--line-med);
  border-radius: var(--r-sm);
  padding: .78rem 1.1rem;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--ink-1);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(61,168,180,.1);
  background: #fff;
}
.f-group textarea { resize: vertical; min-height: 120px; }
.f-group select option { background: var(--card); color: var(--ink-1); }

.pick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-bottom: 1rem;
}
.pick-item {
  padding: .9rem 1.1rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-med);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--field-bg);
  user-select: none;
}
.pick-item:hover { border-color: var(--teal); }
.pick-item.picked { border-color: var(--teal); background: rgba(61,168,180,.06); }
.pick-box {
  width: 18px; height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1.5px solid var(--line-strong);
  position: relative;
  transition: background .2s, border-color .2s;
  background: var(--card);
}
.pick-item.picked .pick-box { background: var(--teal); border-color: var(--teal); }
.pick-item.picked .pick-box::after {
  content: '';
  position: absolute;
  top: 3px; left: 5px;
  width: 5px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.pick-lbl { font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.pick-item.picked .pick-lbl { color: var(--ink-1); font-weight: 500; }

.f-sep { height: 1px; background: var(--line); margin: 1.8rem 0; }

.btn-submit {
  width: 100%;
  padding: 1.05rem;
  border-radius: 100px;
  border: none;
  background: var(--bg-dark);
  color: #1a1f18;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background .2s, transform .2s, box-shadow .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.btn-submit:hover {
  background: var(--bg-dark-2);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-submit svg { width: 15px; height: 15px; stroke: #1a1f18; fill: none; stroke-width: 2.5; }

.f-note { font-size: .73rem; color: var(--ink-4); margin-top: .9rem; text-align: center; line-height: 1.6; }

.f-error {
  display: none;
  padding: .9rem 1.2rem;
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
  background: rgba(200,56,43,.07);
  border: 1px solid rgba(200,56,43,.2);
  font-size: .83rem;
  color: #a83228;
  line-height: 1.55;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
}
.success-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--grad);
  margin: 0 auto 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(61,168,180,.28);
}
.success-icon svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 2.5; }
.form-success h3 { font-size: 1.9rem; font-weight: 600; color: var(--ink-1); margin-bottom: .8rem; }
.form-success p { font-size: .95rem; color: var(--ink-2); font-weight: 300; line-height: 1.75; max-width: 400px; margin: 0 auto; }
.form-success .retry { margin-top: 2rem; }

/* ══════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════ */
#page-contact { background: var(--bg-1); padding: 5rem 5vw 7rem; }
.contact-wrap { max-width: 1060px; margin: 0 auto; }

.contact-hd {
  margin-bottom: 4rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line-med);
}
.contact-hd h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--ink-1); margin: .8rem 0 .9rem; font-weight: 600; }
.contact-hd p { font-size: .97rem; color: var(--ink-2); font-weight: 300; max-width: 500px; line-height: 1.75; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2.5rem; }

.contact-info {
  background: var(--bg-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  align-self: start;
}
.contact-info-top {
  padding: 2.2rem 2rem;
  border-bottom: 1px solid rgba(26,31,24,.1);
}
.contact-info-top .brand-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-info-top .brand-tag {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(26,31,24,.5);
  margin-top: .3rem;
}

.contact-fields { padding: 1.8rem 2rem; display: flex; flex-direction: column; gap: .6rem; }
.cf-row {
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  background: rgba(26,31,24,.05);
  border: 1px dashed rgba(26,31,24,.18);
}
.cf-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(26,31,24,.5);
  margin-bottom: .3rem;
}
.cf-val { font-size: .88rem; color: rgba(26,31,24,.5); font-style: italic; }
.cf-val.set { color: rgba(26,31,24,.85); font-style: normal; }

.contact-form-card {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact-form-card h3 { font-size: 1.4rem; font-weight: 600; color: var(--ink-1); margin-bottom: .5rem; }
.contact-form-card > p { font-size: .88rem; color: var(--ink-3); font-weight: 300; margin-bottom: 2rem; }

.social-link {
  color: #1a1f18;
  display: inline-flex;
  align-items: center;
  margin-right: 14px;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  padding: 4px;
  border-radius: 6px;
}

.social-link:hover {
  color: #ffffff;
  background: #716262;
  transform: translateY(-2px);
}
/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(232,237,228,.07);
  padding: 3rem 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.f-brand { display: flex; align-items: center; gap: 1rem; }
.f-logo-img { height: clamp(70px, 8vw, 80px); width: auto; display: block; image-rendering: -webkit-optimize-contrast; image-rendering: auto; }
.f-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.f-brand-tag {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(26,31,24,.45);
}
.f-mantra {
  font-family: var(--font-display);
  font-size: .9rem;
  font-style: italic;
  color: rgba(26,31,24,.5);
  text-align: center;
  letter-spacing: .02em;
}
.f-copy {
  font-family: var(--font-mono);
  font-size: .62rem;
  color: rgba(26,31,24,.4);
  text-align: right;
  letter-spacing: .08em;
}

/* ══════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════ */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .bk-side {position: static;}
  .nav-right { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .hero-right { display: none; }

  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }

  .about-grid,
  .svc-hero-inner,
  .booking-grid,
  .contact-grid,
  .inc-inner { grid-template-columns: 1fr; }

  .svc-panel-inner { grid-template-columns: 1fr; padding-left: 0; }
  .pick-grid, .f-row { grid-template-columns: 1fr; }
  .inc-badge { display: none; }

  footer { grid-template-columns: 1fr; text-align: center; gap: 1.2rem; }
  .f-brand { justify-content: center; }
  .f-copy { text-align: center; }
}

@media (max-width: 560px) {
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .bk-form-card { padding: 1.8rem; }
}

/* ══════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════ */

.about-hero {
  background: var(--bg-dark);
  padding: clamp(5rem, 10vw, 9rem) 6vw clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.about-hero::after {
  content: 'RIHS';
  position: absolute;
  right: -10px; bottom: -40px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 700;
  color: rgba(26,31,24,.07);
  letter-spacing: .06em;
  pointer-events: none;
}
.about-hero-inner { max-width: 860px; }
.page-eyebrow {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 1rem;
}
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}
.about-hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--ink-3);
  max-width: 520px;
}

/* Vision + Mission grid */
.about-vm { padding: clamp(3rem, 6vw, 6rem) 6vw; background: var(--bg-1); }
.about-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.about-vm-card {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 2.4rem 2.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.about-vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.avm-num {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--teal);
  margin-bottom: .8rem;
}
.about-vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: .9rem;
}
.about-vm-card p {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.8;
}

/* Guiding Principle + Motto */
.about-principle { padding: clamp(2.5rem, 5vw, 5rem) 6vw; background: var(--bg-2); }
.ap-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.ap-card {
  background: var(--bg-dark);
  border-radius: var(--r-xl);
  padding: 2.4rem 2.2rem;
  border: 1px solid var(--line-med);
  box-shadow: var(--shadow-sm);
}
.ap-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: .9rem;
  margin-top: .4rem;
}
.ap-quote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--ink-1);
  line-height: 1.65;
}

/* Core Values */
.about-values { padding: clamp(3rem, 6vw, 6rem) 6vw; background: var(--bg-1); }
.av-header { text-align: center; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.av-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--ink-1);
  margin-top: .5rem;
}
.av-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.av-card {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 2rem 1.6rem 2.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.av-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.av-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.av-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: .6rem;
}
.av-card p { font-size: .85rem; color: var(--ink-3); line-height: 1.7; }
.about-cta { margin-top: 0; }

/* ══════════════════════════════════════════════
   MEDIA PAGE
   ══════════════════════════════════════════════ */

.media-hero { background: var(--bg-dark); padding: clamp(5rem, 10vw, 9rem) 6vw clamp(3rem, 6vw, 5rem); }
.media-grid-section { padding: clamp(2.5rem, 5vw, 5rem) 6vw; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.media-card--featured { grid-column: span 2; grid-row: span 2; }
.media-card--wide { grid-column: span 2; }

.media-card { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.media-img-wrap {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.media-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.media-card:hover .media-img-wrap img { transform: scale(1.06); }

/* Placeholder when no image */
.media-img-wrap.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
}
.media-img-wrap.media-placeholder::after {
  content: '＋ Add Image';
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--ink-4);
  text-transform: uppercase;
}

/* Overlay */
.media-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(to top, rgba(26,31,24,.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .3s, transform .3s;
}
.media-card:hover .media-overlay { opacity: 1; transform: translateY(0); }
.media-tag {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: var(--bg-dark);
  padding: .2rem .6rem;
  border-radius: 100px;
  align-self: flex-start;
  color: var(--ink-1);
}
.media-caption { font-size: .8rem; color: #fff; font-weight: 300; }

.media-note {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--ink-4);
  letter-spacing: .05em;
}
.media-note code { background: var(--bg-3); padding: .1rem .4rem; border-radius: 4px; }

/* Clickable affordance on media cards */
.media-card { cursor: pointer; }
.media-card:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
.media-zoom-hint {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(20,25,18,.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.media-zoom-hint svg {
  width: 14px; height: 14px;
  stroke: #fff; fill: none; stroke-width: 2.2;
}
.media-card:hover .media-zoom-hint,
.media-card:focus-visible .media-zoom-hint { opacity: 1; transform: scale(1); }
/* Always show the hint on touch devices, since there's no hover state */
@media (hover: none) {
  .media-zoom-hint { opacity: .85; transform: scale(1); }
}

/* Touch devices and small screens have no hover state — keep the tag/caption
   permanently visible instead of hidden until a hover that will never come */
@media (hover: none), (max-width: 900px) {
  .media-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════
   LIGHTBOX — full-screen image preview
   ══════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,14,10,.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
  padding: 4rem 1.5rem;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease;
}
.lightbox-figure {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  transform: scale(.96);
  transition: transform .3s ease;
}
.lightbox.open .lightbox-figure { transform: scale(1); }
.lightbox-figure img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.lightbox-figure figcaption {
  color: rgba(247,245,240,.85);
  font-size: .9rem;
  font-weight: 300;
  text-align: center;
  max-width: 640px;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(247,245,240,.1);
  border: 1px solid rgba(247,245,240,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(247,245,240,.2); }
.lightbox-close svg,
.lightbox-nav svg { stroke: #fff; fill: none; stroke-width: 2.2; }

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
}
.lightbox-close svg { width: 18px; height: 18px; }

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 700px) {
  .lightbox { padding: 5rem 1rem 2rem; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: .4rem; }
  .lightbox-next { right: .4rem; }
  .lightbox-close { top: 1rem; right: 1rem; }
}

/* ══════════════════════════════════════════════
   BLOG PAGE
   ══════════════════════════════════════════════ */

.blog-hero { background: var(--bg-dark); padding: clamp(5rem, 10vw, 9rem) 6vw clamp(3rem, 6vw, 5rem); }
.blog-grid-section { padding: clamp(2.5rem, 5vw, 5rem) 6vw; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.blog-card--featured { grid-column: span 3; display: grid; grid-template-columns: 1.4fr 1fr; }

.blog-card {
  background: var(--card);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.blog-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  min-height: 200px;
  flex-shrink: 0;
}
.blog-card--featured .blog-img-wrap { min-height: 340px; }
.blog-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
  position: absolute; inset: 0;
}
.blog-img-wrap.media-placeholder::after {
  content: '＋ Add Cover Image';
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }

.blog-cat {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--bg-dark);
  color: var(--ink-1);
  padding: .3rem .8rem;
  border-radius: 100px;
  border: 1px solid var(--line-med);
}

.blog-body {
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-date {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .15em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.blog-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.3;
  margin-bottom: .8rem;
}
.blog-excerpt {
  font-size: .88rem;
  color: var(--ink-3);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.4rem;
}
.blog-meta-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .75rem;
}
.blog-read-time {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .13em;
  color: var(--teal);
  text-transform: uppercase;
  background: rgba(46,143,160,.08);
  padding: .18rem .6rem;
  border-radius: 100px;
}
.blog-featured-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--grad);
  color: #fff;
  padding: .3rem .85rem;
  border-radius: 100px;
}
.blog-read-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: none;
  border: 1.5px solid var(--teal);
  padding: .55rem 1.3rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .2s, color .2s;
  margin-top: auto;
}
.blog-read-btn:hover {
  background: var(--teal);
  color: #fff;
}

/* ── Responsive: About / Media / Blog ── */
@media (max-width: 900px) {
  .about-vm-grid { grid-template-columns: 1fr; }
  .ap-inner { grid-template-columns: 1fr; }
  .av-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .media-card--featured { grid-column: span 2; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .blog-card--featured { grid-column: span 2; grid-template-columns: 1fr; }
  .blog-card--featured .blog-img-wrap { min-height: 160px; }
  .blog-img-wrap { min-height: 110px; }
  .blog-body { padding: 0.9rem 0.9rem 1rem; }
  .blog-title { font-size: 0.85rem; margin-bottom: 0.4rem; }
  .blog-excerpt { font-size: 0.72rem; line-height: 1.55; margin-bottom: 0.8rem; display: -webkit-box;  -webkit-box-orient: vertical; overflow: hidden; }
  .blog-read-btn { font-size: 0.65rem; padding: 0.4rem 0.85rem; }
  .blog-meta-row { gap: 0.4rem; margin-bottom: 0.4rem; }
  .blog-date { font-size: 0.55rem; }
  .blog-read-time { font-size: 0.5rem; }
}
@media (max-width: 560px) {
  .av-grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .media-card--featured,
  .media-card--wide { grid-column: span 1; grid-row: span 1; }
}