/* ==========================================================================
   DreamCareerZ — brand layer for the core pages (home / about / contact)
   Loaded AFTER core/core.css so it can refine the older layout helpers.
   Colours come from the design tokens in css/main.css — no raw hex here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared brand primitives
   -------------------------------------------------------------------------- */

/* Eyebrow: a gold rule + small-caps kicker. Works on cream and on navy. */
.dz-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.3rem;
}
.dz-eyebrow::before {
  content: ""; width: 34px; height: 2px; border-radius: 2px;
  background: var(--accent); flex: 0 0 auto;
}

.dz-gold { color: var(--accent); }
.dz-serif { font-family: var(--font-display); }

/* A quiet, reassuring line — the brand's signature register. */
.dz-whisper {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.06rem; color: var(--ink-soft);
}

/* Fine-print compliance / disclaimer line. */
.dz-compliance {
  max-width: 62ch; margin: 1.6rem auto 0;
  font-size: .8rem; line-height: 1.6; color: var(--ink-faint); text-align: center;
}
.dz-compliance-dark { color: rgba(255, 255, 255, .58); }

/* Rule-flanked reassurance line. */
.dz-reassure {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  margin-top: 2.8rem; text-align: center;
}
.dz-reassure::before, .dz-reassure::after {
  content: ""; height: 1px; flex: 1 1 auto; max-width: 120px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.dz-reassure::after { background: linear-gradient(90deg, var(--line), transparent); }
.dz-reassure span {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
  color: var(--ink); white-space: nowrap;
}

/* Refit the legacy pill used on the navy interior heroes. */
.hero-pill {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--accent-soft);
  letter-spacing: .14em; font-size: .74rem;
}
.hero-pill svg { color: var(--accent); }

/* Navy CTA band: retune the leftover teal wash to brand gold. */
.cta-band::before {
  background:
    radial-gradient(460px 240px at 10% 115%, rgba(200, 155, 60, .38), transparent 62%),
    radial-gradient(500px 260px at 90% -12%, rgba(255, 255, 255, .18), transparent 60%);
}
.cta-band p { color: rgba(255, 255, 255, .78); }
.cta-band h2 { max-width: 26ch; }

.howto-num { box-shadow: 0 8px 18px rgba(30, 58, 95, .35); }
.counsel-band .chip { color: rgba(255, 255, 255, .82); }
.hero-foot span { color: rgba(255, 255, 255, .72); }
.hero-foot svg { color: var(--accent); }
.about-hero p { color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------------------
   HOME · hero (cream / paper)
   -------------------------------------------------------------------------- */

.dz-hero {
  position: relative; overflow: hidden;
  padding: clamp(3.2rem, 7vw, 5.6rem) 0 clamp(3.6rem, 8vw, 6rem);
  background:
    radial-gradient(880px 460px at 88% -12%, var(--accent-soft), transparent 62%),
    radial-gradient(720px 420px at -8% 108%, var(--primary-soft), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
/* Hairline gold arc echoing the sunrise in the artwork. */
.dz-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 1100px; height: 1100px; border-radius: 50%;
  left: 50%; top: -58%; transform: translateX(-24%);
  border: 1px solid var(--accent); opacity: .16;
}

.dz-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 3.6rem); align-items: center;
}

.dz-hero h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.15rem);
  letter-spacing: -.025em; line-height: 1.12; max-width: 19ch;
}
.dz-hero h1 .dz-h1-b {
  display: block; margin-top: .5rem;
  font-size: clamp(1.28rem, 2.3vw, 1.72rem); font-weight: 700;
  line-height: 1.28; color: var(--accent); letter-spacing: -.015em;
}

.dz-hero-sub {
  margin: 1.4rem 0 .9rem; font-size: 1.06rem; max-width: 50ch; color: var(--ink-soft);
}
.dz-hero .dz-whisper { display: block; margin-bottom: 2rem; }

.dz-hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; }
.dz-hero .dz-hero-ctas .btn-lg { padding: .9rem 1.75rem; font-size: 1rem; }

