@font-face {
  font-family: "Inter Variable";
  src: url("/assets/fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab Variable";
  src: url("/assets/fonts/roboto-slab-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --base: #0d0f0e;
  --base-strong: #070806;
  --panel: #181713;
  --panel-soft: #141612;
  --cream: #f5efe4;
  --muted: #aaa394;
  --teal: #4cc7b4;
  --teal-strong: #168274;
  --copper: #c98a52;
  --beer: #d7a84e;
  --border: rgba(245, 239, 228, 0.12);
  --border-strong: rgba(245, 239, 228, 0.2);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  --sans: "Inter Variable", Inter, system-ui, sans-serif;
  --serif: "Roboto Slab Variable", Georgia, serif;
  --shell: 1200px;
  --reading: 760px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--base);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--base);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, video, iframe { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--teal); }

button, input, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

::selection { background: var(--teal); color: var(--base-strong); }

.shell {
  width: min(calc(100% - 72px), var(--shell));
  margin-inline: auto;
}

.shell-narrow {
  width: min(calc(100% - 72px), var(--reading));
  margin-inline: auto;
}

.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;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--base);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 14, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.5vw, 34px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 650;
  color: var(--cream);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--teal);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav a.active { color: var(--teal); }

.nav-toggle {
  display: none;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle i { font-size: 1.4rem; }

.home-hero { border-bottom: 1px solid var(--border); }

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(470px, 0.98fr) minmax(0, 1.22fr);
  padding-inline: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 48px 72px 0;
  background: var(--base);
}

.eyebrow,
.content-label,
.footer-label {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(4rem, 7.6vw, 6.85rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero-copy h1 span { color: var(--teal); }

.hero-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}

.hero-copy .hero-intro {
  color: var(--cream) !important;
  font-size: clamp(1.12rem, 1.55vw, 1.35rem) !important;
}

.hero-image {
  min-width: 0;
  background-image: url("/assets/img/workshop-hero.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 15px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--teal);
  color: var(--base-strong);
}

.button-primary:hover { background: #73d8c8; color: var(--base-strong); }

.button-outline {
  border-color: var(--teal);
  color: var(--teal);
}

.button-outline:hover { background: rgba(76, 199, 180, 0.08); }

.button-outline.copper { border-color: var(--copper); color: var(--cream); }
.button-outline.copper:hover { background: rgba(201, 138, 82, 0.08); color: var(--cream); }

.latest-section { padding: 72px 0 92px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.section-heading h2 {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.latest-heading h2::after {
  content: "";
  width: 44px;
  height: 2px;
  display: block;
  margin-top: 12px;
  background: var(--copper);
}

.search-compact,
.search-page-form {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel-soft);
}

.search-compact { width: min(100%, 360px); }
.search-compact i, .search-page-form i { color: var(--muted); font-size: 1.15rem; }

.search-compact input,
.search-page-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
}

.search-compact:focus-within,
.search-page-form:focus-within { border-color: var(--teal); }

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.latest-card { min-width: 0; }

.content-label {
  margin-bottom: 14px;
  color: var(--teal);
}

.latest-media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
}

.latest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.latest-media:hover img { transform: scale(1.025); }

.play-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--base);
  box-shadow: var(--shadow);
}

.play-badge i { transform: translateX(1px); }

.latest-copy h3 {
  margin: 18px 0 8px;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.latest-copy > p {
  display: -webkit-box;
  min-height: 3.3em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-copy time {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  color: var(--teal);
  font-weight: 700;
}

.text-link i { transition: transform 160ms ease; }
.text-link:hover i { transform: translateX(4px); }

.values-strip { padding: 0 0 20px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel-soft);
}

.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  min-width: 0;
  padding: 28px 24px;
}

.value-item + .value-item { border-left: 1px solid var(--border); }
.value-item > i { color: var(--teal); font-size: 2rem; }
.value-item:nth-child(even) > i { color: var(--beer); }

.value-item h2 {
  margin: 2px 0 7px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.value-item p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.site-footer {
  padding: 52px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--base-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(140px, 0.55fr) minmax(220px, 0.85fr);
  gap: 56px;
}

.footer-brand {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 22px;
  align-items: start;
}

.footer-brand img { width: 108px; height: 108px; object-fit: contain; }
.footer-brand p, .footer-youtube p { margin: 0; color: var(--muted); }
.footer-brand .footer-tagline { margin-bottom: 8px; color: var(--cream); font-family: var(--serif); }

.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a { min-height: 32px; color: var(--muted); }
.footer-nav a:hover { color: var(--teal); }
.footer-label { color: var(--teal) !important; }
.footer-youtube .button { margin-top: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom p { margin: 0; }

.page-hero {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--border);
  background: var(--panel-soft);
}

.page-hero.compact { padding-bottom: 72px; }
.page-hero .eyebrow { color: var(--teal); }

.page-intro,
.content-deck {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.archive-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.archive-section { padding-block: 32px 88px; }

.archive-list { border-top: 1px solid var(--border); }

.archive-item {
  display: grid;
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1fr);
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.archive-item:not(:has(.archive-image)) { grid-template-columns: 1fr; }

.archive-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel);
}

.archive-image img { width: 100%; height: 100%; object-fit: cover; }

.archive-copy { align-self: center; }

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-meta span:first-child { color: var(--teal); }

.archive-copy h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
}

.archive-copy > p { max-width: 760px; margin: 0; color: var(--muted); }

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  color: var(--muted);
}

.pagination a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--teal); font-weight: 700; }
.pagination a:last-child { justify-self: end; }

.content-page { padding-bottom: 90px; }

