:root {
  --deepblue: #003366;
  --emeraldgreen: #50c878;
  --dejourney-mist: #ebf2f2;
  --dejourney-teal: #095b73;
  --dejourney-cyan: #65b7c7;
  --dejourney-orange: #e95d24;
  --slatecool: #0f172a;
  --softbg: #f8fafc;
  --ink: #24364b;
  --muted: #64748b;
  --line: #dce7ea;
  --paper: #ffffff;

  /* Focus indicator: 9.9:1 on white, 9.4:1 on the page background. */
  --focus-ring: #0b4a5c;
}

/*
 * Baseline focus indicator. Components may restyle it, but none may remove it:
 * this stylesheet previously had a single :focus-visible rule in 1000 lines.
 */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/*
 * Available to screen readers, absent from the visual layout. Used where an
 * icon carries the meaning visually but a control still needs a real name.
 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Bypass block (WCAG 2.4.1): off-canvas until it takes keyboard focus. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-200%);
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--deepblue);
  color: #ffffff;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { transform: none; }

/* Breadcrumb: the page already declared one in JSON-LD but never showed it. */
.wall-breadcrumb {
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 0;
}

.wall-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .78rem;
}

.wall-breadcrumb li + li::before {
  margin-right: 8px;
  content: "/";
  color: var(--dejourney-cyan);
}

.wall-breadcrumb a {
  color: var(--dejourney-teal);
  font-weight: 700;
  text-decoration: none;
}

.wall-breadcrumb a:hover { text-decoration: underline; }
.wall-breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 700; }

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--softbg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.wall-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 30%, rgb(101 183 199 / 0.22), transparent 24rem),
    radial-gradient(circle at 90% 20%, rgb(80 200 120 / 0.12), transparent 22rem),
    linear-gradient(135deg, var(--deepblue), var(--slatecool) 72%);
  color: #ffffff;
}

.wall-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(rgb(255 255 255 / 0.65) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  pointer-events: none;
}

.wall-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.wall-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: #a9ddd2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wall-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--emeraldgreen);
}

.wall-hero h1 {
  max-width: 50rem;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.wall-hero h1 em {
  color: #8fe0a9;
  font-style: normal;
}

.wall-hero__lead {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 300;
  line-height: 1.8;
}

.wall-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
  padding: 0.95rem 1.35rem;
  border: 0;
  border-radius: 0.9rem;
  background: var(--dejourney-orange);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.24);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.wall-submit-button:hover {
  transform: translateY(-3px);
  background: #d84f19;
  box-shadow: 0 18px 36px rgb(0 0 0 / 0.3);
}

.wall-expert-card {
  position: relative;
  display: grid;
  min-height: 17rem;
  padding: 2rem;
  align-content: center;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 2rem;
  background: rgb(255 255 255 / 0.08);
  box-shadow: 0 24px 50px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(16px);
}

.wall-expert-card__icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.5rem;
  place-items: center;
  border: 1px solid rgb(80 200 120 / 0.38);
  border-radius: 1.25rem 1.25rem 1.25rem 0.35rem;
  background: rgb(80 200 120 / 0.13);
  box-shadow: 0.55rem 0.55rem 0 rgb(101 183 199 / 0.15);
  color: #8fe0a9;
  font-size: 1.7rem;
}

.wall-expert-card__caption {
  padding: 0;
}

.wall-expert-card__caption strong {
  display: block;
  font-size: 1rem;
}

.wall-expert-card__caption span {
  display: block;
  margin-top: 0.35rem;
  color: #a9ddd2;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
}

.wall-main {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.wall-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.wall-intro h2 {
  margin: 0;
  color: var(--deepblue);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.wall-intro p {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.wall-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgb(80 200 120 / 0.32);
  border-radius: 999px;
  background: rgb(80 200 120 / 0.1);
  color: #207a42;
  font-size: 0.7rem;
  font-weight: 800;
}

.wall-controls {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(0 51 102 / 0.06);
}

.wall-search {
  position: relative;
}

.wall-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: #78909c;
  transform: translateY(-50%);
}

.wall-search input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem 0 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #f8fafc;
  color: var(--ink);
}

.wall-search input:focus {
  border-color: var(--dejourney-cyan);
  box-shadow: 0 0 0 3px rgb(101 183 199 / 0.18);
}

.wall-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.wall-filter {
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--dejourney-teal);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.wall-filter:hover,
.wall-filter.is-active {
  border-color: rgb(101 183 199 / 0.55);
  background: rgb(101 183 199 / 0.16);
  color: var(--deepblue);
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.confession-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(101 183 199 / 0.42);
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 16px 38px rgb(0 51 102 / 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.confession-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgb(0 51 102 / 0.12);
}

.confession-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--dejourney-cyan);
}

.confession-card__body {
  padding: 1.6rem;
}

.confession-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.confession-card__category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgb(80 200 120 / 0.38);
  border-radius: 999px;
  background: rgb(80 200 120 / 0.11);
  color: #207a42;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

.confession-card__date {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
}

