@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --dark:        #1A1221;
  --plum:        #2B2438;
  --mid:         #4A3A5C;
  --muted:       #7A6880;
  --accent:      #E8722A;
  --accent-dark: #BB5520;
  --accent-lite: #F2956A;
  --ember:       #C4572A;
  --highlight:   #EBC9A0;
  --border:      #C9B89A;
  --surface:     #F0E8DC;
  --bg:          #FAF6F0;

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'Source Sans 3', system-ui, sans-serif;

  --max-w: 1160px;
  --gutter: clamp(24px, 5vw, 80px);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── TYPOGRAPHY SCALE ───────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 400; line-height: 1.1; }

.eyebrow {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── LAYOUT HELPERS ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--dark { background: var(--dark); color: var(--bg); }
.section--plum { background: var(--plum); color: var(--bg); }
.section--surface { background: var(--surface); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,114,42,0.35);
}
.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 28px rgba(232,114,42,0.45);
}

.btn--outline {
  background: transparent;
  color: var(--bg);
  border: 1.5px solid rgba(250,246,240,0.4);
}
.btn--outline:hover {
  background: rgba(250,246,240,0.08);
  border-color: rgba(250,246,240,0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 14px 28px;
}
.btn--ghost:hover {
  background: var(--accent);
  color: #fff;
}

/* ─── DIVIDER ────────────────────────────────────────────── */
.rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}
.rule--center { margin-left: auto; margin-right: auto; }

