:root {
  --ink: #14262d;
  --navy: #10272f;
  --deep: #09171d;
  --paper: #f0e6cc;
  --paper-2: #efe1be;
  --muted: #cfc3a5;
  --copper: #c9803f;
  --gold: #c9a86a;
  --teal: #477777;
  --line: rgba(201, 168, 106, 0.32);
  --shadow: 0 24px 70px rgba(2, 12, 16, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f6f0e3;
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: linear-gradient(180deg, rgba(5, 16, 20, 0.88), rgba(5, 16, 20, 0.24));
  backdrop-filter: blur(10px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  border: 1px solid var(--gold);
  padding: 5px 8px;
  color: var(--gold);
}

.site-header nav a {
  text-decoration: none;
  font-size: 13px;
  color: rgba(240, 230, 204, 0.84);
}

.site-header nav a:hover {
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-color: #09171d;
  background-image: url("assets/workshop-hero.jpg");
  background-image: -webkit-image-set(
    url("assets/workshop-hero.webp") type("image/webp"),
    url("assets/workshop-hero.jpg") type("image/jpeg")
  );
  background-image: image-set(
    url("assets/workshop-hero.webp") type("image/webp"),
    url("assets/workshop-hero.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 17, 22, 0.96) 0%, rgba(5, 17, 22, 0.82) 36%, rgba(5, 17, 22, 0.30) 72%, rgba(5, 17, 22, 0.20) 100%),
    linear-gradient(180deg, rgba(5, 17, 22, 0.25), rgba(5, 17, 22, 0.84));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 80px);
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: "JetBrains Mono", monospace;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Saira Condensed", sans-serif;
  line-height: 0.96;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  font-size: clamp(66px, 10vw, 132px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(38px, 5vw, 72px);
}

h3 {
  font-size: 28px;
}

.hero-subtitle {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--gold);
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 34px);
  font-style: italic;
  line-height: 1.08;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.hero-facts span {
  border: 1px solid rgba(201, 168, 106, 0.42);
  background: rgba(201, 168, 106, 0.08);
  padding: 8px 11px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: rgba(240, 230, 204, 0.9);
  text-transform: uppercase;
}

.hero-copy {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(240, 230, 204, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--copper);
  color: #111f24;
}

.button.pending {
  cursor: default;
}

.button.secondary {
  border-color: rgba(240, 230, 204, 0.5);
  color: var(--paper);
  background: rgba(240, 230, 204, 0.06);
}

.button.wide {
  width: 100%;
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  color: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cred-strip div {
  padding: 22px clamp(18px, 3vw, 44px);
  border-right: 1px solid rgba(201, 168, 106, 0.22);
}

.cred-strip div:last-child {
  border-right: 0;
}

.cred-strip strong,
.cred-strip span {
  display: block;
}

.cred-strip strong {
  font-family: "Saira Condensed", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}

.cred-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(62px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.section-copy,
.section-heading {
  max-width: 900px;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  color: #52636a;
  font-size: 18px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(30px, 6vw, 72px);
  background: #f6f0e3;
}

.signal-panel {
  background: var(--ink);
  color: var(--paper);
  padding: 26px;
  box-shadow: var(--shadow);
}

.signal-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 168, 106, 0.2);
}

.signal-row:first-child {
  padding-top: 0;
}

.signal-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.signal-row span {
  font-family: "JetBrains Mono", monospace;
  color: var(--gold);
}

.signal-row p {
  margin: 0;
  color: rgba(240, 230, 204, 0.86);
}

.agenda-section {
  background: #e7d7b5;
}

.timeline {
  max-width: 1060px;
  margin-top: 34px;
  border-top: 2px solid var(--ink);
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(20, 38, 45, 0.22);
}

.timeline-item.module {
  background: rgba(255, 255, 255, 0.18);
  padding-left: 18px;
  padding-right: 18px;
}

.timeline-item.ethics {
  border-left: 4px solid var(--copper);
}

.time,
.module-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.time {
  color: var(--copper);
}

.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--teal);
}

.timeline h3 {
  margin-bottom: 6px;
}

.timeline p {
  margin: 0;
  color: #43545b;
}

.workbook-section {
  background: var(--navy);
  color: var(--paper);
}

.workbook-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.workbook-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  margin-top: 38px;
}

