@import "./tokens.css";

/* Photo-backed surfaces always read as dark, regardless of section tone */
.hero,
.page-hero,
.cta-card,
.verse {
  --fg: var(--cream);
  --muted: rgba(255, 249, 224, 0.88);
  --line: rgba(255, 249, 224, 0.18);
  --eyebrow: var(--maple-light);
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-hover: #fff;
  --ghost: rgba(255, 249, 224, 0.6);
  --focus: var(--maple-light);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--focus, var(--maple-light));
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ——— Logos: single-color PNGs used as masks so they can take any color ——— */

.logo {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.logo--horizontal {
  -webkit-mask-image: url("../assets/trimmed/lockup-horizontal.png");
  mask-image: url("../assets/trimmed/lockup-horizontal.png");
  aspect-ratio: 1400 / 499;
}

.logo--stacked {
  -webkit-mask-image: url("../assets/trimmed/lockup-stacked.png");
  mask-image: url("../assets/trimmed/lockup-stacked.png");
  aspect-ratio: 1210 / 1140;
}

.logo--tree {
  -webkit-mask-image: url("../assets/trimmed/tree.png");
  mask-image: url("../assets/trimmed/tree.png");
  aspect-ratio: 805 / 914;
}

/* ——— Shell ——— */

.site {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--s-bg);
  color: var(--fg);
}

.site > main {
  flex: 1;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--s-bg);
  color: var(--fg);
}

/* ——— Type ——— */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--center::after {
  content: "";
  width: 1.75rem;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.005em;
}

.h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.12;
}

.lede {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--muted);
}

.section p:not([class]) {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--fg);
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.2rem;
  transition: gap 0.35s var(--ease), border-color 0.35s var(--ease);
}

.text-link .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--eyebrow);
}

.text-link:hover {
  gap: 0.8rem;
  border-color: var(--eyebrow);
}

/* ——— Buttons ——— */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.actions--center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.btn--sm {
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.55);
}

.btn--primary:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 2px solid var(--ghost);
  color: var(--fg);
}

.btn--ghost:hover {
  border-color: var(--fg);
  background: color-mix(in oklab, var(--fg) 8%, transparent);
}

/* ——— Nav: light bar for strong contrast against the dark page ——— */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  border-top: 4px solid var(--forest);
  box-shadow: 0 1px 0 rgba(20, 35, 25, 0.1);
  transition: box-shadow 0.4s var(--ease);
}

.is-scrolled .nav {
  box-shadow: 0 1px 0 rgba(20, 35, 25, 0.1), 0 14px 34px -18px rgba(0, 0, 0, 0.55);
}

.nav__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--forest);
}

.nav__mark {
  height: 4.8rem;
  width: auto;
  max-width: none;
  flex: none;
}

.nav__lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.32rem;
}

