@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Caveat:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --sf-navy: #071a35;
  --sf-navy-soft: #123154;
  --sf-raspberry: #c4275a;
  --sf-coral: #e6516e;
  --sf-blush: #fff2f3;
  --sf-sage: #52705e;
  --sf-gold: #c4933e;
  --sf-ink: #14171c;
  --sf-muted: #626873;
  --sf-line: #e3dde0;
  --sf-paper: #fffdfc;
  --sf-white: #ffffff;
  --sf-shadow: 0 20px 50px rgba(7, 26, 53, 0.12);
  --bs-body-font-family: 'Manrope', sans-serif;
  --bs-body-color: var(--sf-ink);
  --bs-body-bg: var(--sf-paper);
  --bs-primary: var(--sf-raspberry);
  --bs-primary-rgb: 196, 39, 90;
  --bs-border-radius: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
}

* {
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--sf-navy) 0%,
    rgba(7, 26, 53, 0.98) 38%,
    rgba(7, 26, 53, 0.9) 56%,
    rgba(7, 26, 53, 0.2) 82%
  );
  content: '';
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--sf-white);
  color: var(--sf-navy);
}

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

.site-nav {
  min-height: 76px;
  background: rgba(255, 253, 252, 0.96);
  border-bottom: 1px solid rgba(7, 26, 53, 0.1);
  backdrop-filter: blur(14px);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--sf-navy);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  width: 7.6rem;
  height: 3.25rem;
  object-fit: contain;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  color: var(--sf-navy);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--sf-raspberry);
}

.brand-name .brand-qualifier {
  margin-left: 0.4rem;
}

.brand-method {
  color: var(--sf-raspberry);
}

.nav-link {
  color: var(--sf-navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--sf-raspberry);
}

.navbar-toggler {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-color: var(--sf-line);
}

.btn {
  min-height: 46px;
  border-radius: 0.25rem;
  font-weight: 700;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--sf-raspberry);
  background: var(--sf-raspberry);
  color: var(--sf-white);
}

.btn-brand:hover,
.btn-brand:focus {
  border-color: #9e1946;
  background: #9e1946;
  color: var(--sf-white);
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--sf-navy);
  color: var(--sf-navy);
}

.btn-outline-navy:hover,
.btn-outline-navy:focus {
  background: var(--sf-navy);
  color: var(--sf-white);
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--sf-raspberry);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.display-heading,
.section-heading,
.page-heading,
.card-heading {
  margin: 0;
  color: var(--sf-navy);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 0.98;
}

.display-heading {
  font-size: 5.5rem;
}

.section-heading {
  font-size: 3.65rem;
}

.page-heading {
  font-size: 4.5rem;
}

.card-heading {
  font-size: 2rem;
}

.script-accent {
  color: var(--sf-raspberry);
  font-family: 'Caveat', cursive;
  font-weight: 600;
}

.text-muted-brand {
  color: var(--sf-muted);
}

.hero {
  position: relative;
  min-height: 650px;
  height: calc(100dvh - 120px);
  max-height: 800px;
  overflow: hidden;
  background:
    linear-gradient(
      115deg,
      rgba(7, 26, 53, 1) 0%,
      rgba(7, 26, 53, 0.98) 42%,
      rgba(7, 26, 53, 0.3) 74%
    ),
    var(--sf-navy);
  color: var(--sf-white);
}

.hero::after {
  position: absolute;
  right: 2rem;
  bottom: 1rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: '';
}

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 28%;
  filter: saturate(0.9) contrast(1.03);
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 20%,
    #000 45%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  height: 100%;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.hero .eyebrow {
  color: #ff8aa8;
}

.hero .display-heading {
  max-width: 10ch;
  color: var(--sf-white);
}

.hero .display-heading span {
  color: #ff6f97;
}

.hero-tagline {
  margin: 1rem 0;
  color: #ffd4df;
  font-family: 'Caveat', cursive;
  font-size: 2.4rem;
  font-weight: 600;
}

.hero-copy {
  max-width: 35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero .btn-light {
  color: var(--sf-navy);
}

.hero-next {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--sf-white);
  transform: translateX(-50%);
}

.hero-next svg {
  width: 1rem;
}

.principles-band {
  background: var(--sf-raspberry);
  color: var(--sf-white);
}

