@charset "UTF-8";
/* Charlotte Fry — Independent Nurse Consultant
   Design based on "Sketches – Gradient variant 5" */

:root {
  --plum: #46286b;          /* headings & body text */
  --plum-soft: #5d4480;
  --lilac: #cfa8d8;         /* buttons, accents */
  --lilac-deep: #b48cc4;    /* icons, rules */
  --lilac-wash: #faf7fd;    /* hero / card panels */
  --mint: #e7f1ec;          /* about section */
  --mint-deep: #a9cfc0;     /* logo "c" green */
  --white: #ffffff;
  --rule: #d9c8e2;
  --grad: linear-gradient(200deg, #cba6d6 0%, #d3d0dd 48%, #d4ebe0 100%);
  --grad-soft: linear-gradient(170deg, #e2cfe8 0%, #e3e1ea 55%, #e5f1ea 100%);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;

  --radius: 24px;
  --wrap: 1180px;
  --shadow: 0 10px 30px rgba(70, 40, 107, 0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--plum);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }

strong { font-weight: 500; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--plum); color: var(--white);
  padding: 8px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 16px; }

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

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--lilac);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  padding: 14px 30px;
  border-radius: 22px 4px 22px 4px;
  box-shadow: 0 4px 10px rgba(70, 40, 107, 0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--lilac-deep); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand img { width: 50px; height: 50px; }
.brand span {
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lilac-deep);
}

.nav ul { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }
.nav a {
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}
.nav a:hover,
.nav a[aria-current="true"] { border-color: var(--lilac); font-weight: 500; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--plum);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { padding: 6px 16px 40px; }
.hero-card {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius); overflow: hidden;
  min-height: min(78vh, 760px);
}
.hero-copy {
  background: var(--lilac-wash);
  padding: clamp(40px, 6vw, 90px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.25; margin-bottom: 0.6em; }
.hero-lead { font-size: 1.15rem; max-width: 30ch; }
.hero-meta {
  font-size: 0.9rem; letter-spacing: 0.08em; color: var(--plum-soft);
  margin: 0.4rem 0 2.2rem;
}
.hero-meta span + span::before { content: "\00B7"; margin: 0 0.6em; color: var(--lilac-deep); }
.hero-art {
  background: var(--grad);
  position: relative;
  display: grid; place-items: center;
}
.hero-art .mark {
  width: min(64%, 440px); aspect-ratio: 1;
  background: var(--white);
  -webkit-mask: url("../images/cf-monogram.png") center / contain no-repeat;
  mask: url("../images/cf-monogram.png") center / contain no-repeat;
}

/* ---------- About ---------- */
.about { background: var(--mint); padding: clamp(56px, 7vw, 96px) 0; }
.about .wrap {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--plum-soft); }

/* ---------- Credentials ---------- */
.credentials { padding: clamp(48px, 6vw, 80px) 0 0; }
.cred-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
.cred-grid li {
  background: var(--lilac-wash);
  border-radius: 20px;
  padding: 28px 24px;
  border-top: 3px solid var(--lilac);
}
.cred-grid .big {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cred-grid p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--plum-soft); }