.nav__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__tag {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__tag em {
  font-family: var(--font-display);
  font-size: 1.28em;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__links {
  display: flex;
  gap: 0.25rem;
}

.nav__links a {
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav__links a:hover {
  background: color-mix(in oklab, var(--forest) 9%, transparent);
  color: var(--forest);
}

.nav__links a[aria-current="page"] {
  background: color-mix(in oklab, var(--forest) 12%, transparent);
  color: var(--forest);
  font-weight: 600;
}

.nav .btn--primary {
  --focus: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.nav .btn--primary:hover {
  background: var(--forest-deep);
}

.nav__toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 2px solid color-mix(in oklab, var(--ink) 22%, transparent);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  --focus: var(--forest);
}

.nav__bars,
.nav__bars::before,
.nav__bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__bars {
  position: relative;
}

.nav__bars::before,
.nav__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__bars::before {
  top: -6px;
}

.nav__bars::after {
  top: 6px;
}

.is-nav-open .nav__bars {
  background: transparent;
}

.is-nav-open .nav__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.is-nav-open .nav__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ——— Motion (kept gentle on purpose) ——— */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ——— Shared components ——— */

.icon-chip {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  flex: none;
}

.icon-chip--lg {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 14px;
  margin-bottom: 1.4rem;
}

.icon-chip--lg .icon {
  width: 1.55rem;
  height: 1.55rem;
}

.sec-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.sec-head--center .lede {
  margin-inline: auto;
  max-width: 36rem;
}

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--events {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}

.split__text {
  max-width: 34rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.card {
  position: relative;
  padding: 2.1rem 1.9rem 1.9rem;
  border-radius: var(--r-lg);
  background: var(--card-bg);
  color: var(--fg);
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
}

.card p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.card .btn {
  margin-top: 0.4rem;
}

/* Photos */

.photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

.photo-frame--wide {
  aspect-ratio: 4 / 3;
}

.photo-frame--archive {
  aspect-ratio: 300 / 192;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-stack {
  position: relative;
  padding: 0 0 3rem 3rem;
}

.photo-stack__main {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.photo-stack__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 6px solid var(--s-bg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.badge {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  display: grid;
  gap: 0.15rem;
  max-width: 11rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}

.badge__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--forest);
}

.badge__label {
  font-size: 0.9rem;
  line-height: 1.35;
}

/* Events */

.events {
  margin-top: 1.75rem;
  display: grid;
}

.event {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.event:first-child {
  border-top: 1px solid var(--line);
}

.event__date {
  display: grid;
  place-items: center;
  align-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--r-md);
  background: var(--icon-bg);
  color: var(--icon-fg);
  line-height: 1;
}

.event__date span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event__date strong {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
}

.event h3 {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.event p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

/* CTA card */

.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 26rem;
  border-radius: var(--r-lg);
  color: var(--fg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

.cta-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--night) 15%, transparent) 0%,
    color-mix(in oklab, var(--night) 94%, transparent) 72%
  );
}

.cta-card__body {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
}

.cta-card p:not(.eyebrow) {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

/* Verse band */

.verse {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 8.5rem) 0;
  text-align: center;
  color: var(--fg);
}

.verse__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verse::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--s-bg, var(--night)) 0%, transparent 30%, transparent 70%, var(--s-bg, var(--night)) 100%),
    color-mix(in oklab, var(--night) 66%, transparent);
}

.verse__inner {
  width: min(100% - 2.5rem, 52rem);
  margin: 0 auto;
}

.verse__inner p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

.verse cite {
  display: inline-block;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

/* ——— Home hero: rotating worship photos ——— */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(36rem, calc(100svh - var(--nav-h) - 3rem), 54rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 4rem 1.25rem 7.5rem;
  text-align: center;
  color: var(--fg);
  background: var(--night);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* The zoom is held through the fade-out and only reset once the slide is invisible */
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  opacity: 0;
  filter: saturate(0.8);
  transform: scale(1);
  transition: opacity 1.6s ease-in-out, transform 0s linear 1.6s;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide.is-zooming {
  transform: scale(1.08);
  transition: opacity 1.6s ease-in-out, transform 9s linear;
}

/* Phones and tablets: keep the crossfade but skip the slow zoom. Mobile browsers
   re-rasterize a scaling full-screen photo while you scroll, which reads as the
   hero jittering or resizing under your finger. */
@media (hover: none), (max-width: 760px) {
  .hero__slide,
  .hero__slide.is-zooming {
    transform: none;
    transition: opacity 1.6s ease-in-out;
  }
}

.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 42% at 50% 52%, color-mix(in oklab, var(--night) 62%, transparent), transparent 85%),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--night) 62%, transparent) 0%,
      color-mix(in oklab, var(--night) 45%, transparent) 40%,
      color-mix(in oklab, var(--night) 70%, transparent) 75%,
      var(--night) 100%
    );
}

.hero__content {
  max-width: 48rem;
}

.hero__content > * {
  animation: rise 1s var(--ease) both;
}

.hero__content > :nth-child(2) {
  animation-delay: 100ms;
}

.hero__content > :nth-child(3) {
  animation-delay: 180ms;
}

.hero__content > :nth-child(4) {
  animation-delay: 260ms;
}

.hero__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 11vw, 7.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.hero__name span {
  display: block;
  margin-top: 0.4em;
  font-size: 0.32em;
  font-weight: 600;
  letter-spacing: 0.55em;
  padding-left: 0.55em;
}

.hero__motto {
  margin: 1.6rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero__motto em {
  margin: 0 0.1em;
  font-family: var(--font-display);
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--maple-light);
}

