/* ==========================================================================
   COLSKEN — Espresso School page (/school/). Loaded after styles.css; uses its tokens.
   ========================================================================== */
.sc-hero { background: radial-gradient(120% 110% at 85% 0%, #6A3626 0%, var(--espresso-deep) 42%, var(--roast) 100%); color: var(--cream); overflow: hidden; padding-block: clamp(44px, 7vw, 96px) clamp(40px, 6vw, 80px); position: relative; }
.sc-hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='72' viewBox='0 0 84 72'%3E%3Cpath d='M21 2h42l21 34-21 34H21L0 36z' fill='none' stroke='%23C8875A' stroke-opacity='.10' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 84px 72px; mask-image: linear-gradient(90deg, transparent 0%, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); pointer-events: none; }
.sc-hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.sc-hero h1 { color: var(--white); font-size: clamp(46px, 8.4vw, 100px); margin-bottom: .25em; }
.sc-hero h1 .accent { color: var(--ember-soft); display: block; }
.sc-hero .lede { color: var(--cream); }
.sc-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-label); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px 7px; border-radius: 999px; background: var(--espresso); color: var(--blush); white-space: nowrap; }
.sc-tag b { color: #FF7A55; font-weight: 700; }
.on-dark .sc-tag, .sc-hero .sc-tag { background: rgba(243, 232, 223, .12); border: 1px solid rgba(227, 180, 139, .35); }
.sc-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.sc-stats li { font-family: var(--font-label); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px 8px; border-radius: 999px; border: 1px solid rgba(227, 180, 139, .45); color: var(--copper-light); }
.sc-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-hero-art { position: relative; }
.sc-hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }

/* progress */
.sc-progress { margin-top: 26px; max-width: 420px; }
.sc-progress .bar { height: 8px; border-radius: 99px; background: rgba(243,232,223,.16); overflow: hidden; }
.sc-progress .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ember), var(--ember-soft)); border-radius: inherit; transition: width .6s ease; }
.sc-progress p { margin: 8px 0 0; font-size: 14px; color: var(--copper-light); }

/* sticky lesson chips */
.sc-nav { position: sticky; top: 68px; z-index: 40; background: rgba(244, 232, 224, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(80, 40, 28, .12); }
.sc-nav ol { display: flex; gap: 8px; margin: 0 auto; padding: 10px var(--gutter); list-style: none; overflow-x: auto; scrollbar-width: none; max-width: var(--wrap); scroll-padding-inline: var(--gutter); }
.sc-nav ol::-webkit-scrollbar { display: none; }
.sc-nav a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--espresso); padding: 8px 13px; border-radius: 999px; background: var(--white); border: 1px solid rgba(80,40,28,.12); transition: background .2s, color .2s; min-height: 38px; }
.sc-nav a span { font-family: var(--font-label); font-size: 11.5px; color: var(--ember-text); }
.sc-nav a.active { background: var(--espresso); color: var(--white); border-color: var(--espresso); }
.sc-nav a.active span { color: #FF9C7E; }
.sc-nav a.done::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #2FA24F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* how it works */
.sc-how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; padding: 0; list-style: none; }
.sc-how li { background: var(--white); border-radius: var(--radius-m); padding: 22px 20px; box-shadow: 0 10px 30px -24px rgba(36,19,16,.55); }
.sc-how .ico { color: var(--ember); width: 44px; height: 44px; margin-bottom: 10px; }
.sc-how h3 { font-size: 19px; margin-bottom: .3em; color: var(--espresso); }
.sc-how p { margin: 0; font-size: 15.5px; color: var(--mocha); }

