/* Clear Anchor's stylesheet. Senior-friendly first: large type, strong contrast (7:1 or
   better for all text), big tap targets, nothing that moves on its own. Light only: this
   site has no dark mode.

   The design is "Calm & classic", which she picked from two. The first part of this file
   sets the type, colors and page structure; the part headed "Calm & classic" gives the
   pages their look on top of it, so it comes after.

   The colors and fonts are her brand kit's. Sea blue is only 4:1 on paper, so blue text
   and blue buttons use a deeper shade of it; coral is decoration only, never text. Lora
   for headings, Poppins for everything else, hosted with the site (fonts/, with their
   licenses). */

@font-face {
  font-family: "Lora";
  src: url("/fonts/lora-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #1c2d4d;
  --navy-deep: #0f1a2e;
  --sea: #3c7ba8;           /* decoration only on light backgrounds (4:1) */
  --blue-text: #1b4d75;     /* blue text and blue buttons: 7.9:1 on paper, 8.9:1 under white */
  --coral: #e06a55;         /* decoration only, never text */
  --paper: #f4f1ea;
  --light-blue: #a9cbe4;    /* text on navy: 8:1 */
  --soft: #e3edf5;          /* a soft blue panel: navy 11.6:1, muted 7.6:1 */
  --soft-2: #e8f0f6;
  --hair: #cfc5b2;          /* quiet dividers on paper and white */
  --text: var(--navy);
  --muted: #3d4a5e;         /* 8:1 on paper, 9:1 on white */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-ui: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --page: 72rem;
  --measure: 42rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --band: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

/* ---------- base ---------- */

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.25rem;
  line-height: 1.6;
  /* "anywhere", not "break-word": a long email address must be able to wrap even inside
     a grid, or it pushes a narrow phone screen sideways. */
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  /* While Lora loads, Georgia stands in at the same visual size, so nothing jumps. */
  font-size-adjust: from-font;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.75rem); line-height: 1.08; }
h2 { margin-top: 1.75em; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); line-height: 1.15; }
h3 { margin-top: 1.25em; font-size: 1.5rem; }
p,
ul,
ol,
dl { margin: 0 0 1em; }
p { text-wrap: pretty; }
img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-text);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 0.15em; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }

/* Hidden until a keyboard user tabs to it. */
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band { padding-block: var(--band); }
.band h2:first-child,
.band .eyebrow + h2 { margin-top: 0; }
/* Text keeps a comfortable line length but stays on the same left edge as everything else. */
.prose > * { max-width: var(--measure); }
.lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.3rem, 1.2rem + 0.45vw, 1.5rem);
}
/* An email address on its own in a narrow column, a touch smaller so it stays whole. */
.email { font-size: 1.125rem; }
.source {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 1.125rem;
}

