@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/shared/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/shared/fonts/plus-jakarta-sans-latin-400.woff")
    format("woff");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/shared/fonts/plus-jakarta-sans-latin-500.woff")
    format("woff");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/shared/fonts/plus-jakarta-sans-latin-600.woff")
    format("woff");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/shared/fonts/plus-jakarta-sans-latin-700.woff")
    format("woff");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/shared/fonts/plus-jakarta-sans-latin-800.woff")
    format("woff");
}

:root {
  color-scheme: light;
  --fv-shell-bg: #eaf2f7;
  --fv-shell-text: #1f2937;
  --fv-shell-muted: rgba(31, 41, 55, 0.72);
  --fv-shell-strong: #102a43;
  --fv-shell-accent: #0f766e;
  --fv-shell-accent-strong: #155e75;
  --fv-shell-border: rgba(214, 227, 236, 0.8);
  --fv-shell-shadow-soft: 0 18px 40px -24px rgba(3, 18, 45, 0.45);
  --fv-shell-motion-fast: 140ms;
}

html,
body {
  min-height: 100vh;
}

body {
  margin: 0;
  color: var(--fv-shell-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-feature-settings:
    "ss01" 1,
    "cv05" 1;
  background-color: var(--fv-shell-bg);
  background-image: radial-gradient(
    circle at 10% 15%,
    rgba(14, 165, 233, 0.14),
    transparent 40%
  );
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 85% 18%,
      rgba(15, 118, 110, 0.08),
      transparent 32%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 28%);
}

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

*:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.48);
  outline-offset: 2px;
}

a {
  color: inherit;
}

.fv-public-shell {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.fv-public-main {
  position: relative;
  z-index: 1;
}

.fv-public-content > h1,
.fv-public-content > h2,
.fv-public-content > h3,
.fv-public-content .copy h1,
.fv-public-content .copy h2,
.fv-public-content .copy h3 {
  margin-bottom: 0.75rem;
  color: var(--fv-shell-strong);
  line-height: 1.1;
}

.fv-public-content p:last-child {
  margin-bottom: 0;
}

.fv-public-content .fv-public-markdown-media {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin-inline: auto;
}

.site-shell {
  margin-bottom: 1.5rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(214, 227, 236, 0.7);
  border-radius: 0.4rem;
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--fv-shell-shadow-soft);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 7rem;
  height: auto;
  aspect-ratio: 224 / 125;
  border: none;
  filter: drop-shadow(0 6px 16px rgba(16, 42, 67, 0.2));
}

.fv-brand-kicker {
  margin: 0;
  font-size: min(1.6vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(15, 118, 110, 0.72);
}

.fv-brand-title {
  margin: 0.15rem 0 0;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fv-shell-strong);
}

.site-nav-links,
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.site-nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.nav-link,
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  border-radius: 0.3rem;
  color: rgba(31, 41, 55, 0.7);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color var(--fv-shell-motion-fast),
    color var(--fv-shell-motion-fast);
}

.nav-link:hover,
.footer-link:hover,
.nav-link-active {
  background-color: #eaf2f7;
  color: var(--fv-shell-strong);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #155e75 0%, #0f766e 100%);
  color: #f8fbff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 28px -20px rgba(16, 42, 67, 0.45);
}

fv-login-state {
  display: inline-flex;
  position: relative;
}

fv-cookie-consent {
  display: block;
}

body.fv-cookie-consent-open {
  overflow: hidden;
}

.fv-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(4px);
}

