/* ══════════════════════════════════════════════════════════
   CONSULT 24 — PREMIUM THEME CSS v2.0
   Fixes: header alignment, mobile burger, responsive spacing,
          about/services/contact page routing, white-space polish
══════════════════════════════════════════════════════════ */

:root {
  --gold: #AE7B47;
  --gold-l: #C9975F;
  --charcoal: #2B2B2B;
  --black: #1A1714;
  --cream: #F5F0E8;
  --cream-2: #EDE6DA;
  --cream-3: #E4D9C8;
  --beige: #D9C0A1;
  --white: #FFFFFF;
  --muted: #6B6558;
  --nav-h: 72px;
  --page-pad: clamp(20px, 5vw, 80px);
  --section-v: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR (hidden on touch) ── */
.cursor {
  position: fixed; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s; mix-blend-mode: multiply;
}
.cursor-ring {
  position: fixed; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--gold); pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .12s ease-out; opacity: .55;
}
.cursor.big { width: 44px; height: 44px; opacity: .25; }
.cursor-ring.big { width: 66px; height: 66px; opacity: .18; }
@media (hover: none) {
  .cursor, .cursor-ring { display: none !important; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ══════════════════════════════════════════════════════════
   NAV — PROPERLY ALIGNED HEADER
══════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-h); z-index: 500;
  background: rgba(245,240,232,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(174,123,71,.1);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.07); }

/* nav-inner: logo left, right-side items right — always flex row */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--page-pad);
  gap: 16px;
}

/* Logo */
.nav-logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo-link img,
.nav-logo-link .custom-logo {
  height: 32px;
  width: auto;
  display: block;
}

/* Right side: links + burger sit together */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex; gap: 4px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 11px; font-weight: 600; letter-spacing: .09em;
  color: var(--charcoal); text-decoration: none; text-transform: uppercase;
  padding: 8px 14px; position: relative; transition: color .2s; cursor: none;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--charcoal) !important; color: var(--white) !important;
  padding: 10px 22px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; }

/* Burger — hidden on desktop, sits inline with logo on mobile */
.burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  width: 24px; height: 2px; background: var(--charcoal);
  display: block; transition: all .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mob {
  display: none; position: fixed; inset: 0; z-index: 490;
  background: var(--charcoal);
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.mob.open { display: flex; animation: fadeIn .3s ease forwards; }
.mob a {
  font-size: clamp(24px,7vw,40px); font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--white); text-decoration: none; cursor: pointer;
  transition: color .2s;
}
.mob a:hover { color: var(--gold); }
.mob-x {
  position: absolute; top: 22px; right: 24px;
  font-size: 28px; color: var(--white);
  background: none; border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ══════════════════════════════════════════════════════════
   SHARED / UTILITY
══════════════════════════════════════════════════════════ */
.ey { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ey-line { width: 26px; height: 1px; background: var(--gold); flex-shrink: 0; }
.ey span {
  font-size: 10px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold);
}
.dh {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px,4.5vw,54px); font-weight: 700;
  line-height: 1.1; letter-spacing: -.02em;
  color: var(--black); margin-bottom: 20px;
}
.dh em { font-style: italic; color: var(--gold); }
.dh-w { color: var(--white); }
.bt { font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--muted); }
.bt strong { font-weight: 600; color: var(--charcoal); }

.btn-d {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--black); color: var(--white);
  border: 2px solid var(--black);
  padding: 13px 30px; font-size: 11px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .25s, border-color .25s, transform .2s;
}
.btn-d:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.btn-o {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--charcoal);
  border: 2px solid rgba(43,43,43,.3);
  padding: 13px 26px; font-size: 11px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: border-color .25s, color .25s;
}
.btn-o:hover { border-color: var(--gold); color: var(--gold); }

.btn-w {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); color: var(--gold);
  border: 2px solid var(--white);
  padding: 14px 34px; font-size: 11px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn-w:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }

