@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/barlow-condensed-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

.ttd-shell {
  --ttd-background: #000;
  --ttd-surface: #141414;
  --ttd-ink: #f7f7f7;
  --ttd-copy: #d5d5d5;
  --ttd-muted: #b7b7b7;
  --ttd-line: #343434;
  --ttd-blue: #adceff;
  --ttd-card-surface: #f7f7f5;
  --ttd-card-ink: #11151b;
  --ttd-card-copy: #48505a;
  --ttd-card-blue: #204bba;
  --ttd-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --ttd-sans: 'DM Sans', system-ui, sans-serif;
  background: var(--ttd-background);
  color: var(--ttd-ink);
  font-family: var(--ttd-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

.ttd-shell *, .ttd-shell *::before, .ttd-shell *::after { box-sizing: border-box; }
.ttd-shell h1, .ttd-shell h2, .ttd-shell h3 {
  color: inherit;
  font-family: var(--ttd-display);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.02;
  margin: 0;
  padding: 0;
  text-transform: none;
}
.ttd-shell h2 { font-size: clamp(2.35rem, 5vw, 3.65rem); }
.ttd-shell h3 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.ttd-shell p { color: inherit; font: inherit; margin: 0; }
.ttd-shell a { color: var(--ttd-blue); text-underline-offset: .23em; }
.ttd-shell a:hover { text-decoration: underline; }
.ttd-shell :focus-visible { outline: 3px solid #79abff; outline-offset: 4px; }
.ttd-shell img { display: block; max-width: 100%; }
.ttd-shell [id] { scroll-margin-top: 1.25rem; }
.ttd-shell figure { margin: 0; }
.ttd-shell .ttd-wrap { max-width: 1232px; margin-inline: auto; padding-inline: clamp(1.2rem, 4.25vw, 3.1rem); }
.ttd-shell .ttd-skip { position: absolute; left: 1rem; top: -12rem; z-index: 30; padding: .6rem 1rem; background: var(--ttd-surface); }
.ttd-shell .ttd-skip:focus { top: 1rem; }

.ttd-header { border-bottom: 1px solid var(--ttd-line); position: relative; z-index: 3; }
.ttd-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; min-height: 76px; }
.ttd-shell .ttd-brand { align-items: center; color: var(--ttd-ink); display: inline-flex; gap: .68rem; font: 800 1.55rem/.95 var(--ttd-display); letter-spacing: .015em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.ttd-brand-mark { background: var(--ttd-surface); border-radius: 7px; display: grid; place-items: center; width: 48px; height: 37px; overflow: hidden; }
.ttd-brand-mark img { display: block; width: 34px; height: auto; mix-blend-mode: screen; }
.ttd-main-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.6vw, 2.4rem); }
.ttd-shell .ttd-main-nav a, .ttd-shell .ttd-account a { color: var(--ttd-ink); font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ttd-shell .ttd-main-nav a:hover, .ttd-shell .ttd-account a:hover { color: var(--ttd-blue); text-decoration: underline; }
.ttd-account { justify-self: end; position: relative; }
.ttd-account summary { cursor: pointer; border: 1px solid var(--ttd-line); padding: .38rem .72rem; border-radius: 4px; font-weight: 700; font-size: .86rem; list-style: none; white-space: nowrap; }
.ttd-account summary::-webkit-details-marker { display: none; }
.ttd-account summary span { margin-left: .2rem; }
.ttd-account > div { position: absolute; right: 0; top: calc(100% + .4rem); min-width: 135px; border: 1px solid var(--ttd-line); background: var(--ttd-surface); padding: .5rem .8rem; box-shadow: 0 10px 24px #000a; }
.ttd-account > div a { display: block; padding: .35rem 0; }

.ttd-hero { border-bottom: 1px solid var(--ttd-line); }
.ttd-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2rem, 4vw, 3.6rem); }
.ttd-hero-copy { padding-block: .9rem; }
.ttd-shell .ttd-kicker { color: var(--ttd-blue); font-size: .73rem; font-weight: 800; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }
.ttd-hero .ttd-kicker { margin-bottom: 1.05rem; }
.ttd-shell .ttd-hero h1 { font-size: clamp(3.7rem, 7.6vw, 7.05rem); font-weight: 800; letter-spacing: -.025em; line-height: .88; }
.ttd-hero h1 em { color: var(--ttd-blue); font-style: normal; }
.ttd-hero .ttd-hero-lead { color: var(--ttd-copy); font-size: clamp(1.01rem, 1.7vw, 1.21rem); max-width: 33ch; margin: 1.45rem 0 1.75rem; }
.ttd-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.ttd-shell .ttd-button { display: inline-flex; align-items: center; gap: .72rem; padding: .72rem 1.05rem; min-height: 48px; background: var(--ttd-blue); border: 1px solid var(--ttd-blue); border-radius: 4px; color: var(--ttd-card-ink); font-size: .95rem; font-weight: 800; line-height: 1.25; text-decoration: none; }
.ttd-shell .ttd-button:hover { background: #d1e4ff; border-color: #d1e4ff; }
.ttd-shell .ttd-button-outline { background: transparent; border-color: #737373; color: var(--ttd-ink); }
.ttd-shell .ttd-button-outline:hover { background: var(--ttd-surface); border-color: var(--ttd-muted); }
.ttd-shell .ttd-instructor-link { display: inline-block; margin-top: 1.25rem; color: var(--ttd-muted); font-size: .84rem; font-weight: 600; text-decoration: none; }
.ttd-shell .ttd-instructor-link:hover { text-decoration: underline; }
.ttd-hero-photo { position: relative; aspect-ratio: 1.10; overflow: hidden; border: 1px solid #5c5c5c; background: var(--ttd-surface); }
.ttd-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; filter: saturate(.83); }
.ttd-hero-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--ttd-background); padding: .35rem .66rem; font-size: .72rem; font-weight: 600; color: var(--ttd-ink); }

.ttd-section { padding-block: clamp(2.65rem, 6vw, 5.25rem); }
.ttd-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .85rem 1rem; margin-bottom: 1.55rem; }
.ttd-section-heading p { color: var(--ttd-muted); }
.ttd-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2.2vw, 1.35rem); }
.ttd-card { border: 1px solid #b4b4b4; background: var(--ttd-card-surface); }
.ttd-shell .ttd-card a { display: flex; flex-direction: column; height: 100%; color: var(--ttd-card-ink); text-decoration: none; }
.ttd-shell .ttd-card:hover { border-color: var(--ttd-blue); }
.ttd-card img { aspect-ratio: 16 / 8.2; border-bottom: 1px solid #d4d4d4; width: 100%; object-fit: cover; object-position: center 46%; background: #c8c8c8; }
.ttd-card-copy { padding: 1.03rem 1rem 1.2rem; }
.ttd-card-copy h3 { display: flex; justify-content: space-between; gap: .32rem; margin: .37rem 0 .5rem; }
.ttd-card-copy h3 span { font: 600 1.05rem/1.45 var(--ttd-sans); color: var(--ttd-card-blue); }
.ttd-card-copy p:last-child { color: var(--ttd-card-copy); font-size: .9rem; }
.ttd-topic-links { display: flex; flex-wrap: wrap; gap: .48rem; margin-top: 1.32rem; }
.ttd-shell .ttd-topic-links a { color: var(--ttd-ink); font-size: .85rem; font-weight: 700; text-decoration: none; border: 1px solid var(--ttd-line); border-radius: 3px; padding: .38rem .72rem; }
.ttd-shell .ttd-topic-links a:hover { border-color: var(--ttd-blue); color: var(--ttd-blue); }

.ttd-courses, .ttd-warmups, .ttd-signup, .ttd-footer { border-top: 1px solid var(--ttd-line); }
.ttd-courses .ttd-section { padding-block: clamp(2rem, 4.25vw, 3.4rem); }
.ttd-course-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.ttd-shell .ttd-course-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: clamp(1rem, 2.5vw, 1.55rem); border: 1px solid var(--ttd-line); background: var(--ttd-surface); color: var(--ttd-ink); text-decoration: none; }
.ttd-shell .ttd-course-links a:hover { border-color: var(--ttd-blue); }
.ttd-course-links p { color: var(--ttd-muted); font-size: .92rem; margin-top: .45rem; }
.ttd-course-links span { color: var(--ttd-blue); font-weight: 700; }
.ttd-warmups { border-bottom: 1px solid var(--ttd-line); }
.ttd-warmup-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(2rem, 4.25vw, 3.4rem); }
.ttd-warmup-inner p, .ttd-about p { color: var(--ttd-copy); margin-top: .65rem; }
.ttd-warmup-links { border-top: 1px solid var(--ttd-line); }
.ttd-shell .ttd-warmup-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--ttd-line); color: var(--ttd-ink); text-decoration: none; }
.ttd-warmup-links a:hover strong { text-decoration: underline; }
.ttd-warmup-links a span { display: flex; gap: 1rem; color: var(--ttd-blue); font-size: .85rem; font-weight: 800; white-space: nowrap; }
.ttd-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.4rem, 5vw, 4rem); align-items: center; }
.ttd-about img { width: 100%; height: auto; }
.ttd-about-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-weight: 800; }
.ttd-signup-inner { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2rem; padding-block: clamp(2rem, 5vw, 4rem); }
.ttd-signup p { margin-top: .5rem; color: var(--ttd-copy); }
.ttd-shell .ttd-signup .wpforms-container {
  --wpforms-field-background-color: var(--ttd-surface);
  --wpforms-field-border-color: #777;
  --wpforms-field-text-color: var(--ttd-ink);
  --wpforms-label-color: var(--ttd-ink);
  --wpforms-label-sublabel-color: var(--ttd-muted);
  --wpforms-label-error-color: #ffabab;
  --wpforms-button-background-color: var(--ttd-blue);
  --wpforms-button-text-color: var(--ttd-card-ink);
  color-scheme: dark;
  margin: 0;
}

