/* Andrew Flynn Therapy — site styles.
   Page layouts use inline styles carried over from the approved design;
   this file holds the shared pieces (base type, header, footer, buttons,
   FAQ and responsive rules). */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F5EFE6;
  color: #1E2A33;
  font-family: Newsreader, Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: #1F4E6B; }
a:hover { color: #15384D; }
:focus-visible { outline: 3px solid #1F4E6B; outline-offset: 3px; }
section[id], [id="about"], [id="faq"], [id="contact"] { scroll-margin-top: 16px; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; background: #FFFFFF; padding: 10px 14px; z-index: 20; font-family: Inter, system-ui, sans-serif; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; box-sizing: border-box;
  background: #1F4E6B; color: #FFFFFF; text-decoration: none;
  padding: 14px 26px; border-radius: 2px;
  font-family: Inter, system-ui, sans-serif; font-weight: 500; font-size: 17px; line-height: 1.2;
}
.btn:hover { background: #15384D; color: #FFFFFF; }

/* Header */
.site-header { border-bottom: 1px solid #E4DACB; background: #F5EFE6; font-family: Inter, system-ui, sans-serif; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #1E2A33; }
.brand:hover { color: #1E2A33; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand-name { font-family: Archivo, Inter, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: #1F4E6B; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.site-nav a { color: #1E2A33; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #1F4E6B; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.site-nav a.nav-cta { background: #1F4E6B; color: #FFFFFF; padding: 12px 20px; border-radius: 2px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; text-decoration: none; }
.site-nav a.nav-cta:hover { background: #15384D; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .has-js .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
    border: 1.5px solid #1E2A33; background: none; color: #1E2A33; border-radius: 2px;
    font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  }
  .has-js .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .has-js .site-nav.is-open { display: flex; }
  .has-js .site-nav a { padding: 14px 0; border-top: 1px solid #E4DACB; }
  .has-js .site-nav a.nav-cta { justify-content: center; margin: 12px 0 4px; border-top: none; }
}

/* FAQ */
.faq { border-bottom: 1px solid #DAD0C0; }
.faq details { border-top: 1px solid #DAD0C0; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 56px 22px 0; font-size: 22px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 1px solid #DAD0C0; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: Inter, system-ui, sans-serif; font-size: 20px; color: #1F4E6B;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 24px; padding-right: 56px; color: #4F4A44; max-width: 760px; }

/* Footer */
.site-footer { background: #E2E3DF; color: #43474A; font-family: Inter, system-ui, sans-serif; font-size: 14px; line-height: 1.6; }
.site-footer a { color: #1E2A33; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 56px 32px 24px; display: flex; flex-wrap: wrap; gap: 32px 48px; }
.footer-col { flex: 1 1 180px; }
.footer-col.wide { flex: 2 1 320px; }
.footer-col p { margin: 0 0 10px; }
.footer-name { font-family: Newsreader, Georgia, serif; font-size: 20px; color: #1E2A33; }
.footer-head { font-weight: 600; color: #1E2A33; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 32px 40px; border-top: 1px solid #C9CBC5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch !important; }
  .hero-photo { max-width: 100% !important; flex: none !important; width: 100%; }
  [style*="padding: 136px 32px"] { padding-top: 72px !important; padding-bottom: 72px !important; }
  [style*="padding: 88px 32px"], [style*="padding: 120px 32px"] { padding-top: 56px !important; }
  .header-inner, .footer-inner, .footer-bottom { padding-left: 20px; padding-right: 20px; }
  body { font-size: 18px; }
}
