/*
Theme Name: NHR Advisory
Theme URI: https://nhradvisory.com
Author: NHR Advisory
Description: A custom Gutenberg block theme for NHR Advisory, including a tailored homepage and expandable Services page.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: nhr-advisory
*/

:root {
  --nhr-navy: #081320;
  --nhr-charcoal: #2b3137;
  --nhr-fog: #f7f5f1;
  --nhr-sage: #667f6f;
  --nhr-steel: #5d7c8d;
  --nhr-terracotta: #c47a57;
  --nhr-brass: #b08d57;
  --nhr-white: #ffffff;
  --nhr-line: #d9ddd9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nhr-fog); color: var(--nhr-navy); }
a { color: inherit; text-decoration: none; }
p { line-height: 1.65; }
.wp-site-blocks { padding: 0; }
.nhr-main { margin: 0 !important; }
.nhr-main > * { margin-block-start: 0; }

.nhr-header {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 7px 5vw;
  background: rgba(247,245,241,.96);
  border-bottom: 1px solid rgba(8,19,32,.10);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}
.nhr-wordmark { justify-self: start; }
.nhr-wordmark img { display: block; width: 80px; height: 80px; object-fit: contain; }
.nhr-nav { display: flex; gap: 34px; align-items: center; }
.nhr-nav a {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nhr-header-cta { justify-self: end; }
.nhr-button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: var(--nhr-navy);
  color: var(--nhr-white);
  padding: 16px 22px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 1px solid var(--nhr-navy);
  transition: .25s ease;
}
.nhr-button:hover { background: var(--nhr-steel); border-color: var(--nhr-steel); transform: translateY(-2px); color: #fff; }
.nhr-button-small { padding: 12px 17px; gap: 14px; }
.nhr-button-light { background: #fff; color: var(--nhr-navy); border-color: #fff; }
.nhr-button-light:hover { color: #fff; }

.nhr-hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: 58% 42%;
  background: #fff;
}
.nhr-hero-copy { padding: 90px 8vw 82px 7vw; }
.nhr-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--nhr-steel);
  margin: 0 0 24px;
}
.nhr-display,
.nhr-section h2,
.nhr-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
.nhr-hero h1 {
  font-size: clamp(52px, 5.3vw, 82px);
  line-height: .98;
  margin: 0;
  max-width: 820px;
}
.nhr-hero h1 em,
.nhr-section h2 em { font-weight: 400; color: var(--nhr-steel); }
.nhr-hero-intro { font-size: 17px; max-width: 670px; margin: 38px 0; color: #45505a; }
.nhr-actions { display: flex; align-items: center; gap: 36px; margin-top: 36px; }
.nhr-text-link {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  border-bottom: 1px solid var(--nhr-steel);
  padding: 12px 0;
}
.nhr-hero-panel {
  background: var(--nhr-navy);
  color: #fff;
  padding: 90px 5vw;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.nhr-hero-panel::before,
.nhr-services-mark::before {
  content: "";
  position: absolute;
  inset: -15%;
  opacity: .15;
  background: repeating-radial-gradient(ellipse at 105% 0%, transparent 0 30px, #8eb3ca 32px 33px, transparent 35px 60px);
}
.nhr-panel-kicker { position: relative; font-size: 11px; text-transform: uppercase; letter-spacing: .20em; color: #a7c1d0; }
.nhr-hero-panel blockquote { position: relative; font-family: Georgia, serif; font-size: clamp(28px,3vw,46px); line-height: 1.2; margin: 25px 0 55px; }
.nhr-panel-list { position: relative; display: grid; gap: 14px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 24px; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.nhr-trust-strip { background: var(--nhr-steel); color: #fff; display: flex; justify-content: center; gap: 9vw; padding: 21px; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; }

.nhr-section { padding: 110px 7vw; }
.nhr-section h2 { font-size: clamp(42px,4.5vw,68px); line-height: 1.08; margin: 0; }
.nhr-approach { display: grid; grid-template-columns: 1.05fr .95fr; gap: 10vw; background: var(--nhr-fog); }
.nhr-approach-copy { font-size: 18px; color: #45505a; padding-top: 28px; }
.nhr-approach-copy p:first-child { font-size: 23px; color: var(--nhr-navy); margin-top: 0; }
.nhr-services-summary { background: #fff; }
.nhr-section-heading { max-width: 860px; margin-bottom: 65px; }
.nhr-service-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--nhr-line); border-left: 1px solid var(--nhr-line); }
.nhr-service-card { padding: 48px; border-right: 1px solid var(--nhr-line); border-bottom: 1px solid var(--nhr-line); min-height: 370px; }
.nhr-service-number { font-family: Georgia,serif; color: var(--nhr-terracotta); font-size: 18px; }
.nhr-service-card h3 { font-family: Georgia,serif; font-size: 31px; font-weight: 400; margin: 34px 0 16px; }
.nhr-service-card > p { color: #5a6268; max-width: 510px; }
.nhr-tags { list-style: none; padding: 18px 0 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.nhr-tags li { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #c8d0d3; padding: 8px 10px; }
.nhr-section-link { display: inline-flex; align-items: center; gap: 26px; margin-top: 36px; padding: 14px 0; border-bottom: 1px solid var(--nhr-steel); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.nhr-principles { background: #e9ece8; display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.nhr-principles-intro > p:last-child { font-size: 18px; color: #45505a; margin-top: 32px; max-width: 500px; }
.nhr-principle-list { border-top: 1px solid #bcc6c0; }
.nhr-principle { display: grid; grid-template-columns: 50px 1fr; gap: 18px; border-bottom: 1px solid #bcc6c0; padding: 22px 0; }
.nhr-principle > span { color: var(--nhr-steel); font-family: Georgia,serif; }
.nhr-principle h3 { font-size: 18px; margin: 0 0 5px; }
.nhr-principle p { margin: 0; color: #59625d; }

.nhr-services-hero { min-height: 620px; display: grid; grid-template-columns: 68% 32%; background: var(--nhr-navy); color: #fff; overflow: hidden; }
.nhr-services-hero-copy { padding: 100px 7vw 90px; }
.nhr-services-hero h1 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(52px,6vw,88px); font-weight: 400; letter-spacing: -.04em; line-height: 1.01; margin: 0; max-width: 1040px; }
.nhr-services-hero h1 em { color: #b8c8d0; font-weight: 400; }
.nhr-services-hero-copy > p:not(.nhr-eyebrow) { color: #c4cdd3; font-size: 18px; max-width: 790px; margin: 32px 0 0; }
.nhr-services-hero .nhr-eyebrow { color: #c9a768; }
.nhr-services-mark { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 80px 5vw; background: linear-gradient(145deg,rgba(93,124,141,.45),rgba(8,19,32,.15)); border-left: 1px solid rgba(255,255,255,.12); font-family: Georgia,serif; font-size: clamp(29px,3vw,47px); line-height: 1.35; }
.nhr-services-mark span { position: relative; }
.nhr-services-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: end; }
.nhr-services-intro-copy { font-size: 20px; color: #45505a; margin: 0 0 8px; }
.nhr-service-details { background: #fff; padding: 0 7vw 110px; }
.nhr-service-detail { border-top: 1px solid var(--nhr-line); margin: 0; }
.nhr-service-detail:last-child { border-bottom: 1px solid var(--nhr-line); }
.nhr-service-detail summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 70px 1fr 42px; gap: 24px; align-items: center; padding: 31px 28px; min-height: 132px; transition: .2s; }
.nhr-service-detail summary::-webkit-details-marker { display: none; }
.nhr-service-detail summary:hover { background: #f1f3f1; }
.nhr-service-detail[open] summary { background: var(--nhr-navy); color: #fff; }
.nhr-detail-number { color: var(--nhr-terracotta); font: 18px Georgia,serif; }
.nhr-service-detail summary strong { display: block; font: 400 clamp(27px,3vw,40px)/1.15 Georgia,serif; }
.nhr-service-detail summary small { display: block; color: var(--nhr-steel); font-size: 14px; line-height: 1.5; margin-top: 7px; }
.nhr-service-detail[open] summary small { color: #aebfc8; }
.nhr-detail-content { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; padding: 62px 46px 76px; }
.nhr-detail-main h3 { font: 400 clamp(34px,4vw,52px)/1.08 Georgia,serif; margin: 0 0 24px; }
.nhr-detail-main > p:not(.nhr-detail-label) { font-size: 18px; color: #4d575e; max-width: 720px; }
.nhr-detail-label { font-size: 11px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--nhr-terracotta) !important; margin: 35px 0 18px; }
.nhr-capability-list { columns: 2; gap: 38px; padding-left: 20px; }
.nhr-capability-list li { break-inside: avoid; margin: 0 0 11px; line-height: 1.5; }
.nhr-capability-list li::marker,
.nhr-engagement-card li::marker { color: var(--nhr-terracotta); }
.nhr-fit-card { align-self: start; background: #eef0ed; border-left: 3px solid var(--nhr-sage); padding: 30px; }
.nhr-fit-card p { color: #4f5a55; }
.nhr-fit-card .nhr-detail-label { margin-top: 0; }
.nhr-fit-card hr { border: 0; border-top: 1px solid #c9d0cb; margin: 28px 0; }
.nhr-engagement-section { background: #fff; }
.nhr-section-lead { font-size: 19px; color: #4e5960; max-width: 760px; margin: 26px 0 0; }
.nhr-engagement-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.nhr-engagement-card { background: var(--nhr-fog); border-top: 4px solid var(--nhr-sage); padding: 34px; min-height: 420px; }
.nhr-engagement-card:nth-child(2) { border-top-color: var(--nhr-terracotta); }
.nhr-engagement-card h3 { font: 400 35px Georgia,serif; margin: 18px 0; }
.nhr-engagement-card > p:not(.nhr-model-label) { color: #596269; }
.nhr-model-label { color: var(--nhr-steel); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nhr-engagement-card ul { padding-left: 20px; margin-top: 28px; }
.nhr-engagement-card li { margin-bottom: 10px; line-height: 1.5; }
.nhr-difference { background: #e9ece8; }
.nhr-difference-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #bcc6c0; border-left: 1px solid #bcc6c0; }
.nhr-difference-card { padding: 34px 30px; border-right: 1px solid #bcc6c0; border-bottom: 1px solid #bcc6c0; min-height: 270px; }
.nhr-difference-card span { color: var(--nhr-terracotta); font: 18px Georgia,serif; }
.nhr-difference-card h3 { font: 400 27px Georgia,serif; margin: 30px 0 14px; }
.nhr-difference-card p { color: #4f5a55; }
.nhr-process { background: var(--nhr-navy); color: #fff; }
.nhr-process .nhr-eyebrow { color: #c9a768; }
.nhr-process h2 { color: #fff; }
.nhr-process h2 em { color: #b1c4ce; }
.nhr-process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; }
.nhr-process-step { border-top: 1px solid rgba(196,122,87,.7); padding: 28px 28px 24px 0; min-height: 245px; }
.nhr-process-step > span { color: var(--nhr-terracotta); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.nhr-process-step h3 { font: 400 29px Georgia,serif; margin: 28px 0 16px; }
.nhr-process-step p { color: #bac5cb; font-size: 15px; max-width: 235px; }

.nhr-cta { background: var(--nhr-navy); color: #fff; text-align: center; padding: 115px 24px; }
.nhr-cta .nhr-eyebrow { color: #9bb6c5; }
.nhr-cta h2 { font-size: clamp(46px,5vw,74px); line-height: 1.05; margin: 0 auto 24px; }
.nhr-cta > p:not(.nhr-eyebrow) { font-size: 18px; color: #c7d0d5; margin-bottom: 35px; }
.nhr-footer { background: #060e17; color: #d7dde1; padding: 60px 7vw 30px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.nhr-footer-brand { display: flex; flex-direction: column; width: max-content; }
.nhr-footer-brand strong { font: 52px/1 Georgia,serif; letter-spacing: .08em; }
.nhr-footer-brand span { font-size: 12px; letter-spacing: .42em; margin-top: 8px; }
.nhr-footer-contact { display: flex; flex-direction: column; gap: 12px; line-height: 1.5; }
.nhr-footer small { grid-column: 1/-1; border-top: 1px solid #293541; padding-top: 24px; color: #7e8b94; }

@media (max-width: 900px) {
  .nhr-header { grid-template-columns: 1fr auto; min-height: 82px; }
  .nhr-nav { display: none; }
  .nhr-hero, .nhr-services-hero { grid-template-columns: 1fr; }
  .nhr-hero-copy { padding: 70px 7vw; }
  .nhr-hero-panel { min-height: 500px; }
  .nhr-approach, .nhr-principles, .nhr-services-intro { grid-template-columns: 1fr; }
  .nhr-service-grid { grid-template-columns: 1fr; }
  .nhr-trust-strip { gap: 20px; justify-content: flex-start; overflow: auto; padding-left: 7vw; }
  .nhr-trust-strip span { white-space: nowrap; }
  .nhr-services-mark { min-height: 260px; }
  .nhr-detail-content { grid-template-columns: 1fr; }
  .nhr-engagement-grid { grid-template-columns: 1fr; }
  .nhr-difference-grid, .nhr-process-grid { grid-template-columns: repeat(2,1fr); }
  .nhr-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nhr-header-cta { font-size: 0; padding: 12px; }
  .nhr-header-cta::after { content: "Talk"; font-size: 11px; }
  .nhr-hero h1, .nhr-services-hero h1 { font-size: 47px; }
  .nhr-actions { align-items: flex-start; flex-direction: column; }
  .nhr-service-card { padding: 32px 24px; }
  .nhr-section { padding: 80px 7vw; }
  .nhr-approach-copy p:first-child { font-size: 20px; }
  .nhr-services-hero-copy { padding: 76px 7vw; }
  .nhr-services-mark { padding: 55px 7vw; }
  .nhr-service-details { padding: 0 0 80px; }
  .nhr-service-detail summary { grid-template-columns: 42px 1fr; gap: 12px; padding: 24px 7vw; }
  .nhr-service-detail summary small { display: none; }
  .nhr-detail-content { padding: 45px 7vw 60px; }
  .nhr-capability-list { columns: 1; }
  .nhr-difference-grid, .nhr-process-grid { grid-template-columns: 1fr; }
  .nhr-process-step { min-height: 0; padding-right: 0; }
  .nhr-footer { grid-template-columns: 1fr; }
  .nhr-cta { padding: 85px 7vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nhr-button { transition: none; }
}
