/* W.E.J. Consultants · site styles */
:root {
  --navy: #0B1E3B;
  --navy-deep: #081528;
  --navy-card: #0E2342;
  --charcoal: #2F2F2F;
  --gold: #D4AE7C;
  --gold-light: #E3C597;
  --gold-dark: #7A5C33;
  --ivory: #F8F6EF;
  --white: #FFFFFF;
  --body: #4A4A4A;
  --muted: #5B5B5B;
  --on-navy: #C9D1DE;
  --on-navy-muted: #9FB0C8;
  --line: #E6E0D2;
  --line-gold: rgba(212, 174, 124, 0.18);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--charcoal); background: var(--ivory); line-height: 1.5; min-width: 320px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* type */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 16px; }
.on-dark .eyebrow, .eyebrow.gold { color: var(--gold); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; color: var(--navy); }
.on-dark .h2 { color: var(--ivory); }
.lead { font-size: 17px; line-height: 1.7; color: var(--body); }
.on-dark .lead { color: var(--on-navy); }
.on-dark { background: var(--navy); color: var(--ivory); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(248,246,239,0.55); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--ivory); border: 0; min-height: 54px; padding: 0 32px; }
.btn-navy:hover { background: #142c52; }
.btn-sm { min-height: 44px; padding: 0 22px; letter-spacing: 0.12em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 21, 40, 0.95); border-bottom: 1px solid var(--line-gold); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 52px; width: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { color: #E9EDF3; text-decoration: none; }
.nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(212,174,124,0.5); background: transparent; color: var(--gold); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--line-gold); }
.mobile-nav a { display: block; padding: 16px 24px; color: #E9EDF3; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid rgba(212,174,124,0.1); }
.site-header.open .mobile-nav { display: block; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
/* header CTA swaps to a short label on small phones */
.cta-short { display: none; }
@media (max-width: 480px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
@media (max-width: 420px) {
  .brand img { height: 42px; }
  .header-actions .btn-sm { padding: 0 16px; }
}

/* hero */
.hero { background: var(--navy); color: var(--ivory); overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.rule { width: 88px; height: 1px; background: var(--gold); margin-bottom: 28px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.01em; }
.hero h1 span { color: var(--gold); }
.hero-sub { margin-top: 30px; max-width: 540px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; color: var(--on-navy); }
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { flex: 1 1 420px; min-width: 0; position: relative; }
.hero-photo { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid rgba(212,174,124,0.25); box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 30%; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 18px; background: linear-gradient(to top, rgba(8,21,40,0.92), rgba(8,21,40,0)); }
.hero-caption p:first-child { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ivory); }
.hero-caption p:last-child { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 600px) {
  .hero-caption { position: static; padding: 14px 18px 16px; background: var(--navy-card); }
}
.corner { position: absolute; width: 120px; height: 120px; pointer-events: none; }
.corner-bl { left: -18px; bottom: -18px; border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.corner-tr { right: -16px; top: -16px; width: 110px; height: 110px; border-right: 1px solid var(--gold); border-top: 1px solid var(--gold); }


/* phones and tablets: lead with the family photo */
@media (max-width: 900px) {
  .hero-inner { padding-top: 24px; padding-bottom: 56px; gap: 36px; }
  .hero-media { order: -1; flex-basis: 100%; }
  .corner-bl { display: none; }
  .hero-tag { margin-bottom: 18px; }
  .rule { margin-bottom: 22px; }
  .hero-sub { margin-top: 22px; }
  .hero-ctas { margin-top: 30px; }
}

/* section heads */
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: 56px; }
.split-head > div { flex: 1 1 460px; min-width: 0; }
.split-head > p { flex: 1 1 400px; min-width: 0; }
.center-head { max-width: 820px; margin: 0 auto 60px; text-align: center; }
.center-head .lead { margin: 24px auto 0; max-width: 680px; }

/* capabilities */
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cap-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 36px 30px 34px; display: flex; flex-direction: column; gap: 18px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.cap-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(11,30,59,0.12); }
.cap-card svg { width: 40px; height: 40px; }
.cap-card h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; color: var(--navy); }
.cap-card p { font-size: 15px; line-height: 1.7; color: var(--body); }

/* serve */
.serve { background: var(--white); border-top: 1px solid #ECE6D8; }
.serve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.serve-item { padding: 44px 36px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.serve-item .num { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--gold-dark); }
.serve-item h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--navy); }
.serve-item p { font-size: 15px; line-height: 1.7; color: var(--body); }
.serve-note { margin-top: 28px; text-align: center; font-size: 14px; letter-spacing: 0.04em; color: var(--muted); }

