/* ============================================================
   global.css — Designer Plans
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TOKENS ── */
:root {
  /* v10 — dark theme */
  --bg:      #0C1220;
  --bg-inner:#111929;
  --ink:     #EDE9E3;
  --ink-h:   #ffffff;
  --ink-2:   rgba(237,233,227,0.60);
  --ink-3:   rgba(237,233,227,0.36);
  --ink-4:   rgba(237,233,227,0.11);
  --ink-5:   rgba(237,233,227,0.05);
  --gold:    #B09A6A;
  --dark-bg: #0D1423;

  /* Dark section vars */
  --dark-text:  rgba(255,255,255,0.90);
  --dark-muted: rgba(255,255,255,0.38);
  --dark-border:rgba(255,255,255,0.08);
  --dark-foot:  rgba(255,255,255,0.50);
  --dark-mark:  rgba(255,255,255,0.04);

  /* Font stacks */
  --font-d: 'Cabinet Grotesk','DM Sans',system-ui,sans-serif;
  --font-b: 'Satoshi','Inter',system-ui,sans-serif;
  --font-u: 'General Sans','DM Sans',system-ui,sans-serif;

  /* Backwards-compat aliases */
  --font-display: 'Cabinet Grotesk','DM Sans',system-ui,sans-serif;
  --font-body:    'Satoshi','Inter',system-ui,sans-serif;
  --font-ui:      'General Sans','DM Sans',system-ui,sans-serif;
  --bg-alt:       #111929;
  --accent:       #B09A6A;
  --accent-h:     #9A8455;
  --accent-faint: rgba(176,154,106,0.10);
  --body-c:       rgba(237,233,227,0.60);
  --muted:        rgba(237,233,227,0.36);
  --card-bg:      #111929;
  --card-bg-hover:#18213a;
  --form-bg:      #111929;
  --trust-border: rgba(237,233,227,0.11);
  --border:       rgba(237,233,227,0.11);
  --border-light: rgba(237,233,227,0.06);
  --btn-text:     #EDE9E3;
  --nav-bg:       rgba(12,18,32,0.97);
}

/* ── BASE ── */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPE BASE ── */
h1, h2 { font-family: var(--font-d); }
h1 { font-size: clamp(44px, 5vw, 72px); font-weight: 300; line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 3.5vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-family: var(--font-b); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }

/* ── LAYOUT ── */
.cnt { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

/* ── SECTION HEADER ── */
.sec-head { margin-bottom: 64px; }
.sec-head.centered { max-width: 580px; margin: 0 auto 64px; text-align: center; }
.sec-head.centered .sec-rule { margin: 0 auto 24px; }
.sec-rule { width: 40px; height: 1px; background: var(--gold); margin-bottom: 24px; }
.sec-h2 { font-family: var(--font-d); font-weight: 300; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 18px; }
.sec-body { font-size: 15px; line-height: 1.9; color: var(--ink-2); margin-top: 16px; }

/* ── NAV — fixed, dark-on-light default (inner pages) ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
}

/* ── LOGO ── */
.lgo { display: flex; align-items: center; gap: 12px; }
.lgo-mark {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1.5px solid var(--ink-4);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s;
}
.lgo-mark-inner {
  width: 16px; height: 16px;
  border: 1.5px solid var(--ink-4);
  transform: rotate(45deg);
  transition: border-color 0.3s;
}
.lgo-word strong {
  display: block; font-family: var(--font-u); font-size: 19px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink);
  transition: color 0.3s;
}
.lgo-word span {
  display: block; font-family: var(--font-u); font-size: 12px; font-weight: 400;
  letter-spacing: 0.20em; text-transform: uppercase; color: var(--ink-3);
  transition: color 0.3s;
}

/* ── NAV RIGHT ── */
.nav-right { display: flex; align-items: center; }

.nav-cta-link {
  font-family: var(--font-u); font-size: 15px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 0.2s;
}
.nav-cta-link:hover { opacity: 0.55; }
.nav-cta-link svg { width: 13px; height: 13px; }

.nav-sep {
  width: 1px; height: 24px;
  background: var(--ink-4);
  margin: 0 24px;
  transition: background 0.3s;
}

.nav-burger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 0;
  min-width: 44px; min-height: 44px;
  transition: opacity 0.3s;
}
.nav-burger span {
  display: block; width: 28px; height: 1.5px; background: var(--ink);
  transition: background 0.3s;
}
body.menu-open .nav-burger { opacity: 0; pointer-events: none; }