.fv-modal-panel {
  display: flex;
  flex-direction: column;
  width: min(60rem, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  overflow: auto;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 90px -48px rgba(15, 23, 42, 0.55);
}

.fv-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.fv-modal-copy {
  min-width: 0;
}

.fv-modal-eyebrow {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(3, 105, 161, 0.75);
}

.fv-modal-title {
  margin: 0.6rem 0 0;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.fv-modal-description {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
}

.fv-modal-body {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.fv-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color var(--fv-shell-motion-fast),
    color var(--fv-shell-motion-fast);
}

.fv-modal-close:hover {
  border-color: rgba(148, 163, 184, 0.95);
  color: #1e293b;
}

.fv-modal-note {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 0.4rem;
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.6;
}

.cookie-consent__title {
  margin-top: 0.55rem;
}

.cookie-consent__copy {
  margin-top: 0.7rem;
}

.cookie-consent__copy a {
  color: var(--fv-shell-accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.cookie-consent__actions {
  margin-top: 1.1rem;
}

.cookie-consent__button {
  min-height: 2.65rem;
  min-width: 9rem;
  padding: 0.55rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(214, 227, 236, 0.95);
  background: #fff;
  color: var(--fv-shell-strong);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #155e75 0%, #0f766e 100%);
  color: #f8fbff;
}

.member-login-state__link {
  gap: 0.65rem;
}

.member-login-state {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.member-login-state__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.85rem;
  min-height: 2.85rem;
  padding: 0.25rem;
  border: 1px solid rgba(21, 94, 117, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--fv-shell-strong);
  cursor: pointer;
  box-shadow: var(--fv-shell-shadow-soft);
  transition:
    transform var(--fv-shell-motion-fast),
    border-color var(--fv-shell-motion-fast),
    background-color var(--fv-shell-motion-fast);
  text-decoration: none;
}

.member-login-state__button:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 94, 117, 0.28);
  background: #ffffff;
}

.member-login-state__button-static {
  cursor: default;
}

.member-login-state__button-static:hover {
  transform: none;
  border-color: rgba(21, 94, 117, 0.16);
  background: rgba(255, 255, 255, 0.86);
}

.member-login-state__button-link {
  cursor: pointer;
}

.member-login-state__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #155e75 0%, #0f766e 100%);
  color: #f8fbff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.member-login-state__logout {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fv-shell-strong);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  cursor: pointer;
}

.member-login-state__label {
  white-space: nowrap;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 1.5rem;
  overflow: hidden;
  padding: 2rem 1.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(12, 18, 32, 0.82) 0%,
      rgba(12, 18, 32, 0.5) 38%,
      rgba(12, 18, 32, 0.22) 100%
    ),
    radial-gradient(
      circle at 75% 30%,
      rgba(255, 255, 255, 0.18),
      transparent 22%
    ),
    var(--hero-image) center/cover no-repeat,
    linear-gradient(135deg, #102a43 0%, #155e75 50%, #0f766e 100%);
  box-shadow: var(--fv-shell-shadow-soft);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(8px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 0 0 0.75rem;
}

.hero-kicker {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-title {
  margin: 0.75rem 0 0;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-text {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 1.5rem;
}

.hero-cta {
  background: rgba(255, 248, 238, 0.92);
  color: var(--fv-shell-strong);
}

.summary-grid {
  display: grid;
  gap: 0.85rem;
  margin: -1.25rem 0 0;
  padding: 0 2.25rem;
}

.summary-card {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(214, 227, 236, 0.9);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
}

.summary-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fv-shell-strong);
}

.summary-card-body {
  margin: 0.45rem 0 0;
  color: var(--fv-shell-muted);
  line-height: 1.5;
}

.content-card {
  padding: 0;
  border: 1px solid var(--fv-shell-border);
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--fv-shell-shadow-soft);
  backdrop-filter: blur(14px);
}

.copy {
  padding: 2.5rem 2.25rem;
  color: var(--fv-shell-muted);
  line-height: 1.7;
}

.homepage-sections {
  display: grid;
  gap: 1.5rem;
  padding: 2.25rem;
}

.announcement-feed {
  display: grid;
  gap: 1.25rem;
}

.announcement-feed__header {
  display: grid;
  gap: 0.35rem;
}

.announcement-feed__kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(15, 118, 110, 0.72);
}

.announcement-feed__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fv-shell-strong);
}

.announcement-feed__list {
  display: grid;
  gap: 1rem;
}

.announcement-item {
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(214, 227, 236, 0.95);
  border-radius: 0.4rem;
  background: rgba(248, 251, 255, 0.82);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.06);
}

.announcement-item__header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.announcement-item__date {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(21, 94, 117, 0.8);
}

.announcement-item__title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--fv-shell-strong);
}

.announcement-item__body {
  color: var(--fv-shell-muted);
}

.announcement-item__body > :first-child {
  margin-top: 0;
}

.announcement-item__body > :last-child {
  margin-bottom: 0;
}

.announcement-feed__empty {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px dashed rgba(21, 94, 117, 0.24);
  border-radius: 0.4rem;
  background: rgba(248, 251, 255, 0.82);
}

.duty-feed {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(214, 227, 236, 0.95);
  border-radius: 0.4rem;
  background: rgba(248, 251, 255, 0.82);
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.06);
}

.duty-feed__header {
  display: grid;
  gap: 0.35rem;
}

.duty-feed__kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(15, 118, 110, 0.72);
}

.duty-feed__title {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fv-shell-strong);
}

.duty-feed__list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.duty-item {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 0.36rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 227, 236, 0.85);
}

.duty-item__date,
.duty-item__summary,
.duty-item__time {
  margin: 0;
}

.duty-item__date {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(21, 94, 117, 0.8);
}

.duty-item__summary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fv-shell-strong);
}

.duty-item__time {
  color: var(--fv-shell-muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(214, 227, 236, 0.8);
  border-radius: 0.4rem;
  background-color: rgba(255, 255, 255, 0.72);
  color: var(--fv-shell-muted);
  box-shadow: var(--fv-shell-shadow-soft);
}

.site-footer-note {
  margin: 0;
  max-width: 42rem;
}

@media (min-width: 720px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hero-panel {
    grid-template-columns: minmax(0, 1.5fr) 280px;
    padding: 2.5rem 2.25rem;
  }

  .homepage-sections {
    grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.9fr);
    align-items: start;
  }

  .summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .fv-public-shell {
    width: min(72rem, calc(100% - 4rem));
  }
}

@media (max-width: 700px) {
  .fv-modal-panel {
    width: calc(100vw - 1.5rem);
    padding: 1.2rem;
  }

  .site-nav {
    padding: 0.85rem;
  }

  .site-nav-links {
    width: 100%;
    order: 3;
  }

  .site-nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .content-card {
    padding: 1.5rem;
  }

  .homepage-sections {
    padding: 1.5rem;
  }
}
