/* ============================================================
   Bridge to Bold — Inner page layouts (Handoff v2)
   ============================================================ */

body.site-v2.site-v2--inner .v2-header:not(.is-over-hero) .v2-header__inner,
body.site-v2.site-v2--inner .v2-header .v2-header__inner {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

body.site-v2.site-v2--inner .v2-header .v2-brand__title,
body.site-v2.site-v2--inner .v2-header .v2-nav__link {
  color: var(--ink-muted);
}

body.site-v2.site-v2--inner .v2-header .v2-brand__sub {
  color: var(--ink-faint);
}

body.site-v2.site-v2--inner .v2-nav-toggle span {
  background: var(--ink);
}

.v2-nav__link.is-active {
  color: var(--ink) !important;
  background: rgba(13, 27, 42, 0.06);
  font-weight: 600;
}

/* Page hero */
.v2-page-hero {
  position: relative;
  min-height: clamp(320px, 52vh, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.v2-page-hero__media,
.v2-page-hero__overlay {
  position: absolute;
  inset: 0;
}

.v2-page-hero__media {
  z-index: 0;
}

.v2-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.v2-page-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 18, 28, 0.35) 0%, rgba(8, 18, 28, 0.82) 100%),
    linear-gradient(105deg, rgba(8, 18, 28, 0.55) 0%, transparent 55%);
}

.v2-page-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--wrap));
  margin: 0 auto;
  padding: 7.5rem 0 3rem;
}

.v2-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.v2-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.5;
}

.v2-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.v2-breadcrumb a:hover {
  color: var(--gold);
}

.v2-page-hero__title {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.v2-page-hero__lead {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.v2-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Content blocks */
.v2-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.v2-content-grid--feature {
  align-items: center;
}

.v2-content-grid--reverse .v2-content-grid__media {
  order: 2;
}

.v2-content-grid__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.v2-content-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-content-block h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
}

.v2-content-block p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.v2-content-block p:last-child {
  margin-bottom: 0;
}

.v2-prog-sections {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 4.5rem);
}

.v2-prog-section {
  scroll-margin-top: 6rem;
}

.v2-prog-section__head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.v2-prog-section__head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--ink);
}

.v2-prog-section__head p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Cards grid */
.v2-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.v2-info-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.v2-section--sand .v2-info-card {
  background: var(--white);
}

.v2-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.v2-info-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--coral);
  font-size: 1.1rem;
}

.v2-info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.v2-info-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.v2-info-card .v2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
}

/* Program hub cards */
.v2-prog-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.v2-prog-hub-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.v2-prog-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.v2-prog-hub-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.v2-prog-hub-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.v2-prog-hub-card:hover .v2-prog-hub-card__img img {
  transform: scale(1.04);
}

.v2-prog-hub-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.v2-prog-hub-card__tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean);
}

.v2-prog-hub-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
}

.v2-prog-hub-card p {
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Timeline */
.v2-timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(13, 27, 42, 0.1);
  margin-left: 0.5rem;
}

.v2-timeline__item {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
}

.v2-timeline__item:last-child {
  padding-bottom: 0;
}

.v2-timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(184, 146, 58, 0.2);
}

.v2-timeline__item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.v2-timeline__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Portal steps */
.v2-portal-steps {
  display: grid;
  gap: 1rem;
}

.v2-portal-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.v2-portal-step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 700;
}

.v2-portal-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.v2-portal-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Status pills */
.v2-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-status-list li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* CTA band */
.v2-cta-band {
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.v2-cta-band h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
}

.v2-cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.v2-cta-band .v2-btn-row {
  justify-content: center;
}