/* work */
.work { background: var(--navy-deep); color: var(--ivory); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.work-card { background: var(--navy-card); border: 1px solid var(--line-gold); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.work-card:hover { transform: translateY(-4px); border-color: rgba(212,174,124,0.5); }
.work-shot { padding: 32px 32px 0; display: flex; justify-content: center; height: 340px; overflow: hidden; }
.work-shot.full { padding: 16px; align-items: center; }
.work-shot.full img { width: 100%; height: 100%; object-fit: contain; }
.phone { width: 220px; flex: none; border-radius: 26px 26px 0 0; border: 6px solid #05070C; border-bottom: 0; overflow: hidden; background: #05070C; box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.phone img { width: 100%; height: auto; }
.work-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; border-top: 1px solid var(--line-gold); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory); border: 1px solid rgba(248,246,239,0.45); padding: 5px 10px; border-radius: 999px; }
.badge.solid { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.work-body h3 { margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--ivory); }
.work-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.work-desc { font-size: 15px; line-height: 1.65; color: var(--on-navy); }
.work-kind { margin-top: auto !important; padding-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--on-navy-muted); }
.next-band { margin-top: 40px; border: 1px solid var(--gold); border-radius: 8px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; background: var(--navy-card); }
.next-band > div { flex: 1 1 420px; min-width: 0; }
.next-band h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; color: var(--ivory); }
.next-band p.copy { margin-top: 14px; max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--on-navy); }
.work-note { margin-top: 36px; max-width: 860px; font-size: 13px; line-height: 1.7; color: var(--on-navy-muted); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.step { border-top: 1px solid #C7B28E; padding: 0 24px 0 0; position: relative; }
.step::before { content: ''; position: absolute; top: -7px; left: 0; width: 11px; height: 11px; border-radius: 999px; background: var(--ivory); border: 2px solid var(--gold-dark); }
.step:last-child::before { background: var(--gold-dark); }
.step .n { margin: 34px 0 10px; font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; color: var(--gold-dark); }
.step h3 { margin-bottom: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); }
.step p { margin-bottom: 32px; font-size: 15px; line-height: 1.65; color: var(--body); }

/* about */
.about-inner { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { flex: 1 1 440px; min-width: 0; position: relative; }
.about-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1px solid rgba(212,174,124,0.25); }
.about-copy { flex: 1 1 480px; min-width: 0; }
@media (max-width: 900px) { .about-media { display: none; } }
.about-quote { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 27px); line-height: 1.4; color: var(--gold); }
.about-copy p.body { margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--on-navy); }
.about-copy p.body.first { margin-top: 22px; color: var(--ivory); }
.pillars { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; padding-top: 28px; border-top: 1px solid rgba(212,174,124,0.25); }
.pillars h3 { margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); }
.pillars p { font-size: 14px; line-height: 1.6; color: var(--on-navy-muted); }

/* intake */
.intake-inner { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 80px); align-items: flex-start; }
.intake-intro { flex: 1 1 340px; min-width: 0; }
.next-steps { margin-top: 36px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.next-steps h3 { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); }
.next-steps ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.8; color: var(--body); }
.form-card { flex: 1.5 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3.5vw, 48px); box-shadow: 0 24px 60px rgba(11,30,59,0.08); }
form { display: flex; flex-direction: column; gap: 30px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); }
legend.plain { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--charcoal); margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--charcoal); }
.field + .field { margin-top: 16px; }
.grid-2 .field + .field { margin-top: 0; }
.field .hint { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 6px; }
.input { min-height: 48px; padding: 0 14px; border: 1px solid #CFC7B5; border-radius: 4px; font: inherit; font-weight: 400; font-size: 16px; background: #FDFCF9; color: var(--charcoal); width: 100%; }
textarea.input { padding: 14px; line-height: 1.6; resize: vertical; min-height: 140px; }
select.input { padding: 0 12px; }
.input:focus { outline: 2px solid var(--gold-dark); outline-offset: 1px; border-color: var(--gold-dark); }
.input[aria-invalid="true"] { border-color: #B3261E; }
.err { font-size: 12px; font-weight: 600; color: #B3261E; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #CFC7B5; border-radius: 999px; font-size: 14px; color: var(--charcoal); background: #FDFCF9; transition: background-color .15s, color .15s, border-color .15s; }
.chip input:checked + span { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--body); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.consent a { color: var(--gold-dark); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.submit-row p { font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 260px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 14px 16px; border-radius: 4px; background: #FCEDEC; color: #8C1D18; font-size: 14px; line-height: 1.6; }
.success { padding: 40px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.success .check { width: 64px; height: 64px; border-radius: 999px; border: 1px solid var(--gold-dark); display: flex; align-items: center; justify-content: center; }
.success h3 { font-family: var(--serif); font-weight: 600; font-size: 32px; color: var(--navy); }
.success p { max-width: 440px; font-size: 16px; line-height: 1.7; color: var(--body); }
[hidden] { display: none !important; }
button[disabled] { opacity: 0.6; cursor: progress; }

/* footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); border-top: 1px solid rgba(212,174,124,0.2); }
.footer-inner { padding-top: 64px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 64px; width: auto; max-width: 100%; align-self: flex-start; object-fit: contain; }
.footer-brand p { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 32px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-nav a { color: #E9EDF3; text-decoration: none; }
.footer-nav a:hover, .footer-nav a.gold { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(201,209,222,0.15); font-size: 13px; color: var(--on-navy-muted); }
.footer-bottom a { color: var(--on-navy-muted); }

/* legal page */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 24px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 60px); color: var(--navy); margin-bottom: 8px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--navy); margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--body); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0 0; }
.legal .updated { font-size: 14px; color: var(--muted); }
.legal a { color: var(--gold-dark); }