.content-hero { padding-top: 72px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin-bottom: 38px;
  color: var(--teal);
  font-weight: 700;
}

.content-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6.8vw, 5.7rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.content-meta {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  color: var(--copper);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-feature { margin-top: 46px; }

.content-feature img {
  width: 100%;
  max-height: 690px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.prose {
  padding-top: 56px;
  color: #ded7ca;
  font-family: var(--serif);
  font-size: clamp(1.04rem, 1.5vw, 1.15rem);
  line-height: 1.82;
}

.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.45em; }
.prose h2, .prose h3 { color: var(--cream); font-family: var(--sans); line-height: 1.2; }
.prose h2 { margin: 2.2em 0 0.7em; font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
.prose h3 { margin: 1.9em 0 0.6em; font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
.prose a { color: var(--teal); text-decoration: underline; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.35em; }
.prose li { margin: 0.45em 0; padding-left: 0.25em; }
.prose strong { color: var(--cream); }
.prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--border); }

.prose blockquote {
  margin: 2.2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--copper);
  color: var(--cream);
  font-size: 1.25em;
}

.prose img {
  width: auto;
  max-height: 720px;
  margin: 2.25em auto 0.8em;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.search-page-form {
  max-width: 680px;
  margin-top: 32px;
  padding-right: 4px;
}

.search-page-form .button { min-height: 40px; }
.search-results { min-height: 360px; padding-block: 50px 90px; }
.search-status { color: var(--muted); }

.search-result {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.search-result:first-of-type { border-top: 1px solid var(--border); }
.search-result h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 1.6rem; }
.search-result p { margin: 0; color: var(--muted); }
.search-result a { display: block; }

.empty-state { min-height: 620px; display: flex; flex-direction: column; justify-content: center; padding-block: 80px; }
.empty-state h1 { margin: 0; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1; }
.empty-state > p:not(.eyebrow) { color: var(--muted); font-family: var(--serif); font-size: 1.2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  padding-block: 72px 96px;
}

.contact-aside h1 { margin: 0 0 16px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; }
.contact-aside > p { color: var(--muted); font-family: var(--serif); font-size: 1.1rem; }

.contact-form {
  display: grid;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel-soft);
}

.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 700; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--base);
  color: var(--cream);
  padding: 12px 14px;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--teal); outline: 0; }
.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.notice {
  margin: 0 0 22px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.notice.success { border-color: rgba(76, 199, 180, 0.5); color: var(--teal); }
.notice.error { border-color: rgba(239, 122, 109, 0.52); color: #f29a90; }

@media (max-width: 1050px) {
  .hero-grid { min-height: 620px; grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr); }
  .hero-copy { padding-right: 34px; }
  .hero-copy h1 { font-size: clamp(4rem, 7vw, 5.1rem); }
  .latest-grid { gap: 22px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item + .value-item { border-left: 0; }
  .value-item:nth-child(even) { border-left: 1px solid var(--border); }
  .value-item:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

@media (max-width: 860px) {
  .header-inner { min-height: 84px; }
  .brand img { width: 66px; height: 66px; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 102; }
  .site-nav {
    position: fixed;
    inset: 84px 0 auto;
    max-height: calc(100vh - 84px);
    display: grid;
    gap: 0;
    padding: 16px 24px 28px;
    overflow-y: auto;
    border-bottom: 1px solid var(--border);
    background: var(--base-strong);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }
  .site-nav.open { transform: translateY(0); visibility: visible; }
  .site-nav a { min-height: 54px; border-bottom: 1px solid var(--border); }
  .site-nav a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 0 54px; }
  .hero-image { min-height: 430px; background-position: 58% center; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search-compact { width: 100%; }
  .latest-grid { grid-template-columns: 1fr; gap: 44px; }
  .latest-card { display: grid; grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1fr); gap: 0 22px; }
  .latest-card .content-label { grid-column: 1 / -1; }
  .latest-copy h3 { margin-top: 0; }
  .latest-copy > p { min-height: 0; }
  .footer-grid { grid-template-columns: 1.45fr 0.65fr; }
  .footer-youtube { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--border); }
  .archive-header { align-items: flex-start; flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 640px) {
  .shell, .shell-narrow { width: min(calc(100% - 32px), var(--shell)); }
  .hero-copy h1 { font-size: clamp(3.4rem, 17vw, 5.1rem); }
  .hero-image { min-height: 320px; }
  .latest-section { padding: 58px 0 72px; }
  .latest-card { display: block; }
  .latest-copy h3 { margin-top: 17px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-item, .value-item:nth-child(even) { border-left: 0; }
  .value-item:nth-child(n + 2) { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-template-columns: 82px 1fr; }
  .footer-brand img { width: 82px; height: 82px; }
  .footer-youtube { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 64px 0 48px; }
  .archive-item { grid-template-columns: 1fr; gap: 22px; }
  .content-hero { padding-top: 48px; }
  .back-link { margin-bottom: 26px; }
  .content-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .content-feature { width: 100%; margin-top: 34px; }
  .content-feature img { border-radius: 0; border-inline: 0; }
  .prose { padding-top: 42px; }
  .search-page-form { align-items: stretch; flex-wrap: wrap; padding: 10px; }
  .search-page-form i { align-self: center; }
  .search-page-form input { flex: 1 1 calc(100% - 32px); min-height: 42px; }
  .search-page-form .button { width: 100%; }
  .contact-form { padding: 22px 18px; }
}

@media (max-width: 420px) {
  .button-row .button { width: 100%; }
  .hero-copy { padding-top: 56px; }
  .hero-copy h1 { font-size: 3.35rem; }
  .pagination { grid-template-columns: 1fr 1fr; }
  .pagination > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