/* Validated · Personal · Practical */
.dz-trio {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin-top: 2.6rem;
  padding-top: 1.9rem; border-top: 1px solid var(--line);
}
.dz-trio-item { display: grid; gap: .25rem; }
.dz-trio-item strong {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-size: 1.02rem; color: var(--ink);
}
.dz-trio-item strong svg { color: var(--accent); flex: 0 0 auto; }
.dz-trio-item span { font-size: .86rem; line-height: 1.5; color: var(--ink-soft); }

/* Framed artwork */
.dz-hero-figure { position: relative; margin: 0; }
.dz-hero-figure::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: var(--radius-lg); background: var(--grad-vivid);
  transform: translate(18px, 18px); opacity: .5;
}
.dz-hero-figure img {
  position: relative; z-index: 1;
  width: 100%; height: auto; border-radius: var(--radius-lg);
  border: 6px solid var(--surface); box-shadow: var(--shadow-lg);
}
/* --------------------------------------------------------------------------
   HOME · Ikigai — four truths converging on DREAM CAREER
   -------------------------------------------------------------------------- */

.dz-ikigai {
  display: grid; grid-template-columns: 1fr minmax(280px, 400px) 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center;
}
.dz-ikigai-col { display: grid; gap: 1.1rem; align-content: center; }

.dz-ik-card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.3rem 1.2rem; box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.dz-ik-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dz-ik-card::before {
  content: ""; position: absolute; left: 0; top: 1.15rem; bottom: 1.15rem;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--accent);
}
.dz-ik-card .kicker {
  display: block; font-size: .68rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .3rem;
}
.dz-ik-card h3 { font-size: 1.06rem; line-height: 1.3; }
.dz-ik-card p { font-size: .87rem; margin-top: .35rem; line-height: 1.55; }
.dz-ik-card.is-teal::before { background: var(--teal); }
.dz-ik-card.is-teal .kicker { color: var(--teal); }
.dz-ik-card.is-navy::before { background: var(--primary); }
.dz-ik-card.is-navy .kicker { color: var(--primary); }

/* The Venn */
.dz-venn { width: 100%; height: auto; display: block; overflow: visible; }
.dz-venn .lobe { fill-opacity: .3; stroke-width: 1.4; }
.dz-venn .lobe-a { fill: var(--accent); stroke: var(--accent); }
.dz-venn .lobe-b { fill: var(--teal); stroke: var(--teal); }
.dz-venn .lobe-c { fill: var(--primary); stroke: var(--primary); }
.dz-venn .lobe-d { fill: var(--sage); stroke: var(--teal); }
.dz-venn .lobe { transform-box: fill-box; transform-origin: center; animation: dz-lobe 8s ease-in-out infinite alternate; }
.dz-venn .lobe-b { animation-delay: -2s; }
.dz-venn .lobe-c { animation-delay: -4s; }
.dz-venn .lobe-d { animation-delay: -6s; }
@keyframes dz-lobe { from { fill-opacity: .22; } to { fill-opacity: .38; } }

.dz-venn .venn-hub { fill: var(--surface); stroke: var(--accent); stroke-width: 1.5; }
.dz-venn .venn-star { fill: var(--accent); }
.dz-venn .venn-label {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 800;
  letter-spacing: .12em; fill: var(--ink); text-anchor: middle;
}
.dz-venn .venn-hub-text {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: .09em; fill: var(--primary); text-anchor: middle;
}

/* --------------------------------------------------------------------------
   HOME · the three-step journey
   -------------------------------------------------------------------------- */

.dz-journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.dz-step {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 1.7rem 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
}
.dz-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dz-step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.5rem; line-height: 1; color: var(--accent);
  display: block; margin-bottom: .8rem; letter-spacing: -.03em;
}
.dz-step h3 { font-size: 1.2rem; }
.dz-step .dz-step-who {
  display: inline-block; margin: .55rem 0 .1rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.dz-step p { font-size: .93rem; margin-top: .5rem; }

/* --------------------------------------------------------------------------
   HOME / ABOUT · founder band
   -------------------------------------------------------------------------- */

.dz-founder-cred {
  display: block; margin: .7rem 0 1.2rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-faint); line-height: 1.8;
}
.dz-founder-cred b { color: var(--accent); font-weight: 800; }