/* A small label above a heading, in the logo's spaced capitals. */
.eyebrow {
  margin: 0 0 1.125rem;
  color: var(--blue-text);
  font-size: 1rem;
  font-weight: 600;
  font-size-adjust: from-font;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-block-size: 3.375rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 600;
  font-size-adjust: from-font;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  text-decoration: underline;
}
.button-quiet {
  background: transparent;
  color: var(--navy);
}
.button-quiet:hover {
  border-color: var(--navy);
  background: rgb(28 45 77 / 0.06);
}
.button svg {
  flex: none;
  inline-size: 1.25rem;
  block-size: 1.25rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

/* ---------- header ----------
   A slim navy strip on top carries the call link and the language link. Below it, her
   logo and the menu as plain words: beside the logo on wide screens, in a row under it on
   narrower ones. Each design sets the header's own background. */

.top-strip {
  background: var(--navy);
  color: var(--paper);
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.25rem var(--gutter);
}
.strip-call,
.strip-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 2.75rem;
  color: inherit;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size-adjust: from-font;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.strip-call { font-size: 1.0625rem; }
.strip-call:hover,
.strip-lang:hover { text-decoration: underline; }
.strip-call svg,
.strip-lang svg {
  flex: none;
  inline-size: 1.25rem;
  block-size: 1.25rem;
}
/* The language link reads as a small button: the other language's name, in that
   language, with a globe once there's room for it. */
.strip-lang {
  flex: none;
  padding: 0 0.75rem;
  border: 1px solid rgb(169 203 228 / 0.6);
  border-radius: 0.5rem;
  font-size: 1rem;
}
.strip-lang:hover { border-color: var(--paper); }
.strip-lang svg { display: none; }
.top-strip :focus-visible { outline-color: var(--paper); }
/* Narrow phones drop words from the call link so it stays on one line. */
@media (max-width: 24.9375em) {
  .strip-name { display: none; }
}
@media (min-width: 30em) {
  .strip-lang svg { display: block; }
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.125rem var(--gutter) 0.375rem;
}
.site-logo {
  display: block;
  flex: none;
}
.site-logo img {
  inline-size: clamp(14.5rem, 11rem + 9vw, 17.5rem);
  block-size: auto;
}

/* The menu is plain words; the page you're on is underlined in sea blue. Phones spread
   the four across the width (two by two on the narrowest), and each word's tap area is
   44px tall. */
.main-nav { align-self: stretch; }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -0.25rem;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding: 0 0.25rem;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  font-size-adjust: from-font;
  line-height: 1.2;
  text-decoration: none;
  text-underline-offset: 0.4em;
}
.main-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
}
.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--sea);
  text-decoration-thickness: 3px;
}
@media (max-width: 22.4375em) {
  .main-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 40em) {
  .main-nav ul {
    justify-content: flex-start;
    gap: 0 1.5rem;
  }
  .main-nav a { font-size: 1.0625rem; }
}
@media (min-width: 52em) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 1.25rem;
  }
  .main-nav { align-self: auto; }
  .main-nav ul { gap: 0 1.25rem; }
  .main-nav a { font-size: 1.125rem; }
}

/* ---------- footer ----------
   Navy. Her logo, contact and links side by side on wider screens; the disclaimer always
   spans the full width, at a readable size: CMS wants it shown prominently. */

.site-footer {
  background: var(--navy);
  color: var(--paper);
}
.site-footer a { color: var(--light-blue); }
.site-footer :focus-visible { outline-color: var(--paper); }
.footer-inner {
  display: grid;
  gap: 2rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(3rem, 2.5rem + 2vw, 4rem) var(--gutter) 3rem;
}
.footer-inner p { margin: 0 0 0.6em; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  font-size-adjust: from-font;
}
.footer-nav ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  display: inline-block;
  padding-block: 0.35rem;
}
.disclaimer {
  grid-column: 1 / -1;
  max-width: 60rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(169 203 228 / 0.3);
  font-size: 1.125rem;
}
.copyright {
  grid-column: 1 / -1;
  color: #c8d2df;
}
/* Tablets: the logo on its own row, contact and links side by side under it. */
@media (min-width: 40em) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 4rem);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
  .footer-inner { grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
}

/* ---------- previews only ----------
   The build never publishes a draft, a blank or anything still to confirm. */

/* The /review checklist: empty boxes, since these are still to do. */
.review-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}
.review-list li {
  position: relative;
  padding-inline-start: 2.25rem;
}
.review-list li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0.1rem;
  inline-size: 1.1rem;
  block-size: 1.1rem;
  border: 2px solid var(--muted);
  border-radius: 0.2rem;
}
.todo { border-bottom: 2px dotted currentColor; }

