/*
Theme Name: XCursionGuide
Theme URI: https://xcursionguide.example/
Author: XCursionGuide
Description: Marketplace de guides marocains — landing, recherche, profil guide, booking, et dashboards client/guide/admin. Extensible avec Dokan + WooCommerce + MemberPress.
Version: 1.0.1
Requires at least: 5.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xcursionguide
*/

/* === XCursionGuide WordPress theme — core stylesheet === */

:root {
  --ink: #0D0D0D;
  --ink-2: #1a1715;
  --cream: #F7F4EF;
  --cream-2: #EFE9DF;
  --sand: #D6B98C;
  --sand-deep: #b89568;
  --terracotta: #E67E3D;
  --teal: #1FA5A3;
  --line: rgba(13,13,13,0.12);
  --line-soft: rgba(13,13,13,0.06);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
::selection { background: var(--terracotta); color: var(--cream); }

.shell { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .shell { padding: 0 22px; } }

.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .25s, color .25s; white-space: nowrap; }
.btn-primary { background: var(--terracotta); color: var(--cream); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 24px -10px rgba(230,126,61,0.55); }
.btn-primary:hover { transform: translateY(-1px) scale(1.015); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 14px 32px -10px rgba(230,126,61,0.7); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--cream); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-2); }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 0 22px; }
.btn-quiet:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-sm { height: 40px; font-size: 13px; padding: 0 18px; }

