/* Melissa Smith, Business Consulting & Solutions
   Brand tokens. Roles follow the brand plan:
   sage = primary accent, forest = headings, dark teal = body text and hero overlay,
   taupe = cards and panels, maroon = alerts only, cool gray = rules and muted grounds. */
:root {
  --ink: #02222E;
  --forest: #1A4A3A;
  --sage: #556B2F;
  --taupe: #BAA598;
  --maroon: #792430;
  --mist: #DBDFE2;
  --page: #F7F5F2;     /* soft off-white under the taupe cards */
  --white: #FFFFFF;

  --display: "Sorts Mill Goudy", "Goudy Old Style", Georgia, serif;
  --body: Montserrat, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }
a:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
}
.hero a:focus-visible,
.band-ink a:focus-visible { outline-color: var(--taupe); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  z-index: 10;
}
.skip-link:focus { top: 16px; }

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------- Type ---------- */
h1, h2, .brand-name, .problems, .values dt, .steps li::before, .tagline {
  font-family: var(--display);
  font-weight: 400;
}
h1 {
  font-size: clamp(2.375rem, 6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 13em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--forest);
  text-wrap: balance;
}
h3 {
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
/* Letter-spaced all-caps labels */
.eyebrow, .label {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--sage); margin-bottom: 14px; }
.label-ruled { padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.quiet-heading {
  font-weight: 500;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  padding: 0.95em 1.5em;
  border-radius: 6px;
  background: var(--sage);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover { background: var(--forest); }
.button-small { padding: 0.7em 1.1em; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header { background: var(--white); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img { display: block; height: 104px; width: auto; }
.brand-name { display: block; font-size: 1.5rem; line-height: 1.15; color: var(--forest); }
.brand-sub {
  display: block;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--sage);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.9375rem;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- Hero: backdrop photo under a dark teal overlay ---------- */
.hero {
  background:
    linear-gradient(90deg, rgba(2, 34, 46, 0.9) 0%, rgba(2, 34, 46, 0.82) 50%, rgba(2, 34, 46, 0.62) 100%),
    var(--ink) url("images/backdrop.jpg") center / cover no-repeat;
  color: var(--white);
  padding-top: clamp(64px, 10vw, 128px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.hero-intro {
  max-width: 36em;
  margin-top: 26px;
  margin-bottom: 34px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--mist);
}
.hero .button { background: var(--taupe); color: var(--ink); }
.hero .button:hover { background: var(--white); }
.tagline {
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: 18px;
  border-top: 1px solid rgba(219, 223, 226, 0.4);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--taupe);
}

/* ---------- Bands ---------- */
.band { padding-block: clamp(64px, 9vw, 112px); }
.band.band-ruled { padding-top: 0; }
.band-ruled > .wrap::before {
  content: "";
  display: block;
  border-top: 1px solid var(--mist);
  margin-bottom: clamp(64px, 9vw, 112px);
}
.band-muted { background: #ECEEF0; }
.band-white { background: var(--white); }
.band-ink { background: var(--ink); color: var(--white); }
.band-ink h2 { color: var(--white); }
.band-ink .eyebrow { color: var(--taupe); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}
.split h2 + p { margin-top: 24px; }
.split p + p { margin-top: 16px; }

/* ---------- What I do ---------- */
.problems {
  font-style: italic;
  font-size: clamp(1.375rem, 2.3vw, 1.75rem);
  line-height: 1.3;
}
.problems li {
  padding-block: 18px;
  border-bottom: 1px solid var(--mist);
}

.answers-label { margin-top: clamp(56px, 8vw, 88px); }
.answers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: 24px;
}
.answers h4 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--forest);
}

/* ---------- How it works: taupe cards ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 22px 20px 26px;
  background: var(--taupe);
  border-radius: 12px;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--forest);
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.9375rem; line-height: 1.55; }

/* ---------- Recommendations ---------- */
.rec-note { margin-top: 16px; max-width: 44em; }
.recs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(36px, 5vw, 56px);
}
.recs li { border-top: 1px solid var(--mist); padding-top: 24px; }
.recs blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.5;
}
.rec-who { margin-top: 18px; font-weight: 600; font-size: 0.9375rem; color: var(--sage); }

/* ---------- About ---------- */
.about-top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.about-logo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  justify-self: center;
}
.about-intro h2 { margin-bottom: 24px; }
.about-intro p + p { margin-top: 16px; }

.panel {
  padding: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(8px, 2vw, 24px);
  background: var(--taupe);
  border-radius: 16px;
}
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 88px);
  margin-top: 8px;
}
.values > div {
  padding-block: 24px;
  border-top: 1px solid rgba(2, 34, 46, 0.25);
}
.values > div:nth-child(-n+2) { border-top: 0; }
.values dt { font-size: 1.75rem; line-height: 1.2; margin-bottom: 8px; color: var(--forest); }
.values dd { max-width: 34em; }

/* ---------- Book ---------- */
.book-intro { margin-top: 16px; color: var(--mist); }
.booking {
  margin-top: 36px;
  padding: 8px;
  background: var(--white);
  border-radius: 10px;
}
.booking iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
}
.book-fallback { margin-top: 16px; font-size: 0.9375rem; color: var(--mist); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  font-size: 0.875rem;
  padding-block: 28px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-inner img { display: block; height: 112px; width: auto; flex: none; }
.footer-social {
  margin-left: auto;
  display: flex;
  gap: 20px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  text-decoration: none;
}
.footer-social a:hover { color: var(--sage); text-decoration: underline; text-underline-offset: 4px; }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-name {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--forest);
  margin-bottom: 4px;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split, .about-top { grid-template-columns: minmax(0, 1fr); }
  .recs { grid-template-columns: minmax(0, 1fr); }
  .about-logo { max-width: 240px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .steps, .values, .answers { grid-template-columns: minmax(0, 1fr); }
  .values > div:nth-child(2) { border-top: 1px solid rgba(2, 34, 46, 0.25); }
  .booking iframe { height: 900px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-social { margin-left: 0; width: 100%; }
  .hero {
    background:
      linear-gradient(rgba(2, 34, 46, 0.84), rgba(2, 34, 46, 0.84)),
      var(--ink) url("images/backdrop-small.jpg") 75% center / cover no-repeat;
  }
  .hero .button { display: block; text-align: center; }
  .brand img { height: 64px; }
  .brand { gap: 10px; }
  .brand-name, .button-small { white-space: nowrap; }
  .footer-inner img { height: 84px; }
  .brand-name { font-size: 1.125rem; }
  .brand-sub { display: none; }
  .header-inner { gap: 12px; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
}
