@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --graphite: #36454f;
  --graphite-deep: #263740;
  --ink: #27343b;
  --muted: #6e797f;
  --copper: #de9e7a;
  --copper-deep: #c7835d;
  --white: #ffffff;
  --soft: #e5e3dd;
  --line: #dfe3e3;
  --max: 1180px;
  --header-h: 118px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(222,158,122,.55);
  outline-offset: 3px;
}

.shell { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }

.site-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eef0f0;
  position: relative;
  z-index: 20;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.brand-logo { width: 172px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; font-family: "Poppins", Arial, sans-serif; font-size: 14px; font-weight: 500; }
.site-nav a { position: relative; padding: 11px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--copper-deep); transition: right .18s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-button span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--graphite); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  background: #fff;
  min-height: 490px;
  display: flex;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 44px;
  width: min(39vw, 520px);
  height: calc(100% - 88px);
  background: url("assets/copper-pattern.svg") center / cover no-repeat;
  opacity: .19;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  pointer-events: none;
}
.hero.no-pattern::after { display: none; }
.subpage-hero {
  min-height: 405px;
  padding: 78px 0 74px;
  background: var(--graphite) url("assets/graphite-pattern.svg") center / cover no-repeat;
}
.subpage-hero::after { display: none; }
.subpage-hero h1 { color: #fff; }
.subpage-hero .page-kicker { color: rgba(255,255,255,.68); }
.subpage-hero .intro-copy > p:not(.page-kicker) { max-width: 850px; color: rgba(255,255,255,.88); }
.subpage-hero .intro-copy > p.strong { color: #fff; }
.home-hero { min-height: 460px; padding-top: 80px; padding-bottom: 76px; }
.hero .shell { position: relative; z-index: 2; }
.hero-copy { max-width: 820px; }
.page-kicker {
  margin: 0 0 18px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 { font-family: "Poppins", Arial, sans-serif; color: var(--graphite); margin-top: 0; }
h1 { font-size: clamp(48px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; margin-bottom: 27px; max-width: 830px; }
h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.14; letter-spacing: -.025em; font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 27px; line-height: 1.24; letter-spacing: -.018em; font-weight: 600; margin-bottom: 10px; }
p { margin: 0 0 16px; }
.lead { max-width: 790px; font-size: 21px; line-height: 1.55; color: #3b494f; }
.strong { font-weight: 600; color: #37464d; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  margin-top: 16px;
  background: var(--copper-deep);
  color: #fff;
  border: 1px solid var(--copper-deep);
  border-radius: 2px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease;
}
.primary-button:hover { background: #b97550; border-color: #b97550; }
.text-link { display: inline-flex; gap: 7px; align-items: center; margin-top: 26px; font-family: "Poppins", Arial, sans-serif; font-weight: 600; font-size: 14px; color: var(--copper-deep); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section { padding: 84px 0; border-top: 1px solid var(--line); background: #fff; }
.section.soft { background: var(--soft); }
.context-grid, .callout-grid, .need-grid { display: grid; grid-template-columns: .9fr 1.15fr; gap: 90px; align-items: start; }
.context-grid h2 { max-width: 430px; }
.context-grid .copy { max-width: 650px; }

.service-list { border-top: 1px solid var(--line); margin-top: 34px; }
.service-row {
  display: grid;
  grid-template-columns: 430px 1fr 24px;
  gap: 26px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.service-title { font-family: "Poppins", Arial, sans-serif; color: var(--graphite); font-size: 20px; font-weight: 600; }
.service-desc { color: #49565d; font-size: 16px; }
.service-arrow { color: var(--copper-deep); font-size: 24px; transition: transform .18s ease; }
.service-row:hover .service-arrow { transform: translateX(3px); }

/* Expertise */
.intro-copy { max-width: none; }
.expertise-list, .solution-list, .approach-list { border-top: 1px solid var(--line); }
.expertise-row, .solution-row, .approach-row {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.expertise-row h3, .approach-row h3 { margin: 0; }
.proposition { font-family: "Poppins", Arial, sans-serif; font-size: 18px; line-height: 1.5; color: var(--graphite); font-weight: 600; margin-bottom: 15px; }
.micro-label { margin: 0 0 8px; font-family: "Poppins", Arial, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); font-weight: 600; }
ul.clean { list-style: none; margin: 0; padding: 0; }
ul.clean li { position: relative; padding-left: 18px; margin: 5px 0; font-size: 16px; color: #46535a; }
ul.clean li::before { content: "•"; position: absolute; left: 0; color: var(--copper-deep); }
.experience-grid, .closing-row { display: grid; grid-template-columns: 350px 1fr; gap: 60px; align-items: start; }
.closing-row h3, .experience-grid h3 { margin: 0; }
.closing-row .solution-title, .experience-grid .solution-title { margin-bottom: 14px; }
.credentials-list { margin-top: 20px; }

/* Solutions */
.challenge { max-width: 330px; font-family: "Poppins", Arial, sans-serif; color: var(--graphite); font-size: 27px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.solution-title { font-family: "Poppins", Arial, sans-serif; color: var(--graphite); font-size: 26px; line-height: 1.25; font-weight: 600; margin-bottom: 10px; }
.relevant-experience { margin-top: 20px; }
.quote { margin-top: 23px; padding: 21px 0 0; border-top: 1px solid var(--line); max-width: 720px; }
.quote blockquote { margin: 0; font-size: 17px; font-style: italic; color: #445158; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--graphite); }

/* Approach */
.approach-row p { max-width: 730px; font-size: 16px; color: #46535a; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 390px 1fr; gap: 76px; align-items: start; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center center; }
.person-details { padding-top: 25px; }
.person-details h2 { font-size: 29px; margin-bottom: 4px; }
.role { font-family: "Poppins", Arial, sans-serif; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.contact-lines { display: grid; gap: 7px; font-size: 15px; }
.contact-lines a:hover { color: var(--copper-deep); }
.contact-form { padding-left: 48px; border-left: 1px solid var(--copper); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.field.wide { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; font-family: "Poppins", Arial, sans-serif; font-size: 12px; font-weight: 600; color: var(--graphite); }
input, textarea {
  width: 100%; border: 1px solid #cfd5d6; border-radius: 1px; background: #fff;
  color: var(--ink); font: inherit; font-size: 15px; padding: 13px 14px;
}
textarea { min-height: 150px; resize: vertical; }
button.submit { border: 0; cursor: pointer; margin-top: 3px; }
.form-note { margin-top: 13px; color: var(--muted); font-size: 12px; }

/* Footer */
.site-footer { background: var(--graphite-deep); color: #fff; padding: 43px 0 27px; }
.footer-grid { display: grid; grid-template-columns: 220px 1fr 290px; gap: 42px; align-items: center; }
.footer-logo { width: 133px; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 21px; font-size: 12px; }
.footer-nav a:hover, .footer-contact a:hover { color: #f1c7ad; }
.footer-contact { text-align: right; font-size: 13px; line-height: 1.9; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.17); display: flex; justify-content: space-between; align-items: center; color: #d7dde0; font-size: 11px; }
.footer-bottom a:hover { color: #fff; }

/* Privacy */
.policy { max-width: 820px; }
.policy h2 { margin-top: 44px; font-size: 26px; }
.policy p, .policy li { font-size: 16px; color: #46535a; }

@media (max-width: 960px) {
  .shell { width: min(calc(100% - 48px), var(--max)); }
  .site-header { height: 94px; }
  .brand-logo { width: 158px; }
  .menu-button { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 94px; background: #fff;
    padding: 20px 24px 26px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 6px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; }
  .hero { min-height: 430px; padding: 74px 0 70px; }
  .subpage-hero { min-height: 360px; padding: 64px 0 60px; }
  .home-hero { min-height: 410px; padding: 68px 0 64px; }
  .hero::after { width: 52vw; opacity: .13; }
  .context-grid, .callout-grid, .need-grid, .experience-grid, .closing-row { grid-template-columns: 1fr; gap: 30px; }
  .service-row { grid-template-columns: 1fr 24px; gap: 12px 20px; }
  .service-desc { grid-column: 1 / -1; grid-row: 2; }
  .expertise-row, .solution-row, .approach-row { grid-template-columns: 1fr; gap: 17px; }
  .challenge { max-width: 700px; }
  .contact-layout { grid-template-columns: 320px 1fr; gap: 48px; }
  .contact-form { padding-left: 36px; }
  .footer-grid { grid-template-columns: 180px 1fr; }
  .footer-contact { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 36px), var(--max)); }
  .hero { min-height: 0; padding: 65px 0 58px; }
  .subpage-hero { padding: 58px 0 54px; }
  .home-hero { padding: 58px 0 52px; }
  .hero::after { width: 64%; top: 0; height: 100%; right: -70px; opacity: .09; }
  h1 { font-size: 43px; }
  h2 { font-size: 31px; }
  h3 { font-size: 23px; }
  .lead { font-size: 18px; }
  .section { padding: 62px 0; }
  .service-row { padding: 21px 0; }
  .expertise-row, .solution-row, .approach-row { padding: 30px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 420px; }
  .contact-form { border-left: 0; border-top: 1px solid var(--copper); padding: 38px 0 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { align-items: flex-start; gap: 20px; }
}

/* Epoch Advisory v2 polish pass */

/* Epoch Advisory v4 refinements */
.closing-row { padding-block: 2px; }
.closing-row .micro-label { margin-bottom: 7px; }
.closing-row p:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
  .service-row { grid-template-columns: 1fr 24px; }
}

/* Epoch Advisory v5 refinements */
.solution-row > div:first-child .micro-label { margin-bottom: 9px; }

/* Epoch Advisory v6 preview */
.home-hero {
  background: var(--copper) url("assets/copper-pattern.svg") center / cover no-repeat;
}
.home-hero::after { display: none; }

/* Epoch Advisory v8A — crisp editorial split */
.home-hero {
  background: #fff;
  position: relative;
}
.home-hero::after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  height: auto;
  background: var(--copper) url("assets/copper-pattern.svg") center / cover no-repeat;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
  pointer-events: none;
}
.home-hero .hero-copy {
  max-width: 650px;
}
.home-hero .primary-button {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  color: #fff;
}
.home-hero .primary-button:hover {
  background: #b97550;
  border-color: #b97550;
}
@media (max-width: 960px) {
  .home-hero::after { width: 34%; }
  .home-hero .hero-copy { max-width: 61%; }
}
@media (max-width: 700px) {
  .home-hero {
    padding-bottom: 0;
  }
  .home-hero .shell {
    padding-bottom: 52px;
  }
  .home-hero .hero-copy {
    max-width: none;
  }
  .home-hero::after {
    position: relative;
    display: block;
    width: 100%;
    height: 118px;
    margin-top: 0;
    background-position: center;
  }
}

/* v8A mobile correction */
@media (max-width: 700px) {
  .home-hero {
    padding-bottom: 170px;
  }
  .home-hero .shell {
    padding-bottom: 0;
  }
  .home-hero::after {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 118px;
    margin-top: 0;
  }
}

/* Epoch Advisory v9 — crisp white hero, copper context section */
.home-hero {
  background: #fff;
}
.home-hero::after {
  display: none;
}
.home-hero .hero-copy {
  max-width: 820px;
}
.home-hero h1 {
  color: var(--graphite);
}
.home-hero .lead {
  color: #3b494f;
}
.home-hero .primary-button {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  color: #fff;
}
.home-hero .primary-button:hover {
  background: #b97550;
  border-color: #b97550;
}
.home-context {
  background: #D0906D url("assets/copper-pattern-light.svg") center / cover no-repeat;
  border-top: 0;
}
.home-context h2 {
  color: #fff;
}
.home-context p {
  color: rgba(255,255,255,.94);
}

/* Epoch Advisory v10 — neutral sand/stone closing panels */
.section.soft { background: var(--soft); }


/* Epoch Advisory v16 — direct contact form */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 500;
}
.form-status.success { color: #2f6545; }
.form-status.error { color: #8a3f35; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
button.submit:disabled { cursor: wait; opacity: .72; }


/* Epoch Advisory v22 — quieter homepage CTA + sticky navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(38,55,64,.04), 0 8px 24px rgba(38,55,64,.05);
}

.home-hero .primary-button {
  background: #fff;
  border-color: #a76546;
  color: #a76546;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.home-hero .primary-button:hover {
  background: #fff7f2;
  border-color: #92583d;
  color: #92583d;
}


/* Epoch Advisory v23 — match contact CTA to homepage CTA */
.contact-form button.submit {
  background: #fff;
  border: 1px solid #a76546;
  color: #a76546;
}
.contact-form button.submit:hover {
  background: #fff7f2;
  border-color: #92583d;
  color: #92583d;
}


/* Epoch Advisory v25 — consistent CTAs + performance review page refinement */
.primary-button,
.contact-form button.submit {
  background: #fff;
  border: 1px solid #a76546;
  color: #a76546;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.primary-button:hover,
.contact-form button.submit:hover {
  background: #fff7f2;
  border-color: #92583d;
  color: #92583d;
}

.review-page .review-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
}
.review-page .review-grid .copy {
  max-width: 730px;
}
.review-page .review-examine h2 {
  margin-bottom: 34px;
}
.review-page .review-examine .expertise-list {
  margin-top: 0;
}
.review-page .review-links {
  margin-top: 22px;
}
.review-page .review-links li {
  margin: 9px 0;
}
.inline-link {
  color: #a76546;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.review-page .quote {
  max-width: 820px;
  margin-top: 30px;
  padding-top: 26px;
}
.review-page .quote blockquote {
  font-size: 18px;
  line-height: 1.7;
}
.review-page .approach-list {
  margin-top: 34px;
}

@media (max-width: 960px) {
  .review-page .review-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* Epoch Advisory v27 — Solutions dropdown navigation */
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-group .nav-parent {
  position: relative;
  padding-right: 2px;
}
.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.nav-submenu-toggle span {
  transition: transform .18s ease;
}
.nav-group.open .nav-submenu-toggle span {
  transform: rotate(180deg);
}
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  z-index: 1100;
  min-width: 285px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(38,55,64,.12);
}
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.open .nav-submenu {
  display: block;
}

/* Bridge the desktop hover gap without changing the dropdown's appearance. */
@media (min-width: 961px) {
  .nav-submenu::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 0;
    right: 0;
    height: 9px;
  }
}
.site-nav .nav-submenu a {
  display: block;
  width: 100%;
  padding: 11px 18px;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}
.site-nav .nav-submenu a::after {
  display: none;
}
.site-nav .nav-submenu a:hover {
  background: #faf7f4;
}
.site-nav .nav-submenu a.active {
  color: #a76546;
  font-weight: 600;
}
.nav-group.active > .nav-parent::after {
  right: 0;
}

@media (max-width: 960px) {
  .nav-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
  }
  .nav-group .nav-parent {
    width: auto;
  }
  .nav-submenu-toggle {
    width: 44px;
    height: 44px;
    justify-self: end;
  }
  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu {
    display: none;
  }
  .nav-group.open .nav-submenu {
    display: block;
  }
  .nav-submenu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    margin: 0 0 5px 0;
    padding: 2px 0 4px 14px;
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: none;
  }
  .site-nav .nav-submenu a {
    padding: 9px 12px;
    white-space: normal;
  }
}


/* Epoch Advisory v29 — stakeholder engagement service page */
.stakeholder-page .stakeholder-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
}
.stakeholder-page .stakeholder-grid .copy {
  max-width: 730px;
}
.stakeholder-page .stakeholder-deliver h2 {
  margin-bottom: 34px;
}
.stakeholder-page .stakeholder-deliver .expertise-list,
.stakeholder-page .stakeholder-approach .approach-list {
  margin-top: 0;
}
.stakeholder-page .experience-list {
  margin-top: 22px;
}
.stakeholder-page .experience-list li {
  margin: 9px 0;
}
.stakeholder-page .quote {
  max-width: 820px;
  margin-top: 30px;
  padding-top: 26px;
}
.stakeholder-page .quote blockquote {
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .stakeholder-page .stakeholder-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
