/* ==========================================================================
   You Can Thrive Holistic Therapy — static recreation
   No external dependencies: system font stacks, inline SVG icons, local images.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #414141;
  --ink-soft: #5a5a5a;
  --link: #3071a6;
  --rule: #b0b0b0;
  --band: #edebeb;
  --card: #e8e6e6;
  --white: #fff;

  /* Adobe Caslon on the live site; Baskerville SemiBold is the closest
     pre-installed match in both weight and set width. */
  --serif: "Adobe Caslon Pro", "ACaslon Pro", Baskerville, "Big Caslon",
    "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", Times, serif;
  /* Avenir Light on the live site — "Avenir" resolves weight 300 to Avenir Light.
     ("Avenir Next" is deliberately omitted: its 300 is Ultra Light.) */
  --sans: Avenir, "Nunito Sans", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --canvas: 980px;
  --gutter: 45px;
  --nav-inset: 68px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--link);
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.canvas {
  width: 100%;
  max-width: var(--canvas);
  margin-inline: auto;
}

.inner {
  padding-inline: var(--gutter);
}

/* Blocks that sit flush with the canvas edges on desktop but still need
   breathing room once the canvas reaches the viewport edge. */
.edge {
  padding-inline: 0;
}

@media (max-width: 1044px) {
  .edge {
    padding-inline: 32px;
  }
}

.serif {
  font-family: var(--serif);
  font-weight: 600;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--white);
}

.header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-block: 41px 0;
}

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.header-id {
  text-align: right;
  flex: 0 1 auto;
  margin-left: auto;
}

.header-id .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--ink);
}

.header-id .license {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 4px;
}

.header-contact {
  margin-left: auto;
  margin-top: 40px;
  width: 470px;
  text-align: right;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  padding-bottom: 30px;
}

.header-contact a {
  overflow-wrap: anywhere;
}

.header-contact a:hover {
  color: var(--link);
}

/* ---------- Navigation ---------- */
.nav-bar > .canvas {
  border-top: 1px solid var(--ink);
}

.nav-list {
  display: flex;
  justify-content: space-between;
  padding: 25px var(--nav-inset) 19px;
}

.nav-list a {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: color 0.18s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"],
.nav-list a.is-active {
  color: var(--link);
}

.nav-toggle {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* The live site pins the hero photo to the viewport (Wix "fixed" scroll
   effect), so the visible crop is a zoomed centre slice of the image. */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--canvas);
  margin-inline: auto;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #2a2118;
  background-image: url("../assets/img/hero.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-bottom: 1px solid var(--ink);
}

.hero-frame {
  width: 100%;
  min-height: 266px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 34px 24px 24px;
  margin-top: 30px;
  text-align: center;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 39px;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.34em;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 63px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 66px;
  height: 30px;
  color: var(--white);
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-scroll:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

/* ==========================================================================
   Generic section rhythm
   ========================================================================== */
.section {
  padding-block: 85px;
}

.section--band {
  background: var(--band);
}

.section-eyebrow {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.12;
  color: var(--ink);
}

.section-intro {
  font-size: 20px;
  font-weight: 300;
  line-height: 2.05;
  color: var(--ink);
}

.center {
  text-align: center;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding-block: 112px 88px;
}

.about-grid {
  display: flex;
  align-items: flex-start;
  gap: 113px;
}

.about-copy {
  flex: 0 1 415px;
}

.about-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}

.about-role {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 8px;
  white-space: nowrap;
}

.about-copy p.body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  margin-top: 30px;
}

.about-license {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 16px;
}

.about-media {
  flex: 0 0 364px;
}

.about-media img {
  width: 364px;
  height: 485px;
  object-fit: cover;
  object-position: 50% 20%;
}

.associations {
  margin-top: 62px;
}

.associations h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  color: var(--ink);
}

.assoc-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.assoc-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.assoc-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex: 0 0 60px;
}

.assoc-item span {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
}

a.assoc-item:hover span {
  color: var(--link);
}

/* ==========================================================================
   Service columns (Individual therapy / Brainspotting)
   ========================================================================== */
.service-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.service-head .section-intro {
  max-width: 800px;
}

.band-split {
  padding-top: 100px;
}

.service-cols {
  margin-top: 66px;
  display: flex;
  justify-content: center;
  gap: 56px;
}

.service {
  flex: 0 1 285px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-avatar {
  width: 121px;
  height: 121px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
}

.service h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
  margin-top: 26px;
}

.service .meta {
  font-size: 17px;
  font-weight: 300;
  margin-top: 8px;
}

.service .desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  margin-top: 62px;
}

