/* DA C home: generated from the validated mockup (v2/da-c.src.html) by gen_theme.py. Edit the mockup, then regenerate. */
/* DA C "Doux": soft sky ground, round white cards with real depth, the series' characters on the edges, coral for choices.
   Crossings are lesson-first: pick the year, narrow by field, see the lessons themselves (page + book). */
.dac-home * { box-sizing: border-box; }

.dac-home button { font-family: inherit; color: inherit; }

.dac-home { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.75; }

.dac-home ::selection { background: var(--coral); color: var(--coral-ink); }

.dac-home { scroll-behavior: smooth; scrollbar-color: color-mix(in srgb, var(--ink-2) 45%, transparent) var(--bg); caret-color: var(--coral); }

.dac-home p, .dac-home blockquote { text-wrap: pretty; }

@property --wash { syntax: "<color>"; inherits: true; initial-value: #FF6A4D; }

.dac-home a { color: inherit; }

.dac-home :focus-visible { outline: 2.5px solid var(--coral); outline-offset: 3px; border-radius: 10px; }

.dac-home h1, .dac-home h2, .dac-home h3, .dac-home h4 { margin: 0; text-wrap: balance; }

.dac-home p { margin: 0; }

.dac-home .in { max-width: 1260px; margin-inline: auto; padding-inline: 22px; }

.dac-home .hero { --wash: #FF6A4D; transition: --wash 1.1s cubic-bezier(.4,0,.2,1); position: relative; margin-top: 132px; /* the girl stands on the card's top edge, clear of the fixed header */ background: radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--wash) 20%, transparent), transparent 62%), radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--wash) 9%, transparent), transparent 70%), var(--card); border-radius: 40px; padding: 48px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 44px; align-items: center; box-shadow: 0 40px 80px -50px rgb(var(--dac-shadow) / .55); }

.dac-home .hero .peek { position: absolute; top: -118px; inset-inline-end: 200px; height: 150px; pointer-events: none; transform-origin: 50% 100%; animation: dac-h-pop .9s cubic-bezier(.34,1.56,.64,1) .25s both; }

.dac-home .hero .peek2 { position: absolute; bottom: -18px; inset-inline-end: -26px; height: 170px; pointer-events: none; transform-origin: 50% 100%; animation: dac-h-pop .9s cubic-bezier(.34,1.56,.64,1) .45s both; }

.dac-home .hero .peek.hop, .dac-home .hero .peek2.hop { animation: dac-h-hop .7s cubic-bezier(.34,1.56,.64,1); }

@keyframes dac-h-pop { from { opacity: 0; transform: translateY(40px) scale(.7); } }

@keyframes dac-h-hop { 40% { transform: translateY(-14px) rotate(-3deg); } }

.dac-home .hero h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.22; font-weight: 800; }

.dac-home .hero h1 span { color: var(--dac-coral-text); }

.dac-home .hero h1 { letter-spacing: -0.01em; }

.dac-home .hero p { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 38ch; }

.dac-home .go { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--card); text-decoration: none; font-weight: 600; padding: 16px 26px; border-radius: 999px; box-shadow: 0 16px 26px -14px rgb(var(--dac-shadow) / .7); transition: transform .3s cubic-bezier(.16,1,.3,1); }

.dac-home .go:hover { transform: translateY(-2px); }

.dac-home .go:active, .dac-home .more:active, .dac-home .yr:active, .dac-home .fld:active { transform: scale(.97); }

.dac-home .rail { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.dac-home .track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 10px 30px; margin-block: -10px -22px; }

.dac-home .track::-webkit-scrollbar { display: none; }

.dac-home .slide { flex: 0 0 86%; scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 12px; }

.dac-home .slide .pic { border-radius: 24px; overflow: hidden; background: var(--soft); box-shadow: 0 24px 40px -24px rgb(var(--dac-shadow) / .6); transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .6s; }

.dac-home .slide img { width: 100%; aspect-ratio: 2466 / 1666; object-fit: cover; display: block; }

.dac-home .slide:not(.on) .pic { transform: scale(.92) rotate(-1.5deg); opacity: .6; }

