:root {
  color-scheme: dark;
  --paper: #151615;
  --surface: #1e201e;
  --ink: #f3efe5;
  --muted: #b7b9b2;
  --line: #393b35;
  --accent: #d6b36f;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; text-underline-offset: .25em; }
button, summary { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--paper); z-index: 3; }
.skip-link:focus { top: 1rem; }
.site-header, footer { width: min(1160px, 90%); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 1.6rem; }
.wordmark { text-decoration: none; font-weight: 650; font-size: 1.2rem; letter-spacing: .02em; }
.wordmark span { display: block; font-weight: 400; font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
nav { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .85rem; }
nav a { text-decoration: none; }
nav a:hover, .text-link:hover, .lesson-grid a:hover { color: var(--accent); }
main > section:not(.hero) { width: min(1160px, 90%); margin-inline: auto; }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 650px; padding: 5rem max(5%, calc((100% - 1160px) / 2)); overflow: hidden; background: #23343e; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 16, 18, .84), rgba(12, 16, 18, .4) 60%, rgba(12, 16, 18, .12)), linear-gradient(0deg, rgba(12, 16, 18, .45), transparent 35%); }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-copy { max-width: 48rem; }
.eyebrow { color: var(--accent); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 5.7vw, 5.5rem); margin: 1.4rem 0 1.7rem; }
h1 em { color: #e6c58b; font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 29rem; color: #e3e2db; font-size: 1.03rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 2rem; padding: .85rem 1.4rem; background: var(--accent); color: #171913; text-decoration: none; border: 1px solid var(--accent); border-radius: 2px; font-weight: 600; font-size: .85rem; cursor: pointer; }
.button:hover { background: #e5c990; }
.text-link { color: #f3efe5; font-size: .85rem; }
.hero-caption { position: absolute; bottom: 1.2rem; right: 5%; color: #deded6; font-size: .65rem; letter-spacing: .1em; }
.tools-invitation { padding-block: 1rem 4rem; }
.tools-invitation p { max-width: 36rem; }
.tool-lesson-link a { color: var(--accent); }
.lessons { padding-block: 4rem 3rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
h2 { font-size: clamp(2.2rem, 3.4vw, 3.2rem); margin: .7rem 0; }
.section-heading > p { max-width: 24rem; color: var(--muted); font-size: .9rem; }
.lesson-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
details { border: 1px solid var(--line); padding: 1.3rem 1.5rem; background: var(--surface); }
details:hover { border-color: #75674b; }
summary { cursor: pointer; font-size: 1rem; font-weight: 500; padding-right: .5rem; }
summary::marker { color: var(--accent); }
details p { color: var(--muted); margin-bottom: .3rem; max-width: 34rem; font-size: .9rem; }
details .assignment { color: var(--ink); }
details a { color: var(--accent); }
.course-status { color: var(--muted); font-size: .8rem; margin-top: 2rem; }
.practice { padding: 3rem clamp(1.5rem, 5vw, 5rem); background: var(--surface); border: 1px solid var(--line); margin-bottom: 4rem; }
.practice > p { max-width: 39rem; }
button:not(.button) { cursor: pointer; border: 1px solid var(--accent); padding: .65rem 1rem; background: transparent; color: var(--accent); border-radius: 2px; margin-top: .8rem; font-size: .85rem; }
footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1rem 2rem; color: var(--muted); font-size: .7rem; }
.course-page main { width: min(1160px, 90%); margin-inline: auto; }
.course-page main > section { width: 100%; margin-inline: 0; }
.course-intro { max-width: 48rem; padding-block: 3.5rem 2.5rem; }
.course-intro h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.course-intro > p { max-width: 42rem; }
.course-intro .button { margin-top: .5rem; }
.handbook-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.course-contents { display: block; padding-block: 2rem; border-block: 1px solid var(--line); }
.course-contents h2 { font-size: 2rem; }
.course-contents ol { columns: 2; column-gap: 3rem; padding-left: 1.5rem; }
.course-contents li { padding: .35rem 0 .35rem .25rem; break-inside: avoid; }
.course-contents li::marker { color: var(--accent); }
.course-body { max-width: 48rem; margin-inline: auto; }
.course-lesson { padding-block: 3rem; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.course-lesson h2 { font-size: clamp(2.3rem, 4vw, 3.2rem); }
.course-lesson h3, .field-notes dt { font-size: 1rem; margin-top: 1.8rem; font-weight: 600; color: var(--accent); }
.lesson-goal { font-size: 1.15rem; color: var(--muted); }
.course-lesson li { margin-block: .9rem; padding-left: .4rem; }
.lesson-assignment { padding: .2rem 1.5rem .8rem; background: var(--surface); border-left: 3px solid var(--accent); margin-block: 2rem; }
.lesson-assignment h3 { margin-top: 1rem; }
.source-links { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; margin-top: 2rem; }
.lesson-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.lesson-navigation a { color: var(--accent); }
.field-notes { padding-block: 3rem; }
.field-notes dd { margin: .25rem 0 1.5rem; color: var(--muted); }
@media (max-width: 760px) {
  .site-header { align-items: start; flex-direction: column; gap: 1rem; }
  nav { gap: .7rem 1.2rem; }
  .hero { min-height: 580px; padding-block: 4rem; }
  .hero::after { background: linear-gradient(90deg, rgba(12, 16, 18, .83), rgba(12, 16, 18, .35)); }
  .hero-photo { object-position: 55% center; }
  h1 { font-size: clamp(2.8rem, 8.5vw, 4.5rem); }
  .hero-copy > p:not(.eyebrow) { max-width: 27rem; font-size: .95rem; }
  .hero-actions { gap: 1.2rem; }
  .hero-caption { font-size: .6rem; }
  .section-heading { display: block; }
  .lesson-grid { grid-template-columns: 1fr; }
  .lessons { padding-top: 2.5rem; }
  footer { flex-direction: column; gap: 0; }
  .course-intro { padding-top: 2rem; }
  .course-contents ol { columns: 1; }
  .lesson-navigation { flex-direction: column; }
  .course-lesson ol { padding-left: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  @page { size: A4; margin: 18mm; }
  :root { color-scheme: light; --ink: black; --muted: #444; --accent: black; --paper: white; --surface: white; }
  html { scroll-behavior: auto; }
  body { background: white; color: black; }
  .site-header, .hero, .lessons, .tools-invitation, .tool-lesson-link, .pdf-download, footer, button, .skip-link { display: none !important; }
  main, main > section:not(.hero), .course-page main { width: 100%; }
  .practice { background: white; color: black; padding: 0; margin: 0; border: 0; }
  .course-page { font-size: 10pt; line-height: 1.5; }
  .course-intro { padding: 0; }
  .course-intro h1 { font-size: 30pt; }
  .course-intro .course-status { font-size: 9pt; }
  .course-contents { margin-block: 1.5rem; }
  .course-contents ol { columns: 1; }
  .course-body { max-width: none; }
  .course-lesson { break-before: page; padding-top: 0; border-bottom: 0; }
  .course-lesson h2, .field-notes h2 { font-size: 24pt; }
  .course-lesson h2, .course-lesson h3 { break-after: avoid; }
  .course-lesson p, .course-lesson li { orphans: 3; widows: 3; }
  .lesson-assignment { background: white; break-inside: avoid; }
  .lesson-navigation { display: none; }
  .field-notes { break-before: page; padding-top: 0; }
  .field-notes dd { min-height: 18mm; border-bottom: 1px solid #aaa; color: black; }
  a { color: black; }
}

.tools-intro { padding-block: 3rem; }
.tools-intro h1 { font-size: clamp(2.7rem, 5.5vw, 5rem); }
.tools-intro > p { max-width: 40rem; color: var(--muted); }
.tools-intro .eyebrow { color: var(--accent); }
.tools-intro nav { margin-top: 1.8rem; }
.tools-intro nav a { color: var(--accent); border-bottom: 1px solid var(--line); }
.learning-tool { padding-block: 3rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.tool-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.tool-heading > a { color: var(--accent); font-size: .85rem; }
.learning-tool > p { max-width: 48rem; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 2rem; margin-top: 2rem; align-items: start; }
.tool-preview { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #23343e; }
.tool-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-caption { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: .7rem; padding: .5rem .8rem; margin: 0; background: rgba(0, 0, 0, .78); color: white; font-size: .8rem; }
.tool-controls { padding: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
.tool-controls label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; margin-bottom: .5rem; }
.tool-controls label:not(:first-child) { margin-top: 1.1rem; }
.tool-controls output { color: var(--accent); }
.tool-controls select { font: inherit; font-size: .95rem; width: 100%; min-height: 44px; padding: .55rem .65rem; color: var(--ink); background: var(--paper); border: 1px solid #666a60; border-radius: 2px; }
.tool-controls input[type="range"] { width: 100%; min-height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.tool-controls input:disabled { opacity: .4; cursor: default; }
.tool-controls select:focus-visible, .tool-controls input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.tool-controls button { min-height: 44px; }
.tool-readout { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.tool-readout > output { font-size: 1.2rem; }
.tool-readout p { color: var(--muted); font-size: .85rem; margin: .4rem 0; }
.setting-effects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-block: 2rem; }
.setting-effects dt { color: var(--accent); font-weight: 600; }
.setting-effects dd { color: var(--muted); margin: .5rem 0 0; font-size: .85rem; }
.model-notes { margin-top: 1.5rem; }
.tool-hint { font-size: .85rem; color: var(--muted); }
.composition-guide, .balance-tint { position: absolute; inset: 0; pointer-events: none; }
.composition-guide span { position: absolute; background: rgba(255, 255, 255, .85); box-shadow: 0 0 2px black; }
.guide-v { top: 0; bottom: 0; width: 1px; }
.guide-h { left: 0; right: 0; height: 1px; }
.thirds .guide-v.first { left: 33.333%; }
.thirds .guide-v.second { left: 66.667%; }
.thirds .guide-h.first { top: 33.333%; }
.thirds .guide-h.second { top: 66.667%; }
.centre .guide-v.first { left: 50%; }
.centre .guide-h.first { top: 50%; }
.centre .second, .composition-guide.none { display: none; }
.balance-tint { mix-blend-mode: color; }
.photo-credit { padding-block: 1rem 3rem; font-size: .85rem; color: var(--muted); }
.photo-credit h2 { font-family: inherit; letter-spacing: normal; font-size: 1rem; }
.photo-credit p { max-width: 50rem; }
@media (max-width: 760px) {
  .tool-layout { grid-template-columns: 1fr; gap: 1rem; }
  .setting-effects { grid-template-columns: 1fr; gap: 1rem; }
  .tool-controls { padding: 1.2rem; }
}
@media print { .tool-controls, .tools-intro nav, .model-notes { display: none; } }

.visual-lesson { margin-block: 2rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); }
.visual-lesson > h3 { margin-top: 0; color: var(--ink); font-size: 1.15rem; }
.demo-photo { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #23343e; }
.demo-photo > img, .edit-before img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-choices { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.demo-choices button { min-height: 44px; margin: 0; padding: .6rem .8rem; color: var(--ink); border-color: #6d715f; }
.demo-choices button[aria-pressed="true"], .story-choices button[aria-pressed="true"] { background: var(--accent); color: #171913; border-color: var(--accent); }
.demo-caption { min-height: 3.3em; font-size: .95rem; margin-block: 1rem .6rem; }
.demo-note, .demo-credit { font-size: .75rem; color: var(--muted); }
.demo-credit a, .lesson-photo-credits a { color: var(--accent); }
.demo-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.demo-comparison figure { margin: 0; }
.demo-comparison figcaption { font-size: .8rem; padding-top: .5rem; color: var(--accent); }
.demo-range { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .9rem; margin-top: 1rem; }
.demo-range output { color: var(--accent); }
.visual-lesson input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--accent); cursor: pointer; }
.visual-lesson input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.focus-box { position: absolute; left: 42%; top: 39%; width: 16%; height: 22%; border: 2px solid #94e2ac; }
.camera-screen[data-step="frame"] img { filter: blur(2px); }
.camera-screen[data-step="frame"] .focus-box { border-color: white; }
.camera-screen[data-step="review"] img { transform: scale(1.8); }
.camera-screen[data-step="review"] .focus-box { display: none; }
.camera-state { position: absolute; left: 1rem; bottom: 1rem; padding: .4rem .7rem; font-size: .8rem; color: white; background: rgba(0,0,0,.8); }
.soft-focus, .focus-example.missed img { filter: blur(5px); }
.focus-example.missed .focus-box { border-color: #e0b078; }
.light-stage { position: relative; height: 310px; overflow: hidden; background: linear-gradient(#101615 0 70%, #29322b 70%); }
.light-sphere { position: absolute; left: calc(50% - 75px); top: 95px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 45% 38%, #f4e7bd 0%, #c6ac73 44%, #4d4c39 85%); }
.light-source { position: absolute; width: 45px; height: 45px; left: calc(50% - 22px); top: 20px; border-radius: 50%; background: #fff2ba; box-shadow: 0 0 35px #d4bb6b; }
.light-shadow { position: absolute; left: calc(50% - 85px); top: 220px; width: 170px; height: 25px; background: #0c1110; border-radius: 50%; filter: blur(8px); }
.light-stage[data-light="side"] .light-source { left: 8%; top: 95px; }
.light-stage[data-light="side"] .light-sphere { background: radial-gradient(circle at 5% 40%, #f9edc9, #b7995f 25%, #252d28 72%); }
.light-stage[data-light="side"] .light-shadow { left: 50%; width: 38%; transform: rotate(8deg); }
.light-stage[data-light="back"] .light-source { top: 70px; width: 95px; height: 95px; left: calc(50% - 47px); }
.light-stage[data-light="back"] .light-sphere { background: radial-gradient(circle at 50% 60%, #19231f 65%, #6c7559 91%, #f9edbd); box-shadow: 0 -3px 12px #ddca8a; }
.light-stage[data-light="back"] .light-shadow { top: 230px; height: 65px; }
.light-label { position: absolute; left: 1rem; bottom: .7rem; color: white; font-size: .8rem; }
.motion-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.motion-comparison p { font-size: .8rem; }
.motion-track { height: 55px; position: relative; background: #101615; overflow: hidden; }
.motion-mark { display: block; position: absolute; height: 22px; right: 15%; top: 16px; border-radius: 20px; background: linear-gradient(90deg, transparent, #d6b36f); }
.motion-mark.fast { width: 24px; }
.motion-mark.slow { width: 75%; }
.depth-label { position: absolute; padding: .25rem .5rem; color: white; background: rgba(0,0,0,.8); font-size: .7rem; }
.depth-label.far { top: 29%; left: 5%; }
.depth-label.middle { top: 48%; right: 4%; }
.depth-label.near { bottom: 10%; left: 7%; }
.edit-after { transform: scale(1.1); }
.edit-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.edit-before img { transform: rotate(-4deg) scale(1.15); filter: brightness(.65) saturate(.75); }
.edit-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: white; box-shadow: 0 0 3px black; }
.edit-label { position: absolute; top: .7rem; padding: .3rem .5rem; background: rgba(0,0,0,.8); color: white; font-size: .7rem; }
.edit-label.before { left: .7rem; }
.edit-label.after { right: .7rem; }
.story-choices { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .5rem; margin-top: 1rem; }
.story-choices button { margin: 0; padding: 0; border-color: #6d715f; overflow: hidden; min-height: 44px; }
.story-choices img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.story-choices span { display: block; padding: .45rem .15rem; font-size: .65rem; }
.lesson-explanation { margin-block: 1.5rem; background: transparent; }
.lesson-photo-credits { padding-block: 2rem; font-size: .8rem; }
.lesson-photo-credits h2 { font-family: inherit; font-size: 1rem; letter-spacing: normal; }
@media (max-width: 760px) {
  .visual-lesson { padding: 1rem; margin-inline: -.2rem; }
  .demo-comparison { grid-template-columns: 1fr; gap: 1rem; }
  .demo-choices { gap: .5rem; }
  .demo-choices button { flex: 1 1 auto; font-size: .75rem; }
  .story-choices { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .light-stage { height: 290px; }
  .depth-label { font-size: .6rem; }
}
@media print {
  .visual-lesson { break-inside: avoid; background: white; padding: 1rem; }
  .demo-choices, .visual-lesson input, .demo-range, .story-choices, .demo-credit { display: none; }
  .demo-caption, .demo-note { color: black; }
  .demo-photo { max-height: 65mm; }
  .lesson-explanation { display: block; border: 0; padding: 0; }
  .lesson-explanation > summary { display: none; }
}

.learning-progress { border: 1px solid var(--line); background: var(--surface); padding: 1.5rem; margin-bottom: 2rem; }
.learning-progress h2 { font: 600 1rem system-ui, sans-serif; letter-spacing: normal; margin: 0; }
.progress-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; margin-block: .8rem; font-size: .85rem; }
.progress-heading p { margin: 0; }
.progress-heading a, .practice-status { color: var(--accent); }
.learning-progress progress { width: 100%; height: 12px; accent-color: var(--accent); }
.learning-progress progress::-webkit-progress-bar { background: #373b33; border-radius: 8px; }
.learning-progress progress::-webkit-progress-value { background: var(--accent); border-radius: 8px; }
.practice-status { display: inline-block; font-size: .65rem; margin-left: .65rem; }
.visual-challenge { margin-block: 2rem; padding: 1.5rem; border: 1px solid var(--line); }
.visual-challenge > h3 { margin-top: 0; }
.challenge-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.challenge-options button { min-width: 0; margin: 0; padding: 0; overflow: hidden; color: var(--ink); border: 1px solid #6d715f; }
.challenge-options button[aria-pressed="true"] { border: 3px solid var(--accent); }
.challenge-options button > span { display: block; padding: .65rem; font-size: .85rem; }
.quiz-photo { aspect-ratio: 3 / 2; position: relative; overflow: hidden; background: #23343e; }
.quiz-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quiz-soft img { filter: blur(5px); }
.quiz-tight img { transform: translate(-4%, -8%) scale(2.8); }
.quiz-bright img { filter: brightness(4); }
.quiz-narrow img { transform: scale(1.454545); }
.quiz-level img { transform: scale(1.1); }
.quiz-tilted img { transform: rotate(-4deg) scale(1.15); }
.quiz-light .light-stage { height: 180px; }
.quiz-light .light-sphere { width: 85px; height: 85px; top: 56px; left: calc(50% - 42px); }
.quiz-light .light-source { width: 25px; height: 25px; top: 12px; left: calc(50% - 12px); }
.quiz-light .light-shadow { top: 130px; left: calc(50% - 50px); width: 100px; height: 15px; }
.quiz-light .light-stage[data-light="side"] .light-source { left: 8%; top: 56px; }
.quiz-light .light-stage[data-light="side"] .light-shadow { left: 50%; width: 40%; }
.challenge-feedback { min-height: 3.3em; font-size: .9rem; color: var(--muted); }
.challenge-feedback.answered-correctly { color: #afe0b4; }
.practice-completion { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; margin-block: 1.5rem; cursor: pointer; font-size: .9rem; }
.practice-completion input { width: 22px; height: 22px; accent-color: var(--accent); flex-shrink: 0; }
.practice-completion input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 760px) {
  .visual-challenge { padding: 1rem; }
  .challenge-options { gap: .6rem; }
  .quiz-light .light-stage { height: 150px; }
  .quiz-light .light-sphere { width: 70px; height: 70px; top: 45px; left: calc(50% - 35px); }
  .quiz-light .light-shadow { top: 110px; width: 75px; left: calc(50% - 37px); }
  .quiz-light .light-stage[data-light="side"] .light-source { left: 5%; top: 42px; }
}
@media print { .learning-progress, .practice-status, .visual-challenge, .practice-completion { display: none !important; } }