/* ---------- Services ---------- */
.services { padding: clamp(56px, 7vw, 100px) 0; }
.services .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 140px);
  align-items: start;
}
.services .photo { position: sticky; top: 110px; aspect-ratio: 5 / 6; }
.service-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.service-list li { border-bottom: 1px solid var(--rule); }
.service-list > li > details > summary {
  display: grid; grid-template-columns: 64px 1fr 20px; gap: 18px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 400; font-size: 1.02rem; line-height: 1.6;
}
.service-list summary::-webkit-details-marker { display: none; }
.service-list > li > details > summary:hover { font-weight: 500; }
.service-list summary svg.icon {
  width: 56px; height: 56px; stroke: var(--lilac-deep); fill: none;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.service-list .chev {
  width: 18px; height: 18px; stroke: var(--plum); fill: none; stroke-width: 2;
  transition: transform 0.25s;
}
.service-list details[open] .chev { transform: rotate(180deg); }
.service-list > li > details[open] > summary { font-weight: 500; }
.service-body {
  padding: 0 0 24px 82px;
  font-size: 0.95rem; line-height: 1.75; color: var(--plum-soft);
}
.service-body ul { padding-left: 1.1em; margin: 0 0 1em; }
.service-body li { border: 0; margin-bottom: 0.6em; }
.service-body .note {
  font-size: 0.85rem; background: var(--lilac-wash); border-radius: 12px;
  padding: 10px 14px;
}
.service-body li .note { margin: 8px 0 0; }

/* Course list inside Training & Education */
.course-facts {
  background: var(--mint); border-radius: 14px;
  padding: 14px 18px; margin: 0 0 1.4em;
}
.course-facts p { margin: 0 0 4px; }
.course-facts ul { margin: 0; }
.course-facts li { margin-bottom: 2px; }
.course-group {
  font-size: 1.2rem; margin: 1.4em 0 0.3em;
  color: var(--plum);
}
.course-group-note { font-size: 0.85rem; margin-bottom: 0.6em; }
.course { border-top: 1px solid var(--rule); }
.course:last-of-type { border-bottom: 1px solid var(--rule); }
.course summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0; cursor: pointer; list-style: none;
  font-weight: 500; color: var(--plum); font-size: 0.95rem; line-height: 1.5;
}
.course summary::-webkit-details-marker { display: none; }
.course summary::before {
  content: "+"; flex: 0 0 auto; width: 1em; color: var(--lilac-deep); font-weight: 400;
}
.course[open] summary::before { content: "\2212"; }
.course summary > span:first-child { flex: 1 1 auto; }
.course-length {
  flex: 0 0 auto; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
  background: var(--lilac-wash); border: 1px solid var(--rule); border-radius: 99px;
  padding: 2px 10px; white-space: nowrap;
}
.course > p, .course > ul { margin-left: 1.6em; }
.course > ul { padding-left: 1.1em; }
.course > :last-child { margin-bottom: 14px; }
.course-footer { margin-top: 1.4em; }
/* ---------- Roles ---------- */
.roles { padding: 0 0 clamp(56px, 7vw, 100px); }
.roles-head { text-align: center; margin-bottom: 2.4rem; }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.roles-grid--past { grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; }
.roles-grid--current { display: flex; flex-wrap: wrap; justify-content: center; }
.roles-grid--current .role { flex: 0 1 480px; }
.roles-intro { max-width: 62ch; margin: 0.4rem auto 0; color: var(--plum-soft); }
.roles-head--past { margin-top: clamp(48px, 6vw, 72px); }
.role {
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--white);
}
.role .tag {
  display: inline-block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--mint); border-radius: 99px;
  padding: 4px 12px; margin-bottom: 14px;
}
.role h3 { font-size: 1.3rem; }
.role p { font-size: 0.93rem; line-height: 1.7; color: var(--plum-soft); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 0 16px; }
.testimonials-panel {
  max-width: 1400px; margin: 0 auto;
  background: var(--grad-soft);
  border-radius: var(--radius);
  padding: clamp(48px, 6vw, 72px) 0 56px;
  overflow: hidden;
}
.testimonials-head { text-align: center; padding: 0 16px; margin-bottom: 2.4rem; }
.carousel {
  display: flex; gap: 32px; align-items: center;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 16px max(16px, calc(50% - 290px)) 24px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.quote-card {
  flex: 0 0 min(580px, 86vw);
  scroll-snap-align: center;
  background: var(--lilac-wash);
  border-radius: var(--radius);
  padding: 36px 34px 32px;
  box-shadow: var(--shadow);
  opacity: 0.6;
  transform: scale(0.94);
  transition: opacity 0.35s, transform 0.35s;
  display: flex; flex-direction: column;
}
.quote-card.is-active { opacity: 1; transform: none; }
.quote-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--lilac-deep);
  padding-bottom: 18px; margin-bottom: 22px;
}
.quote-head .name { font-size: 1.2rem; font-weight: 400; margin: 0; line-height: 1.4; }
.quote-head .role-line { font-size: 0.88rem; margin: 2px 0 0; line-height: 1.5; }
.quote-head .org { font-size: 0.88rem; font-weight: 500; margin: 2px 0 0; }
.org-badge {
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--lilac-deep);
  display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-size: 0.72rem; line-height: 1.2; padding: 8px;
  background: var(--white);
}
.quote-card blockquote { margin: 0; font-size: 0.96rem; line-height: 1.8; }
.quote-card blockquote p:last-child { margin-bottom: 0; }
.quote-card ul { margin: 0 0 1.1em; padding-left: 1.2em; }