/* ---------- Photo placeholder ---------- */
.ph { position: relative; background: linear-gradient(var(--ph-angle, 135deg), var(--ph-a, #2a1f17) 0%, var(--ph-b, #6e4d2e) 45%, var(--ph-c, #c89a66) 100%); overflow: hidden; isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 9px), radial-gradient(120% 80% at 30% 20%, rgba(255,225,180,0.18), transparent 60%); mix-blend-mode: overlay; pointer-events: none; }
.ph-dune    { --ph-a: #1a1208; --ph-b: #7a4e23; --ph-c: #e2b478; }
.ph-medina  { --ph-a: #2a1610; --ph-b: #8a3a23; --ph-c: #d68458; }
.ph-atlas   { --ph-a: #15201f; --ph-b: #3d5a52; --ph-c: #a8b099; }
.ph-coast   { --ph-a: #0e2a30; --ph-b: #1f6770; --ph-c: #a9c5c3; }
.ph-portrait{ --ph-a: #1a0e07; --ph-b: #6e3f1c; --ph-c: #d4a36b; }
.ph-night   { --ph-a: #050808; --ph-b: #1a2a3a; --ph-c: #5a6a7a; }
.ph-rug     { --ph-a: #2b0d10; --ph-b: #8b2018; --ph-c: #d96a3a; }
.ph-tea     { --ph-a: #1f1408; --ph-b: #7a5a25; --ph-c: #d8b85f; }

/* ---------- Navbar ---------- */
.xcg-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0; transition: backdrop-filter .3s, background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.xcg-nav.scrolled { background: rgba(247,244,239,0.85); backdrop-filter: blur(18px); padding: 12px 0; border-bottom-color: var(--line-soft); }
.xcg-nav-inner { display: flex; align-items: center; justify-content: space-between; }
.xcg-nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.xcg-nav-brand img { width: 36px; height: 36px; object-fit: contain; }
.xcg-nav-links { display: flex; gap: 4px; align-items: center; background: rgba(13,13,13,0.06); border: 1px solid var(--line-soft); padding: 5px; border-radius: 999px; }
.xcg-nav-links a { color: rgba(13,13,13,0.78); font-size: 13.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; transition: color .2s, background .2s; }
.xcg-nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.6); }
.xcg-nav-links .current-menu-item a, .xcg-nav-links a.active { color: var(--ink); background: rgba(255,255,255,0.6); }
.xcg-nav-cta { display: flex; gap: 10px; align-items: center; }
.xcg-nav-signin { color: rgba(13,13,13,0.78); font-size: 13.5px; font-weight: 500; }
.xcg-nav-signin:hover { color: var(--ink); }
@media (max-width: 880px) { .xcg-nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; background: var(--cream); color: var(--ink); overflow: hidden; padding: 110px 0 60px; }
.hero-blob { position: absolute; z-index: 0; pointer-events: none; filter: blur(60px); opacity: 0.55; }
.hero-blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, var(--sand) 0%, transparent 70%); top: -120px; right: -80px; }
.hero-blob-2 { width: 420px; height: 420px; background: radial-gradient(circle, var(--terracotta) 0%, transparent 70%); bottom: -120px; left: -120px; opacity: 0.32; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand-deep); display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; background: rgba(255,255,255,0.6); border: 1px solid var(--line-soft); border-radius: 999px; }
.hero-eyebrow::before { content: "✦"; color: var(--terracotta); }
.hero-h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 7.5vw, 124px); line-height: 0.94; letter-spacing: -0.035em; margin: 22px 0 0; font-variation-settings: "SOFT" 60, "opsz" 144; text-wrap: balance; }
.hero-h1 em { font-style: italic; color: var(--terracotta); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.hero-sub { font-size: 18px; line-height: 1.5; color: rgba(13,13,13,0.7); max-width: 44ch; margin-top: 22px; text-wrap: pretty; }

/* Search */
.search { margin-top: 40px; background: #fff; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 18px 48px -20px rgba(13,13,13,0.18); display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; align-items: stretch; padding: 8px; gap: 4px; max-width: 640px; position: relative; transition: box-shadow .25s; }
.search-field { padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: background .2s; text-align: left; display: block; }
.search-field:hover, .search-field.active { background: var(--cream-2); }
.search-field.active { background: #fff; box-shadow: 0 4px 16px rgba(13,13,13,0.08); }
.search-label { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); opacity: 0.7; }
.search-value { font-size: 14.5px; color: var(--ink); margin-top: 3px; white-space: nowrap; }
.search-value.empty { opacity: 0.45; }
.search-go { align-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--terracotta); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin: auto 4px; transition: transform .2s; box-shadow: 0 6px 18px -6px rgba(230,126,61,0.6); }
.search-go:hover { transform: scale(1.06); }
.search-pop { position: absolute; left: 0; right: 0; top: calc(100% + 12px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(13,13,13,0.25); padding: 22px; z-index: 5; display: none; }
.search-pop.on { display: block; }
.search-pop-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(13,13,13,0.55); margin-bottom: 14px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chip { padding: 9px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line-soft); font-size: 13.5px; font-weight: 500; color: var(--ink); transition: all .18s; }
.search-chip:hover, .search-chip.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.quick-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quick-tags-l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(13,13,13,0.5); }
.qtag { font-size: 13px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.6); border: 1px solid var(--line-soft); color: var(--ink); transition: all .18s; }
.qtag:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Hero visual cards */
.hero-visual { position: relative; height: 540px; }
.hv-card { position: absolute; width: 240px; height: 320px; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(13,13,13,0.35); background: var(--ink); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hv-card .ph { position: absolute; inset: 0; }
.hv-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%); z-index: 1; }
.hv-card-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; font-family: var(--serif); font-size: 18px; z-index: 2; }
.hv-card-cap small { display: block; font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,0.78); margin-top: 4px; }
.hv-1 { top: 20px; left: 30px; transform: rotate(-6deg); z-index: 1; }
.hv-2 { top: 50px; right: 60px; transform: rotate(4deg); z-index: 2; }
.hv-3 { top: 230px; left: 90px; transform: rotate(-2deg); z-index: 3; }
.hv-sticker { position: absolute; z-index: 4; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 12px 36px -12px rgba(13,13,13,0.3); font-size: 13px; display: flex; align-items: center; gap: 10px; }
.hv-sticker-emoji { font-size: 22px; }
.hv-sticker strong { display: block; font-weight: 600; font-size: 13.5px; }
.hv-sticker small { font-size: 11.5px; color: rgba(13,13,13,0.6); }
.hv-st-1 { top: 0; right: 30px; transform: rotate(3deg); }
.hv-st-2 { bottom: 70px; left: 0; transform: rotate(-4deg); }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; }
  .hv-card { width: 180px; height: 240px; }
  .hv-3 { top: 150px; left: 60px; }
}
@media (max-width: 600px) {
  .search { grid-template-columns: 1fr; border-radius: 24px; }
  .search-go { width: 100%; height: 48px; border-radius: 999px; margin: 4px 0 0; }
}