/* Info bar: light card overlapping the hero for at-a-glance details */

.info-bar {
  position: relative;
  z-index: 5;
  width: min(100% - 2.5rem, 66rem);
  margin: -4.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--fg);
  box-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.85);
}

.info-bar__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
}

.info-bar__item + .info-bar__item {
  border-left: 1px solid var(--line);
}

.info-bar__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.info-bar__value {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}

.info-bar__item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1.5px solid color-mix(in oklab, var(--forest) 35%, transparent);
}

.info-bar__item a:hover {
  border-color: var(--forest);
}

/* ——— Home sections ——— */

.mission {
  margin: 0 0 1.75rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--maple);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
}

.mission em {
  font-style: italic;
  color: var(--maple-light);
}

.sec-head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 3rem;
}

.sec-head--row .h2,
.sec-head--row .lede {
  margin-bottom: 0;
}

.sec-head--row .lede {
  max-width: 28rem;
}

.photo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .photo-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .photo-cards {
    grid-template-columns: 1fr;
  }
}

.photo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--r-lg);
  color: var(--cream);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.8);
}

.photo-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, color-mix(in oklab, var(--night) 92%, transparent) 78%);
}

.photo-card__body {
  padding: 1.6rem;
}

.photo-card__tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--ink);
}

.photo-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.05;
}

.photo-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 249, 224, 0.88);
}

/* Weekly schedule */

.schedule {
  max-width: 58rem;
  margin: 0 auto;
  padding: 0.5rem clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
}

.schedule__day {
  display: grid;
  gap: 0.75rem 2rem;
  padding: 1.6rem 0;
}

.schedule__day + .schedule__day {
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .schedule__day {
    grid-template-columns: 11rem 1fr;
  }
}

.schedule__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--forest);
}

.schedule__events {
  display: grid;
  gap: 1rem;
}

.schedule__event {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

@media (max-width: 520px) {
  .schedule__event {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

.schedule__time {
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}

.schedule__event h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
}

.schedule__event p {
  margin: 0.1rem 0 0;
  font-size: 1rem;
  color: var(--muted);
}

.schedule-note {
  margin: 1.75rem 0 0;
  text-align: center;
  color: var(--muted);
}

.schedule-note a {
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1.5px solid color-mix(in oklab, var(--forest) 35%, transparent);
}

/* Featured event */

.event-feature {
  display: grid;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--dusk);
  border: 1px solid var(--card-line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

@media (min-width: 1100px) {
  .event-feature {
    grid-template-columns: 1.05fr 1fr;
  }
}

.event-feature__media {
  position: relative;
  min-height: 20rem;
  background: #6a4126;
}

.event-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.event-feature__body {
  padding: clamp(2rem, 4vw, 3.25rem);
}

.event-feature__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.02;
}

.event-facts {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0.5rem;
  padding: 1.25rem 0;
  border-block: 1px solid var(--line);
}

.event-facts li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.event-facts strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.event-facts .icon-chip {
  width: 2.5rem;
  height: 2.5rem;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 11rem;
  gap: 0.75rem;
}

.gallery__tall {
  grid-column: span 2;
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 15rem;
    gap: 1rem;
  }

  .gallery__tall {
    grid-column: auto;
    grid-row: span 2;
  }
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
}

/* ——— Inner page headers ——— */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: min(52svh, 30rem);
  padding: 4rem 0 clamp(3rem, 6vw, 4.5rem);
  color: var(--fg);
  background: var(--night);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--night) 80%, transparent) 0%, color-mix(in oklab, var(--night) 30%, transparent) 75%),
    linear-gradient(0deg, var(--s-bg) 0%, transparent 45%);
}

.page-hero__inner > * {
  animation: rise 0.9s var(--ease) both;
}

.page-hero__inner > :nth-child(2) {
  animation-delay: 80ms;
}

.page-hero__inner > :nth-child(3) {
  animation-delay: 160ms;
}

