/* Cyril Lacko Counselling
   Cormorant Garamond and Source Sans 3 are used under the SIL Open Font License.
   Colours below were checked against WCAG AA on the surfaces they sit on. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f1ea;
  --bg-raised: #fbf9f5;
  --ink: #1c2824;
  --ink-soft: #3a4743;
  --sage: #24564e;
  --sage-deep: #1a3f3a;
  --sage-soft: #e4efeb;
  --mat: #d5e4de;
  --line: #ddd6c8;
  --footer: #152e2b;
  --footer-text: #f4f1ea;
  --footer-soft: #d5e3dd;
  --btn: #1e4e47;
  --btn-text: #f7f5f0;
  --btn-hover: #163832;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Helvetica, Arial, sans-serif;
  --header: 5.75rem;
  --wrap: 1180px;
  color-scheme: light;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
}

img {
  max-width: 100%;
  border: 0;
}

figure {
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-rendering: optimizeLegibility;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

a {
  color: var(--sage-deep);
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sage-deep);
  outline-offset: 3px;
}

::selection {
  background: #c9ddd4;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--sage-deep);
  color: var(--footer-text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0 0 0.6rem 0.6rem;
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

main:focus {
  outline: none;
}


.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.25rem) 0;
}

.section-title {
  margin: 0 0 1.75rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 0.95rem;
  background: var(--sage);
}

.measure {
  max-width: 42rem;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Header ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid rgba(28, 40, 36, 0.1);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 4.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand:hover {
  color: var(--sage-deep);
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-role {
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.brand-slash {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.4rem;
}

.site-nav a {
  display: block;
  padding: 0.8rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.js .nav-toggle {
  display: inline-flex;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 71.99rem) {
  .js .site-nav:not(.is-open) {
    display: none;
  }

  .site-nav {
    flex: 1 0 100%;
    order: 3;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (min-width: 720px) {
  .brand {
    flex-direction: row;
    align-items: baseline;
    gap: 0.45rem;
  }

  .brand-name {
    font-size: 1.22rem;
    letter-spacing: 0.14em;
  }

  .brand-slash {
    display: inline;
    color: var(--sage);
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1;
  }

  .brand-role {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }
}

@media (min-width: 72rem) {
  .js .nav-toggle {
    display: none;
  }

  .header-inner {
    flex-wrap: nowrap;
    min-height: 5rem;
  }

  .site-nav {
    flex: 1;
    order: 0;
  }

  .site-nav ul {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1.05rem;
    padding: 0;
  }

  .site-nav a {
    display: inline;
    padding: 0.35rem 0;
    border: 0;
    font-size: 0.98rem;
    white-space: nowrap;
  }
}

/* Buttons ---------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--btn-text);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--btn-text);
}

.btn-secondary {
  background: transparent;
  border-color: var(--sage-deep);
  color: var(--sage-deep);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.header-book {
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero ------------------------------------------------- */

.hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero h1 em {
  display: block;
  margin-top: 0.45rem;
  font-style: italic;
  font-weight: 500;
  font-size: 0.68em;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--sage-deep);
}

.hero-support {
  max-width: 38rem;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--sage-deep);
  font-weight: 600;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #1f6b45;
  box-shadow: 0 0 0 4px rgba(31, 107, 69, 0.15);
  flex: none;
}

.hero-photo {
  background: var(--mat);
  padding: 0 0 0.85rem 0.85rem;
  border-radius: 1.35rem;
}

.hero-photo img,
.intro-photo img,
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

@media (max-width: 600px) {
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3.5rem;
  }
}

/* Intro ------------------------------------------------ */

.intro {
  padding-top: 0;
}

.intro-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.intro-lead {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
  max-width: 42rem;
}

@media (min-width: 880px) {
  .intro-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 4rem;
  }
}

/* Areas ------------------------------------------------ */

