:root {
  --page-background: #f3ebe0;
  --paper: rgba(255, 251, 245, 0.96);
  --text: #2f2a25;
  --muted: #6a5f55;
  --brown: #9a6b3f;
  --brown-dark: #5a3f2a;
  --accent-light: #b07a48;
  --accent: #8a5a32;
  --link: #9c5a3c;
  --border: rgba(154, 107, 63, 0.2);
  --shadow: 0 14px 35px rgba(90, 63, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.65;

  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  background:
    radial-gradient(
      circle at top left,
      rgba(232, 206, 172, 0.7),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(214, 178, 150, 0.55),
      transparent 48%
    ),
    var(--page-background);
}

.page-wrap {
  width: min(100% - 2rem, 1000px);
  margin: 3rem auto;
}

/* Hero section */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  overflow: hidden;
  min-height: 390px;
  padding: 2.75rem 3rem;

  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-text {
  flex: 1;
  max-width: 560px;
}


h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  margin: 0;

  color: var(--brown-dark);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.post-nominals {
  color: var(--muted);
  font-size: 0.4em;
  letter-spacing: 0.04em;
  white-space: nowrap;
  vertical-align: middle;
}

.tagline {
  max-width: 430px;
  margin: 1.2rem 0 1.8rem;

  color: var(--muted);
  font-size: 1.16rem;
}

/* Email button */

.contact-button {
  display: inline-block;

  padding: 0.75rem 1.2rem;

  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;

  font-weight: 700;
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-button:hover,
.contact-button:focus {
  background: var(--brown);
  transform: translateY(-2px);
}

/* Portrait */

.portrait-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  min-width: 260px;
}

.portrait {
  display: block;

  width: min(100%, 285px);
  height: auto;

  border: 8px solid rgba(255, 250, 242, 0.92);
  border-radius: 18px;

  box-shadow: 0 12px 26px rgba(90, 63, 42, 0.2);
}

/* Main content */

.site-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.5rem;

  margin-top: 1.5rem;
}

.card,
.site-footer {
  padding: 2rem;

  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

h2 {
  margin: 0 0 0.8rem;

  color: var(--brown);
  font-size: 1.8rem;
  line-height: 1.2;
}

.intro p,
.approach p,
.location p {
  margin: 0 0 1rem;
}

.intro p:last-child,
.approach p:last-child,
.location p:last-child {
  margin-bottom: 0;
}

.intro,
.approach,
.location {
  grid-column: 1;
}

.contact {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
}

.email-link {
  margin: 1rem 0 0.35rem;
  overflow-wrap: anywhere;

  font-size: 1.05rem;
}

.email-link a {
  color: var(--link);
  border-bottom: 1px solid rgba(156, 90, 60, 0.45);

  font-weight: 700;
  text-decoration: none;
}

.email-link a:hover,
.email-link a:focus {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.response-note {
  margin: 0;

  color: var(--muted);
  font-size: 0.92rem;
}

.profile-link {
  margin: 1rem 0 0;

  font-size: 0.95rem;
}

.profile-link a,
.site-footer a {
  color: var(--link);
}

.profile-link a:hover,
.profile-link a:focus,
.site-footer a:hover,
.site-footer a:focus {
  color: var(--accent);
}

/* Professional membership */

.memberships {
  grid-column: 1 / -1;
}

.membership-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;

  margin: 0;
  padding: 0;
  list-style: none;
}

.membership-logos li {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 140px;
  padding: 0.75rem 1.25rem;

  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.membership-logos img {
  display: block;
  width: auto;
  height: 100%;
}

/* Psychology Today seal: let the third-party badge keep its own size */
.membership-logos .verified-seal img {
  height: auto;
  max-height: 100%;
}

/* Footer */

.site-footer {
  margin-top: 1.5rem;

  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Tablet and mobile */

@media (max-width: 760px) {
  .page-wrap {
    width: min(100% - 1.25rem, 620px);
    margin: 1.25rem auto;
  }

  .hero {
    display: block;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .hero-text {
    max-width: 560px;
    margin: 0 auto;
  }

  .tagline {
    margin-right: auto;
    margin-left: auto;
  }

  .portrait-wrapper {
    min-width: 0;
    margin-top: 2rem;
  }

  .portrait {
    width: min(100%, 260px);
  }

  .site-main {
    display: block;
  }

  .site-main .card + .card {
    margin-top: 1.25rem;
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 1.7rem 1.2rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .tagline {
    font-size: 1.05rem;
  }

  .card,
  .site-footer {
    padding: 1.4rem;
  }

  .membership-logos {
    justify-content: center;
  }

  .membership-logos li {
    height: 115px;
  }

  .portrait {
    width: min(100%, 230px);
    border-width: 6px;
  }
}