.sample-page {
  min-height: 460px;
  padding: 26px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.sample-page:nth-child(2) {
  transform: translateY(22px) rotate(1deg);
}

.sample-page:nth-child(3) {
  transform: rotate(-0.4deg);
}

.dark-page {
  background: #102932;
  color: var(--paper);
}

.light-page {
  background: #f4ead1;
  color: var(--ink);
}

.tan-page {
  background: #dfc38b;
  color: var(--ink);
}

.page-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid currentColor;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-page h3 {
  margin-top: 26px;
}

.sample-page ol {
  margin: 22px 0 0;
  padding-left: 20px;
}

.sample-page li,
.sample-page p {
  margin-bottom: 12px;
}

.method-list {
  margin-top: 24px;
}

.method-list p {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(20, 38, 45, 0.24);
  padding-bottom: 10px;
}

.method-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: var(--paper);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.check-lines {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.check-lines span {
  height: 1px;
  background: rgba(20, 38, 45, 0.38);
}

.outcomes {
  background: #f6f0e3;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.outcome-grid article {
  border-top: 3px solid var(--copper);
  background: #fff8e9;
  padding: 24px;
  min-height: 230px;
}

.outcome-grid h3 {
  font-size: 26px;
}

.outcome-grid p {
  color: #52636a;
}

.details-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.62fr);
  gap: 24px;
  background: var(--ink);
  color: var(--paper);
}

.details-card,
.instructor-card {
  border: 1px solid rgba(201, 168, 106, 0.36);
  background: rgba(240, 230, 204, 0.05);
  padding: clamp(24px, 4vw, 40px);
}

.details-card h2,
.instructor-card h2 {
  margin-bottom: 12px;
}

.details-card p,
.instructor-card p {
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 20px;
}

.price-grid div {
  background: rgba(240, 230, 204, 0.08);
  border: 1px solid rgba(240, 230, 204, 0.12);
  padding: 18px;
}

.price-grid .featured-price {
  border-color: var(--gold);
  background: rgba(201, 168, 106, 0.13);
}

.price-grid span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold);
}

.price-grid strong {
  display: block;
  margin: 5px 0;
  font-family: "Saira Condensed", sans-serif;
  font-size: 38px;
}

.price-grid p {
  margin: 0;
  font-size: 14px;
}

.small-note {
  margin: 12px 0 0;
  font-size: 13px;
}

.license-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.license-list span {
  border: 1px solid rgba(201, 168, 106, 0.34);
  padding: 7px 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 5vw, 76px);
  background: #071116;
  color: rgba(240, 230, 204, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 17, 22, 0.90), rgba(5, 17, 22, 0.62) 52%, rgba(5, 17, 22, 0.96));
  }

  .hero-content {
    margin: 0 auto;
    align-self: end;
    padding-bottom: 54px;
  }

  .cred-strip,
  .intro-grid,
  .workbook-preview,
  .outcome-grid,
  .details-section,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .cred-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 168, 106, 0.22);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sample-page,
  .sample-page:nth-child(2),
  .sample-page:nth-child(3) {
    transform: none;
    min-height: 360px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 58px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts span {
    width: 100%;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .signal-panel,
  .details-card,
  .instructor-card,
  .sample-page,
  .outcome-grid article {
    padding: 20px;
  }
}

/* ============================================================
   ADDITIONS — skip link, FAQ section, footer, print, motion
   Appended for the FAQ + accessibility update.
   ============================================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--copper);
  color: #09171d;
  font-family: "Saira Condensed", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

a:focus-visible,
summary:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- FAQ ---------- */

.faq-section {
  background: linear-gradient(180deg, #f6f0e3 0%, #efe6d2 100%);
}

.faq-section .section-heading p a {
  color: var(--teal);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.faq-list {
  max-width: 900px;
  margin: 34px auto 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-family: "Saira Condensed", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  transition: color 0.18s ease;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  line-height: 1;
  color: var(--copper);
  transition: transform 0.2s ease;
}

.faq-item[open] > summary::after {
  content: "\2212";
}

.faq-item > summary:hover {
  color: var(--copper);
}

.faq-answer {
  padding: 0 4px 22px;
  max-width: 74ch;
}

.faq-answer p {
  margin: 0;
  font-family: "Spectral", Georgia, serif;
  font-size: 16.5px;
  line-height: 1.68;
  color: rgba(20, 38, 45, 0.88);
}

/* ---------- Footer ---------- */

.site-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 30px;
  text-transform: none;
  letter-spacing: 0.04em;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer-brand,
.footer-tag {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-tag {
  color: var(--gold);
}

.footer-meta {
  padding-top: 12px;
  border-top: 1px solid rgba(240, 230, 204, 0.14);
  color: rgba(240, 230, 204, 0.55);
}

.footer-meta a {
  color: var(--gold);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  margin: 0;
  max-width: 90ch;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(240, 230, 204, 0.42);
}

@media (max-width: 940px) {
  .faq-item > summary {
    font-size: 19px;
  }
}

/* ---------- Reduced motion ---------- */

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

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .hero-media,
  .hero-overlay,
  .skip-link {
    display: none !important;
  }

  .faq-item .faq-answer {
    display: block !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ---------- Anchor offset for the fixed header ---------- */

#experience,
#agenda,
#workbook,
#faq,
#details {
  scroll-margin-top: 76px;
}