/* ─── REVIEW CARD ────────────────────────────────────────── */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 28px 32px;
  position: relative;
}
.review-card::before {
  content: '"';
  font-family: var(--ff-serif);
  font-size: 80px;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.review-stars span {
  color: var(--accent);
  font-size: 14px;
}
.review-text {
  font-family: var(--ff-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 16px;
}
.review-author {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-source {
  font-size: 10px;
  color: var(--border);
  margin-top: 2px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(250,246,240,0.6);
  padding: 64px 0 32px;
  border-top: 3px solid var(--accent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__firm {
  font-family: var(--ff-serif);
  font-size: 18px;
  color: var(--bg);
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 12px;
  color: var(--accent-lite);
  font-style: italic;
  margin-bottom: 20px;
}
.footer__detail {
  font-size: 13px;
  line-height: 1.9;
}
.footer__detail a {
  color: rgba(250,246,240,0.6);
  transition: color 0.2s;
}
.footer__detail a:hover { color: var(--accent); }
.footer__heading {
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 13px;
  color: rgba(250,246,240,0.6);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--bg); }
.footer__bottom {
  border-top: 1px solid rgba(201,184,154,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: 11px; }
.footer__legal {
  display: flex;
  gap: 20px;
  font-size: 11px;
}
.footer__legal a { color: rgba(250,246,240,0.4); transition: color 0.2s; }
.footer__legal a:hover { color: rgba(250,246,240,0.7); }
.footer__bar {
  font-size: 11px;
  color: var(--accent-lite);
  font-weight: 600;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── UTILS ──────────────────────────────────────────────── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.text-lite    { color: var(--accent-lite); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ══════════════════════════════════════════════════════════
   APEX NAV
══════════════════════════════════════════════════════════ */
.apx {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  background: #1A1221;
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
}
.apx::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,114,42,0.6) 20%, rgba(201,184,154,0.2) 50%, rgba(232,114,42,0.6) 80%, transparent 100%);
}
.apx.has-open::after { opacity: 0; }
.apx.hide { transform: translateY(-100%); }

.apx__bar {
  display: flex; align-items: center;
  height: 68px;
  padding: 0 clamp(24px, 5vw, 80px);
  position: relative; z-index: 2;
}

.apx__logo {
  text-decoration: none; flex-shrink: 0; margin-right: 56px;
  display: flex; flex-direction: column; gap: 1px;
}
.apx__logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 14.5px; font-weight: 700;
  color: #FAF6F0; letter-spacing: 0.01em; line-height: 1.2;
  white-space: nowrap;
}
.apx__logo-tagline {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(250,246,240,0.7);
}

.apx__links { display: flex; align-items: stretch; flex: 1; height: 68px; }

.apx__trigger {
  position: relative;
  display: flex; align-items: center; gap: 7px;
  padding: 0 20px; height: 100%;
  background: none; border: none; cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(250,246,240,0.88);
  white-space: nowrap; transition: color 0.2s;
}
.apx__trigger:hover, .apx__trigger.active { color: #FAF6F0; }
.apx__trigger::before {
  content: '';
  position: absolute; bottom: 0;
  left: 50%; transform: translateX(-50%) scale(0);
  width: 4px; height: 4px; border-radius: 50%;
  background: #E8722A; opacity: 0;
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.apx__trigger.active::before { opacity: 1; transform: translateX(-50%) scale(1); }

.apx__chevron {
  width: 8px; height: 5px; flex-shrink: 0;
  stroke: currentColor; stroke-width: 2; fill: none;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.apx__trigger.active .apx__chevron { transform: rotate(180deg); }

.apx__right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }

.apx__secondary {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-lite); text-decoration: none;
  border: 1.5px solid rgba(232,114,42,0.45);
  padding: 11px 22px; white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.apx__secondary:hover { color: #fff; border-color: var(--accent); background: rgba(232,114,42,0.1); }

.apx__cta {
  display: flex; align-items: center; gap: 8px;
  background: #E8722A; color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  padding: 12px 28px;
  box-shadow: 0 0 18px rgba(232,114,42,0.4), 0 4px 12px rgba(232,114,42,0.2);
  transition: background 0.2s, box-shadow 0.3s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.apx__cta:hover { background: #c45e1a; box-shadow: 0 0 32px rgba(232,114,42,0.6), 0 6px 18px rgba(232,114,42,0.35); }
.apx__cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  transform: translateX(-100%) skewX(-10deg);
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.apx__cta:hover::before { transform: translateX(160%) skewX(-10deg); }

.apx__ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: 16px;
}
.apx__ham span {
  display: block; width: 20px; height: 1.5px; background: #FAF6F0;
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.2s;
}
.apx__ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.apx__ham.open span:nth-child(2) { opacity: 0; }
.apx__ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.apx__backdrop {
  position: fixed; inset: 0; top: 68px;
  background: rgba(10,7,16,0.82);
  pointer-events: none; opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 8999;
  backdrop-filter: blur(2px);
}
.apx__backdrop.open { opacity: 1; pointer-events: all; }

.apx__panel {
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: #1A1221;
  border-top: 2px solid #E8722A;
  display: grid;
  grid-template-columns: 42% 58%;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s cubic-bezier(0.77,0,0.18,1), opacity 0.2s ease;
  z-index: 9001;
  overflow: hidden;
}
.apx__panel.open { opacity: 1; clip-path: inset(0 0 0% 0); pointer-events: all; }

.apx__panel-left {
  position: relative; overflow: hidden;
  background: #0E0B14;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(40px, 6vh, 72px) clamp(40px, 5vw, 72px);
}
.apx__panel-left-img {
  position: absolute; inset: 0;
  object-fit: cover; object-position: center center;
  width: 100%; height: 100%;
  opacity: 0; transform: scale(1.08);
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1), opacity 0.7s ease;
}
.apx__panel.open .apx__panel-left-img { transform: scale(1); opacity: 0.42; }
.apx__panel-left::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,11,20,0.6) 0%, transparent 60%), linear-gradient(to top, #1A1221 0%, transparent 55%);
}
.apx__panel-left-content { position: relative; z-index: 1; max-width: 480px; display: flex; flex-direction: column; }

.apx__panel-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 0.32em;
  text-transform: uppercase; color: #E8722A;
  margin-bottom: 16px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.15s;
}
.apx__panel.open .apx__panel-eyebrow { opacity: 1; transform: none; }

.apx__panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 64px); font-weight: 300;
  color: rgba(250,246,240,0.95); line-height: 1.05; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease 0.22s, transform 0.65s cubic-bezier(0.16,1,0.3,1) 0.22s;
}
.apx__panel.open .apx__panel-title { opacity: 1; transform: none; }
.apx__panel-title em { font-style: italic; font-weight: 400; color: #F0A96C; display: block; font-size: 1.18em; letter-spacing: -0.02em; margin-bottom: 20px; }

.apx__panel-desc {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px; color: rgba(250,246,240,0.82);
  line-height: 1.7; max-width: 320px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease 0.32s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.32s;
}
.apx__panel.open .apx__panel-desc { opacity: 1; transform: none; }

.apx__panel-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #E8722A; text-decoration: none;
  border: 1px solid rgba(232,114,42,0.35); padding: 10px 18px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease 0.4s, transform 0.4s cubic-bezier(0.16,1,0.3,1) 0.4s, background 0.2s, border-color 0.2s;
}
.apx__panel.open .apx__panel-pill { opacity: 1; transform: none; }
.apx__panel-pill:hover { background: rgba(232,114,42,0.12); border-color: #E8722A; gap: 12px; }

.apx__panel-right {
  display: grid; grid-template-columns: 1fr 1fr;
  align-content: center;
  border-left: 1px solid rgba(201,184,154,0.07);
  padding: 0; overflow-y: auto;
}
.apx__panel-right--single { grid-template-columns: 1fr; }

.apx__link {
  display: flex; align-items: flex-start; gap: 20px;
  padding: clamp(22px, 3.5vh, 38px) clamp(32px, 3.5vw, 56px);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,184,154,0.06);
  border-right: 1px solid rgba(201,184,154,0.06);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1), background 0.18s;
}
.apx__panel.open .apx__link { opacity: 1; transform: none; }
.apx__panel.open .apx__link:nth-child(1) { transition-delay: 0.1s; }
.apx__panel.open .apx__link:nth-child(2) { transition-delay: 0.15s; }
.apx__panel.open .apx__link:nth-child(3) { transition-delay: 0.2s; }
.apx__panel.open .apx__link:nth-child(4) { transition-delay: 0.25s; }
.apx__panel.open .apx__link:nth-child(5) { transition-delay: 0.3s; }
.apx__panel.open .apx__link:nth-child(6) { transition-delay: 0.35s; }
.apx__link:hover { background: rgba(43,36,56,0.6); }
.apx__link::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: #E8722A; transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1);
}
.apx__link:hover::before { transform: scaleY(1); }