/* Event detail */
.v2-event-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.v2-event-detail__sidebar {
  position: sticky;
  top: 6rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.v2-event-detail__meta {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.v2-event-detail__meta div span:first-child {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.v2-event-detail__meta div span:last-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.v2-event-detail__body h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.v2-event-detail__body h2:first-child {
  margin-top: 0;
}

.v2-event-detail__body p {
  color: var(--ink-muted);
  line-height: 1.65;
}

.v2-prog-detail__content {
  max-width: 52rem;
}

.v2-prog-detail__content > *:first-child {
  margin-top: 0;
}

.v2-prog-detail__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  margin: 2.25rem 0 0.75rem;
  color: var(--ink);
}

.v2-prog-detail__content h2:first-child {
  margin-top: 0;
}

.v2-prog-detail__content h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.v2-prog-detail__content p,
.v2-prog-detail__content li {
  color: var(--ink-muted);
  line-height: 1.65;
}

.v2-prog-detail__content ul,
.v2-prog-detail__content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.v2-event-detail__meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* News detail (single post) */
.v2-news-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.v2-news-detail__sidebar {
  position: sticky;
  top: 6rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.v2-news-detail__meta {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.v2-news-detail__meta div span:first-child {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.v2-news-detail__meta div span:last-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.v2-news-detail__body > *:first-child {
  margin-top: 0;
}

.v2-news-detail__body h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.v2-news-detail__body h2:first-child {
  margin-top: 0;
}

.v2-news-detail__body h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.v2-news-detail__body p,
.v2-news-detail__body li {
  color: var(--ink-muted);
  line-height: 1.65;
}

.v2-news-detail__body ul,
.v2-news-detail__body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.v2-news-detail__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.v2-news-detail__body figure {
  margin: 1.5rem 0;
}

.v2-news-detail__body figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.v2-news-detail__body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--teal, #1a8a9a);
  background: var(--sand, #f7f3eb);
  color: var(--ink);
}

/* Contact page panel */
.v2-contact-page-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 3rem;
}

.v2-contact-page-panel__form,
.v2-contact-page-card {
  padding: 2rem 1.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.v2-contact-page-panel__form .v2-heading {
  margin-bottom: 0.65rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.v2-contact-page-panel__form > p,
.v2-contact-page-card > p {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.v2-contact-page-panel__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.v2-contact-page-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
}

.v2-contact-page-card--links {
  background: linear-gradient(160deg, rgba(0, 108, 132, 0.04), var(--white));
}

.v2-contact-page-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.v2-contact-page-links .v2-btn {
  width: 100%;
  justify-content: center;
}

.v2-contact-form--stack {
  gap: 0.85rem;
}

.v2-contact-form--stack .v2-btn {
  width: 100%;
  align-self: stretch;
}

.v2-contact-page-card .v2-contact-form input {
  border-radius: var(--radius);
}

.v2-btn--block {
  width: 100%;
  justify-content: center;
}

/* Contact form on contact page */
.v2-page-form {
  display: grid;
  gap: 1rem;
}

.v2-page-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.v2-page-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.v2-page-form input,
.v2-page-form textarea,
.v2-page-form select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--sand);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.v2-page-form input::placeholder,
.v2-page-form textarea::placeholder {
  color: var(--ink-faint);
}

.v2-page-form input:focus,
.v2-page-form textarea:focus,
.v2-page-form select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(184, 146, 58, 0.15);
  background: var(--white);
}

.v2-page-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234a5f73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.v2-page-form textarea {
  min-height: 148px;
  resize: vertical;
}

.v2-page-form .v2-btn {
  margin-top: 0.35rem;
}

/* Get Involved page */
.v2-involve-page-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 2.75rem;
  padding: 0;
  list-style: none;
  max-width: 52rem;
}

.v2-involve-page-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  box-shadow: var(--shadow-sm);
}

.v2-involve-page-points i {
  color: var(--coral);
  font-size: 0.95rem;
}

.v2-involve-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.v2-involve-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.v2-involve-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.v2-involve-card--featured {
  background: var(--coral);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(184, 146, 58, 0.24);
}

.v2-involve-card--featured:hover {
  box-shadow: 0 20px 48px rgba(184, 146, 58, 0.32);
}

.v2-involve-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.v2-involve-card__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--coral);
}

.v2-involve-card--featured .v2-involve-card__num {
  color: rgba(255, 255, 255, 0.75);
}

.v2-involve-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-soft);
  border: 1px solid rgba(184, 146, 58, 0.2);
  color: var(--coral);
  font-size: 1.15rem;
}