.carousel-controls { display: flex; justify-content: center; gap: 32px; margin-top: 12px; }
.carousel-controls button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--lilac-deep); background: var(--lilac-wash); color: var(--plum);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 3px 8px rgba(70, 40, 107, 0.15);
  transition: background 0.2s;
}
.carousel-controls button:hover { background: var(--white); }
.carousel-controls svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- News ---------- */
.news { padding: clamp(56px, 7vw, 100px) 0 0; }
.news-card {
  display: grid; grid-template-columns: 2fr 3fr;
  border-radius: var(--radius); overflow: hidden;
  background: var(--mint);
  text-decoration: none;
  margin-top: 2rem;
  transition: box-shadow 0.25s;
}
.news-card:hover { box-shadow: var(--shadow); }
.news-card .news-art {
  background: var(--grad);
  display: grid; place-items: center; padding: 32px; min-height: 240px;
  font-family: var(--serif); color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 2rem); text-align: center; line-height: 1.3;
}
.news-card .news-copy { padding: clamp(28px, 4vw, 48px); }
.news-card .date { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.news-card h3 { font-size: 1.6rem; margin-top: 0.4rem; }
.news-card .more { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(64px, 8vw, 110px) 0; }
.contact .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-card .mark { width: 130px; height: 130px; margin-bottom: 14px; }
.contact-card .wordmark {
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 1.05rem;
  margin-bottom: 4px;
}
.contact-card .sub { font-size: 0.92rem; color: var(--plum-soft); margin-bottom: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 6px; }
.contact-list svg { width: 18px; height: 18px; fill: var(--plum); flex: 0 0 18px; }
.contact-list a { text-decoration: none; font-weight: 400; }
.contact-list a:hover { text-decoration: underline; }
.contact-card .area {
  font-size: 0.9rem; color: var(--plum-soft); max-width: 34ch;
  border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 6px;
}

.contact-form h2 { font-size: 2rem; margin-bottom: 0.4em; }
.contact-form .intro { color: var(--plum-soft); font-size: 0.95rem; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 2px; }
.field input,
.field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--plum);
  border: 0; border-bottom: 1px solid var(--plum);
  background: transparent;
  padding: 8px 0;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: #8b77a3; }
.field input:focus,
.field textarea:focus { outline: none; border-bottom: 2px solid var(--lilac-deep); }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .hint { font-size: 0.82rem; color: var(--plum-soft); margin: 0; flex: 1 1 220px; }
.form-error { color: #9b2c4b; font-size: 0.88rem; min-height: 1.4em; margin: 0 0 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--mint);
  padding: 28px 0;
  font-size: 0.85rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Article page ---------- */
.article-hero { padding: 6px 16px 0; }
.article-hero .inner {
  max-width: 1400px; margin: 0 auto; border-radius: var(--radius);
  background: var(--grad-soft);
  padding: clamp(48px, 7vw, 96px) 16px;
  text-align: center;
}
.article-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 22ch; margin-inline: auto; }
.article-hero .standfirst { max-width: 60ch; margin: 0 auto; color: var(--plum-soft); }
.article { width: min(720px, 100% - 32px); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0; }
.article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 0.6em; }
.article .pullquote {
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.5;
  border-left: 3px solid var(--lilac); padding-left: 20px; margin: 1.8em 0;
}
.article .signoff { font-weight: 500; margin-top: 2em; }
.article .source { font-size: 0.88rem; color: var(--plum-soft); border-top: 1px solid var(--rule); padding-top: 16px; }
.back-link { display: inline-block; margin-bottom: 1.4rem; font-weight: 500; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid,
  .roles-grid--current,
  .roles-grid--past { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 12px 20px rgba(70, 40, 107, 0.08);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 20px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }

  .hero-card { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; min-height: 260px; }
  .hero-art .mark { width: 56%; max-width: 280px; }

  .about .wrap,
  .services .wrap,
  .contact .wrap { grid-template-columns: 1fr; }
  .about .photo { max-width: 460px; }
  .services .photo { position: static; max-width: 460px; order: 2; }

  .news-card { grid-template-columns: 1fr; }
  .news-card .news-art { min-height: 160px; }
}

@media (max-width: 520px) {
  .cred-grid { grid-template-columns: 1fr; }
  .brand span { font-size: 0.82rem; }
  .brand img { width: 42px; height: 42px; }
  .service-list > li > details > summary { grid-template-columns: 44px 1fr 18px; gap: 14px; }
  .service-list summary svg.icon { width: 42px; height: 42px; }
  .service-body { padding-left: 0; }
  .quote-card { padding: 28px 22px; }
  .org-badge { flex-basis: 60px; width: 60px; height: 60px; font-size: 0.62rem; }
  .form-actions .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