.principle {
  min-height: 88px;
  padding: 1.55rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.principle:last-child {
  border-right: 0;
}

.principle strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.section-space {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.method-intro {
  max-width: 43rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.pillar-grid {
  margin-top: 4rem;
  border-top: 1px solid var(--sf-line);
  border-bottom: 1px solid var(--sf-line);
}

.pillar-item {
  height: 100%;
  padding: 2.25rem 1.5rem 2.5rem 0;
}

.pillar-item svg {
  width: 1.65rem;
  height: 1.65rem;
  margin-bottom: 1.25rem;
  color: var(--sf-raspberry);
  stroke-width: 1.7;
}

.pillar-item p {
  margin: 0.85rem 0 0;
  color: var(--sf-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.about-band {
  background: var(--sf-blush);
}

.about-photo {
  position: relative;
  min-height: 660px;
  overflow: hidden;
}

.about-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}

.about-copy {
  padding: 6rem 6vw;
}

.about-copy blockquote {
  max-width: 36rem;
  margin: 2rem 0;
  color: var(--sf-navy);
  font-family: 'Caveat', cursive;
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1.25;
}

.mission-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.mission-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--sf-navy);
  font-weight: 700;
}

.mission-list svg {
  width: 1.15rem;
  color: var(--sf-raspberry);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.story-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--sf-navy);
  color: var(--sf-white);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.story-card:hover img {
  transform: scale(1.025);
}

.story-card-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 4rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(7, 26, 53, 0.96));
}

.story-card-overlay h3 {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.story-card:focus-visible {
  outline-offset: 4px;
}

.social-destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.social-destinations .btn {
  min-width: 10rem;
}

.gallery-modal .modal-content {
  border: 0;
  border-radius: 0;
  background: var(--sf-navy);
  color: var(--sf-white);
}

.gallery-modal .modal-header,
.gallery-modal .modal-footer {
  border-color: rgba(255, 255, 255, 0.15);
}

.gallery-modal-image {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #050e1d;
}

.gallery-modal .btn-close {
  filter: invert(1);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--sf-navy);
  color: var(--sf-white);
}

.cta-band::before {
  position: absolute;
  inset: -40% auto auto -5%;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: '';
}

.cta-band .section-heading {
  color: var(--sf-white);
}

.page-hero {
  padding: 6rem 0 4rem;
  background:
    linear-gradient(90deg, rgba(255, 242, 243, 0.94), rgba(255, 255, 255, 0.6)),
    repeating-linear-gradient(
      135deg,
      transparent 0 16px,
      rgba(196, 39, 90, 0.04) 16px 17px
    );
  border-bottom: 1px solid var(--sf-line);
}

.page-hero p {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--sf-muted);
  line-height: 1.75;
}

.filter-control .btn {
  min-height: 40px;
  border-color: var(--sf-line);
  background: var(--sf-white);
  color: var(--sf-navy);
}

.filter-control .btn.active {
  border-color: var(--sf-navy);
  background: var(--sf-navy);
  color: var(--sf-white);
}

.recipe-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--sf-line);
  border-radius: 0.5rem;
  background: var(--sf-white);
  box-shadow: 0 12px 35px rgba(7, 26, 53, 0.06);
}

.recipe-card-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(196, 39, 90, 0.08) 0 14px,
      transparent 14px 28px
    ),
    var(--sf-blush);
}

.recipe-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card-media .placeholder-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  color: var(--sf-raspberry);
  transform: translate(-50%, -50%);
}

.recipe-card-body {
  padding: 1.5rem;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--sf-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.recipe-meta svg {
  width: 0.95rem;
}

.recipe-card p {
  color: var(--sf-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.recipe-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 0.5rem;
}

.recipe-modal .modal-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--sf-line);
  background: var(--sf-blush);
}

.recipe-modal-list {
  padding-left: 1.25rem;
}

.recipe-modal-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.auth-shell,
.admin-shell {
  min-height: calc(100dvh - 76px);
  background: var(--sf-paper);
}

.auth-panel {
  padding: 4rem;
  border: 1px solid var(--sf-line);
  background: var(--sf-white);
  box-shadow: var(--sf-shadow);
}

.social-buttons {
  display: grid;
  gap: 0.75rem;
}

.social-button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid var(--sf-line);
  border-radius: 0.25rem;
  background: var(--sf-white);
  color: var(--sf-navy);
  font-weight: 700;
  text-decoration: none;
}

.social-button:hover,
.social-button:focus {
  border-color: var(--sf-navy);
  color: var(--sf-navy);
}

