/* All About Speech Therapy
   Classic Refreshed Theme
   Mobile friendly + stronger contrast + school-age / K-12 content
*/

:root {
  --page-bg: #e9dfd1;
  --paper: #fffdf8;
  --cream: #f8eddb;
  --cream-deep: #ead8bf;
  --taupe: #7a6043;
  --taupe-dark: #3f3326;
  --blue: #557b8f;
  --blue-dark: #244f67;
  --sage: #8fa37e;
  --terracotta: #b85f43;
  --terracotta-dark: #813923;
  --text: #1f1d1a;
  --muted: #4f4942;
  --line: #cbb99f;
  --shadow: 0 16px 38px rgba(63, 51, 38, .16);
  --focus: #003b5c;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(143, 163, 126, .24), transparent 28%),
    linear-gradient(180deg, #f4ecdf 0%, var(--page-bg) 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: var(--blue-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site {
  width: min(1050px, calc(100% - 34px));
  margin: 22px auto;
  background: var(--paper);
  border: 1px solid rgba(63, 51, 38, .22);
  box-shadow: var(--shadow);
}

.header {
  padding: 30px 42px 0;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: flex-start;
}

.logo {
  margin: 0;
  color: var(--taupe-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: normal;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.subtitle {
  display: block;
  margin-top: 8px;
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
}

.contact {
  padding-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.contact strong {
  color: var(--taupe-dark);
}

.contact a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 205px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 10px 22px rgba(63, 51, 38, .12);
}

.banner-photo {
  width: 100%;
  height: 205px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.98) contrast(1.02) brightness(1.01);
}

.tagline-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: linear-gradient(90deg, var(--taupe-dark), var(--taupe));
  color: #ffffff;
  padding: 13px 18px;
}

.tagline-bar span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
}

.tagline-note {
  font-size: 13px;
  opacity: .98;
  font-weight: 700;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border: 1px solid var(--line);
  border-top: 0;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 55%, #f0f4ed 100%);
}