.confession-card h3 {
  margin: 0;
  color: var(--deepblue);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.confession-card__role {
  margin: 0.55rem 0 1rem;
  color: var(--dejourney-teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.confession-card__story {
  margin: 0;
  color: #526579;
  font-size: 0.88rem;
  line-height: 1.75;
  white-space: pre-line;
}

.confession-card__takeaway {
  margin-top: auto;
  padding: 1.25rem 1.6rem 1.4rem;
  border-top: 1px solid rgb(101 183 199 / 0.28);
  background: linear-gradient(135deg, #eff8fa, #f6fbf8);
}

.confession-card__takeaway-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  color: var(--deepblue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confession-card__takeaway-label i {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgb(80 200 120 / 0.34);
  border-radius: 0.65rem;
  background: rgb(80 200 120 / 0.12);
  color: #23874a;
}

.confession-card__takeaway p {
  margin: 0;
  color: #385266;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.65;
}

.wall-state {
  grid-column: 1 / -1;
  padding: 4rem 1.5rem;
  border: 1px dashed #bfd1d6;
  border-radius: 1.5rem;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
}

.wall-state i {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--dejourney-cyan);
  font-size: 2rem;
}

.wall-assessment-cta {
  padding: 0 1rem 4rem;
  background: var(--softbg);
}

.wall-assessment-cta__inner {
  position: relative;
  display: grid;
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  overflow: hidden;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
  border: 1px solid rgb(101 183 199 / 0.36);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 88% 10%, rgb(80 200 120 / 0.14), transparent 17rem),
    linear-gradient(125deg, var(--deepblue), var(--slatecool));
  box-shadow: 0 22px 52px rgb(0 51 102 / 0.16);
  color: #ffffff;
}

.wall-assessment-cta__inner::after {
  content: "ASSESS";
  position: absolute;
  right: -0.6rem;
  bottom: -0.8rem;
  color: rgb(255 255 255 / 0.045);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.wall-assessment-cta__mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border: 1px solid rgb(101 183 199 / 0.4);
  border-radius: 1.25rem;
  background: rgb(101 183 199 / 0.13);
  color: #8fd9e7;
  font-size: 1.5rem;
}

.wall-assessment-cta__inner > div:nth-child(2) {
  position: relative;
  z-index: 1;
}

.wall-assessment-cta p {
  margin: 0 0 0.4rem;
  color: #8fe0a9;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wall-assessment-cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.wall-assessment-cta__inner > div:nth-child(2) > span {
  display: block;
  max-width: 42rem;
  margin-top: 0.55rem;
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.65;
}

.wall-assessment-cta__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 12rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: var(--dejourney-orange);
  box-shadow: 0 12px 26px rgb(0 0 0 / 0.22);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.wall-assessment-cta__button:hover {
  transform: translateY(-3px);
  background: #d84f19;
  box-shadow: 0 17px 32px rgb(0 0 0 / 0.28);
}

.wall-assessment-cta__button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.wall-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  padding: 1rem;
  place-items: center;
  background: rgb(15 23 42 / 0.78);
  backdrop-filter: blur(8px);
}

.wall-modal[hidden] {
  display: none;
}

.wall-modal__card {
  width: min(100%, 40rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid rgb(101 183 199 / 0.38);
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 28px 80px rgb(0 0 0 / 0.32);
}

.wall-modal__header {
  display: flex;
  padding: 1.4rem 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.wall-modal__header h2 {
  margin: 0;
  color: var(--deepblue);
  font-size: 1.45rem;
}

.wall-modal__header p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.wall-modal__close {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--deepblue);
  cursor: pointer;
}

.wall-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.wall-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wall-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--deepblue);
  font-size: 0.7rem;
  font-weight: 800;
}

.wall-field input,
.wall-field select,
.wall-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cbdce1;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: var(--ink);
}

.wall-field textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.6;
}

.wall-field input:focus,
.wall-field select:focus,
.wall-field textarea:focus {
  border-color: var(--dejourney-cyan);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgb(101 183 199 / 0.18);
}

.wall-form__privacy {
  display: flex;
  gap: 0.65rem;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid rgb(80 200 120 / 0.28);
  border-radius: 0.75rem;
  background: rgb(80 200 120 / 0.08);
  color: #35624b;
  font-size: 0.72rem;
  line-height: 1.55;
}

.wall-form__privacy i {
  margin-top: 0.12rem;
  color: #23874a;
}

.wall-form__status {
  min-height: 1.2rem;
  margin: 0;
  color: #b42318;
  font-size: 0.75rem;
  font-weight: 700;
}

.wall-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.wall-secondary-button,
.wall-primary-button {
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.wall-secondary-button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--deepblue);
}

.wall-primary-button {
  border: 0;
  background: var(--deepblue);
  color: #ffffff;
}

.wall-primary-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.wall-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: min(28rem, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: var(--deepblue);
  box-shadow: 0 18px 42px rgb(15 23 42 / 0.3);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.wall-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .wall-hero__inner {
    grid-template-columns: minmax(0, 1fr) 14rem;
    gap: 2rem;
  }

  .wall-controls {
    grid-template-columns: 1fr;
  }

  .wall-filters {
    justify-content: flex-start;
  }

  .wall-assessment-cta__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wall-assessment-cta__button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .wall-hero__inner {
    grid-template-columns: 1fr;
    padding: 3.5rem 0;
  }

  .wall-expert-card {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .wall-expert-card__icon {
    margin: 0;
  }

  .wall-expert-card__caption {
    padding: 0 0 0 1rem;
  }

  .wall-assessment-cta__inner {
    grid-template-columns: 1fr;
  }

  .wall-assessment-cta__mark {
    width: 3.8rem;
    height: 3.8rem;
  }

  .wall-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

  .wall-form__actions {
    flex-direction: column-reverse;
  }

  .wall-secondary-button,
  .wall-primary-button {
    width: 100%;
  }
}

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

  .confession-card,
  .wall-submit-button,
  .wall-toast {
    transition: none;
  }
}