.social-button[aria-disabled='true'] {
  cursor: not-allowed;
  opacity: 0.46;
}

.member-banner {
  padding: 2rem;
  background: var(--sf-navy);
  color: var(--sf-white);
}

.member-banner h2 {
  color: var(--sf-white);
}

.resource-list {
  border-top: 1px solid var(--sf-line);
}

.resource-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--sf-line);
}

.resource-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--sf-blush);
  color: var(--sf-raspberry);
}

.resource-icon svg {
  width: 1.25rem;
}

.admin-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sf-line);
}

.admin-recipe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--sf-line);
}

.admin-recipe-row p {
  margin: 0.25rem 0 0;
  color: var(--sf-muted);
  font-size: 0.82rem;
}

.admin-actions {
  display: flex;
  gap: 0.4rem;
}

.admin-actions .btn {
  width: 2.65rem;
  min-height: 2.65rem;
  padding: 0;
}

.vlx-admin-summary {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--sf-line);
}

.vlx-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.vlx-admin-metric {
  display: grid;
  min-height: 5rem;
  align-content: center;
  padding: 0.85rem;
  border: 1px solid var(--sf-line);
  background: var(--sf-white);
}

.vlx-admin-metric strong {
  color: var(--sf-raspberry);
  font-size: 1.45rem;
  line-height: 1;
}

.vlx-admin-metric span {
  color: var(--sf-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.editor-panel {
  padding: 2rem;
  border: 1px solid var(--sf-line);
  background: var(--sf-white);
}

.form-label {
  color: var(--sf-navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 46px;
  border-color: #cfc6ca;
  border-radius: 0.25rem;
}

textarea.form-control {
  min-height: 120px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sf-raspberry);
  box-shadow: 0 0 0 0.2rem rgba(196, 39, 90, 0.15);
}

.site-footer {
  padding: 4rem 0 2rem;
  background: #050e1d;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .navbar-brand,
.site-footer h2,
.site-footer a {
  color: var(--sf-white);
}

.site-footer .brand-name {
  color: var(--sf-white);
}

.site-footer a:hover {
  color: #ff8aa8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

.footer-small {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  line-height: 1.6;
}

.empty-state {
  padding: 4rem 1rem;
  border-top: 1px solid var(--sf-line);
  border-bottom: 1px solid var(--sf-line);
  color: var(--sf-muted);
  text-align: center;
}

@media (max-width: 991.98px) {
  .display-heading {
    font-size: 4.4rem;
  }

  .section-heading {
    font-size: 3.1rem;
  }

  .page-heading {
    font-size: 3.7rem;
  }

  .site-nav .navbar-collapse {
    padding: 1rem 0 1.25rem;
  }

  .hero-image {
    width: 74%;
    opacity: 0.55;
  }

  .about-photo {
    min-height: 520px;
  }

  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-card:first-child {
    grid-column: 1 / -1;
  }

  .auth-panel {
    padding: 2.5rem;
  }
}

@media (max-width: 479.98px) {
  .brand-logo {
    width: 6rem;
    height: 2.75rem;
  }

  .brand-name {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .display-heading {
    font-size: 3.7rem;
  }

  .section-heading {
    font-size: 2.75rem;
  }

  .page-heading {
    font-size: 3.2rem;
  }

  .hero {
    min-height: 690px;
    height: calc(100dvh - 120px);
    max-height: 820px;
  }

  .hero-image {
    inset: 0;
    width: 100%;
    opacity: 0.42;
    object-position: 75% 20%;
    mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 92%);
  }

  .hero::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(7, 26, 53, 0.48),
      rgba(7, 26, 53, 0.96) 70%
    );
    content: '';
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 4.5rem;
  }

  .hero-tagline {
    font-size: 2rem;
  }

  .principle {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .section-space {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .about-copy {
    padding: 4rem 1.5rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card:first-child {
    grid-column: auto;
  }

  .story-card {
    min-height: 430px;
  }

  .page-hero {
    padding: 4rem 0 3rem;
  }

  .auth-panel {
    padding: 1.5rem;
    box-shadow: none;
  }

  .resource-item {
    grid-template-columns: 3rem 1fr;
  }

  .resource-item > :last-child {
    grid-column: 2;
    justify-self: start;
  }

  .admin-recipe-row {
    grid-template-columns: 1fr auto;
  }

  .admin-recipe-row > :nth-child(2) {
    display: none;
  }

  .vlx-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
