/* ==========================================================================
   St. Hilary Catholic Church — design system
   Palette measured from the parish's own marks (logo ring, sand buttons,
   charcoal type). Do not introduce colours outside these tokens.
   ========================================================================== */

:root {
  /* Brand */
  --sage:        #7fb09b;
  --sage-deep:   #4a7865;
  --sage-dark:   #33574a;
  --sage-wash:   #eef5f1;
  --sage-line:   #d3e4dc;

  --sand:        #cbb778;
  --sand-deep:   #8f7a3c;
  --sand-wash:   #f7f2e4;

  --ink:         #2e3230;
  --ink-soft:    #5f6663;
  --ink-faint:   #8b918e;

  --paper:       #faf8f4;
  --card:        #ffffff;
  --rule:        #e7e2d8;

  /* Type */
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --body:    "Open Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --shell:   min(1180px, 100% - 3rem);
  --narrow:  min(760px, 100% - 3rem);
  --gap:     clamp(1rem, 2.5vw, 2rem);
  --section: clamp(3.5rem, 8vw, 7rem);

  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(46,50,48,.05), 0 4px 14px rgba(46,50,48,.05);
  --shadow-md: 0 2px 6px rgba(46,50,48,.06), 0 16px 40px rgba(46,50,48,.09);

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The off-canvas mobile nav parks itself just past the right edge. `clip`
     stops that widening the page - unlike `hidden` it makes no scroll
     container, so the sticky masthead keeps working. */
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -.012em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25rem; }
li { margin-bottom: .45em; }
a { color: var(--sage-deep); text-underline-offset: 3px; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.shell  { width: var(--shell);  margin-inline: auto; }
.narrow { width: var(--narrow); margin-inline: auto; }

.section       { padding-block: var(--section); }
.section--tight{ padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--wash { background: var(--sage-wash); }
.section--sand { background: var(--sand-wash); }
.section--ink  { background: var(--ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.82); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ------------------------------------------------------------ type ------ */

.eyebrow {
  margin: 0 0 .75rem;
  font-family: var(--body);
  font-size: .715rem;
  font-weight: 700;
  letter-spacing: .215em;
  text-transform: uppercase;
  color: var(--sand-deep);
}
.section--ink .eyebrow { color: var(--sand); }

.h-xl { font-size: clamp(2.4rem, 6vw, 4rem); }
.h-lg { font-size: clamp(1.95rem, 4.1vw, 2.9rem); }
.h-md { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.h-sm { font-size: clamp(1.12rem, 1.7vw, 1.3rem); }

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.62;
  color: var(--ink-soft);
}

.verse {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.45;
  color: var(--sage-dark);
}
.verse cite {
  display: block;
  margin-top: .7rem;
  font-family: var(--body);
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--sand-deep);
}

.center { text-align: center; }
.center .lede { margin-inline: auto; max-width: 62ch; }

.rule {
  width: 54px; height: 3px; border: 0; border-radius: 2px;
  background: var(--sand); margin: 1.35rem 0 1.6rem;
}
.center .rule { margin-inline: auto; }

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

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--body); font-size: .795rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--sage-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sage-dark); box-shadow: var(--shadow-md); }

.btn--sand { background: var(--sand); color: #37301a; }
.btn--sand:hover { background: #bda663; }

.btn--ghost { border-color: var(--sage-deep); color: var(--sage-deep); background: transparent; }
.btn--ghost:hover { background: var(--sage-deep); color: #fff; }

.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { box-shadow: var(--shadow-md); }

.btn--outline-light { border-color: rgba(255,255,255,.62); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; color: var(--sage-deep);
}
.link-arrow::after { content: "→"; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------ cards ----- */

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }

.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card--media .card__body { padding: clamp(1.25rem, 2.2vw, 1.7rem); flex: 1; }

.tile {
  display: block; padding: 1.5rem 1.4rem;
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage-line); }
.tile__label { font-family: var(--display); font-size: 1.14rem; font-weight: 600; }
.tile__note  { display: block; margin-top: .3rem; font-size: .87rem; color: var(--ink-soft); }

/* ----------------------------------------------------------- header ----- */

.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .5rem 0; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.8); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__social { display: flex; gap: .9rem; align-items: center; }
.topbar__social svg { width: 17px; height: 17px; fill: currentColor; display: block; }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,248,244,.93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.brand img { width: 50px; height: 50px; }
.brand__name { font-family: var(--display); font-size: 1.11rem; font-weight: 600; line-height: 1.1; }
.brand__tag  { font-size: .625rem; font-weight: 700; letter-spacing: .155em; text-transform: uppercase; color: var(--sand-deep); }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .78rem; border-radius: 8px;
  font-size: .845rem; font-weight: 600; text-decoration: none; color: var(--ink);
  background: none; border: 0; cursor: pointer; font-family: var(--body);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav__link:hover, .nav__item[data-open="true"] .nav__link { background: var(--sage-wash); color: var(--sage-dark); }
.nav__link[aria-current="page"] { color: var(--sage-dark); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: .78rem; right: .78rem; bottom: .28rem;
  height: 2px; background: var(--sand); border-radius: 2px;
}
.nav__caret { width: 9px; height: 9px; fill: currentColor; opacity: .55; transition: transform .18s var(--ease); }
.nav__item[data-open="true"] .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + .45rem); left: 0; min-width: 250px;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .5rem; display: none;
}
/* The panel sits .45rem below the button, and that gap belongs to the masthead,
   not to the nav item. Without this bridge the pointer leaves the item on its
   way down, mouseleave fires, and the menu shuts before it can be reached. */
