/* Colours and base typography */
:root {
  --ink: #292b0b;
  --lime: #e4ea78;
  --cream: #fffef2;
  --pale: #fffed1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand {
  font-family: 'Libre Caslon Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
}
h1 {
  font-size: clamp(3.5rem, 5vw, 6rem);
  margin: .2em 0 .15em;
  max-width: 1400px;
}
h2 { font-size: clamp(2.6rem, 4vw, 4.8rem); margin-bottom: .3em; }
h3 { font-size: clamp(1.6rem, 2vw, 2.2rem); margin-bottom: .35em; }
p { max-width: 42em; }
.small-label {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .1em;
  font-weight: 600;
}

/* Header and navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 14px clamp(22px, 4vw, 68px);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 3;
}
.brand {
  font-size: clamp(1.3rem, 2vw, 2rem);
  white-space: nowrap;
  text-decoration: none;
}
/* Wordmark and coaching description share a row, wrapping on small screens. */
.brand-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; width: fit-content; max-width: 100%; padding-bottom: 7px; border-bottom: 1px solid var(--ink); }
.brand-name {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
}
 .brand-dot { font-size: inherit; }
.brand-description {
  position: relative;
  top: 2px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .02em;
}
.brand-description-dot {
  position: relative;
  top: -3px;
  display: inline-block;
  font-family: 'Libre Caslon Display', Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  line-height: 0;
  vertical-align: middle;
}
.brand-tagline {
  display: block;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .1em;
  white-space: normal;
  max-width: 610px;
  margin-top: 10px;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.4vw, 38px);
  font-size: 16px;
}
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }

/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 15px 31px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  transition: background .2s, color .2s;
}
.pill:hover { background: transparent; color: var(--ink); }
.pill-secondary { background: transparent; color: var(--ink); }
.pill-secondary:hover { background: var(--ink); color: var(--cream); }
.price-book { margin-top: 20px; }

/* Section spacing: hero has its own layout, career statement is more compact. */
section { scroll-margin-top: 150px; }
.section-pad {
  padding: calc(clamp(75px, 10vw, 160px) - 24px) clamp(22px, 4vw, 68px);
}
.hero {
  background: var(--lime);
  min-height: 620px;
  padding: clamp(64px, 7vw, 112px) clamp(22px, 4vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, .7fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}
.hero h1 { font-size: clamp(3.5rem, 5vw, 6rem); }
.hero-details { font-size: 14px; margin: 24px 0 0; }
.hero-quote { margin: 0; max-width: 420px; justify-self: center; padding-top: 18px; border-top: 1px solid #292b0b40; }
.quote-label { display: flex; align-items: center; gap: 16px; white-space: nowrap; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.quote-label::after { content: ""; flex: 1; height: 1px; background: #292b0b60; }
.hero-quote blockquote { margin: 0; font-family: inherit; font-size: 14px; line-height: 1.55; letter-spacing: normal; }
.hero-quote figcaption { margin-top: 18px; font-size: 12px; }
.hero .lede {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  max-width: 1000px;
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 38px; }
.hero .pill { align-self: flex-start; }

/* Services */
.services { background: var(--pale); --service-gap: clamp(40px, 8vw, 150px); }
.section-heading { max-width: 1020px; }
.services-intro { max-width: none; }
.services-intro p { max-width: min(100%, calc(50% + var(--service-gap) / 2 + 560px)); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--service-gap);
  margin-top: 65px;
}
.service { border-top: 1px solid var(--ink); padding-top: 30px; }
.service p { max-width: 560px; }
.service-situations { max-width: 560px; padding-left: 1.2em; margin: 0 0 1.5em; }
.service-situations li { padding-left: .25em; margin-bottom: .7em; }
.service-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

/* Image transition — approved sofa framing, with the crop baked into the image */
.image-band { aspect-ratio: 1200 / 430; height: auto; background: #d6d3a2; overflow: hidden; }
.image-band img { display: block; width: 100%; height: auto; object-fit: initial; }
/* Prices and About */
.prices { background: var(--lime); }
.prices-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.price-note { border-top: 1px solid var(--ink); padding-top: 26px; }
.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 8vw; background: var(--cream); overflow: hidden; }
.about-copy p:last-child { margin-bottom: 0; }
.about-portrait { position: relative; isolation: isolate; width: min(100%, 300px); justify-self: center; }
.about-portrait::before { content: ''; position: absolute; z-index: -1; inset: 10% -13%; background: var(--lime); border-radius: 50%; transform: rotate(-30deg); }
.about-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; border-radius: 50%; }

.about p { font-size: inherit; }

/* Contact: centered email and Instagram icons on the green background */
.contact.section-pad { padding-top: clamp(32px, calc(10vw - 64px), 96px); }
.contact {
  background: var(--lime);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.contact h2 { font-size: clamp(1.6rem, 2.2vw, 2.4rem); }
.contact > div { max-width: 760px; }
.contact p { font-size: inherit; margin: 0 auto; }
 .contact-icons { display: flex; justify-content: center; gap: 24px; }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.contact-icon svg { width: 28px; height: 28px; }
.contact-icon:hover { background: var(--ink); color: var(--lime); }
.contact-icon:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }

/* Footer */
footer {
  padding: 55px clamp(22px, 4vw, 68px);
  background: var(--pale);
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand { font-family: 'DM Sans', Arial, sans-serif; font-size: 1em; font-weight: 700; }
footer p { margin: 8px 0 0; font-size: 16px; }

/* Tablet and mobile */
@media (max-width: 1100px) {
  header { align-items: flex-start; }
  .brand { white-space: normal; max-width: 65%; }
  .menu-toggle {
    display: block;
    background: none;
    border: 1px solid var(--ink);
    border-radius: 100px;
    padding: 9px 17px;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 10px 15px #292b0b12;
  }
  nav.open { display: flex; }
  nav .pill { align-self: flex-start; }
}
@media (max-width: 850px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; }
  .hero-quote { justify-self: start; }
  .services-intro p { max-width: 560px; }
  .service-grid, .prices-inner, .about { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { width: min(75%, 260px); }
  footer { flex-direction: column; }
}
@media (max-width: 500px) {
  body { font-size: 16px; }
  .hero-quote blockquote { font-size: 13px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(3.1rem, 11vw, 4.3rem); overflow-wrap: anywhere; }
  .section-pad { padding-top: 56px; padding-bottom: 56px; }
  .contact.section-pad { padding-top: 32px; }
  footer { padding-top: 45px; padding-bottom: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Practical questions */
.practical { background: var(--pale); }
.practical-list { max-width: 850px; }
.practical details { border-bottom: 1px solid var(--ink); padding: 20px 0; }
.practical summary { cursor: pointer; font-weight: 500; }
.practical details p { margin: 16px 0 0; }
.practical summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }

/* Align the reminder quote with the main hero heading on desktop. */
@media (min-width: 851px) {
  .hero-quote { align-self: start; position: relative; margin-top: calc(clamp(3.5rem, 5vw, 6rem) * 1.41 + 16px); padding-top: 0; border-top: 0; }
  .hero-quote .quote-label { position: absolute; bottom: 100%; left: 0; width: 100%; margin-bottom: 18px; }
}

/* Keep the services introduction brief, with optional detail. */
.approach-details { margin-top: 16px; }
.approach-details summary { cursor: pointer; text-decoration: underline; text-underline-offset: 5px; font-size: 16px; }
.approach-details p { margin-top: 18px; margin-bottom: 0; }
.approach-details summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
@media (max-width: 500px) { section { scroll-margin-top: 180px; } }
