@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap");
/* ==================================================================
   BNET CIRCLE — Landing page styles
   Design tokens live in :root. Sections are ordered to match index.html.

   Palette reference (named colors the client asked for):
     Chalk         #F6F4F1  — base background, breathing room
     Amaranth      #D6335A  — primary accent: CTAs, headline emphasis
     Pomelo Olive  #BFBD70  — secondary accent: warm, grounding
     Brook Sage    #C7C7A3  — soft accent: muted, warm, grounding
   Deeper variants of Amaranth / Pomelo / Brook exist for text-safe
   contrast on light backgrounds.
   ================================================================== */

:root {
  /* ---- Color tokens ---- */
  --chalk:         #F6F4F1;
  --white:         #FFFFFF;
  --pomelo-light:  #EFEBCF;  /* light tint, used for soft surfaces */

  --amaranth:      #D6335A;  /* primary accent — CTAs */
  --amaranth-deep: #9C1F3D;  /* headlines, hover states */

  --pomelo:        #BFBD70;  /* secondary accent — card fills */
  --pomelo-deep:   #6F6E3E;  /* text/icons on light surfaces */

  --brook:         #C7C7A3;  /* soft accent — muted warm sage */
  --brook-deep:    #5C6B47;  /* text/icons on light surfaces */

  --ink:           #2E2A22;  /* body text */
  --ink-soft:      #6B6459;  /* muted text */
  --line:          rgba(46, 42, 34, 0.1);

  /* ---- Type ---- */
  --font-display: 'Fraunces', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* ---- Shape & shadow ---- */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(46, 42, 34, 0.08);
  --shadow-lift: 0 18px 45px rgba(46, 42, 34, 0.14);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------- */
/* Reset & base                                                      */
/* ---------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Several components below (.nav__actions, .login-form, .journey-gate,
   etc.) set an explicit `display` so JS can toggle sections via the
   `hidden` attribute/property. Without this rule, an element's own
   `display: flex/grid` in this stylesheet silently wins over `hidden`
   because both are author rules — the browser's built-in
   `[hidden]{display:none}` only lives in the (lower-priority)
   user-agent stylesheet. This makes `hidden` reliably win everywhere. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--chalk);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ---------------------------------------------------------------- */
/* Wallpaper texture — faded zellij pattern, felt rather than seen   */
/* Sits behind every section as a fixed, tiled paper texture.        */
/* Opaque card/section surfaces (white, chalk, amaranth-deep, etc.)  */
/* naturally sit on top, so legibility is untouched.                 */
/* ---------------------------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('assets/zellij-tile.png');
  background-repeat: repeat;
  background-position: top left;
  background-size: 300px auto; /* fixed natural tile size — never stretched */
  opacity: 0.16;
  filter: contrast(1.12) saturate(1.05);
  image-rendering: crisp-edges;
  z-index: 0;
  pointer-events: none;
}

.nav, main, .footer {
  position: relative;
  z-index: 1;
}

img, svg { display: block; max-width: 100%; }

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------------------------------------------- */
/* Shared utility classes                                            */
/* ---------------------------------------------------------------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pomelo-deep);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--amaranth-deep);
  max-width: 20ch;
}

.section-sub {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 1rem;
  max-width: 42ch;
}

/* Scroll-reveal: elements fade/rise into place when in view (see script.js) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------- */
/* Buttons                                                           */
/* ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 15px 30px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn--primary {
  background: var(--amaranth);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); background: var(--amaranth-deep); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--amaranth-deep);
  border: 1.5px solid var(--amaranth-deep);
}
.btn--ghost:hover { background: var(--amaranth-deep); color: var(--white); }

.btn--small { padding: 10px 20px; font-size: 0.85rem; white-space: nowrap; }
.btn--wide { width: 100%; margin-top: 8px; }

/* ---------------------------------------------------------------- */
/* Nav                                                                */
/* ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 241, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--amaranth-deep);
  white-space: nowrap;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav__links a { transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--amaranth-deep); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__login {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav__login:hover { color: var(--amaranth-deep); }

.nav__ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--brook-deep);
  position: relative;
  flex-shrink: 0;
}
.nav__ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px dotted var(--pomelo);
}

/* ---------------------------------------------------------------- */
/* Hero                                                               */
/* ---------------------------------------------------------------- */
.hero {
  padding: 72px 24px 88px;
}