.nav__panel::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: calc(-.45rem - 1px); height: calc(.45rem + 1px);
}
.nav__item[data-open="true"] .nav__panel { display: block; }
.nav__panel a {
  display: block; padding: .58rem .75rem; border-radius: 8px;
  font-size: .875rem; text-decoration: none; color: var(--ink);
}
.nav__panel a:hover { background: var(--sage-wash); color: var(--sage-dark); }

.masthead .btn { padding: .68rem 1.25rem; font-size: .74rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .masthead__cta { display: none; }
  /* The panel is display:none when closed rather than parked off-canvas with a
     transform. A fixed element sitting past the right edge still counts toward
     the document's scrollable width in Chrome, which gave every page a
     horizontal scrollbar on phones. It opens with a short fade-and-settle that
     never crosses the viewport edge. */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(370px, 86vw);
    background: var(--card); flex-direction: column; align-items: stretch;
    gap: 0; padding: 5.25rem 1.15rem 2rem; overflow-y: auto;
    box-shadow: -20px 0 60px rgba(46,50,48,.18);
    display: none;
  }
  .nav[data-open="true"] { display: flex; animation: navIn .24s var(--ease) both; }
  @keyframes navIn {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: none; }
  }
  .nav__link { width: 100%; justify-content: space-between; padding: .85rem .7rem; font-size: 1rem; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__panel {
    position: static; display: none; box-shadow: none; border: 0;
    border-left: 2px solid var(--sage-line); border-radius: 0;
    margin: 0 0 .4rem .7rem; padding: 0 0 0 .5rem; min-width: 0;
  }
  .nav__item[data-open="true"] .nav__panel { display: block; }
  .nav__mobile-cta { display: flex; margin-top: 1.1rem; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(46,50,48,.42); z-index: 55;
    opacity: 0; pointer-events: none; transition: opacity .28s var(--ease);
  }
  .nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1081px) { .nav__mobile-cta { display: none; } .nav-scrim { display: none; } }

/* ------------------------------------------------------------- hero ----- */

.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,26,23,.58) 0%, rgba(20,26,23,.28) 38%, rgba(20,26,23,.72) 100%);
}
.hero__inner {
  min-height: clamp(520px, 82vh, 780px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: clamp(4rem, 12vh, 8rem) clamp(2.75rem, 7vh, 4.5rem);
}
.hero__eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--sand); margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 4.6rem);
  max-width: 17ch; margin-bottom: 1.1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.32);
}
.hero__lede {
  font-size: clamp(1.05rem, 1.9vw, 1.32rem);
  max-width: 46ch; color: rgba(255,255,255,.93); margin-bottom: 1.9rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.34);
}
.hero__sound {
  position: absolute; right: clamp(1rem, 3vw, 2.25rem); bottom: clamp(1rem, 3vw, 2.25rem);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
  color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .18s var(--ease);
}
.hero__sound:hover { background: rgba(255,255,255,.3); }
.hero__sound svg { width: 19px; height: 19px; fill: currentColor; }

/* page banner (interior pages) */
.banner { position: relative; isolation: isolate; color: #fff; background: var(--sage-dark); }
.banner__media { position: absolute; inset: 0; z-index: -2; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(24,42,35,.72), rgba(24,42,35,.58));
}
.banner__inner { padding-block: clamp(3.5rem, 11vh, 6.5rem); }
.banner h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); max-width: 20ch; }
.banner p  { max-width: 54ch; color: rgba(255,255,255,.9); margin-top: .9rem; font-size: 1.08rem; }

/* --------------------------------------------------------- mass times --- */