.ttd-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .85rem 1.7rem; padding-block: 1.4rem; }
.ttd-footer nav a { color: var(--ttd-ink); }
.ttd-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; font-size: .86rem; }
.ttd-footer nav a { text-decoration: none; }

.ttd-course-hero, .ttd-lesson-hero { border-bottom: 1px solid var(--ttd-line); }
.ttd-course-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.4rem, 5.5vw, 5rem); align-items: center; padding-block: clamp(2.2rem, 5.2vw, 4.7rem); }
.ttd-course-hero img { width: 100%; height: auto; border: 1px solid var(--ttd-line); }
.ttd-shell .ttd-back-link { color: var(--ttd-copy); display: inline-block; font-size: .86rem; font-weight: 700; margin-bottom: 1.1rem; text-decoration: none; }
.ttd-shell .ttd-back-link:hover { color: var(--ttd-blue); text-decoration: underline; }
.ttd-course-hero h1, .ttd-lesson-hero h1 { font-size: clamp(3.25rem, 6vw, 6.35rem); font-weight: 800; letter-spacing: -.022em; line-height: .94; margin-top: .45rem; }
.ttd-course-hero h1 + p, .ttd-lesson-hero h1 + p { color: var(--ttd-copy); margin-top: .85rem; max-width: 48ch; font-size: clamp(1rem, 2vw, 1.15rem); }
.ttd-course-hero .ttd-button { margin-top: 1.25rem; }
.ttd-course-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .43fr); gap: 1.65rem clamp(1.35rem, 5vw, 3.85rem); align-items: start; }
.ttd-course-body h2 { font-size: clamp(2.35rem, 4vw, 3.2rem); }
.ttd-curriculum { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: lesson; border-top: 1px solid var(--ttd-line); }
.ttd-curriculum li { counter-increment: lesson; }
.ttd-shell .ttd-curriculum a { display: grid; grid-template-columns: 2.1rem 1fr auto; gap: .66rem; align-items: center; border-bottom: 1px solid var(--ttd-line); padding: .82rem .55rem; color: var(--ttd-ink); text-decoration: none; }
.ttd-curriculum a::before { content: counter(lesson, decimal-leading-zero); color: var(--ttd-blue); font: 700 1.2rem/1 var(--ttd-display); }
.ttd-curriculum a:hover { background: var(--ttd-surface); }
.ttd-curriculum strong, .ttd-curriculum small { display: block; }
.ttd-curriculum small { color: var(--ttd-muted); font-size: .83rem; line-height: 1.4; }
.ttd-curriculum b { color: var(--ttd-blue); }
.ttd-course-aside { align-self: start; border: 1px solid var(--ttd-line); background: var(--ttd-surface); padding: clamp(1rem, 2vw, 1.5rem); }
.ttd-shell .ttd-course-aside h2 { font-size: 1.94rem; }
.ttd-course-aside ul { color: var(--ttd-copy); margin: .75rem 0 .55rem; padding-left: 1.3rem; }
.ttd-course-aside p { color: var(--ttd-muted); font-size: .94rem; }
.ttd-course-aside a { display: block; font-size: .9rem; font-weight: 700; margin-top: .85rem; }
.ttd-course-notes { grid-column: 1 / -1; border-block: 1px solid var(--ttd-line); }
.ttd-course-notes summary { cursor: pointer; font-weight: 700; padding: .8rem .2rem; }
.ttd-course-notes .ttd-prose { padding-bottom: 1rem; }

