@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf7f2;
  --ink: #2c2030;
  --muted: #625568;
  --accent: #68496f;
  --plum: #34273b;
  --lavender: #eee6ef;
  --line: #ded4df;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.62 var(--sans); }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #88649a; outline-offset: 5px; }
section[id] { scroll-margin-top: 1.5rem; }

.frame { width: min(100% - clamp(2.5rem, 9.4vw, 9rem), 76rem); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 5; transform: translateY(-200%); background: var(--plum); color: white; padding: .7rem 1rem; border-radius: .25rem; }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid #e5dce4; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: 5.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; width: fit-content; font-size: .98rem; font-weight: 700; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand-mark { position: relative; display: inline-grid; width: 2.05rem; height: 2.05rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--plum); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: .65rem; height: .95rem; border: 1px solid #eee3ef; border-radius: 80% 70% 75% 0; transform: rotate(42deg); }
.brand-mark::after { width: .42rem; height: .64rem; transform: translate(-.28rem, .13rem) rotate(-19deg); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.65rem); }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .875rem; font-weight: 600; color: var(--muted); }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }

.button, .text-link { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; gap: .7rem; font-size: .9rem; font-weight: 700; text-decoration: none; }
.button { width: fit-content; padding: .72rem 1.14rem; border: 1px solid transparent; border-radius: .45rem; line-height: 1.3; }
.button span, .text-link span { font-size: 1.03em; }
.button-outline { border-color: #c7b5ca; color: var(--plum); }
.button-outline:hover { background: var(--lavender); }
.button-primary { background: var(--plum); color: #fffafc; min-height: 3.15rem; padding-inline: 1.2rem; }
.button-primary:hover { background: #563b62; }
.header-action { justify-self: end; white-space: nowrap; }
.text-link { width: fit-content; color: var(--accent); }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 6vw, 5rem); }
.hero-copy { padding-block: 1.5rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.15rem; color: var(--accent); font-size: .75rem; line-height: 1.45; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-line { width: 1.35rem; height: 1px; flex: 0 0 auto; background: currentColor; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; }
h1 { font-size: clamp(3.65rem, 6.15vw, 5.5rem); line-height: .99; text-wrap: balance; }
h1 em { display: block; color: var(--accent); font-weight: inherit; }
.hero-description { max-width: 31rem; margin-top: 1.65rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; margin-top: 1.75rem; }
.hero-art { position: relative; isolation: isolate; aspect-ratio: 1.02; background: #d9c8d0; border-radius: min(9vw, 8.5rem) .55rem .55rem .55rem; }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: .6rem -.6rem -.6rem .6rem; border: 1px solid #cbb7ce; border-radius: inherit; }
.hero-art img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 56% 55%; }

h2 { font-size: clamp(2.8rem, 4.25vw, 4.55rem); line-height: 1.04; text-wrap: balance; }
.reflection { background: #f4edf3; border-block: 1px solid #e9dfe9; }
.reflection-inner { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: start; gap: clamp(2rem, 5.5vw, 6rem); padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.reflection-intro > p:last-child { margin-top: 1rem; color: var(--muted); max-width: 24rem; }
.reflection-interaction { padding-top: .2rem; }
.reflection-controls { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.15rem; }
.reflection-topic { min-height: 2.75rem; cursor: pointer; padding: .55rem .84rem; border: 1px solid #cbbbd0; border-radius: 99rem; background: transparent; color: var(--plum); font-size: .85rem; line-height: 1.25; font-weight: 700; }
.reflection-topic:hover { background: #e9dceb; }
.reflection-topic[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fffafc; }
.reflection-panel { min-height: 10rem; padding: clamp(1.25rem, 3vw, 2.15rem); border: 1px solid #e2d5e3; border-left: .2rem solid #9d7ba5; border-radius: .5rem; background: #fffafc; }
.reflection-example { color: var(--muted); font-size: .95rem; }
.reflection-question { margin-top: .65rem; font: 400 clamp(1.4rem, 2.55vw, 2.15rem)/1.2 var(--serif); letter-spacing: -.025em; }

.coaching { background: var(--plum); color: #fff9f5; }
.coaching-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 8.5vw, 8rem); padding-block: clamp(4rem, 8vw, 7.25rem); }
.coaching .eyebrow, .coaching .text-link { color: #e2c4e6; }
.coaching-intro p:not(.eyebrow) { max-width: 25rem; margin-top: 1.15rem; color: #e3d5e4; }
.coaching-intro .text-link { margin-top: .9rem; }
.coaching-steps { display: grid; align-self: center; list-style: none; padding: 0; margin: 0; border-top: 1px solid #68576d; }
.coaching-steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid #68576d; }
.step-number { display: grid; place-items: center; align-self: start; width: 2rem; height: 2rem; border: 1px solid #a98bae; border-radius: 50%; color: #efdaee; font-size: .85rem; }
.coaching-steps h3 { font: 400 1.5rem/1.3 var(--serif); }
.coaching-steps p { margin-top: .25rem; color: #e3d5e4; font-size: .94rem; }

.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 8vw, 7rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.6rem; padding: 1rem .1rem; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: .55rem; height: .55rem; flex: 0 0 auto; margin: 0 .25rem .28rem; border: solid var(--accent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.faq-list details[open] summary::after { margin-bottom: -.27rem; transform: rotate(225deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list p { padding: 0 1.45rem 1.2rem .1rem; color: var(--muted); }

.contact { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.contact-inner { position: relative; isolation: isolate; overflow: hidden; background: #eae0ed; border: 1px solid #e3d4e5; border-radius: .65rem; padding: clamp(2rem, 6vw, 5.5rem); }
.contact-copy { max-width: 39rem; }
.contact-copy h2 { text-wrap: initial; }
.contact-copy > p { max-width: 28rem; margin-top: 1rem; color: #57485e; }
.contact-copy .contact-status { margin-top: 1.25rem; color: var(--ink); font-size: .9rem; font-weight: 700; }
.contact-art { position: absolute; z-index: -1; top: 15%; right: -5%; bottom: -38%; width: min(40%, 29rem); transform: rotate(25deg); }
.contact-art i { position: absolute; inset: 0; border: 1px solid #cdb8d0; border-radius: 48% 52% 0 0; }
.contact-art i:nth-child(2) { inset: 1.1rem; }
.contact-art i:nth-child(3) { inset: 2.2rem; }
.contact-art i:nth-child(4) { inset: 3.3rem; }
.contact-art i:nth-child(5) { inset: 4.4rem; }

.site-footer { border-top: 1px solid #e5dce4; }
.footer-inner { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.3rem; }
.footer-inner p { color: var(--muted); font-size: .84rem; }
.footer-inner .text-link { font-size: .84rem; }

@media (max-width: 900px) {
  .hero { gap: 2rem; }
  h1 { font-size: clamp(3.25rem, 7.2vw, 4.8rem); }
  .hero-actions { column-gap: 1rem; }
  .reflection-inner { gap: 2rem; }
  .coaching-inner { gap: 2.5rem; }
}

@media (max-width: 720px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: auto; gap: .25rem 1rem; padding-top: .65rem; }
  .site-nav { grid-area: 2 / 1 / 3 / -1; gap: 1.55rem; }
  .site-nav a { min-height: 2.75rem; }
  .header-action { grid-column: 2; grid-row: 1; }
  .hero, .reflection-inner, .coaching-inner, .faq { grid-template-columns: 1fr; }
  .hero { padding-block: 2.9rem 3.3rem; gap: 1.8rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.05rem, 10vw, 5.25rem); max-width: 37rem; }
  .hero-description { margin-top: 1.25rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-art { aspect-ratio: 1.26; border-top-left-radius: 5.25rem; }
  .hero-art img { object-position: 56% 39%; }
  .reflection-inner, .coaching-inner, .faq { gap: 1.55rem; }
  .contact-art { opacity: .55; top: 43%; right: -19%; width: 64%; }
}

@media (max-width: 380px) {
  .frame { width: calc(100% - 2rem); }
  .wordmark { gap: .45rem; font-size: .9rem; }
  .header-action { padding-inline: .65rem; font-size: .81rem; }
  .hero-actions { column-gap: .85rem; }
  .hero-actions a { font-size: .83rem; }
  .footer-inner { column-gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
