:root {
  --espresso: #493027;
  --espresso-deep: #2f1c17;
  --ivory: #faf6ee;
  --paper: #fffdf8;
  --putty: #efe5d8;
  --camel: #9a6542;
  --olive: #55583e;
  --clay: #b9877c;
  --line: rgba(73, 48, 39, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--espresso);
  background: var(--ivory);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(24px, 5vw, 76px);
  background: rgba(250, 246, 238, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.wordmark {
  font-size: 18px;
  letter-spacing: .28em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { font-family: "Playfair Display", serif; font-style: italic; letter-spacing: 0; }
nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); }
nav a {
  font-size: 13px;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-cta { padding: 12px 21px; border: 1px solid var(--espresso); }
.menu-button { display: none; border: 0; background: none; color: var(--espresso); font: inherit; }

.hero {
  min-height: 700px;
  padding: clamp(70px, 10vw, 150px) clamp(24px, 8vw, 124px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  column-gap: 8vw;
  align-content: center;
  overflow: hidden;
}
.eyebrow, .kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { grid-column: 1; margin-bottom: 28px; color: var(--olive); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  grid-column: 1;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(62px, 8vw, 126px);
  line-height: .95;
  letter-spacing: -.045em;
  margin-bottom: 34px;
}
h1 em, h2 em { font-weight: 500; color: var(--camel); }
.hero-lede { grid-column: 1; font-family: "Playfair Display", serif; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; max-width: 780px; }
.hero-copy { grid-column: 1; max-width: 700px; color: rgba(73,48,39,.8); }
.button {
  appearance: none;
  border: 0;
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding: 15px 23px;
  margin-top: 12px;
  background: var(--camel);
  color: white;
  font: 600 13px/1 "DM Sans", sans-serif;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.hero-note { grid-column: 2; grid-row: 2 / span 4; align-self: center; padding-left: 32px; border-left: 1px solid var(--line); display: grid; gap: 2px; font-family: "Playfair Display", serif; font-size: 26px; }
.hero-panel {
  position: absolute;
  right: clamp(24px, 6vw, 90px);
  bottom: 0;
  width: min(28vw, 390px);
  height: 118px;
  background: var(--olive);
  overflow: hidden;
}
.panel-accent { width: 34%; height: 100%; margin-left: auto; background: var(--camel); }

section:not(.hero) { padding: clamp(72px, 9vw, 130px) clamp(24px, 7vw, 108px); }
.section-intro { display: grid; grid-template-columns: .4fr 1fr; column-gap: 7vw; row-gap: 18px; align-items: start; margin-bottom: 75px; }
.section-intro > p { grid-column: 2; max-width: 760px; }
h2 { font: 500 clamp(42px, 5vw, 72px)/1.08 "Playfair Display", serif; letter-spacing: -.035em; }
.services { background: var(--putty); }
.fractional-model { display: grid; grid-template-columns: .4fr 1fr; column-gap: 7vw; margin: 0 0 80px; padding: clamp(34px, 5vw, 62px); background: var(--olive); color: var(--ivory); }
.fractional-model .kicker { color: #e0b08d; }
.fractional-model h3 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.fractional-model p { max-width: 790px; }
.service-grid { border-top: 1px solid var(--line); }
.service-grid article { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(45px, 8vw, 120px); padding: 52px 0; border-bottom: 1px solid var(--line); }
.service-number { display: block; color: var(--olive); font-size: 13px; letter-spacing: .12em; margin-bottom: 28px; }
h3 { font: 500 30px/1.25 "Playfair Display", serif; }
.service-heading p { max-width: 560px; }
.list-label { display: block; margin-bottom: 16px; color: var(--olive); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.service-grid ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 42px; }
.service-grid li { position: relative; padding: 6px 0 6px 18px; font-size: 15px; }
.service-grid li::before { content: "—"; position: absolute; left: 0; color: var(--camel); }
.services-close { max-width: 900px; margin: 42px 0 0 auto; font-family: "Playfair Display", serif; font-size: clamp(21px, 2.2vw, 29px); line-height: 1.5; }

.about { display: grid; grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr); gap: clamp(55px, 8vw, 120px); align-items: center; }
.portrait-wrap { position: relative; width: 100%; max-width: 310px; padding: 0 0 26px 26px; justify-self: center; }
.portrait-wrap::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--olive); z-index: -1; }
.portrait-wrap img { display: block; width: 100%; height: auto; aspect-ratio: auto; filter: saturate(.87) contrast(.97); }
.portrait-label { position: absolute; right: -24px; bottom: 0; padding: 15px 20px; background: var(--camel); color: white; text-transform: uppercase; font-size: 11px; letter-spacing: .16em; }
.about-copy .kicker { display: block; color: var(--olive); margin-bottom: 24px; }
.about-copy p { max-width: 760px; }

.approach { background: var(--espresso); color: var(--ivory); display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.approach .kicker { color: #d8a681; display: block; margin-bottom: 24px; }
.approach h2 { margin-bottom: 0; }
.approach-copy { align-self: end; }
.approach-copy > p { font-family: "Playfair Display", serif; font-size: 23px; line-height: 1.55; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.principles span { border: 1px solid rgba(250,246,238,.42); padding: 10px 16px; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; }

.inquiry { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 9vw, 140px); background: var(--paper); }
.inquiry-intro { position: sticky; top: 130px; align-self: start; }
.inquiry-intro .kicker { color: var(--olive); display: block; margin-bottom: 24px; }
.inquiry-intro h2 { font-size: clamp(40px, 4.5vw, 64px); }
.inquiry-form { border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px); min-height: 570px; }
.progress { height: 3px; background: var(--putty); margin-bottom: 60px; }
.progress span { display: block; height: 100%; width: 25%; background: var(--camel); transition: width .25s ease; }
.form-step { display: none; border: 0; padding: 0; margin: 0; }
.form-step.active { display: block; }
legend { font: 500 clamp(28px, 3vw, 42px)/1.24 "Playfair Display", serif; margin-bottom: 34px; }
.form-help { color: rgba(73,48,39,.7); margin: -22px 0 28px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option-grid label { cursor: pointer; }
.option-grid input { position: absolute; opacity: 0; }
.option-grid span { display: block; border: 1px solid var(--line); padding: 15px 17px; transition: .18s ease; }
.option-grid input:checked + span, .option-grid label:hover span { background: var(--olive); border-color: var(--olive); color: white; }
textarea, input, select { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; padding: 14px 4px; color: var(--espresso); font: inherit; }
textarea { border: 1px solid var(--line); padding: 18px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--camel); outline-offset: 3px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; }
.field-grid label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 45px; }
.form-actions .button { margin: 0 0 0 auto; }
.text-button { background: none; border: 0; color: var(--espresso); text-decoration: underline; cursor: pointer; font: inherit; }
.form-note { font-size: 13px; margin: 28px 0 0; color: rgba(73,48,39,.68); }

footer { padding: 60px clamp(24px, 7vw, 108px) 35px; background: var(--putty); display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: start; border-top: 1px solid var(--line); }
footer p { font-size: 14px; line-height: 1.6; }
footer > a:not(.wordmark) { font-size: 14px; }
footer small { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; font-size: 12px; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 88px; left: 0; right: 0; padding: 28px; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  .hero { display: block; padding-top: 90px; min-height: auto; padding-bottom: 180px; }
  .hero-note { margin-top: 54px; }
  .hero-panel { width: min(62vw, 360px); height: 90px; right: 24px; bottom: 40px; }
  .section-intro, .about, .approach, .inquiry { grid-template-columns: 1fr; }
  .section-intro > p { grid-column: 1; }
  .fractional-model, .service-grid article { grid-template-columns: 1fr; }
  .fractional-model { gap: 24px; }
  .service-grid article { gap: 28px; padding: 42px 0; }
  .service-number { margin-bottom: 24px; }
  .portrait-wrap { max-width: 310px; }
  .inquiry-intro { position: static; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: 1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { min-height: 72px; }
  .wordmark { font-size: 14px; letter-spacing: .2em; }
  nav { top: 72px; }
  h1 { font-size: clamp(58px, 19vw, 86px); }
  .hero-lede { font-size: 25px; }
  .hero-panel { width: 70vw; right: 24px; }
  .option-grid, .field-grid { grid-template-columns: 1fr; }
  .service-grid ul { columns: 1; }
  .inquiry-form { padding: 28px 20px; }
  .portrait-wrap { max-width: 280px; padding: 0 0 22px 20px; }
  .portrait-label { right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