.dz-quote {
  position: relative; margin: 1.5rem 0 0; padding: 1.2rem 0 0 1.6rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 1.16rem; line-height: 1.5;
  color: var(--ink); font-style: italic;
}
.dz-quote cite {
  display: block; margin-top: .7rem; font-style: normal; font-family: var(--font-body);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* Stat tiles beside the founder read as number-over-label, never inline. */
.card-static .stat-number { display: block; line-height: 1.1; }
.card-static .stat-label { display: block; margin-top: .2rem; }

.founder-portrait { display: flex; justify-content: center; margin: 0; }
.founder-portrait-frame { position: relative; width: min(320px, 80%); }
.founder-portrait-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: 28px; background: var(--grad-vivid);
  transform: translate(16px, 16px); opacity: .8;
}
.founder-portrait-frame img {
  position: relative; z-index: 1; display: block;
  width: 100%; height: auto; border-radius: 24px;
  border: 5px solid var(--surface); box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   HOME · student / parent split band
   -------------------------------------------------------------------------- */

.dz-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.dz-split-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(1.9rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
}
.dz-split-card .who {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.dz-split-card h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.22; }
.dz-split-card p { margin-top: .9rem; font-size: .97rem; }

.dz-split-student { background: var(--grad-primary); color: var(--surface); }
.dz-split-student h3 { color: var(--surface); }
.dz-split-student p { color: rgba(255, 255, 255, .78); }
.dz-split-student .who { color: var(--accent); }
.dz-split-student::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 92% -12%, rgba(200, 155, 60, .34), transparent 62%);
}
.dz-split-student > * { position: relative; z-index: 1; }

.dz-split-parent { background: var(--surface-2); border: 1px solid var(--line); }
.dz-split-parent .who { color: var(--teal); }

/* --------------------------------------------------------------------------
   ABOUT · positioning strip
   -------------------------------------------------------------------------- */

.dz-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.dz-principle {
  background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--accent); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem; box-shadow: var(--shadow-sm);
}
.dz-principle h3 { font-size: 1.08rem; }
.dz-principle p { font-size: .9rem; margin-top: .45rem; }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */

.dz-contact-note {
  display: flex; gap: .7rem; align-items: flex-start;
  margin-top: 1.4rem; padding: .9rem 1.1rem;
  background: var(--accent-soft); border-radius: var(--radius-sm);
  font-size: .86rem; line-height: 1.55; color: var(--ink);
}
.dz-contact-note svg { color: var(--accent); flex: 0 0 auto; margin-top: .15rem; }

/* The social row is styled for the dark footer — restate it for a light card. */
.contact-aside .social-row a {
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft);
}
.contact-aside .social-row a:hover {
  background: var(--grad-primary); border-color: transparent; color: var(--surface);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .dz-hero-grid { grid-template-columns: 1fr; }
  .dz-hero h1 { max-width: none; }
  .dz-hero-figure { margin-top: 1.6rem; }
  .dz-ikigai { grid-template-columns: 1fr; }
  .dz-ikigai .dz-venn-wrap { order: -1; width: 100%; max-width: 380px; margin-inline: auto; }
  .dz-journey { grid-template-columns: 1fr; }
  .dz-split { grid-template-columns: 1fr; }
  .dz-principles { grid-template-columns: 1fr; }
  .founder-portrait-frame { width: min(280px, 86%); }
}

@media (max-width: 620px) {
  .dz-trio { grid-template-columns: 1fr; gap: .9rem; }
  .dz-reassure::before, .dz-reassure::after { display: none; }
  .dz-reassure span { white-space: normal; }
}