.focus-list {
  columns: 1;
  column-gap: 2.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.focus-list li {
  position: relative;
  break-inside: avoid;
  padding: 0.85rem 0.5rem 0.85rem 1.2rem;
  border-top: 1px solid var(--line);
}

.focus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--sage);
}

@media (min-width: 700px) {
  .focus-list {
    columns: 2;
  }
}

@media (min-width: 1040px) {
  .focus-list {
    columns: 3;
  }
}

/* Coast ------------------------------------------------ */

.coast-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0 1.25rem;
}

.coast-band img {
  display: block;
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  border-radius: 0.9rem;
}

@media (min-width: 800px) {
  .coast-band {
    grid-template-columns: 1.05fr 1fr 1.05fr;
    gap: 0.8rem;
    padding: 0 0.8rem;
  }

  .coast-band img {
    height: 20rem;
    border-radius: 1rem;
  }
}

/* Approaches ------------------------------------------- */

.approach {
  padding: 1.55rem 0 1.7rem;
  border-top: 1px solid var(--line);
}

.approach:last-child {
  border-bottom: 1px solid var(--line);
}

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

.approach-intro {
  font-size: 1.15rem;
  max-width: 40rem;
}

/* About ------------------------------------------------ */

.about {
  background: var(--sage-soft);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
}

.role {
  margin: -0.35rem 0 1.2rem;
  color: var(--sage-deep);
  font-weight: 600;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.6rem;
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
}

.badge-rcc {
  display: block;
  width: 104px;
  height: auto;
}

.badge-frame-pt {
  position: relative;
  display: block;
  width: min(280px, 100%);
  height: 92px;
  overflow: hidden;
  border-radius: 16px;
}

.badge-frame-pt img {
  position: absolute;
  width: 306px;
  max-width: none;
  height: auto;
  left: -13px;
  top: -63px;
  border-radius: 0;
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
    gap: 4rem;
  }

  .portrait {
    position: sticky;
    top: 6.25rem;
  }
}

/* FAQ -------------------------------------------------- */

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.15rem 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  content: "";
}

.faq summary::after {
  content: "+";
  flex: none;
  margin-top: 0.1rem;
  color: var(--sage);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq summary:hover {
  color: var(--sage-deep);
}

.faq-body {
  padding: 0 0 1.2rem;
  max-width: 65ch;
}

.faq-body ul {
  margin: 0 0 0.4rem;
  padding-left: 1.2rem;
}

.faq-body li {
  margin: 0.3rem 0;
}

.faq-body p:last-child,
.faq-body ul:last-child {
  margin-bottom: 0;
}

/* Contact ---------------------------------------------- */

.contact-list {
  margin: 0;
}

.contact-list > div {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.contact-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  margin: 0 0 0.15rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-list a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.contact-list a:hover {
  color: var(--sage-deep);
}

.todo-value {
  border-bottom: 1px dashed var(--sage);
}

.contact-list + .actions {
  margin-top: 1.75rem;
}

/* Footer ----------------------------------------------- */

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 3rem 0 2rem;
}

.site-footer a {
  color: var(--footer-text);
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer a:focus-visible {
  outline-color: var(--footer-text);
}

.footer-top {
  display: grid;
  gap: 1.75rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: inline-block;
  padding: 0.2rem 0;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.footer-credential {
  margin: 0;
  font-weight: 600;
}

.crisis {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(244, 241, 234, 0.28);
}

.crisis p {
  margin: 0;
  max-width: 42rem;
}

.footer-base {
  margin-top: 1.5rem;
}

.footer-base p {
  margin: 0;
  color: var(--footer-soft);
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.3fr 1fr auto;
    gap: 2rem;
    align-items: start;
  }
}

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

.missing {
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(5rem, 12vw, 8rem);
}

.missing h1 {
  max-width: 14ch;
}

.missing-lead {
  max-width: 36rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* Print / motion --------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .skip-link,
  .nav-toggle,
  .actions,
  .coast-band {
    display: none !important;
  }

  body,
  .about,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .site-footer a,
  .footer-base p {
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