/* ==================== Calm & classic ====================
   Paper with white bands, thin rules, large serif headlines, photos with arched tops and
   a thin coral outline, and a bordered box to close each page. */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.band-alt { background: #fff; }
/* Two bands of the same color in a row share one gap. */
.band:not(.band-alt) + .band:not(.band-alt),
.band-alt + .band-alt { padding-top: 0; }
.button { border-radius: 0.375rem; }

/* The label trails a short hairline; phones drop it, since their labels can wrap. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: 0.16em;
}
.eyebrow::after {
  content: "";
  flex: 0 40 5rem;
  block-size: 1px;
  background: currentColor;
  opacity: 0.55;
}
@media (max-width: 29.99em) {
  .eyebrow::after { display: none; }
}

/* ---------- opening: the words beside an arched photo ---------- */

.intro {
  padding-block: var(--band);
  border-bottom: 1px solid var(--hair);
}
.intro-home {
  padding-bottom: 0;
  border-bottom: 0;
}
.intro-panel {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.intro h1 { margin-bottom: 1.25rem; }
.intro-home h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 1.7rem + 3.9vw, 4.75rem);
  letter-spacing: -0.015em;
  line-height: 1.04;
}
@media (min-width: 48em) {
  .intro-panel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .intro-media { justify-self: end; }
  .intro-panel-portrait { grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr); }
  .intro-panel-portrait .intro-media { justify-self: start; }
}
/* Short laptop screens: a smaller opening, so the call button shows without scrolling. */
@media (min-width: 48em) and (max-height: 50em) {
  .intro { padding-top: 2rem; }
  .intro-home h1 { font-size: clamp(2.25rem, 7vh, 3.5rem); }
  .intro .lead { font-size: 1.25rem; }
  .intro .actions { margin-top: 1.25rem; }
}
@media (min-width: 64em) and (max-height: 50em) {
  .intro-home .intro-media { max-inline-size: min(26rem, 50vh); }
}

/* An arched photo with a thin coral outline offset behind it. The outline stays inside
   the page's side margin, so it never pushes a narrow phone sideways. */
.intro-media,
.portrait-frame {
  display: block;
  position: relative;
  inline-size: calc(100% - 1.25rem);
  max-inline-size: 18rem;
  margin: 1.25rem 1.25rem 0 0;
}
.intro-media img,
.portrait-frame img,
.intro-media::before,
.portrait-frame::before {
  border-radius: 50% 50% 0.5rem 0.5rem / 40% 40% 0.5rem 0.5rem;
}
.intro-media img,
.portrait-frame img {
  position: relative;
  inline-size: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.intro-media::before,
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -1.25rem -1.25rem 1.25rem 1.25rem;
  border: 2px solid var(--coral);
}
.intro-portrait img,
.portrait-frame img {
  aspect-ratio: 3 / 4;
  object-position: 50% 20%;
}
@media (min-width: 40em) {
  .intro-media { max-inline-size: 22rem; }
  .intro-portrait { max-inline-size: 18rem; }
}
@media (min-width: 64em) {
  .intro-home .intro-media { max-inline-size: 26rem; }
}

