/* First Medicines Spirit Collective – styles
   Colours: pale pink, lavender, deep plum text, sunset orange buttons */

:root {
  --pink-bg: #fdf5f9;
  --lavender-bg: #f3edfa;
  --card: #ffffff;
  --plum: #3b2346;
  --plum-soft: #5d3f6a;
  --heading: #5a2868;
  --orange: #b9481a;
  --orange-hover: #9a3a12;
  --pink-line: #ecd3e3;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--plum);
  background: var(--pink-bg);
}

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

a { color: var(--heading); }
a:hover { color: var(--orange); }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  line-height: 1.25;
  font-weight: normal;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 .5rem; }

p { margin: 0 0 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--plum); color: #fff; padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  background: rgba(253, 245, 249, .96);
  border-bottom: 1px solid var(--pink-line);
  position: sticky; top: 0; z-index: 5;
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: .75rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--heading);
  font-family: Georgia, serif; font-size: 1.15rem;
}
.brand img { width: 40px; height: 40px; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .25rem .4rem;
}
.site-nav a {
  display: block; padding: .35rem .7rem; border-radius: 999px;
  text-decoration: none; color: var(--plum-soft); font-size: .95rem;
}
.site-nav a:hover { background: var(--lavender-bg); color: var(--heading); }
.site-nav a[aria-current="page"] { background: var(--heading); color: #fff; }

/* Layout */
.section { padding: 3.5rem 1.25rem; }
.section.alt { background: var(--lavender-bg); }
.wrap { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }
.center { text-align: center; }

.lead { font-size: 1.2rem; color: var(--plum-soft); }
.tagline { font-family: Georgia, serif; font-style: italic; font-size: 1.25rem; color: var(--orange); margin-bottom: 1rem; }

/* Hero */
.hero-image img { width: 100%; max-height: 560px; object-fit: cover; }
.page-banner img { width: 100%; max-height: 380px; object-fit: cover; }
.hero-text { padding: 2.5rem 1.25rem 3rem; text-align: center; }

/* Buttons */
.btn {
  display: inline-block; background: var(--orange); color: #fff;
  padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; margin: .25rem;
}
.btn:hover { background: var(--orange-hover); color: #fff; }
.btn.secondary { background: transparent; color: var(--heading); border: 2px solid var(--heading); }
.btn.secondary:hover { background: var(--heading); color: #fff; }

/* Cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--pink-line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 6px 20px rgba(90, 40, 104, .06);
}
.card a.more { font-weight: 600; text-decoration: none; }

/* Two columns: image + text */
.split { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
.split img { border-radius: var(--radius); box-shadow: 0 8px 24px rgba(90, 40, 104, .12); }
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
}

/* Quote */
blockquote {
  margin: 0 auto; max-width: 680px; text-align: center;
  font-family: Georgia, serif; font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--heading);
}
blockquote footer { font-family: inherit; font-size: 1rem; color: var(--plum-soft); margin-top: .75rem; font-style: normal; }

/* Tables */
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; margin: 1rem 0 1.5rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--pink-line); vertical-align: top; }
th { background: #f7e9f2; color: var(--heading); }
tr:last-child td { border-bottom: none; }

/* Lists */
.checks { padding-left: 1.2rem; }
.checks li { margin-bottom: .4rem; }

/* Notices */
.notice {
  background: #fff; border-left: 6px solid var(--orange); border-radius: 10px;
  padding: 1rem 1.25rem; margin: 1rem 0;
}
.notice.urgent { border-left-color: #a3202a; }
.small { font-size: .92rem; color: var(--plum-soft); }

/* FAQ */
details {
  background: var(--card); border: 1px solid var(--pink-line); border-radius: 12px;
  padding: .9rem 1.2rem; margin-bottom: .75rem;
}
summary { cursor: pointer; font-weight: 600; color: var(--heading); }
details p { margin: .75rem 0 0; }

/* Hands image */
.round-img { max-width: 360px; margin: 0 auto; }

/* Footer */
.site-footer {
  background: var(--plum); color: #f3e6f7; text-align: center;
  padding: 2rem 1.25rem; font-size: .95rem;
}
.site-footer a { color: #ffd2b8; }
.site-footer p { margin: .3rem 0; }

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

/* Fixes */
.split img.round-img { box-shadow: none; border-radius: 50%; }
a[href^="tel:"] { white-space: nowrap; }
