/* ============ HOME v2 (curated redesign layer) ============ */

/* Inner pages: the header is fixed + transparent at rest, so push page
   content fully below it. The offset lives on .dkk-content-area (not main)
   so the themed backdrop runs up behind the header — it reads as truly
   transparent, like the homepage. */
body.dkk-transparent-header:not(.dkk-front-page) .dkk-main { padding-top: 0; }
body.dkk-transparent-header:not(.dkk-front-page) .dkk-content-area { padding-top: calc(var(--header-offset, 180px) + 24px); }
body.admin-bar.dkk-transparent-header:not(.dkk-front-page) .dkk-content-area { padding-top: calc(var(--header-offset, 180px) + 56px); }

/* Hero */
.dkk-transparent-header.dkk-front-page .dkk-hero { padding-top: calc(var(--header-offset, 180px) + 40px); }
.dkk-front-page .dkk-header:not(.scrolled) { box-shadow: none; }
.dkk-transparent-header .dkk-header:not(.scrolled) { box-shadow: none; }
.dkk-hero-badge { display: inline-block; background: var(--dkk-primary-light, #fdecec); color: var(--dkk-primary); font-weight: 800; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; }
.dkk-hero-spark-floats { display: none; }
.dkk-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.dkk-hero-stats { display: flex; gap: 34px; margin-top: 34px; }
.dkk-hero-stat { display: flex; flex-direction: column; gap: 2px; }
.dkk-hero-stat-num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--dkk-navy); }
.dkk-hero-stat-label { font-size: 13px; color: var(--dkk-text-muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }

/* What's included */
.dkk-what-section { padding: 72px 0 8px; }
.dkk-what-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 0; padding: 0; }
.dkk-what-item { display: flex; gap: 14px; align-items: center; background: var(--dkk-bg-2); border: 1px solid var(--dkk-border); border-radius: 16px; padding: 18px 20px; }
.dkk-what-icon { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; color: var(--dkk-navy); }
.dkk-what-icon svg { width: 22px; height: 22px; }
.dkk-what-text { font-weight: 700; font-size: 15px; color: var(--dkk-text); line-height: 1.4; }

/* How it works: plain numbered timeline, NOT buttons */
.dkk-how-section { padding: 72px 0; }
.dkk-timeline { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.dkk-timeline::before { content: ""; position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 3px; background: repeating-linear-gradient(90deg, var(--dkk-border) 0 10px, transparent 10px 18px); }
.dkk-timeline-step { text-align: center; padding: 0 18px; position: relative; }
.dkk-timeline-num { position: relative; z-index: 1; display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: var(--dkk-navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 14px; box-shadow: 0 0 0 6px var(--dkk-bg); }
.dkk-timeline-step:nth-child(even) .dkk-timeline-num { background: var(--dkk-secondary); }
.dkk-timeline-step h3 { font-family: var(--font-head); font-size: 17px; margin: 0 0 6px; color: var(--dkk-navy); }
.dkk-timeline-step p { font-size: 14px; color: var(--dkk-text-muted); margin: 0; line-height: 1.55; }

/* Parent reassurance band */
.dkk-reassure-section { padding: 8px 0 72px; }
.dkk-reassure-grid { list-style: none; margin: 0; padding: 18px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; background: var(--dkk-bg-2); border: 1px solid var(--dkk-border); border-radius: 20px; }
.dkk-reassure-grid li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--dkk-text); }
.dkk-reassure-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--dkk-secondary); }
.dkk-reassure-icon svg { width: 18px; height: 18px; }