.apx__link-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 400;
  color: rgba(201,184,154,0.65);
  line-height: 1; flex-shrink: 0; padding-top: 4px;
  transition: color 0.2s;
}
.apx__link:hover .apx__link-num { color: rgba(232,114,42,0.55); }
.apx__link-body { flex: 1; }
.apx__link-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px; font-weight: 600; color: #FAF6F0;
  white-space: nowrap; margin-bottom: 5px; transition: color 0.18s;
}
.apx__link:hover .apx__link-title { color: #E8722A; }
.apx__link-desc {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px; color: rgba(250,246,240,0.75); white-space: nowrap;
}
.apx__link--cta {
  grid-column: 1 / -1;
  background: rgba(232,114,42,0.07);
  border-top: 1px solid rgba(232,114,42,0.2) !important;
  border-right: none;
}
.apx__link--cta .apx__link-title { color: #E8722A; font-size: 16px; }
.apx__link--cta .apx__link-num { color: rgba(232,114,42,0.18); }
.apx__link--cta:hover { background: rgba(232,114,42,0.14); }

.apx__link--medpro-cta {
  grid-column: 1 / -1;
  grid-row: auto;
  position: relative;
  overflow: hidden;
  background: rgba(232,114,42,0.08);
  border-top: 1px solid rgba(232,114,42,0.25) !important;
  border-left: 3px solid var(--accent) !important;
  border-right: none;
  opacity: 1 !important;
  transform: none !important;
  transition: background 0.4s ease, box-shadow 0.4s ease !important;
  transition-delay: 0s !important;
}
.apx__panel.open .apx__link--medpro-cta,
.apx__panel.open .apx__link--medpro-cta:nth-child(1),
.apx__panel.open .apx__link--medpro-cta:nth-child(2),
.apx__panel.open .apx__link--medpro-cta:nth-child(3),
.apx__panel.open .apx__link--medpro-cta:nth-child(4),
.apx__panel.open .apx__link--medpro-cta:nth-child(5),
.apx__panel.open .apx__link--medpro-cta:nth-child(6),
.apx__panel.open .apx__link--medpro-cta:nth-child(7) {
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0s !important;
}
/* JS-injected shimmer sweep span */
.apx__medpro-shimmer {
  position: absolute;
  top: 0; bottom: 0;
  width: 55%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 10%,
    rgba(232,114,42,0.07) 35%,
    rgba(240,169,108,0.2) 50%,
    rgba(232,114,42,0.07) 65%,
    transparent 90%
  );
}
.apx__link--medpro-cta:hover {
  background: rgba(232,114,42,0.16) !important;
  box-shadow: inset 0 0 40px rgba(232,114,42,0.07), 0 0 0 1px rgba(232,114,42,0.25);
}
.apx__link--medpro-cta:hover .apx__medpro-shimmer {
  background: linear-gradient(
    105deg,
    transparent 10%,
    rgba(232,114,42,0.15) 35%,
    rgba(240,169,108,0.42) 50%,
    rgba(232,114,42,0.15) 65%,
    transparent 90%
  );
}
/* Keep ::before as the left-border bar like other links — don't override */
.apx__link--medpro-cta::before { display: none !important; }
.apx__link--medpro-cta .apx__link-title {
  position: relative; z-index: 1;
  font-size: 16px;
  background: linear-gradient(90deg, var(--accent-lite), var(--accent), var(--accent-lite));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: medproTextShimmer 3s linear 0s infinite;
}
@keyframes medproTextShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.apx__link--medpro-cta .apx__link-desc { position: relative; z-index: 1; }
.apx__link--medpro-cta .apx__link-num { color: var(--accent); opacity: 0.7; position: relative; z-index: 1; }

.apx__mobile {
  display: none; flex-direction: column;
  background: #1A1221; padding: 8px clamp(24px,5vw,80px) 28px;
  border-top: 1px solid rgba(201,184,154,0.08);
}
.apx__mobile.open { display: flex; }
.apx__mobile a {
  display: block; padding: 13px 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px; font-weight: 600;
  color: rgba(250,246,240,0.92); text-decoration: none;
  border-bottom: 1px solid rgba(201,184,154,0.07);
  transition: color 0.18s, padding-left 0.22s;
}
.apx__mobile a:hover { color: #E8722A; padding-left: 8px; }
.apx__mobile-cta { margin-top: 16px; }

@media (max-width: 900px) {
  .apx__links, .apx__right { display: none; }
  .apx__ham { display: flex; }
  .apx__panel { grid-template-columns: 1fr; }
  .apx__panel-left { display: none; }
  .apx__panel-right { grid-template-columns: 1fr; padding: 16px 0; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER (homepage variant — overrides global.css footer)
══════════════════════════════════════════════════════════ */
.footer { background: var(--dark); color: rgba(250,246,240,0.6); padding: clamp(48px,6vw,80px) var(--gutter) 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; max-width: var(--max-w); margin: 0 auto 48px; }
.footer__firm { font-family: var(--ff-serif); font-size: 18px; color: var(--bg); margin-bottom: 4px; }
.footer__tagline { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer__mission { font-family: var(--ff-serif); font-size: 13px; font-style: italic; font-weight: 400; color: var(--accent-lite); line-height: 1.6; margin-bottom: 20px; letter-spacing: 0.01em; }
.footer__detail { font-size: 13px; line-height: 1.8; color: rgba(250,246,240,0.88); }
.footer__detail a { color: rgba(250,246,240,0.95); text-decoration: none; }
.footer__detail a:hover { color: var(--accent); }
.footer__heading { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-lite); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 2px; }
.footer__links a { font-size: 14px; color: rgba(250,246,240,0.55); text-decoration: none; padding: 5px 0; border-bottom: 1px solid rgba(250,246,240,0.06); transition: color 0.15s; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { max-width: var(--max-w); margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(250,246,240,0.08); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; font-size: 12px; }
.footer__copy, .footer__bar { color: rgba(250,246,240,0.78); }
.footer__legal { display: flex; gap: 16px; margin-left: auto; }
.footer__legal a { color: rgba(250,246,240,0.72); text-decoration: none; transition: color 0.15s; }
.footer__legal a:hover { color: var(--accent); }
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } .footer__legal { margin-left: 0; } }

/* Body padding for fixed nav */
/* body padding-top handled per-page in hero sections */

/* ══════════════════════════════════════════════════════════
   PAGE TRANSITION — staggered horizontal strips
══════════════════════════════════════════════════════════ */
#page-transition {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.pt-strip {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #1A1221;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.76,0,0.24,1);
}
.pt-strip:nth-child(1) { transition-delay: 0s; }
.pt-strip:nth-child(2) { transition-delay: 0.09s; }
.pt-strip:nth-child(3) { transition-delay: 0.18s; }
.pt-strip:nth-child(4) { transition-delay: 0.18s; }
.pt-strip:nth-child(5) { transition-delay: 0.24s; }

#page-transition.out { pointer-events: all; }
#page-transition.out .pt-strip { transform: scaleX(1); }

.pt-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -80%;
  width: 50%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(232,114,42,0.06) 35%,
    rgba(240,169,108,0.2) 50%,
    rgba(232,114,42,0.06) 65%,
    transparent 100%
  );
  transform: skewX(-15deg);
  transition: left 0s;
}
#page-transition.out .pt-strip::after {
  left: 140%;
  transition: left 0.65s cubic-bezier(0.25,0.46,0.45,0.94) 0.2s;
}

.pt-strip::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #E8722A, #F0A96C, #E8722A, transparent);
  opacity: 0;
  transition: opacity 0.1s ease 0.2s;
}
#page-transition.out .pt-strip::before { opacity: 1; }