.dac-home .cap { padding-inline: 8px; transition: opacity .4s; }

.dac-home .slide:not(.on) .cap { opacity: 0; }

.dac-home .cap b { display: block; font-size: 18px; font-weight: 600; line-height: 1.4; }

.dac-home .cap small { font-size: 14px; color: var(--ink-2); }

.dac-home .tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }

.dac-home .tabs::-webkit-scrollbar { display: none; }

.dac-home .tab { position: relative; overflow: hidden; flex: none; font-size: 14px; font-weight: 500; padding: 10px 15px; border-radius: 999px; border: 0; background: var(--soft); cursor: pointer; color: var(--ink-2); }

.dac-home .tab[aria-current="true"] { background: var(--ink); color: var(--card); }

.dac-home .tab i { position: absolute; inset: auto 14px 5px; height: 2px; border-radius: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; }

.dac-home .tab.run i { animation: dac-h-fill 5.2s linear forwards; }

@keyframes dac-h-fill { to { transform: scaleX(1); } }
/* lesson finder */
.dac-home .finder { padding-block: 100px 20px; }

.dac-home .finder h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; font-weight: 800; }

.dac-home .finder > p { color: var(--ink-2); font-size: 17px; margin-top: 10px; }

.dac-home .controls { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }

.dac-home .seg { display: flex; gap: 6px; padding: 6px; background: var(--card); border-radius: 22px; box-shadow: 0 10px 24px -18px rgb(var(--dac-shadow) / .5); align-self: flex-start; flex-wrap: wrap; }

.dac-home .seg .lbl { font-size: 13px; color: var(--ink-2); padding: 0 10px; align-self: center; }

.dac-home .yr { width: 54px; height: 54px; border: 0; border-radius: 16px; background: transparent; cursor: pointer; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s, transform .3s cubic-bezier(.16,1,.3,1); }

.dac-home .yr:hover { background: var(--soft); }

.dac-home .yr[aria-pressed="true"] { background: var(--coral); color: var(--coral-ink); transform: scale(1.04); }

.dac-home .yr[disabled] { opacity: .35; cursor: default; }

.dac-home .sep { width: 1px; background: var(--line); margin: 8px 4px; }

.dac-home .fields { display: flex; gap: 8px; flex-wrap: wrap; }

.dac-home .fld { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s; }

.dac-home .fld small { color: var(--ink-2); margin-inline-start: 4px; font-variant-numeric: tabular-nums; }

.dac-home .fld:hover { border-color: var(--ink-2); }

.dac-home .fld[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--card); }
.dac-home .fld[aria-pressed="true"] small { color: inherit; opacity: .75; }

.dac-home .fld[disabled] { opacity: .4; cursor: default; }

.dac-home .count { margin-top: 34px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.dac-home .count b { font-size: 22px; font-weight: 700; }

.dac-home .count span { color: var(--ink-2); }

.dac-home .lessons { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }

.dac-home .ls { background: var(--card); border-radius: 26px; padding: 12px 12px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 34px -26px rgb(var(--dac-shadow) / .55); transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s; }

.dac-home .ls:hover { transform: translateY(-5px); box-shadow: 0 28px 44px -26px rgb(var(--dac-shadow) / .6); }

.dac-home .ls > img { width: 100%; aspect-ratio: 2466 / 1666; object-fit: cover; border-radius: 18px; display: block; }

.dac-home .ls .bk { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, var(--card)); margin-inline: 6px; }

.dac-home .ls .bk img { width: 16px; aspect-ratio: 724 / 1024; object-fit: cover; border-radius: 3px; display: block; box-shadow: 0 2px 4px -1px rgb(var(--dac-shadow) / .4); }

.dac-home .ls { animation: dac-h-rise .6s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 45ms); }

@keyframes dac-h-rise { from { opacity: 0; transform: translateY(18px); } }

.dac-home .ls b { font-size: 17px; line-height: 1.45; font-weight: 600; padding-inline: 8px; }

.dac-home .ls small { font-size: 13px; color: var(--ink-2); padding-inline: 8px; }