/* CTA simplified (no blob shapes) */
.dkk-cta-card { background: linear-gradient(120deg, var(--dkk-navy) 0%, #2c55c9 100%); border-radius: 24px; padding: 56px 32px; text-align: center; color: #fff; overflow: hidden; position: relative; }
.dkk-cta-card .dkk-cta-content h2 { font-family: var(--font-head); color: #fff; margin: 0 0 10px; font-size: clamp(26px, 4vw, 38px); }
.dkk-cta-card .dkk-cta-content p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto 24px; }

@media (max-width: 900px) {
	.dkk-what-grid { grid-template-columns: 1fr 1fr; }
	.dkk-timeline { grid-template-columns: 1fr 1fr; gap: 34px 0; }
	.dkk-timeline::before { display: none; }
	.dkk-reassure-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.dkk-what-grid { grid-template-columns: 1fr; }
	.dkk-timeline { grid-template-columns: 1fr; }
}

/* ===== HOMEPAGE DESIGN PASS (2026-09-15) ===== */
/* This file loads after style.css, so these win. */

/* ---- 1. Full-height hero ---- */
.dkk-hero {
	min-height: 100vh;
	min-height: 100svh;          /* avoids the mobile address-bar jump */
	display: flex;
	align-items: center;
}

.dkk-hero-content {
	padding-top: 40px;
	padding-bottom: 96px;        /* breathing room above the hill */
}

/* ---- 2. Section shading rhythm (replaces the leaf texture) ---- */
.dkk-how-section,
.dkk-reassure-section {
	background-image: none;
	background-repeat: no-repeat;
}

.dkk-showcase {
	background: #FFFFFF;
}

.dkk-what-section {
	background: linear-gradient(180deg, #FFFFFF 0%, #F4F9FE 100%);
}

.dkk-how-section {
	background: linear-gradient(180deg, #F4F9FE 0%, #EAF4FC 100%);
}

.dkk-reassure-section {
	background: linear-gradient(180deg, #EAF4FC 0%, #FFFFFF 100%);
}

.dkk-cta-section {
	background: #FFFFFF;
}

/* ---- 3. CTA card on brand (was a stray hardcoded blue) ---- */
.dkk-cta-card {
	background: linear-gradient(120deg, #001777 0%, #0126CC 100%);
}

/* ---- 4. Brand accents on repeating elements ---- */
.dkk-timeline::before {
	background: repeating-linear-gradient(90deg, var(--dkk-sky) 0 10px, transparent 10px 18px);
}

.dkk-what-icon,
.dkk-reassure-icon {
	color: var(--dkk-navy);
}

.dkk-hero-stat-num {
	color: var(--dkk-navy);
}

/* ===== FOOTER DESIGN PASS (2026-09-15) ===== */
/* More air, a proper brand statement in the taglines (gold, star-separated,
   like the banner), and quieter column headings. */
.dkk-footer-inner {
    grid-template-columns: 1.15fr .62fr 1.12fr .62fr;
    gap: 34px;
    padding: 56px 20px 38px;
}

.dkk-footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.dkk-footer-brand-img {
    max-height: 72px;
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 0;
}

/* Big Dreams ★ Creative Thinking ★ Future Leaders */
.dkk-footer-tagline-big {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.dkk-footer-tagline-big span {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: .95rem;
    font-weight: 800;
    color: #FFD84D;
    letter-spacing: .2px;
    white-space: normal;
}

.dkk-footer-tagline-big span:not(:last-child)::after {
    content: "\2605";
    margin-left: 10px;
    color: rgba(255, 255, 255, .42);
    font-size: .78em;
    vertical-align: 1px;
}

.dkk-footer h4 {
    font-size: .78rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #9FB4D8;
    font-weight: 800;
    margin-bottom: 16px;
}

.dkk-footer-nav li { margin-bottom: 10px; }
.dkk-footer-nav a { font-size: .95rem; color: #C4D0E6; }
.dkk-footer-nav a:hover { color: #FFFFFF; }

.dkk-footer-legal ul { columns: 2; column-gap: 30px; }

.dkk-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.dkk-footer-bottom-inner { padding: 20px; color: #9FB0CC; }

@media (max-width: 900px) {
    .dkk-footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 560px) {
    .dkk-footer-inner { grid-template-columns: 1fr; }
}

/* ===== SHOWCASE SECTION FIX (2026-09-15) ===== */
/* The section was a flat white void: with only two worlds the grid left an
   empty third column and the button sat centred under nothing. */

/* 1. a real band, tinted at the top and closing into the next section */
.dkk-showcase {
    padding: 84px 0 56px;
    background: linear-gradient(180deg, #D9EAF9 0%, #E9F4FC 48%, #F5FAFE 100%);
}

.dkk-what-section {
    background: linear-gradient(180deg, #F5FAFE 0%, #FFFFFF 100%);
    padding-top: 56px;
}

/* 2. centre whatever number of cards there are, so two worlds sit as a pair */
.dkk-showcase-carousel {
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    justify-content: center;
    gap: 24px;
    padding: 8px 4px 0;
}

/* 3. give the button room above it so it is not crowding the grid */
.dkk-showcase-cta {
    margin-top: 46px;
}

/* ===== SHOWCASE FINAL (2026-09-15) ===== */
/* Bigger cards so two worlds fill the width, and the button sits with equal
   air above and below instead of stranded in a panel. */
.dkk-showcase {
    background: linear-gradient(180deg, #CFE6F8 0%, #E2F1FB 46%, #F2F9FE 100%);
    padding: 84px 0 64px;
}

.dkk-showcase-carousel {
    grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
    justify-content: center;
    gap: 28px;
    padding: 8px 4px 0;
}

.dkk-showcase-cta {
    margin: 52px auto 0;
    max-width: none;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: center;
}

.dkk-what-section { padding-top: 48px; }

/* ===== FOOTER BRAND BLOCK (2026-09-15) ===== */
/* Bigger logo with the taglines sitting BESIDE it, taglines in white, and an
   even column rhythm across the footer. */
.dkk-footer-inner{
    grid-template-columns:minmax(0,1.65fr) minmax(0,.6fr) minmax(0,1.15fr) minmax(0,.7fr);
    gap:40px;
    padding:56px 20px 40px;
}

.dkk-footer-brand{
    flex-direction:row;
    align-items:center;
    gap:22px;
}

.dkk-footer-brand-img{
    max-height:112px;
    padding:12px 14px;
    border-radius:16px;
    margin-bottom:0;
    flex:0 0 auto;
}

.dkk-footer-tagline-big{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-bottom:0;
}

.dkk-footer-tagline-big span{
    color:#FFFFFF;
    font-size:1rem;
}

@media (max-width:900px){
    .dkk-footer-inner{grid-template-columns:1fr 1fr;gap:30px}
    .dkk-footer-brand{flex-direction:column;align-items:flex-start;gap:16px}
    .dkk-footer-brand-img{max-height:92px}
}

/* ===== FOOTER BRAND BLOCK v2 (2026-09-15) ===== */
/* The taglines were wrapping under the logo because the brand cell was too
   narrow for a 112px mark plus an inline row. Stack them beside the logo and
   rebalance the four columns. */
.dkk-footer-inner{
    grid-template-columns:minmax(0,1.9fr) minmax(0,.65fr) minmax(0,1.5fr) minmax(0,.85fr);
    gap:38px;
}

.dkk-footer-brand{
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:center;
    gap:22px;
}

.dkk-footer-tagline-big{
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
}

.dkk-footer-tagline-big span{
    color:#FFFFFF;
    font-size:1.02rem;
    white-space:nowrap;
}

/* stacked lines do not need the star separators */
.dkk-footer-tagline-big span:not(:last-child)::after{content:none;margin:0}

@media (max-width:900px){
    .dkk-footer-inner{grid-template-columns:1fr 1fr;gap:30px}
    .dkk-footer-brand{flex-direction:row;flex-wrap:nowrap;gap:16px}
    .dkk-footer-brand-img{max-height:84px}
    .dkk-footer-tagline-big span{font-size:.95rem}
}

/* ===== SECTION HEADINGS UNIFIED + LEGAL TYPE (2026-09-15) ===== */

/* one heading system for every homepage section (theme blocks + showcase) */
.dkk-section-header,
.dkk-showcase-block { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

.dkk-section-header { margin-bottom: 44px; }

.dkk-section-header h2,
.dkk-showcase-title {
    font-family: var(--font-head, "Fredoka", sans-serif);
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dkk-navy, #0126CC);
    margin: 0 0 10px;
}

.dkk-section-header p,
.dkk-showcase-sub {
    margin: 0 auto;
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dkk-text-muted, #5B6478);
}

.dkk-section-badge,
.dkk-showcase-eyebrow {
    color: var(--dkk-secondary, #134818);
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ---- legal pages: proper long-form reading ---- */
.dkk-legal-page { max-width: 880px; margin: 0 auto; }

.dkk-legal-page .dkk-legal-sec-body {
    padding: 20px 28px 24px;
    font-size: 1rem;
    line-height: 1.72;
    color: var(--dkk-text, #010F54);
}

.dkk-legal-page .dkk-legal-sec-body p { margin: 0 0 1.05em; }
.dkk-legal-page .dkk-legal-sec-body h2 { font-size: 1.18rem; margin: 1.6em 0 .5em; color: var(--dkk-navy, #0126CC); }
.dkk-legal-page .dkk-legal-sec-body h3 { font-size: 1.04rem; margin: 1.4em 0 .4em; color: var(--dkk-navy, #0126CC); }
.dkk-legal-page .dkk-legal-sec-body ul,
.dkk-legal-page .dkk-legal-sec-body ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.dkk-legal-page .dkk-legal-sec-body li { margin-bottom: .45em; }
.dkk-legal-page .dkk-legal-sec-body a { color: var(--dkk-navy, #0126CC); text-decoration: underline; text-underline-offset: 2px; }
.dkk-legal-page .dkk-legal-sec-body > *:first-child { margin-top: 0; }
.dkk-legal-page .dkk-legal-sec-body > *:last-child { margin-bottom: 0; }

/* ===== FOOTER HEADINGS WHITE (2026-09-15) ===== */
.dkk-footer h4,
.dkk-footer-bottom h4{color:#FFFFFF}

/* ===== SHOWCASE CARDS HORIZONTAL FIX (2026-09-15) ===== */
/* The heading unification put max-width:760px on .dkk-showcase-block, which is
   also the cards container - with a 380px max track auto-fit could only fit ONE
   column, so the worlds stacked. Constrain only the copy, never the grid. */
.dkk-showcase-block{max-width:none;margin-left:0;margin-right:0}

.dkk-showcase-block>.dkk-showcase-eyebrow,
.dkk-showcase-block>.dkk-showcase-title,
.dkk-showcase-block>.dkk-showcase-sub{max-width:760px;margin-left:auto;margin-right:auto}

.dkk-showcase-carousel{
    grid-template-columns:repeat(auto-fit,minmax(300px,420px));
    justify-content:center;
    max-width:920px;
    margin:0 auto;
    gap:28px;
}

/* ===== LEGAL WIDTH REVERTED (2026-09-15) ===== */
/* The 880px reading measure narrowed the legal pages and broke the intended
   full-width design. Reverted to page width; only the type rhythm stays. */
.dkk-legal-page{max-width:none;margin:0}

/* ===== FOOTER MOBILE STACK FIX (2026-09-15) ===== */
/* An earlier 900px query was sitting AFTER the 560px one, so it won at phone
   widths and the footer stayed 2-up (169px + 150px columns at 390px) with the
   legal list squeezed into two ~70px sub-columns. This block is last, so it wins. */
@media (max-width:620px){
    .dkk-footer-inner{grid-template-columns:1fr;gap:28px;padding:44px 20px 34px}
    .dkk-footer-brand{flex-direction:row;flex-wrap:wrap;gap:16px}
    .dkk-footer-brand-img{max-height:92px;max-width:100%}
    .dkk-footer-tagline-big{flex-direction:column;align-items:flex-start;gap:4px}
    .dkk-footer-tagline-big span{white-space:normal;font-size:1rem}
    .dkk-footer-legal ul{columns:1;column-gap:0}
    .dkk-footer-nav li{margin-bottom:12px}
    .dkk-footer h4{margin-bottom:12px}
}

@media (min-width:621px) and (max-width:900px){
    .dkk-footer-legal ul{columns:2;column-gap:24px}
}

/* ===== MOBILE FOOTER TAP TARGETS (2026-09-15) ===== */
@media (max-width:620px){
    .dkk-footer-nav a{display:inline-flex;align-items:center;min-height:40px}
    .dkk-footer-nav li{margin-bottom:0}
    .dkk-footer-legal li{margin-bottom:0}
    .dkk-footer-legal a{display:inline-flex;align-items:center;min-height:40px}
}

/* ===== MOBILE HEADER BRAND TARGET ===== */
/* the logo link box was only 22px tall while the mark is 40px, so most of it
   was not tappable */
@media (max-width:620px){
    .dkk-brand a{display:inline-flex;align-items:center;min-height:44px}
}