.page-hero h1 {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.page-hero .lede {
  max-width: 36rem;
  margin: 0;
}

/* Right-weighted heroes: type sits on the open side of the photo */
.page-hero--right::before {
  background:
    linear-gradient(
      270deg,
      color-mix(in oklab, var(--night) 82%, transparent) 0%,
      color-mix(in oklab, var(--night) 52%, transparent) 36%,
      color-mix(in oklab, var(--night) 16%, transparent) 70%
    ),
    linear-gradient(0deg, var(--s-bg) 0%, transparent 45%);
}

.page-hero--right .page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 5%;
  text-align: right;
}

.page-hero--right .lede {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* ——— About ——— */

.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pillar {
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.85rem 1.7rem;
  border-radius: var(--r-lg);
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
}

.pillar .eyebrow {
  margin-bottom: 1.15rem;
}

.pillar__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
}

.pillar__quote em {
  font-style: italic;
  color: var(--maple-light);
}

.pillar cite {
  display: block;
  margin-top: auto;
  padding-top: 1.6rem;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.values {
  display: grid;
  gap: 0 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: value;
}

@media (min-width: 800px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

.values li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--fg);
}

.values li span {
  min-width: 1.15rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--forest);
}

.staff-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 680px) {
  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 24rem));
    justify-content: center;
  }
}

.staff-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card-bg);
  color: var(--fg);
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
}

.staff-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--forest-mist);
}

/* Headshots are framed differently; --y and --zoom on each img even out face size */
.staff-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--y, 18%);
  transform: scale(var(--zoom, 1));
  transform-origin: center top;
}

.staff-card__body {
  padding: 1.05rem 1.15rem 1.2rem;
}

.staff-card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.staff-card__role {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.staff-card__bio {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Home: slim outreach card under the ministry photo cards */
.pantry {
  display: grid;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--r-lg);
  background: var(--card-bg);
  color: var(--fg);
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
}

.pantry .photo-card__tag {
  background: var(--forest-mist);
  color: var(--forest);
}

.pantry h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
}

.pantry p {
  margin: 0;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

.pantry__link {
  justify-self: start;
}

@media (min-width: 860px) {
  .pantry {
    grid-template-columns: auto 1fr auto;
    padding: 1.75rem 2rem;
  }

  .pantry__link {
    max-width: 14rem;
  }
}

/* Acknowledges the board, volunteers, and members under the staff cards */
.family-card {
  display: grid;
  max-width: 49.5rem;
  margin: 1.5rem auto 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card-bg);
  color: var(--fg);
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
}

.family-card__photo {
  position: relative;
  aspect-ratio: 16 / 10;
}

.family-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.family-card__body {
  padding: 1.25rem 1.15rem 1.35rem;
}

.family-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
}

.family-card__body p:not(.staff-card__role) {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

.family-card__body p + p:not(.staff-card__role) {
  margin-top: 0.8rem;
}

@media (min-width: 680px) {
  .family-card {
    grid-template-columns: 2fr 3fr;
  }

  .family-card__photo {
    aspect-ratio: auto;
  }

  .family-card__body {
    padding: 1.6rem 1.75rem;
  }
}

.belong {
  display: grid;
  gap: 1.75rem 3.5rem;
}

@media (min-width: 800px) {
  .belong {
    grid-template-columns: 1fr 1fr;
  }
}

.belong p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.belong a {
  font-weight: 600;
  border-bottom: 2px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.belong a:hover {
  border-color: var(--eyebrow);
}

/* ——— Sermons ——— */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-md);
  background: #000;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 960px) {
  .featured {
    grid-template-columns: 1.55fr 1fr;
  }
}

.featured__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.08;
}

.sermon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--muted);
}

.sermon-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sermon-meta .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--eyebrow);
}

.sermon-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .sermon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .sermon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sermon-card {
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.sermon-card__body {
  position: relative;
  display: grid;
  gap: 0.35rem;
}

.sermon-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
}

/* Sits in the gap above the title so every card's title lines up */
.sermon-flag {
  position: absolute;
  bottom: calc(100% + 0.3rem);
  left: 0;
  margin: 0;
  line-height: 1;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.sermon-series-link {
  margin: -0.25rem 0 0.9rem;
  font-weight: 600;
}

.sermon-series-link a {
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.12rem;
}

.sermon-series-link a:hover {
  border-color: var(--eyebrow);
}

.series-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
}

.series-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}