/* ---------- How it works ---------- */
.how { background: var(--cream); padding: 120px 0 100px; }
.how-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 80px; }
.how-h { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.5vw, 88px); line-height: 0.98; letter-spacing: -0.03em; max-width: 16ch; }
.how-h em { font-style: italic; color: var(--terracotta); }
.how-side { font-size: 16px; line-height: 1.55; color: rgba(13,13,13,0.65); max-width: 36ch; padding-bottom: 8px; }
.how-flow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; position: relative; }
.how-flow::before { content: ""; position: absolute; top: 110px; left: 16%; right: 16%; height: 80px; background-image: radial-gradient(circle at 4px 4px, var(--sand-deep) 1.5px, transparent 1.6px); background-size: 12px 12px; background-repeat: repeat-x; background-position: 0 50%; opacity: 0.5; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; }
.step-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.step-num-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--terracotta); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.step-mock { background: #fff; border: 1px solid var(--line-soft); border-radius: 24px; padding: 18px; box-shadow: 0 18px 40px -22px rgba(13,13,13,0.18); aspect-ratio: 5 / 4; position: relative; overflow: hidden; }
.step-h { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.015em; line-height: 1.05; }
.step-h em { font-style: italic; color: var(--terracotta); font-weight: 300; }
.step-b { font-size: 14.5px; line-height: 1.55; color: rgba(13,13,13,0.7); margin-top: 8px; }
@media (max-width: 880px) { .how-head { flex-direction: column; align-items: start; gap: 16px; } .how-flow { grid-template-columns: 1fr; gap: 32px; } .how-flow::before { display: none; } }

/* ---------- Guide cards ---------- */
.guides { background: var(--cream); padding: 60px 0 140px; }
.guides-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.guides-h { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.5vw, 88px); line-height: 0.98; letter-spacing: -0.03em; max-width: 14ch; }
.guides-h em { font-style: italic; color: var(--terracotta); }
.guides-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-soft); color: var(--ink); transition: all .2s; }
.chip:hover, .chip.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gc { background: #fff; border: 1px solid var(--line-soft); border-radius: 22px; overflow: hidden; transition: transform .35s, box-shadow .35s; display: block; }
.gc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -22px rgba(13,13,13,0.2); }
.gc-photo { position: relative; aspect-ratio: 1.1 / 1; overflow: hidden; }
.gc-photo .ph { position: absolute; inset: 0; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.gc:hover .gc-photo .ph { transform: scale(1.06); }
.gc-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.95); font-size: 11.5px; font-weight: 600; padding: 7px 11px; border-radius: 999px; color: var(--ink); }
.gc-fav { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.95); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: rgba(13,13,13,0.55); }
.gc-body { padding: 18px 20px 20px; }
.gc-row1 { display: flex; justify-content: space-between; align-items: baseline; }
.gc-name { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.015em; }
.gc-rate { font-size: 13.5px; font-weight: 500; }
.gc-rate::before { content: "★ "; color: var(--terracotta); }
.gc-city { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--sand-deep); text-transform: uppercase; margin-top: 2px; }
.gc-spec { font-size: 14px; color: rgba(13,13,13,0.75); margin-top: 8px; }
.gc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); gap: 10px; }
.gc-price { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.gc-price small { font-family: var(--sans); font-weight: 400; font-size: 13px; color: rgba(13,13,13,0.6); }
.gc-actions { display: flex; gap: 6px; }
.gc-act { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; border: 1px solid var(--line-soft); background: #fff; transition: transform .2s; }
.gc-act:hover { transform: scale(1.08); }
.gc-act-wa { background: #25D366; border-color: #25D366; color: #fff; }
.gc-act-call { background: var(--ink); color: #fff; border-color: var(--ink); }
.gc-act-msg { background: var(--cream); }
.guides-footer { margin-top: 56px; display: flex; justify-content: center; }
.gc-pro { background: linear-gradient(135deg, #7C3AED, #4F46E5); color: #fff; font-weight: 600; }
@media (max-width: 880px) { .guides-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .guides-head { flex-direction: column; align-items: start; } }
@media (max-width: 540px) { .guides-grid { grid-template-columns: 1fr; } }

/* ---------- Destinations ---------- */
.dests { background: var(--cream); padding: 100px 0 140px; }
.dests-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.dests-h { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.5vw, 88px); line-height: 0.98; letter-spacing: -0.03em; }
.dests-h em { font-style: italic; color: var(--terracotta); }
.dests-sub { font-size: 16px; line-height: 1.55; color: rgba(13,13,13,0.65); max-width: 44ch; }
.dests-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 18px; }
.dest-card { position: relative; border-radius: 22px; overflow: hidden; }
.dest-card .ph { position: absolute; inset: 0; transition: transform 1s; }
.dest-card:hover .ph { transform: scale(1.07); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%); z-index: 1; }
.dest-card.tall { grid-column: span 2; grid-row: span 3; }
.dest-card.wide { grid-column: span 4; grid-row: span 2; }
.dest-card.small { grid-column: span 3; grid-row: span 2; }
.dest-info { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; color: #fff; }
.dest-name { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1; letter-spacing: -0.02em; }
.dest-region { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; opacity: 0.85; margin-top: 4px; }
.dest-count { font-size: 12px; font-weight: 500; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--ink); white-space: nowrap; }
@media (max-width: 1100px) { .dest-card.tall, .dest-card.wide, .dest-card.small { grid-column: span 3; grid-row: span 2; } }
@media (max-width: 720px) { .dests-head { grid-template-columns: 1fr; } .dests-grid { grid-template-columns: 1fr; } .dest-card.tall, .dest-card.wide, .dest-card.small { grid-column: span 1; grid-row: span 1; } }

/* ---------- Become a guide ---------- */
.becg { background: var(--ink); color: var(--cream); padding: 120px 0; position: relative; overflow: hidden; }
.becg-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.32; background: linear-gradient(115deg, #2a1610 0%, #8a3a23 50%, #d68458 100%); }
.becg-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,13,13,0.7), rgba(13,13,13,0.85)); }
.becg-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 80px; align-items: end; }
.becg-h { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6vw, 100px); line-height: 0.96; letter-spacing: -0.035em; }
.becg-h em { font-style: italic; color: var(--sand); }
.becg-side p { font-size: 16px; line-height: 1.55; color: rgba(247,244,239,0.78); max-width: 36ch; margin-bottom: 24px; }
.becg-stats { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 2; }
.becg-stat strong { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: 1; color: var(--sand); display: block; }
.becg-stat-l { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(247,244,239,0.65); text-transform: uppercase; }
@media (max-width: 880px) { .becg-grid { grid-template-columns: 1fr; gap: 32px; } .becg-stats { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---------- Footer ---------- */
.xcg-footer { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; padding: 100px 0 36px; }
.xcg-footer-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.18; background: linear-gradient(180deg, transparent 0%, var(--ink) 90%), linear-gradient(110deg, #1a0e07 0%, #6e3f1c 60%, #2a1610 100%); }
.xcg-footer-mark { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(72px, 14vw, 220px); font-weight: 300; letter-spacing: -0.04em; line-height: 0.9; }
.xcg-footer-mark em { font-style: italic; color: var(--sand); }
.xcg-footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-top: 80px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.xcg-footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: rgba(247,244,239,0.5); margin-bottom: 18px; }
.xcg-footer-col a { display: block; font-size: 15px; line-height: 2; color: rgba(247,244,239,0.82); transition: color .2s; }
.xcg-footer-col a:hover { color: var(--sand); }
.xcg-footer-brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-weight: 600; }
.xcg-footer-brand img { width: 36px; height: 36px; object-fit: contain; filter: brightness(0) invert(1); }
.xcg-footer-blurb { font-size: 15px; line-height: 1.55; color: rgba(247,244,239,0.7); max-width: 36ch; margin-top: 16px; }
.xcg-footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-top: 28px; font-family: var(--mono); font-size: 11px; color: rgba(247,244,239,0.5); letter-spacing: 0.05em; }
@media (max-width: 880px) { .xcg-footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s, transform .9s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* WordPress alignment classes */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* Screen reader text */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
