/* robertmonntherapy.com — single stylesheet, hand-written */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: "Aurellia";
  src: url("../fonts/aurellia-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aurellia";
  src: url("../fonts/aurellia-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */

:root {
  --bg:        #ffffff;
  --fg:        #111111;
  --muted:     #6b6b6b;
  --rule:      #e5e5e5;
  --max:       76rem;       /* content column max */
  --measure:   34rem;       /* prose measure */
  --gap-xs:    0.5rem;
  --gap-sm:    1rem;
  --gap:       2rem;
  --gap-lg:    4rem;
  --gap-xl:    7rem;
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ base */

html, body {
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Aurellia", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1 { text-transform: uppercase; }

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1; margin-bottom: 0.2em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: 0.6em; }

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.muted { color: var(--muted); }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: var(--gap-lg) 0; }

/* skip link for keyboard / screen reader users */
.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: 0.5rem 0.75rem; background: var(--fg); color: var(--bg);
}

/* ------------------------------------------------------------------ layout */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--gap-lg) clamp(1rem, 4vw, 3rem);
}

.section { margin: var(--gap-xl) 0; max-width: 38rem; }
.section:first-of-type { margin-top: 0; }

/* breakout sections opt out of the column constraint */
.hero,
.pullquote,
figure.band {
  max-width: none;
}

/* extra breathing above the hero headline (overrides :first-of-type margin reset) */
.section.hero { margin-top: var(--gap-lg); }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: var(--gap-sm); }

.center { text-align: center; }

/* nav */
.topnav {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: var(--gap);
  margin-bottom: var(--gap-lg);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topnav nav ul {
  display: flex;
  gap: 1.5rem;
}

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  align-items: center;
  margin-bottom: var(--gap-xl);
}
@media (min-width: 1100px) {
  /* side-by-side; everything stays inside .page's max-width */
  .hero {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--gap);
  }
}

.hero .headshot {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media (max-width: 1099px) {
  /* stacked: text first (source order), photo centered below */
  .hero .headshot {
    max-width: 28rem;
    margin: 0 auto;
  }
}

.hero-text {
  text-align: left;
}
.hero h1 {
  text-align: left;
  margin-top: 0;
  font-size: clamp(2.24rem, 5vw, 3.6rem);
  line-height: 1.05;
}
.hero h1 .practice-owner,
.hero h1 .practice-kind,
.hero h1 .hero-sub {
  display: block;
}
.hero h1 .practice-kind {
  font-size: 0.55em;                          /* "Depth Psychotherapy" — smaller */
  line-height: 1.1;
  margin-top: 0.3em;                          /* halved from 0.6em */
}
.hero h1 .hero-sub {
  font-size: 0.45em;                          /* "For individuals…" — smallest */
  line-height: 1.2;
  margin-top: 0.3em;                          /* matches the gap above */
  color: var(--muted);
  text-transform: none;
}
.hero .credentials {
  text-align: left;
  margin-top: var(--gap-sm);
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.hero .lede {
  margin: var(--gap) 0 0;
  max-width: 32rem;
  font-size: 1.18rem;
  line-height: 1.55;
  text-align: left;
}
.hero .cta {
  margin-top: var(--gap);
  display: flex;
  gap: var(--gap-sm);
  justify-content: flex-start;
  flex-wrap: wrap;
}
.cta a {
  border: 1px solid var(--fg);
  padding: 0.6rem 1.1rem;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.cta a:hover { background: var(--fg); color: var(--bg); text-decoration: none; }

/* ------------------------------------------------------------------ figures */

figure.botanical {
  margin: var(--gap-xl) calc(-1 * var(--gap));    /* break out of column slightly */
  position: relative;
}
@media (min-width: 900px) {
  figure.botanical {
    margin: var(--gap-xl) calc(-1 * var(--gap-lg));
  }
}
figure.botanical img {
  width: 100%;
  height: auto;
}
figure.botanical figcaption {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: var(--gap-xs);
  text-align: center;
}

/* wide cropped band — fills the page column, doesn't break out */
figure.band {
  margin: var(--gap-xl) 0;
}
figure.band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 1;
  object-fit: cover;
  object-position: center;
}

/* ------------------------------------------------------------------ quote */

.pullquote {
  margin: var(--gap-xl) 0;
  text-align: center;
}
.pullquote blockquote {
  font-family: "Aurellia", "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  max-width: 40rem;
  margin: 0 auto;
}
.pullquote cite {
  display: block;
  margin-top: var(--gap);
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------------ lists */

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  font-family: "Inter", sans-serif;
}
.taglist li {
  font-size: 14px;
  padding: 0.2rem 0;
}
.taglist li + li::before {
  content: "· ";
  color: var(--muted);
  margin-right: 0.6rem;
  margin-left: -0.2rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
}

/* ------------------------------------------------------------------ contact */

.contact-card {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--gap) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-sm);
  font-family: "Inter", sans-serif;
}
.contact-card .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.2rem;
}
.contact-card .value {
  font-size: 1.1rem;
  font-weight: 500;
}

/* ------------------------------------------------------------------ footer */

footer.site-footer {
  margin-top: var(--gap-xl);
  padding-top: var(--gap);
  border-top: 1px solid var(--rule);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}
footer.site-footer .disclosure {
  display: block;
  margin-top: var(--gap-xs);
}

/* ------------------------------------------------------------------ 404 */

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.notfound h1 { margin-bottom: var(--gap-sm); }
.notfound p  { color: var(--muted); }