.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: var(--amaranth-deep);
  margin-top: 4px;
}
.hero__title em {
  font-style: italic;
  color: var(--brook-deep);
}

.hero__subtitle {
  margin-top: 18px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero__actions { margin-top: 30px; }
.hero__note { margin-top: 12px; font-size: 0.85rem; color: var(--ink-soft); }

.hero__art { display: flex; justify-content: center; order: 2; }

.mascot-frame {
  width: min(320px, 78vw);
}

.mascot-frame__img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 640px) {
  .mascot-frame { width: 380px; }
}

.dot--amaranth { fill: var(--amaranth); }
.dot--pomelo   { fill: var(--pomelo); }
.dot--brook    { fill: var(--brook-deep); }

/* girl illustration */
.girl-dress      { fill: var(--pomelo-deep); }
.girl-dress-line { fill: none; stroke: var(--chalk); stroke-width: 1.5; opacity: 0.35; } /* cozy knit ribbing */
.girl-scarf      { fill: var(--amaranth); }
.girl-scarf-pattern { fill: url(#hijabZellij); } /* zellij-patterned hijab, in-palette */
.girl-scarf-line { fill: none; stroke: var(--amaranth-deep); stroke-width: 2; stroke-linecap: round; opacity: 0.5; }
.girl-face       { fill: #E7B98C; } /* warm neutral skin tone */
.girl-feature    { fill: var(--ink); }
.girl-feature-line { fill: none; stroke: #7A4A2B; stroke-width: 2.5; stroke-linecap: round; } /* soft smile */
.girl-eye        { fill: #7A4A2B; } /* warm brown eyes */
.girl-eye-glint  { fill: var(--chalk); }
.girl-blush      { fill: var(--amaranth); opacity: 0.28; }
.scarf-dot       { fill: var(--chalk); opacity: 0.85; }

/* laptop screen: a little speaking-circle grid instead of stickers */
.screen-glow    { fill: var(--brook); opacity: 0.35; }
.screen-face    { opacity: 0.9; }
.screen-face--a { fill: var(--amaranth); }
.screen-face--b { fill: var(--pomelo-deep); }
.screen-face--c { fill: var(--brook-deep); }
.screen-line    { stroke: var(--ink-soft); stroke-width: 3; stroke-linecap: round; opacity: 0.4; }

/* vintage camera — the photographer / creative-girl touch */
.camera-body        { fill: var(--amaranth-deep); }
.camera-lens-outer  { fill: var(--chalk); }
.camera-lens-inner  { fill: var(--ink); opacity: 0.75; }
.camera-flash       { fill: var(--pomelo); }

/* laptop */
.laptop-base        { fill: var(--pomelo-deep); }
.laptop-lid          { fill: var(--white); }
.laptop-lid-outline  { fill: none; stroke: var(--line); stroke-width: 2; }
.laptop-hinge        { fill: var(--ink); opacity: 0.12; }

/* Desk-scene props */
.desk-top        { fill: var(--pomelo-light); }
.desk-edge-trim  { opacity: 0.9; }

.lamp-arm    { fill: none; stroke: var(--amaranth-deep); stroke-width: 5; stroke-linecap: round; }
.lamp-joint  { fill: var(--amaranth-deep); }
.lamp-shade  { fill: var(--pomelo); }
.lamp-glow   { fill: var(--pomelo); opacity: 0.25; }

.plant-pot       { fill: var(--amaranth-deep); }
.plant-pot-rim   { fill: none; stroke: var(--chalk); stroke-width: 2; opacity: 0.4; }
.plant-leaf      { fill: var(--brook-deep); }
.plant-leaf--b   { fill: var(--brook); }
.plant-leaf--c   { fill: var(--brook-deep); opacity: 0.85; }

.book--a { fill: var(--amaranth); }
.book--b { fill: var(--brook-deep); }
.book--c { fill: var(--pomelo-deep); }

.mug-body    { fill: var(--white); stroke: var(--line); stroke-width: 1.5; }
.mug-handle  { fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; }
.mug-steam   { fill: none; stroke: var(--ink-soft); stroke-width: 2.5; stroke-linecap: round; opacity: 0.35; }

.notebook       { fill: var(--white); stroke: var(--line); stroke-width: 1.5; }
.notebook-line  { fill: none; stroke: var(--pomelo-deep); stroke-width: 2; stroke-linecap: round; opacity: 0.55; }
.pencil-body    { fill: var(--pomelo); }
.pencil-tip     { fill: #7A4A2B; }
.pencil-eraser  { fill: var(--amaranth); }

.sticky            { rx: 3; }
.sticky--amaranth  { fill: var(--amaranth); opacity: 0.85; }
.sticky--brook     { fill: var(--brook); opacity: 0.9; }

/* ---------------------------------------------------------------- */
/* Registration form                                                  */
/* ---------------------------------------------------------------- */
.join {
  padding: 40px 24px 96px;
}

.join__inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.join__intro { text-align: center; margin-bottom: 28px; }
.join__intro .section-title { max-width: none; }
.join__intro .section-sub { max-width: none; margin-left: auto; margin-right: auto; }

.form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; width: 100%; }
.field--half { grid-column: span 1; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: 0.85rem; font-weight: 600; color: var(--amaranth-deep); }
.field .optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--chalk);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brook-deep);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 80px; }

.form__privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

.form__success {
  text-align: center;
  padding: 20px 0;
}
.form__success-ring {
  display: inline-block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--brook-deep);
  margin-bottom: 14px;
  position: relative;
}
.form__success-ring::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brook-deep);
  font-size: 1.4rem;
}
.form__success h3 { color: var(--amaranth-deep); font-size: 1.4rem; margin-bottom: 8px; }
.form__success p { color: var(--ink-soft); }