/* ── REVEAL ANIMATIONS ── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.rv.on { opacity: 1; transform: none; }
.rl { opacity: 0; transform: translateX(-28px); transition: opacity .7s ease, transform .7s ease; }
.rl.on { opacity: 1; transform: none; }
.rr { opacity: 0; transform: translateX(28px); transition: opacity .7s ease, transform .7s ease; }
.rr.on { opacity: 1; transform: none; }

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

/* ── TICKER ── */
.ticker { background: var(--charcoal); padding: 12px 0; overflow: hidden; }
.ti { display: flex; white-space: nowrap; animation: tick 36s linear infinite; }
.ti-i {
  font-size: 10px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  padding: 0 34px; display: flex; align-items: center; gap: 34px;
}
.ti-d { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── LOGO STRIP ── */
.logo-strip { background: var(--white); padding: var(--section-v) var(--page-pad); overflow: hidden; }
.ls-label {
  text-align: center; font-size: 10px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 38px;
}
.ls-wrap { overflow: hidden; position: relative; }
.ls-wrap::before, .ls-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ls-wrap::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.ls-wrap::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.ls-track {
  display: flex; align-items: center; gap: 60px;
  animation: logo-sc 26s linear infinite; width: max-content;
}
.ls-track:hover { animation-play-state: paused; }
.client-logo-img {
  filter: grayscale(1) opacity(.5); transition: filter .3s, transform .3s; cursor: pointer;
}
.client-logo-img:hover { filter: grayscale(0) opacity(1); transform: scale(1.07); }
@keyframes logo-sc { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════
   HOME HERO
══════════════════════════════════════════════════════════ */
.h-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh; padding-top: var(--nav-h);
}
.h-left { position: relative; overflow: hidden; min-height: calc(100vh - var(--nav-h)); }
.h-img {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg,rgba(245,240,232,.6) 0%,rgba(245,240,232,.15) 55%,transparent 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=900&q=80&auto=format&fit=crop') center/cover no-repeat;
}
.h-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(245,240,232,.2) 0%, rgba(245,240,232,.62) 100%);
}
.h-txt {
  position: relative; z-index: 2;
  padding: clamp(40px,6vw,80px) clamp(24px,4vw,52px) clamp(48px,6vw,80px);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: calc(100vh - var(--nav-h));
}
.h-ey { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.h-ey-l { width: 36px; height: 1px; background: var(--gold); }
.h-ey span {
  font-size: 10px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold);
}
.h-h1 .lb {
  display: block; font-family: 'Poppins', sans-serif;
  font-size: clamp(32px,5vw,66px); font-weight: 800; line-height: 1.0;
  letter-spacing: -.03em; color: var(--black);
}
.h-h1 .li {
  display: block; font-family: 'Playfair Display', serif;
  font-size: clamp(32px,5vw,66px); font-weight: 500;
  font-style: italic; line-height: 1.1;
  letter-spacing: -.01em; color: var(--gold);
}
.h-stmt { margin-top: 26px; font-size: clamp(15px,1.8vw,20px); font-weight: 300; line-height: 1.5; color: var(--charcoal); }
.h-stmt strong { font-weight: 700; }
.h-div { width: 44px; height: 2px; background: var(--gold); margin: 22px 0; }
.h-body { font-size: 14px; font-weight: 300; line-height: 1.9; color: var(--muted); max-width: 370px; }
.h-btns { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

/* HOME RIGHT PILLARS */
.h-right {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(40px,6vw,80px) clamp(24px,4vw,60px) clamp(48px,6vw,80px) clamp(20px,3vw,50px);
  border-left: 1px solid rgba(174,123,71,.13); background: var(--cream);
}
.pil {
  display: grid; grid-template-columns: 70px 1fr; gap: 0 20px;
  padding: 26px 0; border-bottom: 1px solid rgba(174,123,71,.12);
}
.pil:first-child { padding-top: 0; }
.pil:last-child  { border-bottom: none; padding-bottom: 0; }
.pil-l { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.pil-n { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.pil-ic {
  width: 48px; height: 48px; border-radius: 50%; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center; transition: background .25s;
}
.pil:hover .pil-ic { background: var(--gold); }
.pil-ic svg { width: 20px; height: 20px; stroke: var(--charcoal); fill: none; stroke-width: 1.5; transition: stroke .25s; }
.pil:hover .pil-ic svg { stroke: var(--white); }
.pil-t { font-family: 'Playfair Display', serif; font-size: clamp(17px,1.9vw,24px); font-weight: 700; color: var(--black); margin-bottom: 7px; }
.pil-d { font-size: 12px; font-weight: 300; line-height: 1.75; color: var(--muted); max-width: 270px; }
.h-tag { margin-top: 30px; padding-top: 24px; border-top: 2px solid var(--charcoal); font-size: 13px; font-weight: 700; color: var(--charcoal); }

/* ══════════════════════════════════════════════════════════
   ABOUT STRIP
══════════════════════════════════════════════════════════ */
.astrip {
  background: var(--white);
  padding: var(--section-v) var(--page-pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center;
}
.vc {
  padding: 24px 26px; border-left: 2px solid var(--gold);
  background: var(--cream); margin-bottom: 14px;
  transition: transform .25s, box-shadow .25s;
}
.vc:hover { transform: translateX(5px); box-shadow: -3px 4px 22px rgba(0,0,0,.05); }
.vc:last-child { margin-bottom: 0; }
.vt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 5px; }
.vd { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   SERVICES PREVIEW GRID
══════════════════════════════════════════════════════════ */
.sg { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.sc {
  padding: 34px 30px; background: var(--white);
  position: relative; overflow: hidden; cursor: pointer; transition: background .3s;
}
.sc::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .4s;
}
.sc:hover { background: var(--charcoal); }
.sc:hover .sc-n  { color: var(--gold); }
.sc:hover .sc-nm { color: var(--white); }
.sc:hover .sc-d  { color: rgba(255,255,255,.42); }
.sc:hover::before { width: 100%; }
.sc-n  { font-size: 10px; font-weight: 700; color: var(--beige); letter-spacing: .15em; margin-bottom: 14px; transition: color .3s; }
.sc-nm { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 9px; line-height: 1.3; transition: color .3s; }
.sc-d  { font-size: 12px; font-weight: 300; line-height: 1.8; color: var(--muted); transition: color .3s; }

/* ══════════════════════════════════════════════════════════
   THINK SECTION
══════════════════════════════════════════════════════════ */
.think { background: var(--charcoal); padding: var(--section-v) var(--page-pad); text-align: center; }
.th-in { max-width: 780px; margin: 0 auto; }
.th-ch { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.ch-i {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 28px 32px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  min-width: 130px; text-align: center; transition: background .3s, border-color .3s;
}
.ch-i:hover { background: rgba(174,123,71,.1); border-color: rgba(174,123,71,.28); }
.ch-f { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.28); text-transform: uppercase; letter-spacing: .12em; }
.ch-t { font-size: 15px; font-weight: 700; color: var(--white); }
.ch-a { font-size: 18px; color: var(--gold); padding: 0 4px; display: flex; align-items: center; }

/* ══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════ */
.cta-band { background: var(--gold); text-align: center; padding: var(--section-v) var(--page-pad); }
.ct-ey { font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 16px; }
.ct-h { font-family: 'Playfair Display', serif; font-size: clamp(26px,4vw,50px); font-weight: 700; line-height: 1.15; color: var(--white); max-width: 640px; margin: 0 auto 14px; letter-spacing: -.01em; }
.ct-s { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.75); max-width: 440px; margin: 0 auto 40px; line-height: 1.75; }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (About, Services, Contact, etc.)
══════════════════════════════════════════════════════════ */
.pg-hero {
  padding: calc(var(--nav-h) + clamp(48px,6vw,80px)) var(--page-pad) clamp(56px,6vw,88px);
  background: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end;
}
.pg-h1 { font-family: 'Playfair Display', serif; font-size: clamp(34px,5.5vw,68px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--black); }
.pg-h1 em { font-style: italic; color: var(--gold); }
.pg-desc { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.stat-wrap { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(174,123,71,.2); }
.stat-n { font-family: 'Playfair Display', serif; font-size: clamp(30px,4vw,50px); font-weight: 700; color: var(--black); line-height: 1; }
.stat-n em { font-style: normal; color: var(--gold); }
.stat-l { font-size: 11px; font-weight: 300; color: var(--muted); margin-top: 5px; letter-spacing: .04em; }

/* ══════════════════════════════════════════════════════════
   ABOUT STORY
══════════════════════════════════════════════════════════ */
.about-story { background: var(--white); padding: var(--section-v) var(--page-pad); }
.as-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.am { background: var(--charcoal); padding: 52px 48px; position: relative; overflow: hidden; }
.am::before {
  content: '"'; position: absolute; top: -20px; left: 18px;
  font-family: 'Playfair Display', serif; font-size: 150px; font-weight: 900;
  color: rgba(174,123,71,.07); line-height: 1;
}
.ml { font-size: 15px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.52); margin-bottom: 5px; position: relative; z-index: 1; }
.ml strong { font-weight: 700; color: var(--white); }
.ml.gold { color: var(--gold); font-weight: 500; }
.val-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 32px 28px; background: var(--cream-2); margin-top: 2px; }
.vm-t { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 3px; }
.vm-d { font-size: 11px; font-weight: 300; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   CLIENTS GRID
══════════════════════════════════════════════════════════ */
.cl-grid-sec { background: var(--white); padding: var(--section-v) var(--page-pad); }
.cl-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(0,0,0,.06); margin-top: 48px; }
.cl-cell {
  background: var(--white); padding: 40px 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; transition: background .25s; cursor: pointer;
}
.cl-cell:hover { background: var(--cream); }
.cl-cell:hover .client-logo-img { filter: grayscale(0) opacity(1); }
.cl-cell .client-logo-img { height: 44px; max-width: 120px; filter: grayscale(1) opacity(.45); }
.cl-sec { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   SERVICES LIST
══════════════════════════════════════════════════════════ */
.sl-sec { background: var(--white); }
.svc-row {
  display: grid; grid-template-columns: 70px 1fr 1fr; gap: 0 48px;
  padding: 48px var(--page-pad); border-bottom: 1px solid rgba(0,0,0,.08);
  transition: background .25s, padding-left .25s; cursor: pointer;
}
.svc-row:last-child { border-bottom: none; }
.svc-row:hover { background: var(--cream); padding-left: calc(var(--page-pad) + 16px); }
.sr-n { font-family: 'Playfair Display', serif; font-size: clamp(28px,3.5vw,48px); font-weight: 700; color: rgba(0,0,0,.05); line-height: 1; padding-top: 4px; align-self: start; transition: color .3s; }
.svc-row:hover .sr-n { color: var(--gold); }
.sr-nm { font-family: 'Playfair Display', serif; font-size: clamp(17px,2.2vw,24px); font-weight: 700; color: var(--black); margin-bottom: 10px; }
.sr-d  { font-size: 13px; font-weight: 300; line-height: 1.8; color: var(--muted); }
.sr-tags { display: flex; flex-direction: column; gap: 7px; padding-top: 4px; }
.sr-tag {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(174,123,71,.28); padding: 5px 11px;
  transition: background .2s, color .2s;
}
.svc-row:hover .sr-tag { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   ENGAGEMENT MODELS
══════════════════════════════════════════════════════════ */
.eng-sec { background: var(--cream); padding: var(--section-v) var(--page-pad); }
.eng-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 48px; }
.eng-c { background: var(--white); padding: 42px 36px; transition: transform .3s, box-shadow .3s; }
.eng-c:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.eng-c.ft { background: var(--charcoal); }
.eng-badge { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: var(--gold); color: var(--white); padding: 4px 10px; margin-bottom: 18px; }
.eng-nm { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.eng-c.ft .eng-nm { color: var(--white); }
.eng-d { font-size: 13px; font-weight: 300; line-height: 1.8; color: var(--muted); }
.eng-c.ft .eng-d { color: rgba(255,255,255,.48); }

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════ */
.con-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  padding-top: var(--nav-h);
}
.con-l {
  background: var(--charcoal);
  padding: clamp(48px,6vw,80px) var(--page-pad);
  display: flex; flex-direction: column; justify-content: center;
}
.con-r {
  background: var(--cream);
  padding: clamp(48px,6vw,80px) var(--page-pad);
  display: flex; flex-direction: column; justify-content: center;
}
.ci { margin-bottom: 28px; }
.ci-l { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ci-v { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.75); }
.ci-v a { color: inherit; text-decoration: none; cursor: pointer; transition: color .2s; }
.ci-v a:hover { color: var(--gold); }
.con-social { display: flex; gap: 8px; margin-top: 6px; }
.cs {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.38);
  text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s;
}
.cs svg { width: 14px; height: 14px; }
.cs:hover { border-color: var(--gold); color: var(--gold); }

/* Contact form */
.fg { margin-bottom: 18px; }
.fl { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 7px; }
.fi, .ft, .fs {
  width: 100%; padding: 13px 15px;
  background: var(--white); border: 1px solid rgba(174,123,71,.22);
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 300;
  color: var(--black); outline: none; transition: border-color .2s;
}
.fi:focus, .ft:focus, .fs:focus { border-color: var(--gold); }
.ft { height: 130px; resize: vertical; }
.fs { appearance: none; cursor: pointer; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
footer { background: var(--black); padding: 68px var(--page-pad) 30px; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-tagline { font-size: 13px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.33); max-width: 240px; margin-top: 14px; }
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.f-si {
  width: 33px; height: 33px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.33);
  text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s;
}
.f-si svg { width: 13px; height: 13px; }
.f-si:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.38); text-decoration: none; cursor: pointer; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.38); margin-bottom: 7px; }
.footer-contact-item a { color: inherit; text-decoration: none; cursor: pointer; transition: color .2s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.18); font-weight: 300; }

