:root {
  color-scheme:dark;
  --bg:#080c0e;
  --surface:#0d1418;
  --text:#f4f5f7;
  --muted:#b9c0c6;
  --accent:#00e894;
  --line:#29363d;
  --radius:8px;
  --max:1280px;
  --header-height:89px;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-height) + 20px);
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.55;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
img {
  display:block;
  max-width:100%;
  height:auto;
}
svg {
  display:block;
}
h1,h2,h3,p {
  margin-top:0;
}
h1,h2,h3 {
  line-height:1.12;
  letter-spacing:-.035em;
}
h1 {
  font-size:clamp(40px,5.4vw,78px);
  margin-bottom:24px;
}
h2 {
  font-size:34px;
  margin-bottom:28px;
}
h3 {
  font-size:24px;
  margin-bottom:12px;
}
p {
  color:var(--muted);
  margin-bottom:20px;
}
a,button {
  touch-action:manipulation;
}
a:hover {
  color:var(--accent);
}
:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
}
input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline-offset:2px;
}
::selection {
  background:var(--accent);
  color:var(--bg);
}
[hidden] {
  display:none!important;
}
.container {
  width:min(var(--max),calc(100% - 96px));
  margin-inline:auto;
}
.section {
  padding:44px 0;
  border-top:1px solid var(--line);
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:11px;
  font-weight:700;
  line-height:1.5;
  color:var(--accent);
  margin-bottom:14px;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip-link {
  position:fixed;
  left:16px;
  top:-100px;
  z-index:30;
  background:var(--accent);
  color:var(--bg);
  padding:12px 20px;
}
.skip-link:focus {
  top:12px;
  color:var(--bg);
}
.site-header {
  border-bottom:1px solid var(--line);
  background:var(--bg);
  position:sticky;
  top:0;
  z-index:20;
}
.header-inner {
  display:flex;
  align-items:center;
  gap:40px;
  min-height:88px;
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
  font-size:20px;
  font-weight:700;
  letter-spacing:-.03em;
}
.brand img {
  flex:none;
}
.site-header nav {
  display:flex;
  align-items:center;
  gap:32px;
  flex:1;
  font-size:14px;
  justify-content:center;
}
.site-header .linkedin {
  margin-left:auto;
}
.site-header nav>a:first-child {
  margin-left:auto;
}
.menu-toggle {
  border:1px solid var(--line);
  border-radius:4px;
  background:none;
  color:var(--text);
  min-height:44px;
  padding:8px 12px;
  align-items:center;
  gap:10px;
}
.menu-icon {
  width:18px;
  height:12px;
  border-block:2px solid currentColor;
  position:relative;
}
.menu-icon:after {
  content:"";
  position:absolute;
  top:4px;
  left:0;
  width:18px;
  border-top:2px solid currentColor;
}
.hero {
  overflow:hidden;
  /* Match the headshot's near-black backdrop without darkening the person. */
  background:#0c0c0c;
  isolation:isolate;
}
.hero-inner {
  min-height:570px;
  position:relative;
  display:flex;
  align-items:center;
}
.hero-copy {
  position:relative;
  z-index:2;
  width:62%;
  padding:60px 0 68px;
}
.hero h1 {
  font-size:clamp(48px,6.2vw,89px);
  letter-spacing:-.047em;
  line-height:.99;
  margin:24px 0 20px;
}
.hero-description {
  font-size:26px;
  line-height:1.3;
  max-width:620px;
  margin-bottom:28px;
}
.actions {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-height:50px;
  padding:12px 28px;
  border-radius:var(--radius);
  border:1px solid transparent;
  font-size:15px;
  font-weight:600;
  line-height:1.4;
  text-align:center;
}
.primary {
  background:var(--accent);
  color:#04140e;
}
.primary:hover {
  background:#50f5b8;
  color:#04140e;
}
.secondary {
  border-color:#8c969b;
  background:transparent;
  color:var(--text);
}
.secondary:hover {
  border-color:var(--accent);
  color:var(--accent);
}
.hero-portrait {
  position:absolute;
  right:0;
  top:12px;
  width:530px;
  height:530px;
  /* Fade the empty sides and lower crop, keeping the subject's tones intact. */
  mask-image:linear-gradient(to right,transparent,#000 15%,#000 88%,transparent),
    linear-gradient(to bottom,#000 94%,transparent);
  mask-composite:intersect;
}
.hero-portrait img {
  width:100%;
  height:auto;
  /* Fade the top corners, with an opaque cap protecting the high hair outline. */
  mask-image:radial-gradient(ellipse 40% 15% at 52% 13%,#000 94%,transparent),
    linear-gradient(to bottom,transparent,#000 12%);
  mask-composite:add;
}
.hero-caption {
  position:absolute;
  right:4px;
  bottom:24px;
  z-index:3;
  font-size:9px;
  line-height:1.85;
  letter-spacing:.24em;
  text-transform:uppercase;
  margin:0;
}
.hero-caption span {
  display:block;
  background:var(--accent);
  width:38px;
  height:2px;
  margin-top:12px;
}
.service-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:58px;
}
.service {
  display:grid;
  grid-template-columns:58px 1fr;
  gap:24px;
  scroll-margin-top:8px;
}
.service>svg {
  width:48px;
  height:48px;
  color:var(--accent);
}
.service+ .service {
  border-left:1px solid var(--line);
  padding-left:58px;
}
.service p {
  max-width:420px;
  line-height:1.45;
  font-size:18px;
  margin-bottom:8px;
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--accent);
  min-height:44px;
  font-size:15px;
  font-weight:600;
}
.text-link:hover {
  text-decoration:underline;
  text-underline-offset:5px;
}
.section-heading {
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:22px;
}
.section-heading h2 {
  margin-bottom:0;
}
.section-heading .eyebrow {
  margin-bottom:10px;
}
.discovery-controls {
  display:flex;
  gap:20px;
  align-items:center;
  margin-bottom:16px;
}
.search-form {
  display:flex;
  max-width:530px;
  flex:1;
  position:relative;
}
.search-form input {
  padding-right:58px;
}
.search-button {
  position:absolute;
  right:1px;
  top:1px;
  bottom:1px;
  width:50px;
  border:0;
  border-left:1px solid var(--line);
  border-radius:0 7px 7px 0;
  background:transparent;
  color:var(--accent);
  font-size:24px;
}
.search-button:hover {
  background:#17251f;
}
input,select,textarea {
  width:100%;
  min-width:0;
  min-height:48px;
  padding:12px 16px;
  border:1px solid #58666e;
  border-radius:var(--radius);
  background:var(--surface);
  color:var(--text);
}
input::placeholder,textarea::placeholder {
  color:var(--muted);
  opacity:1;
}
textarea {
  resize:vertical;
}
.chips,.tags {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.chip,.filter-chip span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:8px 19px;
  border:1px solid #445158;
  border-radius:99px;
  background:#151e23;
  font-size:14px;
  color:var(--text);
}
.chip:hover {
  border-color:var(--accent);
  color:var(--accent);
}
.preview-note {
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
}
.preview-note strong {
  color:var(--text);
}
.course-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.course-card {
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  display:flex;
  flex-direction:column;
  background:linear-gradient(130deg,#10191d,#0b1115);
}
.course-card:hover {
  border-color:#527063;
}
.card-meta {
  display:flex;
  gap:10px;
  justify-content:space-between;
  flex-wrap:wrap;
  font-size:11px;
  color:var(--accent);
  margin-bottom:20px;
}
.sample-label {
  color:var(--muted);
}
.course-card h2,
.course-card h3 {
  font-size:21px;
  margin-bottom:12px;
  line-height:1.22;
  letter-spacing:-.02em;
}
.course-card p {
  font-size:15px;
  line-height:1.5;
  flex:1;
  margin-bottom:12px;
}
.course-card .text-link {
  font-size:14px;
  justify-content:space-between;
}
.about {
  padding:72px 0;
  background:#0b1013;
  isolation:isolate;
}
.about-grid {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:96px;
  align-items:center;
}
.about-photo {
  position:relative;
  background:transparent;
  display:flex;
  justify-content:center;
}
.about-photo picture {
  width:300px;
  max-width:100%;
}
.about-photo img {
  width:100%;
  height:auto;
  /* Lift only near-black backdrop pixels to the section colour; preserve detail. */
  mix-blend-mode:lighten;
  /* Fade only the empty photo perimeter: head, clothing and shoes stay opaque. */
  mask-image:linear-gradient(to right,transparent,#000 28%,#000 74%,transparent),
    linear-gradient(to bottom,transparent,#000 3.5%,#000 98%,transparent);
  mask-composite:intersect;
}
.about-copy h2 {
  font-size:42px;
}
.about-copy p {
  max-width:620px;
  font-size:18px;
}
.approach {
  padding:72px 0;
}
.approach-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
}
.approach-list {
  margin:0;
}
.approach-list div {
  border-bottom:1px solid var(--line);
  padding:0 0 20px;
  margin-bottom:24px;
}
.approach-list div:last-child {
  margin-bottom:0;
}
.approach-list dt {
  font-size:21px;
  letter-spacing:-.02em;
  font-weight:600;
  margin-bottom:10px;
}
.approach-list dd {
  margin:0;
  color:var(--muted);
}
.contact {
  padding:72px 0 36px;
  background:var(--surface);
}
.contact-grid {
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:90px;
}
.contact h2 {
  font-size:48px;
}
.contact-person,.aside-person {
  display:flex;
  align-items:center;
  gap:16px;
  margin:28px 0;
}
.contact-person img,.aside-person img {
  border-radius:50%;
  object-fit:cover;
}
.contact-person span {
  display:block;
  font-size:14px;
  color:var(--muted);
}
.contact-form h3 {
  margin-bottom:24px;
}
.contact-form fieldset {
  border:0;
  padding:0;
  margin:0;
  min-width:0;
}
.contact-form label {
  display:block;
  font-size:14px;
  margin-bottom:18px;
}
.contact-form input,.contact-form select,.contact-form textarea {
  margin-top:7px;
}
.form-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.optional {
  color:var(--muted);
}
:disabled {
  cursor:not-allowed;
  opacity:1;
}
.contact-form :disabled {
  color:var(--muted);
}
.contact-form button:disabled {
  background:#23372e;
  color:#c1d2c8;
}
.site-footer {
  border-top:1px solid var(--line);
  padding:32px 0 24px;
}
.footer-inner {
  display:flex;
  align-items:center;
  gap:32px;
  flex-wrap:wrap;
}
.footer-inner .brand {
  font-size:17px;
}
.footer-inner p {
  font-size:13px;
  margin:0;
}
.footer-inner nav {
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  margin-left:auto;
  font-size:13px;
}
.footer-inner nav a {
  padding:10px 0;
}
.footer-note {
  font-size:12px;
  color:var(--muted);
  margin-top:24px;
}
.page-intro {
  padding-top:32px;
  padding-bottom:36px;
}
.back-link {
  display:inline-block;
  color:var(--muted);
  font-size:14px;
  padding:10px 0;
  margin-bottom:40px;
}
.page-intro h1 {
  max-width:1000px;
  line-height:1.06;
}
.lede {
  font-size:22px;
  line-height:1.5;
}
.preview-banner {
  padding:20px 24px;
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:4px;
  background:var(--surface);
  font-size:15px;
  max-width:950px;
  margin:30px 0 0;
}
.preview-banner strong {
  color:var(--text);
}
.catalogue {
  padding-bottom:64px;
}
.field-label {
  display:block;
  margin-bottom:8px;
  font-weight:600;
}
.filter-search {
  display:flex;
  gap:16px;
  max-width:820px;
}
.filter-search input {
  flex:1;
}
.filter-search button {
  flex:none;
}
.filter-categories {
  padding:0;
  border:0;
  margin:22px 0 12px;
}
.filter-categories legend {
  font-size:14px;
  margin-bottom:10px;
}
.filter-chip {
  position:relative;
  cursor:pointer;
}
.filter-chip input {
  position:absolute;
  width:1px;
  height:1px;
  min-height:0;
  opacity:0;
}
.filter-chip input:checked+span {
  background:var(--accent);
  color:#04140e;
  border-color:var(--accent);
}
.filter-chip input:focus-visible+span {
  outline:3px solid var(--accent);
  outline-offset:4px;
}
.result-count {
  padding-top:20px;
  border-top:1px solid var(--line);
  margin:28px 0 20px;
  font-size:14px;
}
.no-results {
  padding:48px 24px;
  text-align:center;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.no-results h2 {
  font-size:28px;
}
.catalogue-cta {
  border-top:1px solid var(--line);
  margin-top:56px;
  padding-top:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.catalogue-cta h2 {
  font-size:26px;
  margin:0;
}
.detail-intro {
  padding-bottom:48px;
}
.detail-intro h1 {
  font-size:clamp(40px,5vw,68px);
  max-width:950px;
}
.detail-grid {
  display:grid;
  grid-template-columns:1.7fr 1fr;
  gap:80px;
  padding-bottom:56px;
}
.detail-content h2 {
  font-size:27px;
  margin-bottom:20px;
}
.detail-content>h2:not(:first-child) {
  margin-top:36px;
}
.detail-content .preview-banner {
  margin:30px 0;
}
.preview-banner h2 {
  font-size:22px;
}
.preview-banner p:last-child {
  margin-bottom:0;
}
.course-aside {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px;
  align-self:start;
}
.course-aside h2 {
  font-size:32px;
}
.course-aside .button {
  width:100%;
  padding-inline:12px;
  margin-bottom:18px;
}
.aside-person {
  border-top:1px solid var(--line);
  padding-top:24px;
  margin-bottom:0;
  font-size:14px;
}
.aside-person small {
  color:var(--muted);
}
.related {
  padding:40px 0 64px;
  border-top:1px solid var(--line);
}
.related-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media(min-width:1600px) {
  .hero-inner {
    min-height:610px;
  }
  .hero-portrait {
    right:0;
  }
  .hero-copy {
    width:62%;
  }
}
@media(max-width:1100px) {
  .container {
    width:calc(100% - 64px);
  }
  .header-inner {
    gap:24px;
  }
  .site-header nav {
    gap:22px;
  }
  .hero-inner {
    min-height:520px;
  }
  .hero h1 {
    font-size:60px;
  }
  .hero-description {
    font-size:23px;
    max-width:510px;
  }
  .hero-portrait {
    width:460px;
    height:460px;
    right:-16px;
  }

  .hero-caption {
    right:0;
  }
  .service-grid {
    gap:32px;
  }
  .service+.service {
    padding-left:32px;
  }
  .about-grid,.approach-grid,.contact-grid {
    gap:48px;
  }
  .course-card {
    padding:20px;
  }
  .detail-grid {
    gap:40px;
  }
}
@media(max-width:900px) {
  :root { --header-height:77px; }
  .site-header nav {
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;
    max-height:calc(100dvh - var(--header-height));
    overflow-y:auto;
    background:var(--bg);
    border-bottom:1px solid var(--line);
    padding-inline:32px;
    overscroll-behavior:contain;
  }
  .header-inner {
    min-height:76px;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:0;
  }
  .menu-toggle:not([hidden]) {
    display:flex;
  }
  .site-header nav {
    width:100%;
    flex-basis:100%;
    display:flex;
    align-items:stretch;
    flex-direction:column;
    gap:0;
    padding:8px 0 18px;
  }
  .site-header nav>a {
    padding:12px;
  }
  .site-header nav>a:first-child,.site-header .linkedin {
    margin-left:0;
  }
  .hero-inner {
    min-height:500px;
  }
  .hero h1 {
    font-size:49px;
  }
  .hero-description {
    font-size:20px;
    max-width:380px;
  }
  .hero-portrait {
    width:370px;
    height:370px;
    right:-20px;
  }

  .hero-copy {
    width:65%;
  }
  .hero .button {
    padding:12px 18px;
    font-size:14px;
  }
  .hero-caption {
    display:none;
  }
  .service {
    grid-template-columns:42px 1fr;
    gap:16px;
  }
  .service>svg {
    width:40px;
    height:40px;
  }
  .service p {
    font-size:16px;
  }
  .course-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .discovery .course-card:last-child {
    grid-column:1/-1;
  }
  .discovery-controls {
    flex-wrap:wrap;
  }
  .search-form {
    max-width:none;
    flex-basis:100%;
  }
  .about-grid {
    gap:40px;
  }
  .about-copy h2 {
    font-size:34px;
  }
  .about-copy p {
    font-size:16px;
  }
  .contact-grid {
    gap:40px;
    grid-template-columns:1fr 1.2fr;
  }
  .contact h2 {
    font-size:38px;
  }
  .form-pair {
    grid-template-columns:1fr;
    gap:0;
  }
  .approach-grid {
    gap:48px;
  }
  .approach h2 {
    font-size:30px;
  }
  .detail-grid {
    grid-template-columns:1.3fr 1fr;
    gap:28px;
  }
  .course-aside {
    padding:24px;
  }
  .course-aside h2 {
    font-size:28px;
  }
  .footer-inner nav {
    margin-left:0;
  }
  .footer-inner {
    gap:12px 24px;
  }
}
@media(max-width:767px) {
  :root { --header-height:75px; }
  .container {
    width:calc(100% - 40px);
  }
  .header-inner {
    min-height:74px;
  }
  .brand {
    font-size:19px;
    gap:8px;
  }
  .brand img {
    width:43px;
    height:43px;
  }
  .menu-toggle {
    font-size:13px;
  }
  .hero-inner {
    display:block;
    min-height:0;
  }
  .hero-copy {
    width:100%;
    padding:32px 0 0;
  }
  .hero .eyebrow {
    font-size:10px;
    letter-spacing:.22em;
    margin:0 0 16px;
  }
  .hero h1 {
    font-size:clamp(36px,9.7vw,64px);
    line-height:1.04;
    margin:0 0 16px;
    letter-spacing:-.04em;
  }
  .hero-description {
    font-size:18px;
    line-height:1.35;
    max-width:500px;
    margin-bottom:22px;
  }
  .actions {
    gap:10px;
    flex-wrap:nowrap;
  }
  .hero .button {
    font-size:13px;
    min-height:46px;
    padding:11px 14px;
    gap:9px;
    flex:1;
  }
  .hero-portrait {
    position:relative;
    top:auto;
    right:auto;
    width:min(100%, 420px);
    height:auto;
    margin:8px auto 0;
  }

  .hero-caption {
    display:block;
    right:0;
    bottom:12px;
    font-size:8px;
    letter-spacing:.18em;
  }
  .hero-caption span {
    width:28px;
  }
  .section {
    padding:30px 0;
  }
  .eyebrow {
    font-size:10px;
    margin-bottom:10px;
  }
  .services h2 {
    font-size:25px;
    letter-spacing:-.035em;
  }
  .service-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .service {
    grid-template-columns:44px 1fr;
    gap:20px;
  }
  .service+.service {
    padding:24px 0 0;
    border-left:0;
    border-top:1px solid var(--line);
  }
  .service h3 {
    font-size:21px;
    margin-bottom:8px;
  }
  .service p {
    font-size:16px;
  }
  .text-link {
    font-size:14px;
  }
  .section-heading {
    align-items:start;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
  }
  .section-heading h2 {
    font-size:27px;
  }
  .section-heading>.text-link {
    min-height:36px;
  }
  .discovery-controls {
    gap:14px;
  }
  .chip,.filter-chip span {
    padding:8px 17px;
    min-height:44px;
    font-size:13px;
  }
  .chips {
    gap:7px;
  }
  .course-grid {
    grid-template-columns:1fr;
  }
  .discovery .course-card:last-child {
    grid-column:auto;
  }
  .course-card {
    padding:20px;
  }
  .card-meta {
    margin-bottom:16px;
  }
  .course-card h2,
.course-card h3 {
    font-size:22px;
  }
  .about-grid {
    grid-template-columns:1fr;
    gap:28px;
  }
  .about-photo {
    order:2;
  }
  .about-photo picture {
    width:240px;
  }
  .about-copy h2 {
    font-size:33px;
  }
  .about-copy p {
    font-size:17px;
  }
  .approach-grid,.contact-grid {
    grid-template-columns:1fr;
    gap:30px;
  }
  .approach h2 {
    font-size:31px;
  }
  .approach-list dt {
    font-size:20px;
  }
  .contact h2 {
    font-size:38px;
  }
  .contact-person {
    margin:24px 0;
  }
  .contact-form {
    border-top:1px solid var(--line);
    padding-top:28px;
  }
  .footer-inner {
    display:block;
  }
  .footer-inner>.brand {
    margin-bottom:18px;
  }
  .footer-inner nav {
    gap:12px 24px;
    margin-top:12px;
  }
  .footer-note {
    font-size:11px;
  }
  .page-intro {
    padding-top:20px;
    padding-bottom:28px;
  }
  .back-link {
    margin-bottom:24px;
  }
  .page-intro h1 {
    font-size:40px;
  }
  .lede {
    font-size:19px;
  }
  .preview-banner {
    padding:18px;
    margin-top:24px;
    font-size:14px;
  }
  .filter-search {
    flex-wrap:wrap;
    gap:12px;
  }
  .filter-search input {
    flex-basis:100%;
  }
  .filter-search .button {
    font-size:14px;
    min-height:44px;
    padding:10px 18px;
  }
  .catalogue-cta {
    display:block;
    margin-top:36px;
  }
  .catalogue-cta h2 {
    margin-bottom:24px;
    font-size:27px;
  }
  .detail-grid {
    grid-template-columns:1fr;
    gap:28px;
    padding-bottom:32px;
  }
  .detail-intro h1 {
    font-size:40px;
  }
  .detail-intro {
    padding-bottom:30px;
  }
  .related {
    padding-top:30px;
    padding-bottom:40px;
  }
  .catalogue {
    padding-bottom:40px;
  }
  .course-aside h2 {
    font-size:32px;
  }
  .no-results {
    padding:32px 20px;
  }
  .no-results h2 {
    font-size:26px;
  }
}
@media(max-width:359px) {
  .actions {
    flex-wrap:wrap;
  }
  .hero .button {
    flex-basis:100%;
  }
  .hero h1 {
    font-size:34px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
}
.external-arrow {
  display:inline-block;
  transform:rotate(-45deg);
  font-style:normal;
}

/* Anchor and focus offsets share the actual closed header height at each breakpoint. */
[id], a, button, input, select, textarea, [tabindex] { scroll-margin-top:8px; }

/* CMS prose follows the existing rhythm; images keep their source proportions. */
.prose { max-width: 880px; }
.rich-text p, .prose p { line-height: 1.7; }
.rich-text a { color: var(--accent); text-decoration: underline; }
.rich-text ul, .rich-text ol { padding-left: 1.5rem; }
.prose h3 { margin-top: 2rem; }

/* Optional structured course content leaves the legacy empty-field layout intact. */
.detail-content { min-width:0; overflow-wrap:anywhere; }
.course-metadata { display:flex; flex-wrap:wrap; gap:1rem 2rem; margin:0 0 2rem; }
.course-metadata div { min-width:0; }
.course-metadata dt { color:var(--muted); font-size:.85rem; }
.course-metadata dd { margin:.3rem 0 0; font-weight:600; }
.course-section { margin-top:2.25rem; }
.course-module { margin-top:1.5rem; }
.course-module h3 { font-size:1.25rem; line-height:1.4; margin-bottom:.75rem; }
.course-module .module-duration { color:var(--muted); font-size:.9rem; margin-bottom:1rem; }
.course-richtext p { margin-bottom:1rem; }
.course-richtext ul, .course-richtext ol, .course-outcomes { padding-inline-start:1.5rem; margin-block:1rem; }
.course-richtext li, .course-outcomes li { margin-block:.5rem; padding-inline-start:.25rem; }
.course-richtext a { text-decoration:underline; text-underline-offset:.2em; }
.course-richtext > :last-child { margin-bottom:0; }
/* Long course titles/descriptions may contain identifiers without spaces. */
.detail-intro h1, .course-card { overflow-wrap:anywhere; }

/* Source outlines retain their own headings/lists; tables scroll locally when needed. */
.source-content { min-width: 0; }
.source-content > * + * { margin-top: 1.5rem; }
.source-content h2, .source-content h3, .source-content h4, .source-content h5, .source-content h6 { line-height: 1.3; margin: 1.5em 0 .6em; overflow-wrap: anywhere; }
.source-content p, .source-content li, .source-content td { overflow-wrap: anywhere; }
.source-table { max-width: 100%; overflow-x: auto; border: 1px solid var(--line, #29363D); border-radius: .5rem; }
.source-table table { width: 100%; border-collapse: collapse; }
.source-table td { padding: .85rem; vertical-align: top; border: 1px solid #29363D; min-width: 8rem; }
.source-table td > :first-child { margin-top: 0; }
.source-table td > :last-child { margin-bottom: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.pagination a, .pagination span { padding: .6rem .9rem; }
.pagination a { border: 1px solid #29363D; border-radius: .4rem; }
.pagination [aria-current="page"] { color: #080C0E; background: #00E894; }
.filter-search { flex-wrap: wrap; }
.filter-search input { min-width: 0; }