@media (min-width: 560px) {
  .form__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field--full { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- */
/* About / pillars                                                    */
/* ---------------------------------------------------------------- */
.about { padding: 72px 24px; }
.about__inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.about__inner .section-title { margin: 0 auto; }

.about__cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pillar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.pillar__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--chalk);
  color: var(--amaranth);
  margin-bottom: 16px;
}
.pillar__icon svg { width: 24px; height: 24px; }

.pillar h3 { font-size: 1.3rem; color: var(--amaranth-deep); margin-bottom: 6px; }
.pillar p { color: var(--ink-soft); font-size: 0.95rem; }

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

/* ---------------------------------------------------------------- */
/* Weekly topics — Pinterest-style grid                              */
/* ---------------------------------------------------------------- */
.topics { padding: 72px 24px; }
.topics__inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.topics__inner .section-title { margin: 0 auto; }

.topics__grid {
  margin-top: 32px;
  columns: 2;
  column-gap: 14px;
  text-align: left;
}

.topic-card {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  min-height: 108px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-soft);
}
.topic-card:hover { transform: translateY(-3px) rotate(-0.3deg); box-shadow: var(--shadow-lift); }
.topic-card span { font-size: 1.6rem; }
.topic-card p { font-family: var(--font-display); font-size: 1.05rem; color: var(--amaranth-deep); }
.topic-card--tall { min-height: 172px; }

.t-amaranth { background: var(--amaranth); }
.t-amaranth p, .t-amaranth span { color: var(--white); }

.t-pomelo { background: var(--pomelo); }
.t-pomelo p, .t-pomelo span { color: var(--pomelo-deep); }