/* ══════════════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════════════ */
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 52px; }
.port-card { position: relative; overflow: hidden; cursor: pointer; background: var(--charcoal); aspect-ratio: 4/3; }
.port-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.4,0,.2,1); filter: brightness(.7); }
.port-card:hover .port-img { transform: scale(1.06); filter: brightness(.5); }
.port-overlay {
  position: absolute; inset: 0; padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(26,23,20,.92) 0%, rgba(26,23,20,.2) 60%, transparent 100%);
  transition: background .4s;
}
.port-tag { font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.port-name { font-family: 'Playfair Display', serif; font-size: clamp(18px,2.5vw,26px); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 10px; }
.port-desc { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.6; max-width: 280px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.port-card:hover .port-desc { opacity: 1; transform: translateY(0); }
.port-arrow { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 14px; opacity: 0; transition: opacity .35s .05s; }
.port-card:hover .port-arrow { opacity: 1; }

/* ── Portfolio single ── */
.proj-hero { padding: calc(var(--nav-h)+72px) var(--page-pad) 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.proj-back { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); text-decoration: none; cursor: pointer; margin-bottom: 28px; transition: gap .2s; }
.proj-back:hover { gap: 12px; }
.proj-tag { font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.proj-h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px,5vw,60px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; color: var(--black); margin-bottom: 18px; }
.proj-h1 em { font-style: italic; color: var(--gold); }
.proj-intro { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--muted); margin-bottom: 28px; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(0,0,0,.1); padding-top: 24px; margin-top: 4px; }
.pm-item { flex: 1; min-width: 120px; padding: 18px 20px 18px 0; border-right: 1px solid rgba(0,0,0,.08); }
.pm-item:last-child { border-right: none; padding-right: 0; }
.pm-label { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.pm-value { font-size: 13px; font-weight: 500; color: var(--charcoal); }
.proj-img-ph { background: var(--cream-2); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.proj-img-ph::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--cream-3) 0%, var(--beige) 100%); }
.proj-img-ph-label { position: relative; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(43,43,43,.4); }
.metrics-strip { background: var(--charcoal); padding: var(--section-v) var(--page-pad); }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.08); margin-top: 48px; }
.metric-cell { background: var(--charcoal); padding: 40px 32px; text-align: center; }
.metric-num { font-family: 'Playfair Display', serif; font-size: clamp(36px,5vw,60px); font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 8px; }
.metric-num em { font-style: normal; color: var(--gold); }
.metric-label { font-size: 11px; font-weight: 400; color: rgba(255,255,255,.45); letter-spacing: .08em; }
.proj-section { padding: var(--section-v) var(--page-pad); }
.proj-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.proj-2col-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.challenge-box { background: var(--cream); padding: 36px; border-left: 3px solid var(--gold); }
.cb-label { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.cb-text { font-size: 14px; font-weight: 300; line-height: 1.85; color: var(--muted); }
.deliverable-card { background: var(--white); padding: 28px 26px; border-top: 2px solid var(--gold); }
.dc-num { font-size: 10px; font-weight: 700; letter-spacing: .15em; color: var(--gold); margin-bottom: 8px; }
.dc-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.dc-desc { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--muted); }
.img-placeholder { background: var(--cream-2); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.img-placeholder::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--cream-2) 0%, var(--cream-3) 50%, var(--beige) 100%); }
.ip-label { position: relative; z-index: 1; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(43,43,43,.35); }
.next-proj { background: var(--cream); padding: 80px var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.np-label { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.np-name { font-family: 'Playfair Display', serif; font-size: clamp(22px,3vw,36px); font-weight: 700; color: var(--black); }

/* ══════════════════════════════════════════════════════════
   WORDPRESS SPECIFIC
══════════════════════════════════════════════════════════ */
.home .h-hero { min-height: 100vh; }
.alignleft   { float: left; margin: 0 1.5em 1em 0; }
.alignright  { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.alignwide   { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull   { max-width: 100%; }

.proj-section-content h2 { font-family:'Playfair Display',serif; font-size:clamp(22px,3vw,34px); font-weight:700; color:var(--black); margin-bottom:16px; letter-spacing:-.01em; }
.proj-section-content h3 { font-family:'Poppins',sans-serif; font-size:18px; font-weight:700; color:var(--charcoal); margin-bottom:12px; }
.proj-section-content p  { font-size:15px; font-weight:300; line-height:1.9; color:var(--muted); margin-bottom:16px; }
.proj-section-content ul,.proj-section-content ol { padding-left:24px; margin-bottom:16px; color:var(--muted); font-weight:300; line-height:1.8; }
.proj-section-content li { margin-bottom:6px; }
.proj-section-content blockquote { border-left:3px solid var(--gold); padding:16px 24px; background:var(--cream); margin:24px 0; font-style:italic; color:var(--charcoal); }
.proj-section-content figure img { width:100%; height:auto; display:block; }
.proj-section-content figcaption { font-size:11px; color:var(--muted); text-align:center; margin-top:8px; letter-spacing:.04em; }

.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.nav-logo-link img, .nav-logo-link .custom-logo { height:32px; width:auto; display:block; }
.footer-logo-img { height:26px; width:auto; display:block; }
.skip-link { position:absolute; top:-40px; left:0; background:var(--gold); color:var(--white); padding:8px 16px; font-size:12px; font-weight:700; text-decoration:none; z-index:9999; }
.skip-link:focus { top:0; }

/* Services page hero with enough top offset */
.page-services section:first-of-type {
  padding-top: calc(var(--nav-h) + clamp(48px,6vw,80px));
}

.gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:2px; margin:24px 0; }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; }
.admin-bar nav { top: 32px; }
@media (max-width: 782px) { .admin-bar nav { top: 46px; } }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1100px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* Show burger, hide desktop nav links */
  .nav-links { display: none; }
  .burger    { display: flex; }

  /* Two-column grids collapse */
  .h-hero, .pg-hero, .astrip, .as-grid, .con-grid {
    grid-template-columns: 1fr; gap: 0;
  }
  .h-left, .h-txt { min-height: 68vh; }
  .h-right {
    padding: 44px var(--page-pad) 52px;
    border-left: none; border-top: 1px solid rgba(174,123,71,.13);
  }
  .astrip { gap: 44px; }
  .sg { grid-template-columns: 1fr 1fr; }
  .as-grid { gap: 36px; }
  .cl-grid { grid-template-columns: repeat(2,1fr); }
  .svc-row { grid-template-columns: 56px 1fr; gap: 0 24px; }
  .sr-tags { display: none; }
  .eng-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .port-grid { grid-template-columns: 1fr 1fr; }
  .proj-hero, .proj-2col { grid-template-columns: 1fr; gap: 36px; }
  .proj-hero { padding: calc(var(--nav-h)+48px) var(--page-pad) 60px; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .proj-2col-3 { grid-template-columns: 1fr 1fr; }
  .next-proj { padding: 60px var(--page-pad); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤640px)
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  /* Nav: logo + burger stay on same row, both centered vertically */
  .nav-inner { padding: 0 16px; }
  .nav-right  { gap: 4px; }

  /* Hero full width */
  .h-txt { padding: 36px 16px 48px; }
  .h-right { padding: 36px 16px 44px; }
  .pil { grid-template-columns: 52px 1fr; gap: 0 12px; }

  /* Single column everything */
  .sg { grid-template-columns: 1fr; }
  .pg-hero > div:last-child { padding-top: 0; }
  .cl-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { padding: 36px 16px; }
  .svc-row:hover { padding-left: 24px; }

  /* Stacked think section */
  .th-ch { flex-direction: column; align-items: stretch; }
  .ch-a  { transform: rotate(90deg); text-align: center; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Contact form */
  .con-l, .con-r { padding: 44px 16px; }
  .fr { grid-template-columns: 1fr; }

  /* Stats */
  .stat-wrap { gap: 24px; }

  /* Portfolio */
  .port-grid { grid-template-columns: 1fr; }
  .proj-hero { padding: calc(var(--nav-h)+36px) 16px 52px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .proj-2col-3 { grid-template-columns: 1fr; }
  .next-proj { padding: 48px 16px; flex-direction: column; align-items: flex-start; }
  .proj-meta { flex-direction: column; }
  .pm-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,.08); padding: 14px 0; }

  /* Engagement models */
  .eng-grid { grid-template-columns: 1fr; }
  .eng-c { padding: 32px 24px; }
}
