/* shared.css — RUSUMMIT: global styles (nav, footer, CTA, resets)
 * Fonts: Cormorant Garamond (display) + Jost (body)
 * Palette: --d #1e1610, --m #2c1f14, --p #f0ebe1, --br #b5943a
 */

:root {
  --d:   #1e1610;
  --m:   #2c1f14;
  --p:   #f0ebe1;
  --iv:  #faf7f2;
  --br:  #b5943a;
  --cg:  #8b5e3c;
  --gr:  #928680;
  --ln:  rgba(176,148,58,0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; max-width: 100%; }
body { overflow-x: clip; max-width: 100%; }

body {
  background: var(--d) !important;
  color: var(--p) !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 300 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  -webkit-font-smoothing: antialiased;
  --wp--style--root--padding-top: 0px !important;
  --wp--style--root--padding-right: 0px !important;
  --wp--style--root--padding-bottom: 0px !important;
  --wp--style--root--padding-left: 0px !important;
}
.wp-site-blocks { padding: 0 !important; }
.sf { font-family: 'Cormorant Garamond', Georgia, serif; }

/* Override TwentyTwentyFive */
body, .wp-site-blocks, main {
  font-family: 'Jost', sans-serif !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1.75 !important;
}
/* Kill ALL TwentyTwentyFive / block-theme layout constraints */
body {
  --wp--style--global--content-size: 100% !important;
  --wp--style--global--wide-size: 100% !important;
}
main,
.wp-site-blocks,
.wp-site-blocks > *,
.entry-content,
.entry-content > *,
.is-layout-constrained,
.is-layout-constrained > *,
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.wp-block-group,
.wp-block-group > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:where(.wp-site-blocks) > * { margin-block-start: 0 !important; }

h1, h2 { font-family: 'Cormorant Garamond', Georgia, serif !important; font-weight: 400 !important; }
h3, h4, h5, h6 { font-family: 'Jost', sans-serif !important; font-weight: 500 !important; }
a:where(:not(.wp-element-button)) { text-decoration: none !important; }

/* Typography */
h1 { font-size: clamp(38px,5vw,68px) !important; line-height: 1.1 !important; letter-spacing: .01em !important; color: var(--p); }
h2 { font-size: clamp(26px,3.2vw,42px) !important; line-height: 1.18 !important; letter-spacing: .02em !important; color: var(--p); margin-bottom: 48px; }
h3 { font-size: 13px !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--br); margin-bottom: 12px; }
p { font-size: 15px; color: var(--gr); line-height: 1.8; margin-bottom: 20px; }
p strong { color: var(--p); font-weight: 400; }

/* Label (before section titles) */
.lbl { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--br); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.lbl::before { content: ''; width: 28px; height: .5px; background: var(--br); }

/* Sections */
section { padding: 80px 48px; border-bottom: .5px solid var(--ln); }
.sec-m { background: var(--m); }

/* Buttons */
.btn-primary { font-size: 11px; letter-spacing: .17em; text-transform: uppercase; background: var(--br); color: var(--d); padding: 14px 30px; border: none; cursor: pointer; font-family: 'Jost', sans-serif; font-weight: 500; }
.btn-primary:hover { background: #c9a844; }
.btn-outline { font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--br); border: .5px solid var(--br); padding: 13px 36px; background: transparent; cursor: pointer; font-family: 'Jost', sans-serif; }
.btn-outline:hover { background: rgba(181,148,58,.06); }

/* ===== NAV ===== */
nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 48px; border-bottom: .5px solid var(--ln); background: var(--d); position: sticky !important; top: 0 !important; z-index: 1000 !important; }
body.admin-bar nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar nav { top: 46px; } }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 17px; letter-spacing: .22em; text-transform: uppercase; color: var(--p); text-decoration: none !important; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--gr) !important; text-decoration: none !important; }
.nav-links a:hover { color: var(--p) !important; }
.nav-links a.active { color: var(--br) !important; }
.nav-cta { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--br); border: .5px solid var(--br); padding: 9px 18px; background: transparent; cursor: pointer; font-family: 'Jost', sans-serif; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; color: var(--p); }
.nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ===== CTA SECTION ===== */
.cta-sec { padding: 80px 48px; background: var(--d); border-bottom: .5px solid var(--ln); }
.cta-w { max-width: 600px; }
.cta-h { font-family: 'Cormorant Garamond', serif !important; font-size: clamp(24px,2.8vw,38px) !important; font-weight: 400 !important; color: var(--p); line-height: 1.2; margin-bottom: 10px; }
.cta-s { font-size: 13px; color: var(--gr); margin-bottom: 40px; }

/* Lead form in CTA — minimal overrides (form itself is dark-themed) */
.cta-sec .rusummit-form-wrap { max-width: 600px; }
.cta-sec .rusummit-form-title { display: none; }
.cta-sec .rusummit-form-subtitle { display: none; }

/* ===== FOOTER ===== */
footer { padding: 48px 48px 36px; background: var(--d); border-top: .5px solid var(--ln); }
.foot-logo { font-family: 'Cormorant Garamond', serif; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--gr); margin-bottom: 28px; }
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 28px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col-title { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--br); font-weight: 500; margin-bottom: 4px; }
.foot-col a { font-size: 12px; color: var(--gr) !important; text-decoration: none !important; line-height: 1.5; }
.foot-col a:hover { color: var(--p) !important; }
.foot-copy { font-size: 10px; color: var(--gr); letter-spacing: .06em; padding-top: 20px; border-top: .5px solid var(--ln); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--d); padding: 16px 24px 24px; gap: 0;
    border-top: .5px solid var(--ln); z-index: 999;
  }
  nav.open .nav-links a { display: block; padding: 12px 0; min-height: 44px; }
  section { padding: 56px 24px; }
  h1 { font-size: 34px !important; }
  .cta-sec { padding: 56px 24px; }
  footer { text-align: center; }
  .foot-nav { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .foot-col { gap: 8px; }
}

/* ===== ULTRA-WIDE — 1600px+ ===== */
@media (min-width: 1600px) {

  /* --- NAV: wider gaps on ultra-wide --- */
  .nav-links {
    gap: 40px;
  }

  /* --- Labels: slightly larger --- */
  .lbl {
    font-size: 11px;
    margin-bottom: 22px;
  }

  /* --- CTA: wider form --- */
  .cta-w {
    max-width: 700px;
  }
  .cta-h {
    font-size: clamp(28px, 2.6vw, 38px) !important;
  }

  /* --- FOOTER: wider padding --- */
  footer {
    padding: 56px 80px 44px;
  }
  .foot-logo {
    font-size: 16px;
  }
  .foot-col a {
    font-size: 13px;
  }
}

html { scroll-behavior: smooth; }