.t-brook { background: var(--brook); }

.t-chalk { background: var(--white); border: 1px solid var(--line); }

@media (min-width: 640px) { .topics__grid { columns: 3; } }
@media (min-width: 900px) { .topics__grid { columns: 4; } }

/* ---------------------------------------------------------------- */
/* Timeline — what happens in 2 hours                                 */
/* ---------------------------------------------------------------- */
.flow { padding: 72px 24px; }
.flow__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.flow__inner .section-title { margin: 0 auto; }

.timeline {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  position: relative;
}

.timeline__step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 4px;
  position: relative;
}

.timeline__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 56px;
  width: 2px;
  height: calc(100% - 20px);
  background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px);
}

.timeline__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 1;
}

.timeline__step h3 { font-size: 1.1rem; color: var(--amaranth-deep); }
.timeline__step p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 2px; }

/* ---------------------------------------------------------------- */
/* Upcoming Circles                                                   */
/* ---------------------------------------------------------------- */
.circles { padding: 72px 24px; }
.circles__inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.circles__inner .section-title, .circles__inner .section-sub { margin-left: auto; margin-right: auto; }

.circles__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: left;
}

.circle-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
}
.circle-card__day { font-family: var(--font-display); font-size: 1.3rem; color: var(--amaranth-deep); }
.circle-card__time { color: var(--ink-soft); font-size: 0.88rem; margin-top: 2px; }
.circle-card__theme { margin-top: 12px; font-size: 0.98rem; }

.circle-card__seats { margin: 16px 0; }
.circle-card__seats-bar {
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--pomelo-light);
  overflow: hidden;
}
.circle-card__seats-bar span { display: block; height: 100%; background: var(--brook-deep); border-radius: var(--radius-pill); }
.circle-card__seats-label { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--ink-soft); }

.circles__note { margin-top: 24px; color: var(--ink-soft); font-size: 0.9rem; }

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

/* ---------------------------------------------------------------- */
/* Testimonials                                                       */
/* ---------------------------------------------------------------- */
.testimonials { padding: 72px 24px; }
.testimonials__inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.testimonials__inner .section-title { margin: 0 auto; }

.testimonials__cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.testimonial {
  background: var(--pomelo-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: left;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--amaranth-deep);
  line-height: 1.4;
}
.testimonial figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

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

/* ---------------------------------------------------------------- */
/* FAQ accordion                                                      */
/* ---------------------------------------------------------------- */
.faq { padding: 72px 24px; }
.faq__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.faq__inner .section-title { margin: 0 auto; }

.accordion { margin-top: 28px; text-align: left; }

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
  color: var(--amaranth-deep);
  cursor: pointer;
  text-align: left;
}

.accordion__plus {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  margin-left: 16px;
}
.accordion__plus::before,
.accordion__plus::after {
  content: "";
  position: absolute;
  background: var(--amaranth);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.accordion__plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.accordion__plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }

.accordion__item[data-open="true"] .accordion__plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accordion__panel p { padding: 0 4px 18px; color: var(--ink-soft); font-size: 0.95rem; max-width: 56ch; }

/* ---------------------------------------------------------------- */
/* Final CTA strip                                                    */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* Contact                                                            */
/* ---------------------------------------------------------------- */
.contact { padding: 72px 24px; }
.contact__inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.contact__inner .section-title, .contact__inner .section-sub { margin-left: auto; margin-right: auto; }

.contact__cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.contact-card__icon { font-size: 1.6rem; }
.contact-card__label { font-family: var(--font-display); font-size: 1.02rem; color: var(--amaranth-deep); margin-top: 4px; }
.contact-card__value { font-size: 0.82rem; color: var(--ink-soft); }

@media (min-width: 640px) {
  .contact__cards { grid-template-columns: repeat(4, 1fr); }
}