.nav {
  display: flex;
  flex-wrap: wrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 18px;
  color: var(--blue-dark);
  border-right: 1px solid var(--line);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.nav a:hover,
.nav a.active {
  background: var(--cream);
  color: var(--terracotta-dark);
}

.page-label {
  align-self: center;
  padding: 0 18px;
  color: var(--taupe-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.content {
  padding: 58px 66px 70px;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  gap: 58px;
  align-items: start;
}

.hero-photo {
  min-height: 460px;
  margin: 0;
  border: 1px solid var(--line);
  border-left: 7px solid var(--sage);
  box-shadow: 0 12px 26px rgba(63, 51, 38, .12);
  background: var(--cream);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 460px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.98) contrast(1.02) brightness(1.01);
}

.home-text {
  padding-top: 26px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 13px;
  background: #e5eef1;
  color: var(--blue-dark);
  border: 1px solid #bdd0d9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

.kicker-title,
.section-title,
.page-title {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: normal;
  letter-spacing: -.01em;
}

.home-text p,
.copy p,
.fees-note p,
.fees-intro,
.service-copy p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 24px;
  background: var(--terracotta-dark);
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(129, 57, 35, .25);
}

.button:hover {
  background: var(--blue-dark);
  color: #ffffff;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.inline-links a {
  padding: 9px 13px;
  background: #f0f4ed;
  border: 1px solid var(--line);
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.quick-cards,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.quick-card,
.service-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--sage);
  box-shadow: 0 8px 18px rgba(63, 51, 38, .06);
}

.quick-card:nth-child(2),
.service-card:nth-child(2),
.service-card:nth-child(5) {
  border-top-color: var(--blue);
}

.quick-card:nth-child(3),
.service-card:nth-child(3),
.service-card:nth-child(6) {
  border-top-color: var(--terracotta-dark);
}

.quick-card h3,
.service-card h2,
.service-card h3 {
  margin-bottom: 8px;
  color: var(--taupe-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: normal;
}

.quick-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 38px;
  align-items: start;
}

.profile-photo {
  margin: 0;
  min-height: 340px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(63, 51, 38, .12);
  overflow: hidden;
  background: var(--cream);
}

.profile-photo img {
  width: 100%;
  height: 340px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.panel {
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--sage);
  box-shadow: 0 8px 18px rgba(63, 51, 38, .05);
}

.credentials {
  margin: -4px 0 20px;
  color: var(--terracotta-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
}

.highlight {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--cream);
  border-left: 6px solid var(--blue-dark);
  color: var(--taupe-dark);
  font-weight: 800;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 24px;
  background: #ffffff;
}

.fees-table th {
  padding: 14px;
  background: var(--blue-dark);
  color: #ffffff;
  text-align: left;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.fees-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.fees-table tr:nth-child(even) td {
  background: #faf5ec;
}

.fees-table th:last-child,
.fees-table td:last-child {
  text-align: right;
  white-space: nowrap;
  color: var(--blue-dark);
  font-weight: 800;
}

.fees-table th:last-child {
  color: #ffffff;
}

.notice {
  margin: 24px 0 18px;
  padding: 20px 22px;
  background: #fff0e8;
  border: 1px solid #dfb8aa;
  border-left: 7px solid var(--terracotta-dark);
  color: var(--taupe-dark);
  font-weight: 800;
}

.small-print {
  color: var(--muted);
  font-size: 14px;
}

.content-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.content-list li {
  margin-bottom: 9px;
}

.footer {
  padding: 24px 42px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

/* Tablet */
@media (max-width: 900px) {
  .site {
    width: min(100%, calc(100% - 20px));
    margin: 10px auto;
  }

  .header {
    padding: 24px 22px 0;
  }

  .brand-row {
    display: block;
  }

  .contact {
    margin-top: 16px;
    text-align: left;
  }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .banner-photo {
    height: 190px;
  }

  .tagline-bar,
  .nav-row {
    display: block;
  }

  .tagline-note,
  .page-label {
    display: block;
    margin-top: 4px;
  }

  .page-label {
    padding: 12px 18px;
    border-top: 1px solid var(--line);
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .nav a {
    justify-content: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .content {
    padding: 38px 24px 54px;
  }

  .home-layout,
  .two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-text {
    padding-top: 0;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 380px;
    height: 380px;
  }

  .profile-photo {
    min-height: 360px;
    max-width: 420px;
  }

  .profile-photo img {
    min-height: 360px;
    height: 360px;
  }

  .quick-cards,
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone */
@media (max-width: 560px) {
  body {
    background: var(--paper);
    font-size: 16px;
    line-height: 1.58;
  }

  .site {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .header {
    padding: 20px 16px 0;
  }

  .logo {
    font-size: 35px;
    line-height: 1.04;
  }

  .subtitle {
    font-size: 16px;
  }

  .contact {
    font-size: 13.5px;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
  }

  .banner-photo {
    height: 145px;
  }

  .tagline-bar {
    padding: 12px 14px;
  }

  .tagline-bar span:first-child {
    font-size: 17px;
  }

  .tagline-note {
    font-size: 12.5px;
  }

  .nav {
    grid-template-columns: 1fr;
  }

  .nav a {
    min-height: 52px;
    border-right: 0;
    font-size: 16px;
  }

  .content {
    padding: 30px 16px 46px;
  }

  .hero-photo {
    border-left-width: 0;
    border-top: 7px solid var(--sage);
  }

  .hero-photo,
  .hero-photo img {
    min-height: 310px;
    height: 310px;
  }

  .kicker-title,
  .section-title,
  .page-title {
    font-size: 29px;
  }

  .panel {
    padding: 24px 18px;
  }

  .quick-card,
  .service-card {
    padding: 20px 18px;
  }

  .profile-photo {
    min-height: 300px;
    max-width: 100%;
  }

  .profile-photo img {
    height: 300px;
  }

  .fees-table,
  .fees-table tbody,
  .fees-table tr,
  .fees-table td,
  .fees-table th {
    display: block;
    width: 100%;
  }

  .fees-table thead {
    display: none;
  }

  .fees-table tr {
    border: 1px solid var(--line);
    margin-bottom: 12px;
    background: #ffffff;
  }

  .fees-table td {
    border: 0;
    padding: 13px 14px;
  }

  .fees-table td:first-child {
    padding-bottom: 4px;
    color: var(--text);
    font-weight: 800;
  }

  .fees-table td:last-child {
    padding-top: 4px;
    text-align: left;
    white-space: normal;
    color: var(--blue-dark);
  }

  .notice {
    padding: 18px 16px;
  }

  .footer {
    padding: 22px 16px 28px;
    text-align: left;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .logo {
    font-size: 31px;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .banner-photo {
    height: 180px;
  }

  .hero-photo,
  .hero-photo img {
    min-height: 275px;
    height: 275px;
  }

  .kicker-title,
  .section-title,
  .page-title {
    font-size: 26px;
  }
}