/* Three short promises under the home page's opening. */
.promises {
  display: grid;
  gap: 1.5rem;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 2rem 0 clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--navy);
  list-style: none;
}
.promises li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1rem;
}
.promises svg {
  grid-row: span 2;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  margin-top: 0.15rem;
  color: var(--sea);
}
.promises strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.3;
}
.promises span {
  color: var(--muted);
  font-size: 1.125rem;
}
@media (min-width: 48em) {
  .promises { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* ---------- sections: the heading on the left, the content on the right ---------- */

.split {
  display: grid;
  gap: 1.5rem;
}
.section-head > p:not(.eyebrow) {
  max-width: 40rem;
  color: var(--muted);
}
@media (min-width: 60em) {
  .split { grid-template-columns: 21rem minmax(0, 1fr); gap: 4.5rem; }
  .split > .section-head { position: sticky; top: 2rem; align-self: start; }
}

/* The ways she helps: a ruled list, two across on wider screens. */
.features {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features li {
  padding: 1.75rem 0;
  border-top: 1px solid var(--hair);
}
.features h3 { margin: 0 0 0.5rem; }
.features p { margin: 0; }
@media (min-width: 40em) {
  .features { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
.bubble {
  display: block;
  margin-bottom: 0.875rem;
  color: var(--sea);
}
.bubble svg {
  inline-size: 2.5rem;
  block-size: 2.5rem;
}

/* Her photo beside her words. */
.profile {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.statement {
  max-width: 15ch;
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  line-height: 1.08;
}
.profile-text > p { max-width: 38rem; }
.more {
  font-size: 1.125rem;
  font-weight: 600;
}
@media (min-width: 48em) {
  .profile { grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr); gap: clamp(3rem, 6vw, 5.5rem); }
}

/* The states: a photo over each name, the whole card a link. */
.places {
  display: grid;
  gap: 2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.places a {
  display: block;
  color: var(--navy);
  text-decoration: none;
}
.places img {
  inline-size: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.375rem;
}
.places h3 {
  margin: 1rem 0 0;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--hair);
}
.places a:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
}
.places .arrow { color: var(--blue-text); }
@media (min-width: 30em) {
  .places { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}
@media (min-width: 64em) {
  .places { grid-template-columns: repeat(4, 1fr); }
}

.language { padding-top: 0; }
.language-box {
  display: grid;
  justify-items: center;
  padding-block: 2.25rem;
  border-block: 1px solid var(--hair);
  text-align: center;
}
.language-box .bubble { display: none; }
.language-box h2 {
  margin: 0 0 0.4rem;
  font-size: 1.75rem;
}
.language-box p { margin: 0 0 1.25rem; }

/* The close of a page: a bordered box with her mark. */
.cta-box {
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1rem, 4vw, 4rem);
  border: 2px solid var(--navy);
  border-radius: 0.375rem;
  background: #fff;
  text-align: center;
}
.cta-mark {
  inline-size: 3rem;
  margin: 0 auto 1.25rem;
}
.cta-box h2 { margin-top: 0; }
.cta-box p {
  max-width: 36rem;
  margin-inline: auto;
}
.cta-box .actions { justify-content: center; }

.footer-brand img { inline-size: 11rem; }

/* ---------- Meet Ellice ---------- */

.about-body {
  display: grid;
  gap: 2.5rem;
}
.about-bio p { max-width: 40rem; }
@media (min-width: 60em) {
  .about-body { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4.5rem; }
}
.facts { margin: 0; }
.facts div {
  padding: 1.125rem 0;
  border-top: 1px solid var(--hair);
}
.facts dt {
  color: var(--blue-text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.facts .bubble,
.dates .bubble { display: none; }
.facts dd { margin: 0.25rem 0 0; }

/* ---------- Get started ---------- */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hair);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  content: counter(step) / "";
  grid-row: span 2;
  color: var(--blue-text);
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}
.steps h3 { margin: 0.1rem 0 0.35rem; }
.steps p {
  grid-column: 2;
  margin: 0;
}
@media (min-width: 40em) {
  .steps li { grid-template-columns: 3.5rem 1fr; }
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.75rem;
  border-top: 1px solid var(--hair);
}
.checklist li::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 0.3rem;
  inline-size: 1.15rem;
  block-size: 0.6rem;
  border-bottom: 3px solid var(--sea);
  border-left: 3px solid var(--sea);
  transform: rotate(-45deg);
}

.dates {
  display: grid;
  gap: 2.25rem 3rem;
  margin: 2.5rem 0 0;
}
.dates div {
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
}
.dates dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}
.dates dd { margin: 0.5rem 0 0; }
@media (min-width: 40em) {
  .dates { grid-template-columns: 1fr 1fr; }
}

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

.ways {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ways li {
  padding: 1.75rem 0;
  border-top: 1px solid var(--hair);
}
.ways .bubble svg {
  inline-size: 2.25rem;
  block-size: 2.25rem;
}
.ways h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}
.ways p { margin: 0; }
/* Three across once the email address fits on one line in the widest of them. */
@media (min-width: 64em) {
  .ways { grid-template-columns: 1.4fr 1fr 1fr; column-gap: 3rem; }
}

/* Phones: the call button stays on one line (last, so it outranks the padding above). */
@media (max-width: 29.99em) {
  .actions .button {
    gap: 0.5rem;
    padding-inline: 1rem;
    font-size: 1.0625rem;
  }
}
@media (max-width: 22.4375em) {
  .actions .button { padding-inline: 0.875rem; }
  .cta-band .cta-box { padding-inline: 0.75rem; }
}