.ttd-lesson-hero .ttd-wrap { padding-block: clamp(1.7rem, 4vw, 3.2rem); }
.ttd-lesson-hero h1 { max-width: 25ch; font-size: clamp(3rem, 5.4vw, 5.4rem); }
.ttd-lesson-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(225px, .38fr); gap: clamp(1.5rem, 4.5vw, 3.1rem); align-items: start; padding-block: clamp(1.5rem, 4.5vw, 3.2rem); }
.ttd-lesson-inner:not(:has(.ttd-practice)) { display: block; }
.ttd-lesson-inner:not(:has(.ttd-practice)) .ttd-prose { max-width: 790px; }
.ttd-prose { min-width: 0; color: var(--ttd-copy); overflow-wrap: break-word; }
.ttd-prose p, .ttd-prose ul, .ttd-prose ol { margin: 0 0 1em; }
.ttd-prose h2, .ttd-prose h3, .ttd-prose h4 { color: var(--ttd-ink); line-height: 1.1; margin: 1.15em 0 .45em; }
.ttd-prose h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.ttd-prose figure { max-width: 100%; margin: 0 0 1.25em; }
.ttd-prose img { max-width: 100%; height: auto; }
.ttd-prose a { text-decoration: underline; }
.ttd-prose table { max-width: 100%; }
.ttd-prose > .wp-block-embed, .ttd-prose iframe { max-width: 100%; }
.ttd-prose .wp-block-embed__wrapper:has(.ttd-video)::before { display: none; }
.ttd-prose .wp-block-embed__wrapper .ttd-video iframe { position: static; }
.ttd-video { background: var(--ttd-surface); color: var(--ttd-ink); aspect-ratio: 16 / 9; position: relative; overflow: hidden; margin-bottom: 1.15rem; }
.ttd-video a, .ttd-video iframe, .ttd-video img { display: block; width: 100%; height: 100%; border: 0; }
.ttd-video img { object-fit: cover; filter: brightness(.72); }
.ttd-video a:hover img { filter: brightness(.83); }
.ttd-video a:focus-visible { outline-offset: -5px; }
.ttd-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 3.65rem; height: 3.65rem; padding-left: .16rem; border-radius: 50%; background: var(--ttd-blue); color: var(--ttd-card-ink); font-size: 1.2rem; }
.ttd-video-caption { position: absolute; left: .7rem; bottom: .65rem; background: var(--ttd-background); color: var(--ttd-ink); padding: .28rem .5rem; font-weight: 700; font-size: .85rem; }
.ttd-practice dl { margin: .8rem 0; }
.ttd-practice dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .52rem 0; border-bottom: 1px solid var(--ttd-line); }
.ttd-practice dt { font-weight: 500; color: var(--ttd-muted); }
.ttd-practice dd { margin: 0; font-weight: 800; white-space: nowrap; }
.ttd-lesson-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.4rem; margin-bottom: 2.6rem; }
.ttd-lesson-next > a { font-weight: 700; }
.ttd-lesson-comments { margin-bottom: 2rem; }