.final-cta {
  margin: 40px 24px 0;
  background: var(--amaranth-deep);
  border-radius: var(--radius-lg);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta__inner {
  padding: clamp(40px, 8vw, 64px) 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  max-width: 20ch;
}

.final-cta .btn--primary { background: var(--white); color: var(--amaranth-deep); }
.final-cta .btn--primary:hover { background: var(--brook); color: var(--amaranth-deep); }

/* ---------------------------------------------------------------- */
/* Footer                                                              */
/* ---------------------------------------------------------------- */
.footer { padding: 72px 24px 40px; }
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.nav__brand--footer { font-size: 1.4rem; }
.footer__tag { color: var(--ink-soft); font-size: 0.95rem; }

.footer__links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.footer__links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--amaranth-deep);
  position: relative;
}
.footer__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--amaranth-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.footer__links a:hover::after { transform: scaleX(1); }

.footer__copy {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- */
/* Larger screens: hero side-by-side                                  */
/* ---------------------------------------------------------------- */
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
  .hero__copy { text-align: left; }
  .mascot-frame { width: 500px; }
}

/* ==================================================================
   LOGIN PAGE
   ================================================================== */
.login-section { padding: 64px 24px 90px; min-height: 70vh; display: flex; align-items: center; }

.login-card__mascot {
  width: 120px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
}

.login-card {
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 6vw, 48px);
  box-shadow: var(--shadow-soft);
}

.login-form { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }

.login-error {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--amaranth-deep);
  background: var(--amaranth-light, #fbe6ea);
  border-radius: var(--radius-sm, 8px);
  padding: 10px 14px;
}

/* Prevents a flash of protected content before auth.js confirms the
   signed-in user's role (see BnetAuth.requireRole). */
body.auth-pending main { visibility: hidden; }

/* ==================================================================
   PRIVATE-AREA HEADER (My Desk / My Journey)
   Same nav look as the public site, swapped actions.
   ================================================================== */
.nav__role-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brook-deep);
  background: var(--pomelo-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* Application commitments + live numbers */
.form__commitments { display:grid; gap:10px; margin:18px 0 8px; }
.form__check { display:flex; align-items:flex-start; gap:10px; padding:12px 14px; background:rgba(255,255,255,.65); border:1px solid var(--line); border-radius:12px; font-size:.88rem; line-height:1.5; color:var(--ink); }
.form__check input { margin-top:3px; accent-color:var(--amaranth-deep); }
.circles__live-count { margin:14px auto 20px; font-weight:700; color:var(--amaranth-deep); }
.circles__loading { color:var(--ink-soft); grid-column:1/-1; }

.word-wall{padding:90px 24px;background:#f5efe8}.word-wall__inner{max-width:1120px;margin:auto;text-align:center}.postit-board{margin-top:34px;min-height:330px;padding:38px;display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:24px;background:#d7b999;background-image:linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:24px 24px;border:12px solid #9a6f4d;border-radius:18px;box-shadow:inset 0 0 24px rgba(70,40,20,.15),0 18px 40px rgba(70,40,20,.12)}.postit{width:190px;min-height:170px;padding:24px 20px 18px;background:#fff3a8;box-shadow:0 8px 14px rgba(60,35,20,.18);font-family:'Caveat',cursive;font-size:1.35rem;line-height:1.05;text-align:left;transform:rotate(var(--tilt,0deg));position:relative}.postit:nth-child(4n+2){background:#ffd9e2}.postit:nth-child(4n+3){background:#d9efe1}.postit:nth-child(4n+4){background:#e6dcfa}.postit::before{content:'';position:absolute;top:-7px;left:50%;width:44px;height:15px;background:rgba(255,255,255,.55);transform:translateX(-50%) rotate(-2deg)}.postit cite{display:block;margin-top:18px;font:600 .73rem var(--font-body);color:rgba(45,45,45,.62);font-style:normal}.postit-empty{color:#fff8ef;font-family:var(--font-display);font-style:italic;margin:auto}