/* ── MENU OVERLAY ── */
.menu {
  position: fixed; inset: 0; z-index: 201;
  background: rgba(7,12,24,0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
body.menu-open .menu { opacity: 1; pointer-events: all; }

.menu-panel {
  position: relative;
  background: rgba(237,234,228,0.98);
  width: 100%; max-width: 920px;
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-width: thin;
  /* Light-theme tokens inside panel */
  --bg: #EDEAE4; --ink: #0D1220; --ink-h: #1a2540;
  --ink-2: rgba(13,18,32,0.50); --ink-3: rgba(13,18,32,0.26);
  --ink-4: rgba(13,18,32,0.10); --ink-5: rgba(13,18,32,0.05);
  --body-c: rgba(13,18,32,0.50); --muted: rgba(13,18,32,0.26);
  --border: rgba(13,18,32,0.10);
}

.menu-close-btn {
  position: absolute; top: 20px; right: 20px; z-index: 1;
  background: none; border: none; cursor: pointer;
  font-size: 32px; font-weight: 300; line-height: 1;
  color: var(--ink);
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.5; transition: opacity 0.2s;
}
.menu-close-btn:hover { opacity: 1; }

.menu-socials {
  display: flex; gap: 18px; margin-top: 28px; padding-left: 20px;
}
.menu-socials a {
  display: flex; align-items: center; justify-content: center;
  color: rgba(13,18,32,0.30);
  transition: color 0.2s;
}
.menu-socials a:hover { color: rgba(13,18,32,0.70); }
.menu-socials a svg { width: 22px; height: 22px; }

.menu-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 56px;
  border-top: 1px solid rgba(13,18,32,0.08);
}
.menu-footer-link {
  font-family: var(--font-u); font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(13,18,32,0.32);
  text-decoration: none; transition: color 0.2s;
}
.menu-footer-link:hover { color: rgba(13,18,32,0.70); }
.menu-footer-legal { display: flex; align-items: center; gap: 10px; }
.menu-footer-dot { color: rgba(13,18,32,0.28); font-size: 10px; line-height: 1; }

.menu-body {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 56px 56px 56px; gap: 48px;
  align-content: start;
}

.menu-col-label {
  font-family: var(--font-u); font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 16px; margin-bottom: 32px;
  border-bottom: 1px solid var(--ink-4);
}

.menu-connect-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  font-family: var(--font-u); font-size: 14px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.menu-connect-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

.menu-tagline {
  font-family: var(--font-d); font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 400; line-height: 1.25; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 24px;
}
.menu-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  background: var(--ink); color: rgba(237,234,228,0.95);
  font-family: var(--font-u); font-size: 11px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none; transition: opacity 0.2s;
}
.menu-cta-btn:hover { opacity: 0.75; }
.menu-cta-btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-detail {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px; font-size: 17px; color: var(--ink-2);
}
.menu-cta-btn + .menu-detail { margin-top: 32px; }
.menu-detail svg { width: 16px; height: 16px; opacity: 0.35; flex-shrink: 0; }
.menu-detail a { color: var(--ink); transition: opacity 0.2s; }
.menu-detail a:hover { opacity: 0.45; }

.menu-nav-list { display: flex; flex-direction: column; padding-left: 20px; }
.menu-nav-row { display: flex; align-items: center; gap: 0; padding: 6px 0; position: relative; }
.menu-bullet {
  position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  flex-shrink: 0; opacity: 0; transition: opacity 0.2s;
}
.menu-nav-row.active .menu-bullet,
.menu-nav-row:hover .menu-bullet { opacity: 1; }
.menu-nav-link {
  font-family: var(--font-d); font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400; letter-spacing: -0.02em; color: var(--ink-3); line-height: 1;
  transition: color 0.2s;
}
.menu-nav-row.active .menu-nav-link,
.menu-nav-row:hover .menu-nav-link { color: var(--ink); }

.menu-svc-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.menu-svc-item {
  font-family: var(--font-d); font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 300; letter-spacing: -0.01em; color: var(--ink-2);
  transition: color 0.2s;
}
.menu-svc-item a { color: inherit; transition: color 0.2s; }
.menu-svc-item a:hover { color: var(--ink); }
.menu-svc-item:hover { color: var(--ink); }
.menu-pills { display: flex; gap: 0; flex-wrap: nowrap; justify-content: space-between; }
.menu-pill {
  flex: 1; text-align: center; white-space: nowrap;
  padding: 7px 2px; border-radius: 100px; border: 1px solid var(--ink-4);
  font-family: var(--font-u); font-size: 9px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3);
}

.menu-foot {
  padding: 24px 64px; border-top: 1px solid var(--ink-4);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-u); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ── BUTTONS ── */
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px;
  font-family: var(--font-u); font-size: 13px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 100px; background: var(--gold); color: #fff;
  transition: background 0.25s;
}
.btn-pill:hover { background: var(--accent-h); }
.btn-pill.inv { background: #fff; color: var(--dark-bg); }
.btn-pill.inv:hover { background: rgba(255,255,255,0.88); }
.btn-pill svg { width: 13px; height: 13px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-u); font-size: 13px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 100px; border: 1px solid var(--ink-4);
  color: var(--ink); transition: border-color 0.25s;
}
.btn-outline:hover { border-color: var(--ink); }

/* Legacy aliases — existing .btn-pri / .btn-sec become pill buttons */
.btn-pri {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px;
  font-family: var(--font-u); font-size: 13px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 100px; background: var(--gold); color: #fff;
  transition: background 0.25s;
}
.btn-pri:hover { background: var(--accent-h); }

.btn-sec {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-u); font-size: 13px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 100px; border: 1px solid var(--ink-4);
  color: var(--ink); transition: border-color 0.25s;
}
.btn-sec:hover { border-color: var(--ink); }

