/* Wyoming Hill Advisors */
:root {
  --navy: #1b2a47;
  --navy-deep: #141f36;
  --gold: #b88a2e;
  --gold-light: #d9b565;
  --cream: #f7f4ee;
  --cream-alt: #efeae0;
  --ink: #1f2530;
  --muted: #5b6475;
  --line: #ddd5c6;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1320px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Type helpers */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.eyebrow-gold { color: var(--gold-light); }
.display { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.01em; margin-bottom: 28px; }
.display-sm { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 28px; }
.body-lg { font-size: 18px; color: var(--muted); max-width: 62ch; }
.rule { display: block; width: 48px; height: 1px; background: var(--gold); }
.rule-gold { background: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--sans);
  font-weight: 500; font-size: 15px; letter-spacing: .02em;
  padding: 15px 30px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9f7626; }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; padding: 18px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 25px; color: var(--navy); font-weight: 500; white-space: nowrap; transition: color .3s; }
.brand-tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 8px; font-weight: 600; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { text-decoration: none; font-size: 14.5px; color: var(--ink); position: relative; transition: color .3s; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--gold); transition: width .25s;
}
.site-nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s, background .3s; }

.site-header.scrolled { box-shadow: 0 6px 20px -16px rgba(20, 31, 54, .5); }