/* course map */
.sc-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.sc-track { background: var(--white); border-radius: var(--radius-l); padding: 22px 18px 18px; box-shadow: var(--shadow); }
.sc-track h3 { font-size: 21px; color: var(--espresso); margin-bottom: .25em; }
.sc-track > p { font-size: 14.5px; color: var(--mocha); margin-bottom: 14px; line-height: 1.45; }
.sc-track ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-track a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-decoration: none; padding: 12px 12px; border-radius: 14px; background: var(--blush); transition: transform .2s ease, background .2s ease; }
.sc-track a:hover { background: var(--cream); transform: translateX(3px); }
.sc-track .n { font-family: var(--font-label); font-weight: 700; font-size: 13px; color: var(--white); background: var(--espresso); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.sc-track a.done .n { background: #2FA24F; }
.sc-track .t { font-weight: 700; color: var(--espresso); line-height: 1.25; font-size: 15.5px; }
.sc-track .m { font-family: var(--font-label); font-size: 11px; letter-spacing: .06em; color: var(--mocha); white-space: nowrap; }

/* lesson */
.lesson { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid rgba(80, 40, 28, .1); scroll-margin-top: 120px; }
.lesson:nth-of-type(even) { background: linear-gradient(180deg, #F7EEE7 0%, var(--blush) 100%); }
.lesson-head { display: grid; gap: 12px; max-width: 860px; margin-bottom: clamp(26px, 4vw, 40px); }
.lesson-head .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lesson-head .meta .label { color: var(--mocha); font-size: 12px; }
.lesson-head h2 { color: var(--espresso); margin: 4px 0 0; font-size: clamp(34px, 5.6vw, 62px); }
.lesson-head .promise { font-size: clamp(19px, 2.2vw, 23px); color: var(--ember-text); font-weight: 700; margin: 0; max-width: 34em; line-height: 1.35; }
.lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.lesson-grid > * { min-width: 0; }
.tldr { background: var(--espresso); color: var(--cream); border-radius: var(--radius-l); padding: 24px 24px 22px; margin-bottom: 26px; position: relative; overflow: hidden; }
.tldr::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 2px solid rgba(227,180,139,.18); }
.tldr .label { color: var(--copper-light); display: block; margin-bottom: 12px; }
.tldr ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 10px; }
.tldr li { counter-increment: t; position: relative; padding-left: 38px; line-height: 1.45; font-size: 16.5px; }
.tldr li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ember); color: var(--white); font-family: var(--font-label); font-size: 12px; display: grid; place-items: center; }
.article h3 { font-size: 21px; color: var(--espresso); margin: 1.4em 0 .4em; }
.article p, .article li { font-size: 17px; }
.article ul { padding-left: 1.1em; }
.article li { margin-bottom: .45em; }
.article .tip { background: var(--white); border-left: 4px solid var(--ember); border-radius: 0 14px 14px 0; padding: 14px 18px; font-weight: 600; color: var(--espresso); }
.article .tip::before { content: "Barista tip"; display: block; font-family: var(--font-label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-text); margin-bottom: 4px; }
.kit-note { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid rgba(200,135,90,.35); border-radius: 18px; padding: 14px 16px; margin-top: 18px; font-size: 15.5px; color: var(--espresso); }
.kit-note svg { flex: none; width: 34px; height: 34px; color: var(--copper); }
.kit-note a { font-weight: 700; color: var(--ember-text); white-space: nowrap; }
.kit-fig { margin: 22px 0 0; background: var(--white); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow); }
.kit-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 72%; }
.kit-fig figcaption { padding: 14px 18px; font-size: 15px; color: var(--espresso); }
.kit-fig figcaption a { font-weight: 700; color: var(--ember-text); }