/* "Sliding scale may be available" — a quiet aside under the columns. */
.note {
  margin-top: 46px;
  text-align: center;
  font-size: 17px;
  font-weight: 300;
}

/* Single centred service card (Brainspotting), wider than a grid column so
   the two pricing lines stay on one line each. */
.bsp-card {
  margin: 60px auto 0;
  max-width: 460px;
}

.bsp-card .meta strong {
  font-weight: 600;
}

/* Left-aligned body copy centred in the canvas. */
.prose {
  margin: 56px auto 0;
  max-width: 706px;
}

.prose p {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.5;
}

.prose p + p {
  margin-top: 28px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  padding-block: 78px 96px;
}

.contact-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.6;
  max-width: 800px;
  color: var(--ink);
}

.contact-grid {
  margin-top: 58px;
  display: flex;
  align-items: flex-start;
  gap: 93px;
}

.contact-media {
  flex: 0 0 371px;
}

.contact-media img {
  width: 371px;
  height: 434px;
  object-fit: cover;
}

.contact-details {
  flex: 1 1 auto;
  padding-top: 6px;
}

.contact-details .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
}

.contact-details .license {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  margin-top: 2px;
}

.contact-lines {
  margin-top: 34px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.45;
}

.contact-lines a:hover {
  color: var(--link);
}

.social {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 17px;
}

.social a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #1a4f8b;
  transition: opacity 0.18s ease;
}

.social a:hover {
  opacity: 0.65;
}

.social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-block: 44px;
  text-align: center;
  font-size: 17px;
  font-weight: 300;
}

.site-footer a {
  text-decoration: underline;
}

/* ==========================================================================
   Resources page
   ========================================================================== */
.page-banner {
  background: #3d3d3d;
  min-height: 302px;
  display: flex;
  align-items: center;
}

.page-banner h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  color: var(--white);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 66px;
  row-gap: 70px;
  padding-top: 32px;
}

.resource h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 46px;
  line-height: 1.1;
  color: var(--ink);
}

.resource p {
  margin-top: 42px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
}

.resource p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resource p a:hover {
  color: var(--link);
}

.resource--tight p {
  margin-top: 16px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1060px) {
  :root {
    --gutter: 32px;
    --nav-inset: 32px;
  }

  .about-grid {
    gap: 56px;
  }

  .service-cols {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-block: 34px 0;
  }

  .header-id,
  .header-contact {
    text-align: left;
    width: auto;
    margin-left: 0;
    margin-top: 24px;
    padding-bottom: 24px;
  }

  .section-title {
    font-size: 40px;
  }

  .about {
    padding-block: 72px;
  }

  .about-grid {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .about-name,
  .about-role {
    white-space: normal;
  }

  .about-copy,
  .about-media {
    flex: 1 1 auto;
    width: 100%;
  }

  .about-media img {
    width: 100%;
    height: 420px;
  }

  .service-cols {
    flex-direction: column;
    align-items: center;
    gap: 56px;
  }

  .service {
    flex: 1 1 auto;
    max-width: 420px;
  }

  .service .desc {
    margin-top: 20px;
  }

  .contact-title {
    font-size: 36px;
    line-height: 1.35;
  }

  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }

  .contact-media,
  .contact-media img {
    width: 100%;
    flex: 1 1 auto;
  }

  .contact-lines {
    font-size: 22px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    row-gap: 54px;
  }

  .resource h2 {
    font-size: 36px;
  }

  .page-banner {
    min-height: 200px;
  }
}

@media (max-width: 760px) {
  .nav-bar {
    position: relative;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px var(--nav-inset);
    width: 100%;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-toggle svg {
    flex: 0 0 18px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 var(--nav-inset) 20px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 10px 0;
    font-size: 17px;
  }

  .hero {
    height: 460px;
    /* fixed attachment is unreliable on mobile browsers */
    background-attachment: scroll;
  }

  .hero-frame {
    min-height: 200px;
    margin-top: 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 15px;
    letter-spacing: 0.26em;
  }

  .hero-scroll {
    bottom: 28px;
  }

  .brand {
    font-size: 23px;
  }

  .header-id .name {
    font-size: 26px;
  }

  .header-id .license,
  .header-contact {
    font-size: 16px;
  }

  .section {
    padding-block: 62px;
  }

  .about {
    padding-block: 56px;
  }

  .about-name {
    font-size: 36px;
  }

  .about-role {
    font-size: 21px;
  }

  .section-title {
    font-size: 33px;
  }

  .section-intro {
    font-size: 18px;
  }

  .contact {
    padding-block: 56px;
  }

  .contact-title {
    font-size: 30px;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
  }
}