/* Hero: cream on the left, photo on the right fading into it */
.hero { position: relative; min-height: min(calc(100vh - var(--header-h)), 760px); min-height: max(560px, min(calc(100svh - var(--header-h)), 760px)); display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  background: url("images/assembly-row.jpg") 72% center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0 0 0 -2px;
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 3%, rgba(247, 244, 238, .82) 20%, rgba(247, 244, 238, 0) 55%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 78px); line-height: 1.03; letter-spacing: -.02em; margin-bottom: 30px; max-width: 8.5em; }
.hero h1 em { color: #3e5a3a; font-style: italic; }
.lede { font-size: 19px; color: var(--muted); max-width: 44ch; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Sections: one background throughout, separated by a hairline */
.section { padding: 120px 0; position: relative; }
.section:not(.section-navy) + .section:not(.section-navy)::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: calc(min(100%, var(--max)) - 64px); height: 1px; background: var(--line);
}
.section-head { max-width: 820px; margin-bottom: 64px; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; }
.split-label .display-sm { max-width: 14ch; }

/* Why Wyoming Hill */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.pillar { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.pillar h3 { font-size: 22px; margin: 0 0 14px; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.pillar p { color: var(--muted); margin: 0; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Services: subgrid keeps titles, lists and "Why it matters" aligned across columns */
.services {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line);
}
.service {
  display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0;
  padding: 40px 24px 44px; border-right: 1px solid var(--line);
}
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; padding-right: 0; }
.num { font-family: var(--serif); color: var(--gold); font-size: 15px; }
.service h3 { font-size: 21px; margin: 14px 0 16px; }
.service-intro { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.service ul { list-style: none; padding: 0; margin: 0 0 32px; font-size: 15px; }
.service li { padding: 5px 0 5px 18px; position: relative; line-height: 1.5; }
.service li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.why { align-self: start; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); font-style: italic; font-family: var(--serif); }
.why strong { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }

/* Who we serve */
.section-navy { background: var(--navy); color: #cfd6e4; }
.section-navy h2 { color: #fff; }
.section-navy .split { margin-bottom: 56px; }
.client-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px;
}
.client-list li {
  display: flex; align-items: baseline; gap: 20px;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--serif); font-size: 19px; color: #fff;
}
.client-list li:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.client-list .num { font-size: 14px; color: var(--gold-light); min-width: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 88px; }
.assurances { list-style: none; padding: 28px 0 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.assurances li { padding: 6px 0 6px 22px; position: relative; color: var(--navy); font-size: 15px; }
.assurances li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.contact-form { align-self: start; padding-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { margin: 0 0 26px; min-width: 0; }
.field label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 0; border-bottom: 1px solid #c9c1b1; background: transparent;
  padding: 8px 0; border-radius: 0; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field ::placeholder { color: #a3a9b4; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #aab4c7; padding: 88px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 56px; padding-bottom: 56px; }
.footer-brand { font-family: var(--serif); font-size: 28px; color: #fff; margin-bottom: 8px; }
.footer-tag { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.footer-blurb { max-width: 38ch; }
.footer-head { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 18px; }
.site-footer nav a { display: block; padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; }
.footer-cta { margin-top: 20px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 28px; font-size: 13px; }
.footer-base p { margin: 0; }
.footer-credit p { margin: 14px 0 0; font-size: 11.5px; color: #7d889c; }
.footer-credit a { text-decoration: underline; }

/* About page */
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 500; }
.site-nav a[aria-current="page"]::after { width: 100%; }
.display-lg { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.06; letter-spacing: -.015em; margin-bottom: 32px; }
.display-lg em { color: #3e5a3a; font-style: italic; }
.page-intro { padding-top: 96px; }
.text-link { display: inline-block; margin-top: 8px; font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--gold); }

.founder { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
.founder-photo img, .photo-placeholder {
  display: block; width: 100%; max-width: 300px; aspect-ratio: 1; height: auto; object-fit: cover; object-position: center;
  border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--cream), 0 0 0 11px var(--gold);
  margin: 11px 0 0 11px;
}
.photo-placeholder { background: var(--navy); display: flex; align-items: center; justify-content: center; }
.photo-placeholder span { font-family: var(--serif); font-size: 64px; color: var(--gold-light); letter-spacing: .04em; }
.founder-meta { margin-top: 44px; }
.badge { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--gold); padding: 10px 16px; }
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tool-list.tool-list-single { display: block; margin-top: 14px; }
.tool-list.tool-list-single li { padding: 5px 0 5px 18px; line-height: 1.5; }
.tool-list.tool-list-single li::before { top: 14px; }
.founder-meta { margin-top: 32px; display: grid; gap: 24px; font-size: 14.5px; color: var(--muted); }
.founder-meta p { margin: 0 0 4px; }
.meta-head { font-size: 11px !important; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px !important; }
.founder-bio .display { margin-bottom: 24px; }
.founder-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.founder-links a { color: var(--navy); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.founder-links a:hover { color: var(--gold); }

.section-tight { padding: 72px 0; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stats li { border-top: 1px solid var(--navy); padding-top: 24px; }
.stat { display: block; font-family: var(--serif); font-size: clamp(36px, 3.6vw, 48px); color: var(--navy); line-height: 1; margin-bottom: 14px; }
.stat-label { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

.deliver-list, .tool-list { list-style: none; padding: 0; margin: 32px 0 0; }
.deliver-list li { padding: 18px 0 18px 22px; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.deliver-list li:last-child { border-bottom: 1px solid var(--line); }
.deliver-list li::before, .tool-list li::before { content: ""; position: absolute; left: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.deliver-list li::before { top: 29px; }
.deliver-list strong { color: var(--navy); font-weight: 600; margin-right: 4px; }
.tool-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.tool-list li { position: relative; padding: 6px 0 6px 18px; font-size: 15.5px; }
.tool-list li::before { top: 16px; }

/* Woman-owned notes and fractional PM section */
.wob { margin: 28px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.wob::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.footer-wob { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-top: 18px; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.mode { border-top: 1px solid var(--navy); padding-top: 22px; }
.mode h3 { font-size: 20px; margin-bottom: 10px; }
.mode p { color: var(--muted); font-size: 15.5px; margin: 0; }

.cta-inner { text-align: center; max-width: 720px; }
.cta-inner .body-lg { margin: 0 auto 32px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1180px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .service, .service:first-child, .service:last-child { padding: 40px 24px 44px; border-right: 1px solid var(--line); }
  .service:nth-child(3n+1) { padding-left: 0; }
  .service:nth-child(3n) { border-right: 0; padding-right: 0; }
  .service:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 1180px) and (min-width: 981px) {
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .site-nav { gap: 22px; }
  .site-nav a:not(.btn) { font-size: 14px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 32px 24px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .hero { flex-direction: column-reverse; align-items: stretch; min-height: 0; }
  .hero-bg { position: relative; width: 100%; height: 340px; background-position: 70% 60%; }
  .hero-bg::after { background: linear-gradient(180deg, var(--cream) 0%, rgba(247, 244, 238, 0) 30%); }
  .hero-inner { padding-top: 56px; padding-bottom: 8px; }
  .hero h1 { max-width: 10em; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 20px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .split, .contact-grid, .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 360px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .modes { grid-template-columns: 1fr; gap: 24px; }
  .split-label .display-sm { max-width: none; }
  .section { padding: 88px 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:first-child, .service:last-child,
  .service:nth-child(3n+1), .service:nth-child(3n) { padding: 36px 24px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .service:nth-child(odd) { padding-left: 0; }
  .service:nth-child(even) { border-right: 0; padding-right: 0; }
  .service:last-child { border-bottom: 0; }
  .client-list { grid-template-columns: 1fr 1fr; }
  .client-list li:nth-last-child(-n+3) { border-bottom: 0; }
  .client-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .brand-name { font-size: 20px; }
  .brand-tag { font-size: 8.5px; letter-spacing: .24em; }
  .site-nav { padding: 8px 20px 24px; }
  .hero-bg { height: 240px; }
  .hero-inner { padding-top: 40px; }
  .lede { font-size: 17px; }
  .pillars, .services, .client-list, .field-row, .tool-list, .expertise { grid-template-columns: 1fr; }
  .founder-photo img, .photo-placeholder { max-width: 240px; }
  .stats { gap: 28px 20px; }
  .page-intro { padding-top: 56px; }
  .field-row { gap: 0; }
  .service, .service:first-child, .service:last-child,
  .service:nth-child(odd), .service:nth-child(even),
  .service:nth-child(3n+1), .service:nth-child(3n) { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .client-list li { font-size: 20px; padding: 18px 0; }
  .client-list li:nth-last-child(-n+3) { border-bottom: 0; }
  .client-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .footer-grid { grid-template-columns: 1fr; }
}