/* videos */
.sc-video { margin: 0; position: relative; }
.sc-video .frame-v { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--cream); box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.sc-video.wide .frame-v { aspect-ratio: 16 / 9; background: #1b100c; }
.sc-video video { width: 100%; height: 100%; object-fit: cover; }
.sc-video .vbtn { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(36,19,16,.78); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; }
.sc-video .vbtn:hover { transform: scale(1.06); background: var(--ember); }
.sc-video .vbtn svg { width: 20px; height: 20px; }
.sc-video .vbtn .i-play { display: none; }
.sc-video.paused .vbtn .i-play { display: block; }
.sc-video.paused .vbtn .i-pause { display: none; }
.sc-video figcaption { font-size: 14px; color: var(--mocha); margin-top: 10px; display: flex; gap: 8px; align-items: baseline; }
.sc-video figcaption .label { color: var(--ember-text); font-size: 11px; flex: none; }
.media-stack { display: grid; gap: 22px; }

/* deck (slide presentation) */
.deck { margin-top: clamp(30px, 5vw, 52px); }
.deck-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.deck-head h3 { font-size: 20px; color: var(--espresso); margin: 0; display: flex; align-items: center; gap: 10px; }
.deck-head h3 .label { color: var(--ember-text); font-size: 12px; }
.deck-ctrl { display: flex; align-items: center; gap: 8px; }
.deck-ctrl output { font-family: var(--font-label); font-weight: 700; font-size: 13px; color: var(--mocha); min-width: 3.4em; text-align: center; }
.deck-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--espresso); background: transparent; color: var(--espresso); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.deck-ctrl button:hover:not(:disabled) { background: var(--espresso); color: var(--white); }
.deck-ctrl button:disabled { opacity: .3; cursor: default; }
.deck-ctrl svg { width: 18px; height: 18px; }
.deck-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; margin: 0; list-style: none; scrollbar-width: thin; scrollbar-color: rgba(80,40,28,.3) transparent; overscroll-behavior-x: contain; }
.deck-track:focus-visible { outline: 3px solid var(--ember); outline-offset: 4px; }
.slide { flex: 0 0 clamp(250px, 72vw, 300px); aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 22px 22px 18px; background: linear-gradient(180deg, #F4E8E0 0%, #E9DECC 62%, #D9C4B1 100%); color: #622A19; box-shadow: 0 16px 34px -26px rgba(36,19,16,.7); }
.slide.s-cover { background: radial-gradient(120% 80% at 50% 0%, #5E3122 0%, #50281C 45%, #44231A 100%); color: #F3E8DF; }
.slide .s-tag { font-family: var(--font-label); font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #50281C; opacity: .8; }
.slide.s-cover .s-tag { color: #E3B48B; opacity: 1; }
.slide .s-tag b { color: #D13213; }
.slide.s-cover .s-tag b { color: #FF7A55; }
.slide .s-art { flex: 1; display: grid; place-items: center; }
.slide .s-art .ico { width: 42%; height: auto; color: #D13213; }
.slide.s-cover .s-art .ico { color: #E3B48B; }
.slide .s-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; font-size: 27px; color: #F5491F; margin: 0 0 8px; }
.slide.s-cover .s-title { color: #FFFFFF; font-size: 31px; }
.slide .s-text { font-size: 15.5px; line-height: 1.4; margin: 0; font-weight: 600; }
.slide .s-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-family: var(--font-label); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; color: #50281C; opacity: .75; }
.slide.s-cover .s-foot { color: #D9C4B1; }
.slide .s-foot svg { height: 13px; width: auto; }
.slide .s-swipe { color: #F5491F; }

/* quiz + done */
.lesson-end { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; margin-top: 26px; align-items: stretch; }
.quiz { background: var(--white); border-radius: var(--radius-l); padding: 22px 22px 18px; box-shadow: 0 12px 34px -26px rgba(36,19,16,.6); }
.quiz .label { color: var(--ember-text); display: block; margin-bottom: 8px; }
.quiz .q { font-weight: 800; color: var(--espresso); font-size: 18px; margin-bottom: 12px; line-height: 1.35; }
.quiz .opts { display: grid; gap: 8px; }
.quiz button { text-align: left; min-height: 48px; padding: 11px 16px; border-radius: 14px; border: 2px solid rgba(80,40,28,.16); background: var(--blush); color: var(--espresso); font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; line-height: 1.3; }
.quiz button:hover:not(:disabled) { border-color: var(--espresso); }
.quiz button.right { background: #E5F4E8; border-color: #2FA24F; color: #1C5E2D; }
.quiz button.wrong { background: #FBE6E1; border-color: var(--ember); color: var(--ember-deep); }
.quiz button:disabled { cursor: default; }
.quiz .fb { margin: 12px 0 0; font-size: 15.5px; min-height: 1.4em; color: var(--espresso); }
.quiz .fb strong { color: #1C5E2D; }
.quiz .fb.no strong { color: var(--ember-deep); }
.done-card { background: var(--espresso); color: var(--cream); border-radius: var(--radius-l); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.done-card p { margin: 0; font-size: 15.5px; }
.done-card .next { color: var(--copper-light); font-weight: 700; text-decoration: none; }
.done-card .next:hover { text-decoration: underline; }
.done-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--copper-light); background: transparent; color: var(--white); font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s; }
.done-btn:hover { background: rgba(255,255,255,.08); }
.done-btn .chk { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; }
.done-btn .chk svg { width: 13px; height: 13px; opacity: 0; }
.done-btn[aria-pressed="true"] { background: #2FA24F; border-color: #2FA24F; }
.done-btn[aria-pressed="true"] .chk svg { opacity: 1; }

/* illustrations + interactive blocks */
.illus { width: 100%; height: auto; border-radius: var(--radius-m); }
.sc-fig { margin: 0; }
.sc-fig figcaption { font-size: 14px; color: var(--mocha); margin-top: 8px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.tiles li { background: var(--white); border-radius: 18px; padding: 16px; display: flex; gap: 12px; align-items: center; }
.tiles .ico { width: 40px; height: 40px; color: var(--ember); flex: none; }
.tiles b { display: block; font-family: var(--font-display); text-transform: uppercase; color: var(--espresso); font-size: 18px; line-height: 1.1; }
.tiles span { font-size: 14px; color: var(--mocha); }

.builder { background: var(--white); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow); margin-bottom: 22px; }
.builder .label { color: var(--ember-text); display: block; margin-bottom: 6px; }
.builder h3 { font-size: 22px; color: var(--espresso); margin-bottom: 14px; }
.builder fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.builder legend { font-weight: 700; color: var(--espresso); margin-bottom: 8px; font-size: 15px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { cursor: pointer; padding: 10px 14px; border-radius: 999px; border: 2px solid rgba(80,40,28,.18); font-weight: 700; font-size: 14.5px; color: var(--espresso); min-height: 44px; display: inline-flex; align-items: center; transition: background .2s, border-color .2s, color .2s; }
.seg input:checked + label { background: var(--espresso); border-color: var(--espresso); color: var(--white); }
.seg input:focus-visible + label { outline: 3px solid var(--ember); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; gap: 6px; background: var(--blush); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--espresso); font-size: 22px; font-weight: 800; cursor: pointer; }
.stepper output { min-width: 4.2em; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--espresso); }
.b-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(200,135,90,.35); border-radius: 18px; overflow: hidden; margin-top: 6px; }
.b-out div { background: var(--espresso); color: var(--cream); padding: 14px 10px; text-align: center; }
.b-out .label { color: var(--copper-light); font-size: 10.5px; margin: 0 0 2px; }
.b-out strong { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); color: var(--white); display: block; line-height: 1.1; }
.b-note { font-size: 14.5px; color: var(--mocha); margin: 12px 0 0; }

.compass { background: var(--white); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow); }
.compass .label { color: var(--ember-text); display: block; margin-bottom: 6px; }
.compass h3 { font-size: 22px; color: var(--espresso); margin-bottom: 14px; }
.c-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto auto; gap: 10px; align-items: center; justify-items: center; }
.c-grid button { width: 100%; min-height: 56px; border-radius: 16px; border: 2px solid rgba(80,40,28,.16); background: var(--blush); color: var(--espresso); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 16px; letter-spacing: .02em; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.c-grid button:hover { border-color: var(--espresso); }
.c-grid button[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: var(--white); transform: scale(1.03); }
.c-grid .c-n { grid-column: 2; grid-row: 1; }
.c-grid .c-w { grid-column: 1; grid-row: 2; }
.c-grid .c-e { grid-column: 3; grid-row: 2; }
.c-grid .c-s { grid-column: 2; grid-row: 3; }
.c-grid .c-f { grid-column: 1; grid-row: 3; font-size: 13px; }
.c-grid .c-sl { grid-column: 3; grid-row: 3; font-size: 13px; }
.c-grid .c-n2 { grid-column: 1; grid-row: 1; visibility: hidden; }
.c-core { grid-column: 2; grid-row: 2; width: 92px; height: 92px; border-radius: 50%; background: var(--espresso); display: grid; place-items: center; color: var(--copper-light); }
.c-core svg { width: 54px; height: 54px; }
.c-out { margin-top: 16px; background: var(--espresso); color: var(--cream); border-radius: 18px; padding: 16px 18px; min-height: 96px; }
.c-out strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 22px; color: var(--white); margin-bottom: 4px; }
.c-out p { margin: 0; font-size: 15.5px; }

.patterns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: clamp(28px, 4vw, 44px); padding: 0; list-style: none; }
.patterns li { background: var(--white); border-radius: 22px; padding: 16px; box-shadow: 0 12px 30px -24px rgba(36,19,16,.6); }
.patterns .pat { width: 100%; max-width: 170px; height: auto; margin: 0 auto 10px; display: block; }
.patterns h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 17px; color: var(--espresso); margin: 0 0 6px; line-height: 1.1; }
.patterns p { font-size: 14.5px; margin: 0 0 4px; line-height: 1.4; }
.patterns p b { color: var(--ember-text); font-family: var(--font-label); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }

.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 22px; }
.checklist section { background: var(--white); border-radius: 20px; padding: 16px 18px; }
.checklist h4 { margin: 0 0 8px; font-family: var(--font-label); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-text); }
.checklist ul { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 26px; font-size: 15px; margin-bottom: 6px; line-height: 1.35; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--copper); }

/* toolbox */
.toolbox { padding-block: var(--section-y); background: var(--roast); color: var(--cream); }
.toolbox h2 { color: var(--white); }
.tool-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(20px, 3vw, 36px); margin-top: 30px; align-items: start; }
.log-card { background: linear-gradient(160deg, #5E3122, #3A1E16); border: 1px solid rgba(227,180,139,.3); border-radius: var(--radius-l); padding: 26px; }
.log-card .label { color: var(--copper-light); display: block; margin-bottom: 8px; }
.log-card h3 { color: var(--white); font-size: 26px; }
.log-card p { color: var(--cream); font-size: 16px; }
.log-card .mini { background: #FCF7F2; border-radius: 14px; padding: 14px; margin: 16px 0 20px; color: var(--espresso); font-size: 12px; overflow: hidden; }
.log-card .mini table { width: 100%; border-collapse: collapse; }
.log-card .mini th, .log-card .mini td { border-bottom: 1px solid #E0D0B8; padding: 6px 4px; text-align: left; font-family: var(--font-label); font-size: 10px; letter-spacing: .04em; }
.gloss { columns: 2; column-gap: 32px; margin: 0; }
.gloss div { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid rgba(227,180,139,.18); }
.gloss dt { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--white); font-size: 16px; letter-spacing: .01em; }
.gloss dd { margin: 2px 0 0; font-size: 15px; color: var(--cream); line-height: 1.45; }
.sc-faq { padding-block: var(--section-y); }
.sc-faq .faq { max-width: 860px; margin-top: 28px; }
.sc-final { background: var(--ember); color: var(--white); padding-block: clamp(48px, 7vw, 84px); text-align: center; }
.sc-final h2 { color: var(--white); }
.sc-final p { max-width: 36em; margin: 0 auto 24px; font-size: 18px; }
.sc-final .sc-ctas { justify-content: center; }
.sc-final .btn { --bg: var(--white); --fg: var(--espresso); }
.sc-final .btn:hover { background: var(--blush); border-color: var(--blush); color: var(--espresso); }
.sc-final .btn.ghost { --bg: transparent; --fg: var(--white); border-color: var(--white); }
.sc-final .btn.ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }

@media (max-width: 1080px) {
  .sc-map { grid-template-columns: repeat(2, 1fr); }
  .patterns { grid-template-columns: repeat(3, 1fr); }
  .sc-how { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sc-hero .wrap, .lesson-grid, .tool-grid, .lesson-end { grid-template-columns: 1fr; }
  .sc-hero-art { max-width: 460px; margin: 0 auto; order: -1; }
  .gloss { columns: 1; }
}
@media (max-width: 600px) {
  .sc-map, .sc-how { grid-template-columns: 1fr; }
  .patterns { grid-template-columns: 1fr 1fr; }
  .patterns li:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
  .patterns li:first-child .pat { margin: 0; }
  .checklist { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; }
  .deck-head h3 .label { display: none; }
  .sc-hero-art { max-width: 340px; }
  .c-grid button { font-size: 14px; min-height: 52px; }
  .c-core { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-track a, .c-grid button, .done-btn { transition: none; }
}
@media print {
  .site-header, .sc-nav, .site-footer, .deck, .sc-video, dialog { display: none !important; }
}

.more { margin-top: 4px; }
.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 2px solid rgba(80,40,28,.16); font-weight: 800; color: var(--espresso); font-size: 15px; transition: border-color .2s; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { border-color: var(--espresso); }
.more summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 6px; transition: transform .2s; }
.more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.more .mins { color: var(--mocha); font-weight: 600; }
.more .close-t, .more[open] .open-t { display: none; }
.more[open] .close-t { display: inline; }
.more[open] summary { margin-bottom: 8px; }
.more-body > :first-child { margin-top: .6em; }

/* batch 3: basket sizes + single/double */
.seg-basket { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.seg-basket label { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2px; border-radius: 16px; padding: 8px 6px; min-height: 64px; }
.seg-basket .bk-size { font-size: 15px; line-height: 1.15; white-space: nowrap; }
.seg-basket .bk-g { font-size: 13px; font-weight: 600; opacity: .8; }
.seg-basket .kit-tag { font-family: var(--font-label); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; background: var(--blush); color: var(--ember-text); border-radius: 999px; padding: 3px 7px 2px; line-height: 1; margin-top: 2px; white-space: nowrap; }
.seg-basket input:checked + label .kit-tag { background: var(--copper-light); color: var(--espresso); }
.seg-basket .kit-tag[hidden], .is-single .seg-basket .kit-tag { display: none; }
.seg-shot { margin-top: 10px; }
.seg-shot label { font-size: 13.5px; padding: 8px 14px; min-height: 40px; }
.b-hint { font-size: 13px; color: rgba(80,40,28,.72); margin: 8px 0 0; line-height: 1.45; }