.dac-home .more { margin-top: 22px; border: 0; background: var(--card); border-radius: 999px; padding: 14px 24px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 24px -18px rgb(var(--dac-shadow) / .5); }

.dac-home .coll { padding-block: 100px 20px; }

.dac-home .coll h2, .dac-home .voices h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; margin-bottom: 26px; }

.dac-home .shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

.dac-home .shelf a { text-decoration: none; display: flex; flex-direction: column; gap: 10px; background: color-mix(in srgb, var(--c) 14%, var(--card)); border-radius: 26px; padding: 16px 16px 14px; transition: transform .45s cubic-bezier(.16,1,.3,1); }

.dac-home .shelf a:hover { transform: translateY(-5px); }

.dac-home .flip { position: relative; aspect-ratio: 724 / 1024; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 24px -14px rgb(var(--dac-shadow) / .55); }

.dac-home .flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }

.dac-home .flip .pg { opacity: 0; }

.dac-home .flip .pg.on { opacity: 1; }

.dac-home .shelf span { font-size: 15px; font-weight: 600; text-align: center; }

.dac-home .voices { padding-block: 100px 10px; }

.dac-home .vlist { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }

.dac-home .vlist figure:first-child { grid-row: span 2; justify-content: space-between; padding: 36px 34px 30px; background: color-mix(in srgb, var(--coral) 13%, var(--card)); position: relative; overflow: hidden; }

.dac-home .vlist figure:first-child blockquote { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.6; font-weight: 600; max-width: 22ch; }

.dac-home .vlist figure:first-child { padding-inline-end: 150px; }

.dac-home .vlist figure:first-child img { position: absolute; inset-inline-end: 22px; bottom: -8px; height: 160px; pointer-events: none; }

.dac-home .vlist figure { margin: 0; background: var(--card); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 34px -28px rgb(var(--dac-shadow) / .5); }

.dac-home .vlist blockquote { margin: 0; font-size: 17px; line-height: 1.7; }

.dac-home .vlist figcaption { font-size: 13px; color: var(--ink-2); font-weight: 500; }

.dac-home .also { padding-block: 56px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--ink-2); }

.dac-home .also a { text-decoration: none; background: var(--card); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; }

@media (max-width: 1080px) {
.dac-home .hero { grid-template-columns: minmax(0, 1fr); }

.dac-home .hero .peek2 { display: none; }

.dac-home .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.dac-home .vlist { grid-template-columns: minmax(0, 1fr); }

.dac-home .vlist figure:first-child { grid-row: auto; padding: 28px 24px 132px; }

.dac-home .vlist figure:first-child img { height: 120px; }
  }

@media (max-width: 640px) {
.dac-home .in { padding-inline: 16px; }

.dac-home .hero { margin-top: 100px; padding: 26px 20px 22px; border-radius: 30px; gap: 22px; }

.dac-home .hero .peek { height: 104px; top: -84px; inset-inline-end: 70px; }

.dac-home .hero p { font-size: 16px; margin-top: 12px; }

.dac-home .go { margin-top: 18px; }

.dac-home .rail { margin-inline: -20px; }

.dac-home .track { padding-inline: 20px; scroll-padding-inline: 20px; gap: 12px; }

.dac-home .tabs { padding-inline: 20px; }

.dac-home .finder { padding-block: 64px 10px; }

.dac-home .seg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-self: stretch; }

.dac-home .seg .lbl { grid-column: 1 / -1; padding: 4px 6px 0; }

.dac-home .sep { display: none; }

.dac-home .yr { width: auto; height: 50px; }

.dac-home .yr[data-g="7"] { grid-column-start: 1; }

.dac-home .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.dac-home .shelf a { padding: 10px 10px 8px; border-radius: 18px; }

.dac-home .shelf span { font-size: 13px; }

}

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

.dac-home .hero .peek, .dac-home .hero .peek2, .dac-home .hero .peek.hop, .dac-home .hero .peek2.hop, .dac-home .ls { animation: none; }

.dac-home .slide:not(.on) .pic { transform: none; }

.dac-home .ls:hover, .dac-home .shelf a:hover, .dac-home .go:hover { transform: none; }

.dac-home .hero { transition: none; }
 }