/* ── TRUST BAR ── */
.pg-trust {
  padding: 44px 0;
  border-top: 1px solid var(--ink-4);
  border-bottom: 1px solid var(--ink-4);
  background: var(--bg-inner);
}
.pg-trust .cnt { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-ico { width: 40px; height: 40px; border: 1px solid var(--ink-4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.trust-txt strong { display: block; font-family: var(--font-u); font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.trust-txt span { font-size: 12px; color: var(--ink-3); }

/* ── PAGE HERO (inner pages) — full-screen, title bottom-left ── */
.page-hero {
  height: 100svh;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.page-hero .cnt {
  position: absolute;
  bottom: 72px;
  left: 56px;
  padding: 0;
  max-width: none;
  width: auto;
}
.page-hero h1 { font-size: clamp(48px, 5.5vw, 72px); font-weight: 300; line-height: 1; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 0; }

/* ── CTA BANNER ── */
.pg-cta {
  padding: 120px 0; background: var(--bg-inner);
  text-align: center; position: relative;
}
.pg-cta .sec-h2 { margin-bottom: 20px; }
.pg-cta .sec-body { max-width: 520px; margin: 0 auto 40px; }
.pg-cta .page-hero-eyebrow { margin-bottom: 20px; }

/* Button-only CTA */
.pg-cta-btn { padding: 16px 0 88px; text-align: center; }
.article-inner ul { list-style: disc; }
.article-inner li::marker { color: #B09A6A; }

/* ── BLOG CARD ── */
.blog-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--ink-4); overflow: hidden; transition: border-color 0.25s; }
.blog-card:hover { border-color: var(--ink); }
.blog-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag { font-family: var(--font-u); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.blog-card-title { font-family: var(--font-d); font-size: 20px; font-weight: 300; line-height: 1.3; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.blog-card-excerpt { font-size: 14px; line-height: 1.7; color: var(--ink-2); flex: 1; margin-bottom: 20px; }
.blog-card-read { font-family: var(--font-u); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.blog-card-read::after { content: '→'; }

/* ── TAG / BADGE ── */
.tag {
  display: inline-block; padding: 5px 14px;
  font-family: var(--font-u); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--ink-4); color: var(--ink-2);
}

/* ── PAGE WRAP (no-scroll desktop pages) ── */
.page-wrap {
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 53px; /* clear fixed footer */
}
@media (max-width: 768px) {
  .page-wrap { height: auto; overflow: visible; padding-bottom: 53px; }
}

/* ── FOOTER ── */
.pg-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--dark-bg);
  padding: 16px 48px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-u); font-size: 11px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.28);
}
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: rgba(255,255,255,0.35); transition: color 0.2s; display: flex; }
.footer-social a:hover { color: rgba(255,255,255,0.85); }
.footer-social svg { width: 18px; height: 18px; }
.footer-privacy { color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
.footer-privacy:hover { color: rgba(255,255,255,0.75); }

/* ── ACCESSIBILITY ── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

/* ── TABLET NAV ── */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav { padding: 24px 40px; }
}

/* ── TABLET MENU ── */
@media (min-width: 769px) and (max-width: 900px) {
  .menu-body {
    padding: 56px 48px 48px; gap: 40px;
  }
  .menu-nav-link { font-size: clamp(18px, 2.4vw, 26px); }
}

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .nav { padding: 18px 24px; }
  .nav-cta-link, .nav-sep { display: none; }
  .menu { padding: 0; align-items: flex-end; }
  .menu-panel { max-width: 100%; max-height: 92vh; }

  .menu-body {
    grid-template-columns: 1fr;
    padding: 56px 32px 40px; gap: 36px;
    align-content: start;
  }
  .menu-tagline { font-size: 28px; margin-bottom: 24px; }
  .menu-detail { margin-bottom: 8px; font-size: 16px; }
  .menu-nav-link { font-size: clamp(22px, 6vw, 32px); }
  .menu-svc-list { gap: 8px; margin-bottom: 24px; }
  .menu-svc-item { font-size: 18px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cnt { padding: 0 32px; }
}

@media (max-width: 768px) {
  .cnt { padding: 0 24px; }
  .pg-trust .cnt { justify-content: center; }
  .page-hero { height: 50svh; min-height: 320px; }
  .page-hero .cnt { bottom: 44px; left: 24px; }
  .footer-bar { flex-wrap: nowrap; justify-content: space-between; gap: 8px; font-size: 10px; }
  .footer-social { gap: 12px; }
  .nav { background: rgba(13,20,35,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .pg-footer { padding: 14px 24px; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── GALLERY DISSOLVE ── */
.gal-img-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.gal-img-before,
.gal-img-after  { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-img-after  { opacity: 1; transition: opacity 0.55s ease; }
.gal-img-before { opacity: 1; }
.gal-card[data-dissolve]:hover .gal-img-after { opacity: 0; }
.gal-hover-tip {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-u); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(13,18,32,0.70); color: #fff; padding: 6px 12px;
  opacity: 0; transition: opacity 0.3s;
}
.gal-card[data-dissolve]:hover .gal-hover-tip { opacity: 1; }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
