@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Wix Madefor Text'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/wix-madefor-text-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Peta'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/lexend-peta-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f6edee;
  --fg-light-base-body: #2a1530;
  --fg-light-base-heading: #2a1530;
  --fg-light-base-muted: #5e4a5e;
  --fg-light-base-link: #8e2a8a;
  --fg-light-base-inverse: #2a1530;
  --bg-light-card: #ecdfe2;
  --fg-light-card-body: #2a1530;
  --fg-light-card-heading: #2a1530;
  --fg-light-card-muted: #5e4a5e;
  --fg-light-card-link: #8e2a8a;
  --fg-light-card-inverse: #2a1530;
  --bg-light-elevated: #e3cdd3;
  --fg-light-elevated-body: #2a1530;
  --fg-light-elevated-heading: #2a1530;
  --fg-light-elevated-muted: #5e4a5e;
  --fg-light-elevated-link: #8e2a8a;
  --fg-light-elevated-inverse: #2a1530;
  --brand-light-accent: #8e2a8a;
  --brand-light-accent-hover: #6b1d68;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #8e2a8a;
  --border-light-default: #7a6276;
  --border-light-subtle: #d9c4ca;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Seacoast Skin Check Notes: centred ruled masthead, lens-framed photos, numbered protocol steps */
:root {
  --font-head: 'Wix Madefor Text', 'Trebuchet MS', sans-serif;
  --font-body: 'Lexend Peta', 'Verdana', sans-serif;
  --band: var(--bg-light-elevated);
  --stone: var(--bg-light-card);
  --orchid: var(--brand-light-accent);
  --line: 2px solid var(--border-light-subtle);
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --measure: 40rem;
  --header-h: 6rem;
  --dome: 50% 50% 0.25rem 0.25rem / 28% 28% 0.25rem 0.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

strong, b { font-weight: 500; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); letter-spacing: -0.01em; margin: 2.2em 0 0.6em; }
h3 { font-size: 1.2rem; margin: 1.8em 0 0.5em; }
p { margin: 0 0 1.1em; }

a.text-role-link { text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

/* ---------- header: centred masthead, links on a ruled row below ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 3px double var(--border-light-default);
}

.masthead {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0.7rem var(--gutter) 0.6rem;
  display: flex;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  text-decoration: none;
}

.brand .site-logo { width: 28px; height: 28px; flex: none; }

.wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.nav-row {
  border-top: 1px solid var(--border-light-subtle);
}

.site-nav { display: none; }

.site-nav ul {
  list-style: none;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.site-nav li { margin: 0; }
.site-nav li + li { border-left: 1px solid var(--border-light-subtle); }

.site-nav a {
  display: block;
  white-space: nowrap;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.3;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

/* phone menu: full-width toggle row under the masthead, centred word list below */

.site-menu { position: static; }

.site-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0 var(--gutter);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  color: var(--fg-link);
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker { display: none; }

.menu-icon {
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.site-menu[open] .menu-icon { transform: translateY(2px) rotate(225deg); }

.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  margin: 0;
  padding: 1.25rem var(--gutter) 1.75rem;
  list-style: none;
  background: var(--bg-light-base);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 3px double var(--border-light-default);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}

.site-menu > ul > li { margin: 0; }

.site-menu > ul a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

@media (min-width: 64rem) {
  .site-nav { display: block; }
  .site-menu { display: none; }
}

/* ---------- frame ---------- */

.page-frame {
  flex: 1 0 auto;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter) 4.5rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-family: var(--font-head);
  font-size: 0.8125rem;
}

.breadcrumbs li + li::before { content: "/"; margin-right: 1rem; color: var(--border-light-default); }

figure { margin: 2.25rem 0; }

.photo-hero { margin: 0 0 2.25rem; }
.photo-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--dome);
}

.photo-inline img {
  display: block;
  width: 100%;
  border-radius: var(--dome);
}

.accent-block {
  margin: 2rem 0;
  padding: 1.1rem 1.35rem;
  border-radius: 4px;
  background: var(--stone);
}

.table-scroll { overflow-x: auto; }

ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.4em; }

