/* HR & Wellness Consulting — site styles
   Colors and fonts live here. Change a value once, it changes everywhere. */
:root {
  --pine: #1F3D36;        /* main brand green */
  --pine-deep: #142924;   /* darker green for footer */
  --sage: #DDE7E0;        /* soft green backgrounds */
  --sage-line: #C3D3C8;   /* thin lines on green */
  --paper: #FBFBF8;       /* page background */
  --ink: #18221F;         /* main text */
  --muted: #56625D;       /* secondary text */
  --marigold: #E7AE3C;    /* buttons / highlights */
  --marigold-dark: #C98F1F;
  --white: #FFFFFF;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1120px;
  --radius-sm: 6px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--marigold-dark); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--marigold); color: var(--ink); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-block; font: 600 1rem/1 var(--sans);
  padding: .95rem 1.4rem; border-radius: var(--radius-sm);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--marigold); color: var(--ink); }
.btn-primary:hover { background: var(--marigold-dark); color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--pine); background: transparent; }
.btn-ghost:hover { background: var(--pine); color: var(--white); border-color: var(--pine); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid #E6E9E4; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 400; color: var(--muted); }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--pine); border-bottom-color: var(--marigold); }
.nav a[aria-current="page"] { border-bottom-color: var(--pine); }
.nav .phone { font-weight: 600; color: var(--pine); }
.menu-btn { display: none; background: none; border: 2px solid var(--pine); color: var(--pine); border-radius: var(--radius-sm); font: 600 .95rem var(--sans); padding: .5rem .8rem; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid #E6E9E4; gap: .9rem; }
  .nav.open { display: flex; }
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { max-width: 14ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-meta { margin-top: 2rem; color: var(--muted); font-size: .95rem; }
.hero-meta strong { color: var(--ink); }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Situation picker — the signature piece */
.picker { background: var(--pine); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.picker h2 { font-size: 1.6rem; color: var(--white); margin-bottom: .25rem; }
.picker > p { color: #C9D8CF; margin-bottom: 1.25rem; font-size: .98rem; }
.picker fieldset { border: 0; margin: 0; padding: 0; }
.picker legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.choice { display: block; position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .8rem .9rem; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 1rem; line-height: 1.4; cursor: pointer;
}
.choice:last-of-type span { border-bottom: 1px solid rgba(255,255,255,.14); }
.choice span::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px;
  border: 2px solid #9FB8AB; border-radius: 50%; background: transparent;
}
.choice input:checked + span { background: rgba(255,255,255,.08); }
.choice input:checked + span::before { border-color: var(--marigold); background: var(--marigold); box-shadow: inset 0 0 0 3px var(--pine); }
.choice input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: -3px; }
.answer { margin-top: 1.25rem; min-height: 7.5rem; }
.answer[hidden] { display: none; }
.answer-placeholder { color: #9FB8AB; font-size: .95rem; margin-top: 1.25rem; }
.answer h3 { color: var(--marigold); font-size: 1.15rem; margin-bottom: .35rem; }
.answer p { color: #E4ECE7; font-size: .98rem; }
@media (prefers-reduced-motion: no-preference) {
  .answer:not([hidden]) { animation: rise .28s ease-out; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sage { background: var(--sage); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }

/* Credentials row */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--sage-line); border-bottom: 1px solid var(--sage-line); }
.cred { padding: 1.5rem 1.25rem 1.5rem 0; }
.cred + .cred { padding-left: 1.25rem; border-left: 1px solid var(--sage-line); }
.cred b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--pine); }
.cred span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .creds { grid-template-columns: 1fr 1fr; }
  .cred:nth-child(3) { padding-left: 0; border-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--sage-line); }
}

/* Services list (definition list, not cards) */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; margin: 0; }
.svc { padding: 1.4rem 0; border-top: 1px solid #DCE1DC; }
.svc dt { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: .3rem; }
.svc dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--pine); color: var(--marigold); font: 600 1.2rem var(--serif);
}
.steps h3 { margin-bottom: .3rem; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* About split */
.split { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--pine);
  display: grid; place-items: center; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font: 500 5rem var(--serif); color: var(--marigold); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .portrait { max-width: 260px; } }

.industries { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.industries li { border: 1px solid var(--sage-line); background: var(--white); border-radius: 999px; padding: .35rem .9rem; font-size: .95rem; }

/* Call-to-action band */
.cta-band { background: var(--pine); color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-band h2 { color: var(--white); margin: 0; max-width: 22ch; }
.cta-band p { color: #C9D8CF; margin: .4rem 0 0; }

/* Page header (inner pages) */
.page-head { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { max-width: 20ch; }

/* Services page detail */
.svc-detail { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid #DCE1DC; }
.svc-detail h2 { font-size: 1.45rem; font-weight: 600; }
.svc-detail ul { margin: .25rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.svc-detail li { margin-bottom: .3rem; }
@media (max-width: 760px) { .svc-detail { grid-template-columns: 1fr; gap: .5rem; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { padding: 1rem 0; border-top: 1px solid #DCE1DC; }
.contact-list li:last-child { border-bottom: 1px solid #DCE1DC; }
.contact-list span { display: block; color: var(--muted); font-size: .9rem; }
.contact-list a, .contact-list b { font-size: 1.15rem; font-weight: 600; text-decoration: none; }

.form { background: var(--white); border: 1px solid #DCE1DC; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.form h2 { font-size: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid #C9D0CB; border-radius: var(--radius-sm); padding: .75rem .85rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--marigold); outline-offset: 1px; border-color: var(--pine); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--sage); color: var(--pine); }
.form-status.err { background: #FBE9E4; color: #8A2A12; }
.small { font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--pine-deep); color: #B9C9C0; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .6rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: .4rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-legal { max-width: none; }
@media (max-width: 480px) {
  .brand-name { font-size: 1rem; }
  .brand-name small { display: none; }
}