.v2-involve-card--featured .v2-involve-card__icon {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.v2-involve-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.v2-involve-card--featured h3 {
  color: var(--white);
}

.v2-involve-card > p {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.v2-involve-card--featured > p {
  color: rgba(255, 255, 255, 0.9);
}

.v2-involve-card__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}

.v2-involve-card__list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.v2-involve-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.v2-involve-card--featured .v2-involve-card__list li {
  color: rgba(255, 255, 255, 0.82);
}

.v2-involve-card--featured .v2-involve-card__list li::before {
  background: var(--white);
}

.v2-involve-card .v2-btn {
  margin-top: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .v2-content-grid,
  .v2-prog-hub,
  .v2-event-detail,
  .v2-news-detail,
  .v2-contact-page-panel,
  .v2-involve-page-grid {
    grid-template-columns: 1fr;
  }

  .v2-page-form__row {
    grid-template-columns: 1fr;
  }

  .v2-content-grid--reverse .v2-content-grid__media {
    order: 0;
  }

  .v2-card-grid {
    grid-template-columns: 1fr;
  }

  .v2-event-detail__sidebar,
  .v2-news-detail__sidebar {
    position: static;
  }

  .v2-page-hero__content {
    padding-top: 6.5rem;
  }
}

@media (max-width: 640px) {
  .v2-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- 404 page ---- */
.error404 .site-content,
.error404 #primary.content-area,
.error404 .content-area,
.error404 .site-main {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.error404 .sidebar,
.error404 .content-bottom-widgets,
.error404 .widget-area {
  display: none;
}

.v2-404__hero {
  position: relative;
  min-height: clamp(420px, 62vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background: var(--navy-deep, #08121c);
}

.v2-404__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 20%, rgba(184, 146, 58, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 75%, rgba(0, 108, 132, 0.28) 0%, transparent 50%),
    linear-gradient(165deg, #0d1b2a 0%, #08121c 48%, #122536 100%);
}

.v2-404__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.v2-404__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--wrap));
  margin: 0 auto;
  padding: 7.5rem 0 4rem;
  text-align: center;
}

.v2-breadcrumb--on-dark {
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
}

.v2-breadcrumb--on-dark a {
  color: rgba(255, 255, 255, 0.7);
}

.v2-breadcrumb--on-dark a:hover,
.v2-breadcrumb--on-dark a:focus {
  color: var(--gold, #b8923a);
}

.v2-404__code {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(5.5rem, 18vw, 9.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(180deg, rgba(184, 146, 58, 0.95) 0%, rgba(184, 146, 58, 0.28) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.v2-404__title {
  margin: 0.35rem auto 1rem;
  max-width: 18ch;
  font-family: var(--font-serif, "Fraunces", Georgia, serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.v2-404__lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.v2-404__actions {
  justify-content: center;
}

.v2-404__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.v2-404__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg, 20px);
  border: 1px solid var(--line, rgba(13, 27, 42, 0.08));
  background: var(--sand, #f2efea);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease, ease), border-color 0.2s, box-shadow 0.2s;
}

.v2-404__link:hover,
.v2-404__link:focus {
  transform: translateY(-2px);
  border-color: rgba(184, 146, 58, 0.45);
  box-shadow: var(--shadow-sm, 0 4px 24px rgba(13, 27, 42, 0.06));
  color: inherit;
}

.v2-404__link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(184, 146, 58, 0.14);
  color: var(--gold, #b8923a);
  font-size: 1.15rem;
}

.v2-404__link-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  min-width: 0;
}

.v2-404__link-copy strong {
  font-family: var(--font-sans, "Sora", sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink, #0d1b2a);
}

.v2-404__link-copy span {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-muted, #4a5f73);
}

.v2-404__link-arrow {
  color: var(--gold, #b8923a);
  font-size: 1rem;
  transition: transform 0.2s;
}

.v2-404__link:hover .v2-404__link-arrow,
.v2-404__link:focus .v2-404__link-arrow {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .v2-404__inner {
    padding-top: 6.5rem;
  }

  .v2-404__links {
    grid-template-columns: 1fr;
  }
}