.times { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.times__block {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
}
.times__block h3 {
  font-family: var(--body); font-size: .74rem; font-weight: 800;
  letter-spacing: .19em; text-transform: uppercase; color: var(--sand-deep);
  margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--rule);
}
.times__row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--rule); }
.times__row:last-child { border-bottom: 0; padding-bottom: 0; }
.times__when { font-weight: 700; font-size: .97rem; white-space: nowrap; }
.times__what { font-size: .845rem; color: var(--ink-soft); text-align: right; }

/* ------------------------------------------------------------ split ----- */

.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
}
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------------------------------------------------------- sermons ----- */

.series-hero {
  display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .series-hero { grid-template-columns: minmax(0, 1.05fr) 1fr; } }
.series-hero__art {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--sage-wash);
}

.sermon-list { display: grid; gap: .6rem; }
.sermon {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.15rem; background: var(--card);
  border: 1px solid var(--rule); border-radius: 10px; text-decoration: none; color: inherit;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.sermon:hover { border-color: var(--sage); transform: translateX(3px); }
.sermon__title { font-weight: 600; }
.sermon__meta  { font-size: .82rem; color: var(--ink-faint); white-space: nowrap; }

.series-group { margin-bottom: 2.25rem; }
.series-group > h3 {
  font-family: var(--body); font-size: .76rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sand-deep); margin-bottom: .85rem;
}

/* ----------------------------------------------------------- events ----- */

.event {
  display: grid; gap: 1.25rem; grid-template-columns: auto 1fr; align-items: start;
  padding: 1.4rem 0; border-bottom: 1px solid var(--rule);
}
.event:last-child { border-bottom: 0; }
.event__date {
  text-align: center; min-width: 68px; padding: .6rem .5rem;
  background: var(--sage-wash); border-radius: 10px; border: 1px solid var(--sage-line);
}
.event__mon { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-dark); }
.event__day { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.event__body h3 { font-size: 1.16rem; margin-bottom: .3rem; }
.event__where { font-size: .84rem; color: var(--ink-faint); margin-bottom: .5rem; }
.event__body p { font-size: .95rem; color: var(--ink-soft); }

/* ------------------------------------------------------------ staff ----- */

.staff { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.staff__card {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: var(--shadow-sm);
}
.staff__name { font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
.staff__role { font-size: .84rem; color: var(--sand-deep); font-weight: 700; margin: .2rem 0 .55rem; }
.staff__contact { font-size: .87rem; color: var(--ink-soft); display: grid; gap: .15rem; }
.staff__contact a { text-decoration: none; }
.staff__contact a:hover { text-decoration: underline; }

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

.accordion { border-top: 1px solid var(--rule); }
.accordion__item { border-bottom: 1px solid var(--rule); }
.accordion__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--display); font-size: 1.12rem; font-weight: 600; color: var(--ink);
}
.accordion__btn::after { content: "+"; font-family: var(--body); font-size: 1.5rem; color: var(--sage-deep); line-height: 1; }
.accordion__item[data-open="true"] .accordion__btn::after { content: "−"; }
.accordion__panel { display: none; padding-bottom: 1.3rem; color: var(--ink-soft); }
.accordion__item[data-open="true"] .accordion__panel { display: block; }

/* ----------------------------------------------------------- footer ----- */

.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer h4 {
  font-family: var(--body); font-size: .73rem; font-weight: 800; letter-spacing: .19em;
  text-transform: uppercase; color: var(--sand); margin-bottom: .95rem;
}
.footer__grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45em; font-size: .92rem; }
.footer__brand img { width: 62px; height: 62px; margin-bottom: .9rem; }
.footer__note { font-size: .92rem; line-height: 1.7; }
.footer__social { display: flex; gap: .75rem; margin-top: 1.1rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.09); transition: background-color .18s var(--ease);
}
.footer__social a:hover { background: var(--sage-deep); }
.footer__social svg { width: 17px; height: 17px; fill: #fff; }
.footer__base {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.13);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .84rem; color: rgba(255,255,255,.55);
}

/* --------------------------------------------------------- utilities ---- */

.stack   { display: grid; gap: 1.1rem; }
.mt-lg   { margin-top: clamp(2rem, 4vw, 3rem); }
.mb-md   { margin-bottom: 1.5rem; }
.pill {
  display: inline-block; padding: .32rem .85rem; border-radius: 999px;
  background: var(--sage-wash); color: var(--sage-dark); border: 1px solid var(--sage-line);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.anchor { scroll-margin-top: 110px; }

/* Cards that are themselves links must not inherit link underlines. */
a.card, a.card:hover { text-decoration: none; color: inherit; }
a.card h3 { color: var(--ink); }