/* Numbered protocol sections: each h2 is the next step, set in a filled orchid square. */
.numbered { counter-reset: step; }
.numbered h2 {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.numbered h2::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 3px;
  background: var(--orchid);
  color: var(--brand-light-on-accent);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

/* ---------- home: rose stage, lens photo, stepped protocol ---------- */

.lens-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.lens-stage {
  grid-column: 1 / -1;
  grid-row: 1;
  padding: clamp(2.25rem, 6vw, 4.5rem) 0 4.5rem;
  border-image: linear-gradient(var(--band), var(--band)) fill 0 / 0 / 0 100vw;
}

.lens-title h1 { max-width: 15ch; }

.lens-lines {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 44rem;
}

.lens-lines .display-line {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--orchid);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.lens-steps { display: contents; }

.lens-steps > * { grid-column: 1; max-width: var(--measure); }

.lens-steps > .photo-hero {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(80%, 22rem);
  max-width: none;
  margin: -3rem 0 2.75rem;
}

.lens-steps > .photo-hero img {
  aspect-ratio: 1;
  border-radius: 50%;
  outline: 2px solid var(--orchid);
  outline-offset: 0.55rem;
}

.lens-steps > p:first-of-type {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.lens-steps { counter-reset: step; }

.lens-steps > h2 {
  --step: 0rem;
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 2.25rem 0 0 var(--step);
  padding-bottom: 0.9rem;
}

.lens-steps > h2::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 3px;
  background: var(--orchid);
  color: var(--brand-light-on-accent);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.lens-steps > h2 ~ :not(h2) {
  --step: 0rem;
  margin: 0 0 0 calc(var(--step) + 1.1rem);
  padding: 0 0 1.1em 2.3rem;
  border-left: var(--line);
}

.lens-steps > h2:nth-of-type(2), .lens-steps > h2:nth-of-type(2) ~ :not(h2) { --step: 2rem; }
.lens-steps > h2:nth-of-type(3), .lens-steps > h2:nth-of-type(3) ~ :not(h2) { --step: 4rem; }
.lens-steps > h2:nth-of-type(4), .lens-steps > h2:nth-of-type(4) ~ :not(h2) { --step: 6rem; }
.lens-steps > h2:nth-of-type(5), .lens-steps > h2:nth-of-type(5) ~ :not(h2) { --step: 8rem; }

@media (max-width: 40rem) {
  .lens-steps > h2:nth-of-type(n), .lens-steps > h2:nth-of-type(n) ~ :not(h2) { --step: 0rem; }
  .lens-steps > h2 ~ :not(h2) { padding-left: 1.6rem; }
}

@media (min-width: 60rem) {
  .lens-home {
    grid-template-columns: minmax(0, 1fr) minmax(0, 25rem);
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .lens-stage { padding: 4.5rem calc(25rem + clamp(2rem, 5vw, 5rem)) 5rem 0; }
  .lens-lines { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .lens-steps > .photo-hero {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    width: 100%;
    margin: 0 0 -9rem;
  }
  .lens-steps > p:first-of-type { margin-top: 3rem; }
}

/* ---------- article: sticky stone title card, numbered body ---------- */

.longread {
  display: grid;
  gap: 2rem;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.longread-margin {
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 4px;
}

.longread-margin h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }

.longread-body { max-width: var(--measure); line-height: 1.9; }
.longread-body > h2:first-child { margin-top: 0; }

@media (min-width: 60rem) {
  .longread { grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .longread-margin {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
  .longread-margin h1 { font-size: 1.8rem; }
}

/* ---------- topic hub: stone tile catalogue ---------- */

.catalogue { padding-top: clamp(1.5rem, 4vw, 3rem); }
.catalogue-head { padding-bottom: 1.25rem; }
.catalogue-intro { max-width: var(--measure); margin-top: 1rem; }
.catalogue-intro > .photo-hero { max-width: none; width: min(100%, 60rem); }

.catalogue-tiles > ul {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  counter-reset: tile;
}

.catalogue-tiles li {
  counter-increment: tile;
  margin: 0;
  border-radius: 4px;
  background: var(--stone);
}

.catalogue-tiles a {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  min-height: 9.5rem;
  padding: 1.25rem 1.25rem 1.5rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.catalogue-tiles a::before {
  content: counter(tile);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 3px;
  background: var(--orchid);
  color: var(--brand-light-on-accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.catalogue-tiles a:hover { text-decoration: underline; }

/* ---------- about: colophon with marked claims ---------- */

.colophon { max-width: calc(var(--measure) + 4rem); padding-top: clamp(1.5rem, 4vw, 3rem); }
.colophon-head { margin-bottom: 2rem; }
.colophon-body > p {
  padding-left: 1.25rem;
  border-left: var(--line);
}
.colophon-body > p:hover { border-left-color: var(--orchid); }

/* ---------- contact: notes beside stone form panel ---------- */

.ask { padding-top: clamp(1.5rem, 4vw, 3rem); }
.ask-head { padding-bottom: 0.5rem; }

.ask-split { display: grid; gap: 2.5rem; margin-top: 1.5rem; }
.ask-notes { max-width: var(--measure); }
.ask-notes > h2:first-child { margin-top: 0; }

.ask-form {
  display: grid;
  gap: 0.5rem 1.25rem;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 4px;
}

.ask-label { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; padding-top: 0.6rem; }

.ask-control {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  padding: 0.65rem 0.75rem;
  color: inherit;
  background: var(--bg-light-base);
  border: 1px solid var(--border-light-default);
  border-radius: 3px;
}

textarea.ask-control { resize: vertical; min-height: 9rem; }

.ask-control:focus-visible { outline: 2px solid var(--orchid); outline-offset: 1px; border-color: var(--orchid); }

.ask-send {
  justify-self: start;
  margin-top: 0.75rem;
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}
.ask-send:hover { background: var(--brand-light-accent-hover); }

@media (min-width: 36rem) {
  .ask-form { grid-template-columns: 7rem minmax(0, 1fr); }
  .ask-send { grid-column: 2; }
}

@media (min-width: 60rem) {
  .ask-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
}

/* ---------- thank you: round confirmation stamp ---------- */

.stamp-page {
  max-width: calc(var(--measure) + 2rem);
  margin: 0 auto;
  padding-top: clamp(2rem, 6vw, 4.5rem);
}

.stamp {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 2.5rem;
  padding: 1.4rem 2.5rem;
  text-align: center;
  border: 2px solid var(--orchid);
  border-radius: 999px;
  outline: 1px solid var(--orchid);
  outline-offset: 5px;
}

.stamp h1 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.4rem); }

/* ---------- footer: rose band ---------- */

.footer-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 2.25rem var(--gutter) 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  align-items: baseline;
  font-size: 0.875rem;
}

.footer-name { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.footer-line { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