@media (max-width: 800px) {
  .ttd-header-inner { grid-template-columns: 1fr auto; gap: 0 .65rem; padding-top: .7rem; }
  .ttd-main-nav { justify-content: space-between; grid-row: 2; grid-column: 1 / -1; padding-block: .65rem; margin-top: .55rem; border-top: 1px solid var(--ttd-line); }
  .ttd-account { grid-column: 2; grid-row: 1; }
  .ttd-hero-inner { gap: 1.6rem; }
  .ttd-section-heading { align-items: flex-start; flex-direction: column; }
  .ttd-lesson-inner { gap: 1rem; }
}

@media (max-width: 610px) {
  .ttd-shell .ttd-brand { font-size: 1.32rem; gap: .43rem; }
  .ttd-brand-mark { width: 40px; height: 32px; }
  .ttd-brand-mark img { width: 30px; }
  .ttd-main-nav { gap: .45rem; }
  .ttd-shell .ttd-main-nav a { font-size: .84rem; }
  .ttd-hero-inner, .ttd-warmup-inner, .ttd-about, .ttd-course-hero-inner, .ttd-course-body, .ttd-lesson-inner, .ttd-signup-inner { grid-template-columns: minmax(0, 1fr); }
  .ttd-hero-inner { gap: 1.4rem; padding-block: 1.65rem; }
  .ttd-hero-copy { padding-block: .2rem; }
  .ttd-shell .ttd-hero h1 { font-size: clamp(3.35rem, 10.7vw, 4.9rem); }
  .ttd-hero .ttd-hero-lead { margin: 1.1rem 0 1.25rem; }
  .ttd-hero-photo { aspect-ratio: 1.48; }
  .ttd-hero-photo img { object-position: center 30%; }
  .ttd-card-grid, .ttd-course-links { grid-template-columns: minmax(0, 1fr); }
  .ttd-card img { aspect-ratio: 16 / 7.8; }
  .ttd-warmup-inner { gap: 1rem; }
  .ttd-course-hero img { max-height: 215px; object-fit: cover; }
  .ttd-course-hero h1, .ttd-lesson-hero h1 { overflow-wrap: break-word; }
  .ttd-practice { grid-row: 1; }
}

@media (max-width: 380px) {
  .ttd-shell .ttd-brand { font-size: 1.1rem; }
  .ttd-brand-mark { width: 33px; height: 28px; }
  .ttd-brand-mark img { width: 25px; }
  .ttd-account summary { padding: .33rem .48rem; font-size: .78rem; }
}