.series-nav a[aria-current="true"] {
  background: var(--cream);
  color: var(--ink);
  border-color: transparent;
}

.series + .series {
  margin-top: clamp(2.75rem, 6vw, 4.25rem);
  padding-top: clamp(2.75rem, 6vw, 4.25rem);
  border-top: 1px solid var(--line);
}

.series__head {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.series__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
}

.series__meta {
  margin: 0;
  color: var(--muted);
}

.series__head .lede {
  margin: 0.75rem 0 0;
}

#series-intro em {
  color: var(--fg);
  font-style: italic;
}

.sermon-card .sermon-meta {
  margin: 0;
  font-size: 0.95rem;
}

.empty-note {
  padding: 2rem;
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--line);
  text-align: center;
  color: var(--muted);
}

.empty-note p {
  margin: 0 0 0.75rem;
}

/* ——— Contact & forms ——— */

.contact {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:first-child {
  padding-top: 0.25rem;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.contact-list span,
.contact-list a {
  font-size: 1.1rem;
  line-height: 1.5;
}

.contact-list a {
  border-bottom: 1.5px solid var(--line);
}

.contact-list a:hover {
  border-color: var(--eyebrow);
}

.form {
  display: grid;
  gap: 1.15rem;
}

.form.card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.form__row {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  display: grid;
  gap: 0.45rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--field-line);
  background: var(--field-bg);
  color: var(--fg);
  font-size: 1.05rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form textarea {
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: color-mix(in oklab, var(--fg) 50%, transparent);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--eyebrow);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--eyebrow) 20%, transparent);
}

.form .btn {
  justify-self: start;
  margin-top: 0.4rem;
}

.form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form__note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: color-mix(in oklab, var(--fg) 72%, transparent);
}

.map {
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
  background: var(--forest-mist);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.checks {
  display: grid;
  gap: 0.85rem;
  margin: 0.5rem 0 1.75rem;
}

.checks li {
  position: relative;
  padding-left: 2.25rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--icon-bg);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 0.52rem;
  top: 0.43rem;
  width: 0.4rem;
  height: 0.68rem;
  border: solid var(--icon-fg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ——— Footer ——— */

.footer {
  padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem;
  background: var(--s-bg);
  color: var(--fg);
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.35fr 1fr 1.15fr 0.9fr;
  }
}

.footer__brand a {
  display: inline-block;
  border: 0;
}

.footer__brand .logo {
  width: 8.5rem;
  color: var(--cream);
  transition: opacity 0.3s var(--ease);
}

.footer__brand a:hover .logo {
  opacity: 0.8;
}

.footer__col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.footer__col p + p {
  margin-top: 0.85rem;
}

.footer__col p,
.footer__col li {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.footer__col a {
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer__col a:hover {
  color: var(--fg);
  border-color: var(--line);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

/* ——— Responsive ——— */

@media (max-width: 1040px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--paper);
    border-top: 1px solid rgba(20, 35, 25, 0.1);
    box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.6);
  }

  .is-nav-open .nav__menu {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav__links a {
    padding: 0.85rem 1rem;
    border-radius: var(--r-sm);
    font-size: 1.2rem;
  }

  .nav .btn--primary {
    min-height: 3.5rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 860px) {
  .info-bar {
    grid-template-columns: 1fr;
  }

  .info-bar__item + .info-bar__item {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .info-bar__item {
    padding: 1.15rem 1.35rem;
  }

  .badge {
    right: 0.75rem;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-h: 4.75rem;
  }

  .nav__inner {
    gap: 0.75rem;
  }

  .nav__brand {
    gap: 0.45rem;
  }

  .nav__toggle {
    gap: 0.45rem;
    padding-inline: 0.85rem;
  }

  .nav__mark {
    height: 3.6rem;
  }

  .nav__name {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }

  .nav__tag {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .photo-stack {
    padding: 0 0 2rem 1.5rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero__motto {
    letter-spacing: 0.16em;
  }

  .eyebrow--center::before,
  .eyebrow--center::after {
    display: none;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Smallest phones (360px Android, etc.): keep the header from overflowing sideways */
@media (max-width: 380px) {
  .nav__mark {
    height: 3.2rem;
  }

  .nav__name {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
  }

  .nav__tag {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }
}
