@charset "UTF-8";

/*

  Funcostarica field notebook
  Site specific stylesheet built on a self hosted Bulma 1.0.4 core.
  Class prefix fh is derived from the design seed.

*/

:root {
  --bulma-family-primary: "Roboto", "Segoe UI", sans-serif;
  --bulma-family-secondary: "Roboto Slab", Georgia, serif;
  --bulma-primary-h: 30;
  --bulma-primary-s: 63%;
  --bulma-primary-l: 53%;
  --bulma-link-h: 28;
  --bulma-link-s: 73%;
  --bulma-link-l: 32%;
  --bulma-radius: 6px;
  --bulma-radius-small: 3px;
  --bulma-radius-rounded: 999px;
  --bulma-size-normal: 1.0625rem;
  --bulma-body-background-color: #fbf7f1;
  --bulma-body-color: #3c3732;
  --bulma-scheme-main: #fbf7f1;
  --bulma-scheme-main-bis: #f4ece3;
  --bulma-scheme-main-ter: #eee5da;
  --bulma-border: #e2d5c4;
  --bulma-border-weak: #eadfd1;
  --bulma-text: #3c3732;
  --bulma-text-strong: #17191b;
  --bulma-text-weak: #6a6259;
  --bulma-link-text: #8f4e16;
  --bulma-content-heading-color: #17191b;

  --fh-paper: #fbf7f1;
  --fh-paper-deep: #f4ece3;
  --fh-paper-white: #fffdf9;
  --fh-ink: #17191b;
  --fh-ink-soft: #3c3732;
  --fh-ink-mute: #6a6259;
  --fh-copper: #cd853f;
  --fh-copper-bright: #b9742f;
  --fh-copper-deep: #9c5a1c;
  --fh-clay: #cc9955;
  --fh-rust: #8f4e16;
  --fh-rust-dark: #6f3a0c;
  --fh-charcoal: #111416;
  --fh-charcoal-soft: #1c2023;
  --fh-line: #e2d5c4;
  --fh-line-dark: #2b3034;
  --fh-on-dark: #e9e3d9;
  --fh-on-dark-mute: #aaa198;
  --fh-radius: 6px;
  --fh-radius-sm: 3px;
  --fh-shadow: 0 14px 34px rgba(45, 32, 18, 0.09);
  --fh-shadow-soft: 0 6px 18px rgba(45, 32, 18, 0.06);
  --fh-shell: 1140px;
  --fh-header: 78px;
  --fh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--fh-paper);
  color: var(--fh-ink-soft);
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--fh-rust);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--fh-rust-dark);
}

:focus-visible {
  outline: 3px solid var(--fh-copper);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--fh-copper);
  color: var(--fh-charcoal);
}

[id] {
  scroll-margin-top: calc(var(--fh-header) + 26px);
}

.fh-shell {
  width: 100%;
  max-width: var(--fh-shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.fh-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fh-skip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--fh-charcoal);
  color: #fff;
  border-radius: var(--fh-radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms var(--fh-ease);
}

.fh-skip:focus {
  transform: translateY(0);
  color: #fff;
}

.fh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--fh-rust);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fh-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--fh-copper);
  flex: none;
}

.fh-eyebrow--light {
  color: var(--fh-copper);
}

.fh-h2 {
  margin: 0;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.9rem, 3.1vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fh-lede {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--fh-ink-mute);
  font-size: 1.08rem;
  line-height: 1.75;
}

/* Masthead */

.fh-masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 247, 241, 0.95);
  border-bottom: 1px solid var(--fh-line);
  transition: box-shadow 220ms var(--fh-ease), background 220ms var(--fh-ease);
}

.fh-masthead.is-scrolled {
  background: rgba(251, 247, 241, 0.99);
  box-shadow: 0 8px 24px rgba(35, 25, 14, 0.08);
}

.fh-masthead__inner {
  min-height: var(--fh-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.fh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fh-ink);
  text-decoration: none;
  flex: none;
}

.fh-brand:hover {
  color: var(--fh-ink);
}

.fh-brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--fh-charcoal);
  color: var(--fh-copper);
  border-radius: var(--fh-radius);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(205, 133, 63, 0.35);
}

.fh-brand__type {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fh-brand__name {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.fh-brand__note {
  color: var(--fh-ink-mute);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fh-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.fh-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fh-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--fh-ink-soft);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.fh-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--fh-copper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--fh-ease);
}

.fh-nav__link:hover::after,
.fh-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.fh-nav__link[aria-current="page"] {
  color: var(--fh-rust);
}

.fh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 190ms var(--fh-ease), color 190ms var(--fh-ease),
    border-color 190ms var(--fh-ease), transform 190ms var(--fh-ease),
    box-shadow 190ms var(--fh-ease);
}

.fh-button svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.fh-button--solid {
  background: var(--fh-rust);
  border-color: var(--fh-rust);
  color: #fff;
  box-shadow: 0 6px 16px rgba(111, 58, 12, 0.18);
}

.fh-button--solid:hover {
  background: var(--fh-rust-dark);
  border-color: var(--fh-rust-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(111, 58, 12, 0.24);
}

.fh-button--ghost {
  background: transparent;
  border-color: var(--fh-line);
  color: var(--fh-ink);
}

.fh-button--ghost:hover {
  background: var(--fh-paper-white);
  border-color: var(--fh-copper);
  color: var(--fh-rust);
  transform: translateY(-1px);
}

.fh-button--light {
  background: var(--fh-paper-white);
  border-color: var(--fh-paper-white);
  color: var(--fh-charcoal);
}

.fh-button--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.fh-button--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--fh-copper);
  color: #fff;
}

.fh-button--light:hover {
  background: var(--fh-copper);
  border-color: var(--fh-copper);
  color: var(--fh-charcoal);
  transform: translateY(-1px);
}

.fh-button--wide {
  width: 100%;
}

.fh-burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  cursor: pointer;
  position: relative;
  z-index: 90;
}

.fh-burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--fh-ink);
  transition: transform 200ms var(--fh-ease), opacity 160ms var(--fh-ease),
    top 200ms var(--fh-ease);
}

.fh-burger span:nth-child(1) {
  top: 16px;
}

.fh-burger span:nth-child(2) {
  top: 22px;
}

.fh-burger span:nth-child(3) {
  top: 28px;
}

.fh-burger[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.fh-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.fh-burger[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* Hero */

.fh-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 clamp(64px, 8vw, 104px);
  background: radial-gradient(circle at 88% 8%, rgba(205, 133, 63, 0.16), transparent 36%),
    linear-gradient(180deg, var(--fh-paper) 0%, #f7f0e7 100%);
  border-bottom: 1px solid var(--fh-line);
}

.fh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(23, 25, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 25, 27, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
}

.fh-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(30px, 5vw, 62px);
}

.fh-hero__title {
  max-width: 13ch;
  margin: 0;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2.55rem, 5.5vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.fh-hero__title em {
  color: var(--fh-rust);
  font-style: normal;
}

.fh-hero__lede {
  max-width: 52ch;
  margin: 22px 0 0;
  color: var(--fh-ink-mute);
  font-size: clamp(1.02rem, 1.5vw, 1.13rem);
  line-height: 1.75;
}

.fh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.fh-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 36px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--fh-line);
}

.fh-facts > div {
  min-width: 116px;
  padding-right: 26px;
  margin-right: 26px;
  border-right: 1px solid var(--fh-line);
}

.fh-facts > div:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.fh-facts dt {
  color: var(--fh-ink-mute);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fh-facts dd {
  margin: 4px 0 0;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.fh-hero__figure {
  position: relative;
  margin: 0;
}

.fh-hero__figure::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--fh-copper);
  border-radius: var(--fh-radius);
  pointer-events: none;
}

.fh-hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--fh-radius);
  background: var(--fh-charcoal);
  box-shadow: var(--fh-shadow);
}

.fh-hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.02);
}

.fh-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(205, 133, 63, 0.24), transparent 48%),
    linear-gradient(0deg, rgba(17, 20, 22, 0.28), transparent 42%);
  pointer-events: none;
}

.fh-hero__figure figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--fh-ink-mute);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.fh-hero__figure figcaption::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--fh-copper);
  flex: none;
}

/* Syllabus */

.fh-syllabus {
  padding: clamp(58px, 7vw, 88px) 0;
  background: var(--fh-paper-deep);
  border-bottom: 1px solid var(--fh-line);
}

.fh-syllabus__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 30px 60px;
  margin-bottom: 38px;
}

.fh-syllabus__head .fh-lede {
  margin: 0;
  padding-bottom: 4px;
}

.fh-syllabus__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--fh-line);
  list-style: none;
}

.fh-syllabus__list li {
  border-bottom: 1px solid var(--fh-line);
}

.fh-syllabus__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 22px;
  padding: 24px 16px 24px 8px;
  color: var(--fh-ink);
  text-decoration: none;
  border-radius: var(--fh-radius);
  transition: background 180ms var(--fh-ease), padding 180ms var(--fh-ease);
}

.fh-syllabus__row:hover {
  padding-left: 18px;
  background: rgba(255, 253, 249, 0.66);
  color: var(--fh-rust);
}

.fh-syllabus__num {
  color: var(--fh-copper-deep);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fh-syllabus__body {
  display: block;
}

.fh-syllabus__name {
  display: block;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.fh-syllabus__desc {
  display: block;
  margin-top: 5px;
  color: var(--fh-ink-mute);
  font-size: 0.92rem;
  line-height: 1.6;
}

.fh-syllabus__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--fh-line);
  border-radius: 50%;
  color: var(--fh-rust);
  transition: background 180ms var(--fh-ease), border-color 180ms var(--fh-ease),
    color 180ms var(--fh-ease), transform 180ms var(--fh-ease);
}

.fh-syllabus__row:hover .fh-syllabus__arrow {
  background: var(--fh-rust);
  border-color: var(--fh-rust);
  color: #fff;
  transform: translateX(3px);
}

.fh-syllabus__arrow svg {
  width: 15px;
  height: 15px;
}

/* Chapters */

.fh-chapter {
  padding: clamp(66px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--fh-line);
}

.fh-chapter--paper {
  background: var(--fh-paper);
}

.fh-chapter--blush {
  background: linear-gradient(180deg, var(--fh-paper-deep), #f7efe5);
}

.fh-chapter__grid {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
}

.fh-chapter__rail {
  align-self: start;
  position: sticky;
  top: calc(var(--fh-header) + 34px);
}

.fh-chapter__index {
  display: block;
  margin-bottom: 8px;
  color: var(--fh-copper-bright);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.fh-chapter__kicker {
  margin: 0 0 12px;
  color: var(--fh-rust);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fh-chapter__rail h2 {
  margin: 0;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.fh-chapter__meta {
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--fh-line);
  list-style: none;
}

.fh-chapter__meta li {
  position: relative;
  padding-left: 17px;
  margin-bottom: 8px;
  color: var(--fh-ink-mute);
  font-size: 0.83rem;
  line-height: 1.55;
}

.fh-chapter__meta li::before {
  content: "";
  position: absolute;
  top: 0.57em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--fh-copper);
}

.fh-chapter__meta strong {
  color: var(--fh-ink);
  font-weight: 700;
}

.fh-chapter__body {
  min-width: 0;
}

.fh-prose {
  color: var(--fh-ink-soft);
  font-size: 1.03rem;
  line-height: 1.78;
}

.fh-prose > p {
  margin: 0 0 1.15rem;
}

.fh-prose > p:first-child {
  color: var(--fh-ink);
  font-size: 1.1rem;
  line-height: 1.72;
}

.fh-prose a {
  color: var(--fh-rust);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(143, 78, 22, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms var(--fh-ease), text-decoration-color 160ms var(--fh-ease);
}

.fh-prose a:hover {
  color: var(--fh-rust-dark);
  text-decoration-color: var(--fh-rust-dark);
}

.fh-prose h3 {
  margin: 2rem 0 0.7rem;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.35;
}

.fh-note {
  position: relative;
  margin: 28px 0;
  padding: 20px 24px 20px 27px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--fh-line);
  border-left: 3px solid var(--fh-copper);
  border-radius: 0 var(--fh-radius) var(--fh-radius) 0;
}

.fh-note__label {
  display: block;
  margin-bottom: 6px;
  color: var(--fh-rust);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fh-note p {
  margin: 0;
  color: var(--fh-ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.fh-diagram {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 30px 0;
  padding: 20px 24px;
  background: var(--fh-charcoal);
  border-radius: var(--fh-radius);
  color: var(--fh-on-dark);
  overflow: hidden;
}

.fh-diagram svg {
  width: 120px;
  height: 120px;
  color: var(--fh-copper);
}

.fh-diagram figcaption {
  color: var(--fh-on-dark);
  font-size: 0.92rem;
  line-height: 1.65;
}

.fh-diagram figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}

.fh-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.fh-mini {
  padding: 20px 18px;
  background: var(--fh-paper-white);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  box-shadow: var(--fh-shadow-soft);
}

.fh-mini__num {
  display: block;
  margin-bottom: 10px;
  color: var(--fh-copper-deep);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fh-mini h3 {
  margin: 0 0 7px;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.fh-mini p {
  margin: 0;
  color: var(--fh-ink-mute);
  font-size: 0.86rem;
  line-height: 1.62;
}

.fh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.fh-tags li {
  padding: 7px 13px;
  background: rgba(255, 253, 249, 0.76);
  border: 1px solid var(--fh-line);
  border-radius: 999px;
  color: var(--fh-ink-soft);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.fh-table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  background: var(--fh-paper-white);
}

.fh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.55;
}

.fh-table caption {
  padding: 14px 18px;
  color: var(--fh-ink-mute);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid var(--fh-line);
}

.fh-table th,
.fh-table td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--fh-line);
}

.fh-table tr:last-child th,
.fh-table tr:last-child td {
  border-bottom: 0;
}

.fh-table th {
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 600;
}

.fh-table td {
  color: var(--fh-ink-mute);
}

.fh-table tbody tr:nth-child(even) {
  background: rgba(244, 236, 227, 0.55);
}

.fh-steps {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: fhstep;
}

.fh-steps li {
  position: relative;
  padding: 0 0 22px 52px;
  margin: 0;
  counter-increment: fhstep;
}

.fh-steps li::before {
  content: counter(fhstep, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--fh-charcoal);
  color: var(--fh-copper);
  border-radius: 50%;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fh-steps li::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 2px;
  left: 16px;
  width: 1px;
  background: var(--fh-line);
}

.fh-steps li:last-child {
  padding-bottom: 0;
}

.fh-steps li:last-child::after {
  display: none;
}

.fh-steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.fh-steps p {
  margin: 0;
  color: var(--fh-ink-mute);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Guide band */

.fh-guide {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 84px) 0;
  background: var(--fh-charcoal);
  color: var(--fh-on-dark);
}

.fh-guide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 88% 20%, rgba(205, 133, 63, 0.22), transparent 36%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}

.fh-guide__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
}

.fh-guide h2 {
  margin: 0;
  color: #fff;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.fh-guide p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--fh-on-dark-mute);
  font-size: 1rem;
  line-height: 1.75;
}

.fh-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fh-guide__figure {
  position: relative;
  margin: 0;
}

.fh-guide__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--fh-radius);
  border: 1px solid rgba(205, 133, 63, 0.45);
}

.fh-guide__frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.05) brightness(0.82);
}

.fh-guide__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(205, 133, 63, 0.2), transparent 52%),
    linear-gradient(0deg, rgba(17, 20, 22, 0.5), transparent 46%);
  pointer-events: none;
}

.fh-guide__figure figcaption {
  margin-top: 14px;
  color: var(--fh-on-dark-mute);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Closing */

.fh-closing {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--fh-paper);
}

.fh-closing__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--fh-line);
  border-bottom: 1px solid var(--fh-line);
}

.fh-closing h2 {
  margin: 0;
  max-width: 22ch;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fh-closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Article */

.fh-article-head {
  padding: clamp(34px, 5vw, 56px) 0 clamp(40px, 5vw, 58px);
  background: radial-gradient(circle at 92% 4%, rgba(205, 133, 63, 0.14), transparent 34%),
    var(--fh-paper);
  border-bottom: 1px solid var(--fh-line);
}

.fh-crumbs {
  margin-bottom: 28px;
}

.fh-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fh-ink-mute);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fh-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--fh-copper-deep);
}

.fh-crumbs a {
  display: inline-block;
  min-height: 24px;
  padding: 3px 0;
  color: var(--fh-ink-mute);
  text-decoration: none;
}

.fh-crumbs a:hover {
  color: var(--fh-rust);
}

.fh-article-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(30px, 5vw, 62px);
}

.fh-article-head h1 {
  max-width: 19ch;
  margin: 0;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2.25rem, 4.4vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.fh-article-head__lede {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--fh-ink-mute);
  font-size: 1.08rem;
  line-height: 1.75;
}

.fh-brief {
  padding: 26px 26px 22px;
  background: var(--fh-paper-white);
  border: 1px solid var(--fh-line);
  border-top: 3px solid var(--fh-copper);
  border-radius: var(--fh-radius);
  box-shadow: var(--fh-shadow-soft);
}

.fh-brief__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.fh-brief__head svg {
  width: 30px;
  height: 30px;
  color: var(--fh-rust);
  flex: none;
}

.fh-brief__head h2 {
  margin: 0;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.fh-brief ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fh-brief li {
  position: relative;
  padding: 9px 0 9px 20px;
  color: var(--fh-ink-mute);
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px solid var(--fh-line);
}

.fh-brief li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--fh-copper);
}

.fh-article-shell {
  padding: clamp(44px, 6vw, 72px) 0 clamp(60px, 7vw, 90px);
  background: var(--fh-paper);
}

.fh-article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 4.5vw, 56px);
}

.fh-toc {
  position: sticky;
  top: calc(var(--fh-header) + 30px);
}

.fh-toc__label {
  margin: 0 0 14px;
  color: var(--fh-ink-mute);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fh-toc ol {
  margin: 0;
  padding: 0 0 0 15px;
  border-left: 1px solid var(--fh-line);
  list-style: none;
  counter-reset: fhtoc;
}

.fh-toc li {
  counter-increment: fhtoc;
}

.fh-toc ol a {
  display: block;
  padding: 7px 0 7px 12px;
  margin-left: -16px;
  border-left: 2px solid transparent;
  color: var(--fh-ink-mute);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color 160ms var(--fh-ease), border-color 160ms var(--fh-ease);
}

.fh-toc ol a::before {
  content: counter(fhtoc, decimal-leading-zero) " ";
  color: var(--fh-copper-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.fh-toc ol a:hover,
.fh-toc ol a[aria-current="location"] {
  color: var(--fh-rust);
  border-left-color: var(--fh-copper);
}

.fh-toc__note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--fh-line);
}

.fh-toc__note p {
  margin: 0 0 8px;
  color: var(--fh-ink-mute);
  font-size: 0.78rem;
  line-height: 1.6;
}

.fh-toc__note a {
  color: var(--fh-rust);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fh-toc__note a:hover {
  color: var(--fh-rust-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fh-article {
  max-width: 760px;
  min-width: 0;
  counter-reset: fhsection;
}

.fh-article > section {
  counter-increment: fhsection;
}

.fh-article > section > h2 {
  position: relative;
  margin: 0 0 18px;
  padding-top: 22px;
  border-top: 1px solid var(--fh-line);
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fh-article > section:first-child > h2 {
  padding-top: 0;
  border-top: 0;
}

.fh-article > section > h2::before {
  content: counter(fhsection, decimal-leading-zero);
  display: block;
  margin-bottom: 7px;
  color: var(--fh-copper-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.fh-article > section + section {
  margin-top: 46px;
}

.fh-article > section.fh-references {
  counter-increment: none;
}

.fh-article > section.fh-references > h2::before {
  display: none;
}

.fh-article p {
  margin: 0 0 1.1rem;
}

.fh-article h3 {
  margin: 1.7rem 0 0.6rem;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.4;
}

.fh-quote {
  margin: 32px 0;
  padding: 4px 0 4px 26px;
  border-left: 4px solid var(--fh-copper);
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.fh-caps {
  margin-top: 28px;
}

.fh-caps > .column {
  display: flex;
}

.fh-cap {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px 20px 18px;
  background: var(--fh-paper-white);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  box-shadow: var(--fh-shadow-soft);
}

.fh-cap__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 13px;
  background: var(--fh-paper-deep);
  border: 1px solid var(--fh-line);
  border-radius: 50%;
  color: var(--fh-rust);
}

.fh-cap__icon svg {
  width: 18px;
  height: 18px;
}

.fh-cap h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.fh-cap p {
  margin: 0;
  color: var(--fh-ink-mute);
  font-size: 0.87rem;
  line-height: 1.62;
}

.fh-references ol {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: fhref;
}

.fh-references li {
  position: relative;
  padding: 13px 0 13px 38px;
  border-top: 1px solid var(--fh-line);
  counter-increment: fhref;
}

.fh-references li:last-child {
  border-bottom: 1px solid var(--fh-line);
}

.fh-references li::before {
  content: counter(fhref, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--fh-copper-deep);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fh-references a {
  display: inline-block;
  min-height: 24px;
  padding: 2px 0;
  color: var(--fh-rust);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(143, 78, 22, 0.35);
  text-underline-offset: 4px;
}

.fh-references a:hover {
  color: var(--fh-rust-dark);
  text-decoration-color: var(--fh-rust-dark);
}

.fh-references a::after {
  content: " \2197";
  font-size: 0.82em;
  text-decoration: none;
  display: inline-block;
}

.fh-references__note {
  margin-top: 16px;
  color: var(--fh-ink-mute);
  font-size: 0.78rem;
  line-height: 1.6;
}

.fh-next {
  margin-top: 46px;
  padding: 26px 26px 22px;
  background: var(--fh-paper-deep);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
}

.fh-next h2 {
  margin: 0 0 8px;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.fh-next p {
  margin: 0 0 16px;
  color: var(--fh-ink-mute);
  font-size: 0.9rem;
  line-height: 1.65;
}

.fh-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fh-next__links a {
  display: inline-block;
  min-height: 24px;
  padding: 4px 0;
  color: var(--fh-rust);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.fh-next__links a::after {
  content: " \2192";
  font-weight: 400;
}

.fh-next__links a:hover {
  color: var(--fh-rust-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Footer */

.fh-foot {
  padding: clamp(48px, 6vw, 72px) 0 24px;
  background: var(--fh-charcoal);
  color: var(--fh-on-dark);
}

.fh-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
}

.fh-foot__brand {
  max-width: 38ch;
}

.fh-foot .fh-brand {
  margin-bottom: 16px;
}

.fh-foot .fh-brand__name {
  color: #fff;
}

.fh-foot .fh-brand__note {
  color: var(--fh-on-dark-mute);
}

.fh-foot .fh-brand__mark {
  background: transparent;
  border: 1px solid rgba(205, 133, 63, 0.55);
  box-shadow: none;
}

.fh-foot__about {
  margin: 0;
  color: var(--fh-on-dark-mute);
  font-size: 0.9rem;
  line-height: 1.7;
}

.fh-foot__title {
  margin: 0 0 14px;
  color: var(--fh-copper);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fh-foot__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fh-foot__list li {
  margin-bottom: 7px;
}

.fh-foot__list a {
  display: inline-block;
  min-height: 24px;
  padding: 3px 0;
  color: var(--fh-on-dark-mute);
  font-size: 0.88rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 160ms var(--fh-ease);
}

.fh-foot__list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fh-foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(34px, 5vw, 54px);
  padding-top: 18px;
  border-top: 1px solid var(--fh-line-dark);
  color: var(--fh-on-dark-mute);
  font-size: 0.74rem;
  line-height: 1.6;
}

.fh-foot__legal p {
  margin: 0;
}

.fh-foot__legal--flush {
  margin-top: 0;
}

.fh-foot__legal a {
  color: var(--fh-on-dark-mute);
  text-decoration: none;
}

.fh-foot__legal a:hover {
  color: #fff;
}

/* Reveal motion */

.js .fh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--fh-ease), transform 520ms var(--fh-ease);
}

.js .fh-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.fh-reveal--delay-1 {
  transition-delay: 70ms;
}

.fh-reveal--delay-2 {
  transition-delay: 140ms;
}

.fh-reveal--delay-3 {
  transition-delay: 210ms;
}

/* Not found */

.fh-notfound {
  padding: clamp(70px, 10vw, 130px) 0;
  background: radial-gradient(circle at 80% 10%, rgba(205, 133, 63, 0.16), transparent 38%),
    var(--fh-paper);
}

.fh-notfound p.fh-notfound__num {
  margin: 0;
  color: var(--fh-copper-bright);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.fh-notfound h1 {
  max-width: 18ch;
  margin: 18px 0 0;
  color: var(--fh-ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.fh-notfound p {
  max-width: 54ch;
  margin: 16px 0 0;
  color: var(--fh-ink-mute);
  font-size: 1.02rem;
  line-height: 1.7;
}

.fh-notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* Responsive */

@media (max-width: 1024px) {
  .fh-hero__grid {
    gap: 36px;
  }

  .fh-chapter__grid {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 40px;
  }

  .fh-article-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 36px;
  }

  .fh-syllabus__head {
    gap: 24px 40px;
  }
}

@media (max-width: 900px) {
  .fh-burger {
    display: block;
  }

  .fh-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px clamp(20px, 4vw, 32px) 26px;
    background: var(--fh-paper);
    border-bottom: 1px solid var(--fh-line);
    box-shadow: 0 18px 30px rgba(35, 25, 14, 0.12);
  }

  .fh-nav.is-open {
    display: flex;
  }

  .fh-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 16px;
  }

  .fh-nav__list li {
    border-bottom: 1px solid var(--fh-line);
  }

  .fh-nav__link {
    display: block;
    padding: 13px 0;
    font-size: 0.78rem;
  }

  .fh-nav__link::after {
    display: none;
  }

  .fh-hero__grid,
  .fh-guide__grid,
  .fh-article-head__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fh-hero__title {
    max-width: 16ch;
  }

  .fh-hero__figure {
    max-width: 620px;
  }

  .fh-hero__figure::before {
    inset: 12px -12px -12px 12px;
  }

  .fh-syllabus__head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  .fh-chapter__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .fh-chapter__rail {
    position: static;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 18px;
    align-items: start;
  }

  .fh-chapter__index {
    grid-row: 1 / span 3;
    margin: 0;
    font-size: 2.9rem;
  }

  .fh-chapter__kicker {
    margin-bottom: 7px;
  }

  .fh-chapter__meta {
    grid-column: 2;
    margin-top: 16px;
  }

  .fh-article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .fh-toc {
    position: static;
    padding: 20px 22px;
    background: var(--fh-paper-deep);
    border: 1px solid var(--fh-line);
    border-radius: var(--fh-radius);
  }

  .fh-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    border-left: 0;
    padding-left: 0;
  }

  .fh-toc ol a {
    margin-left: 0;
    border-left: 0;
    padding-left: 0;
  }

  .fh-toc ol a:hover,
  .fh-toc ol a[aria-current="location"] {
    border-left-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .fh-toc__note {
    display: none;
  }

  .fh-guide__figure {
    max-width: 560px;
  }

  .fh-foot__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .fh-foot__brand {
    grid-column: 1 / -1;
    max-width: 52ch;
  }
}

@media (max-width: 700px) {
  :root {
    --fh-header: 70px;
  }

  .fh-brand__mark {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .fh-brand__name {
    font-size: 1.08rem;
  }

  .fh-brand__note {
    font-size: 0.56rem;
  }

  .fh-hero__actions .fh-button,
  .fh-guide__actions .fh-button,
  .fh-closing__actions .fh-button {
    flex: 1 1 100%;
  }

  .fh-facts > div {
    min-width: 92px;
    padding-right: 18px;
    margin-right: 18px;
  }

  .fh-facts dd {
    font-size: 1.28rem;
  }

  .fh-syllabus__row {
    grid-template-columns: 44px minmax(0, 1fr) 34px;
    gap: 14px;
    padding: 20px 4px;
  }

  .fh-syllabus__row:hover {
    padding-left: 8px;
  }

  .fh-syllabus__arrow {
    width: 32px;
    height: 32px;
  }

  .fh-mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fh-diagram {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .fh-diagram svg {
    width: 82px;
    height: 82px;
  }

  .fh-closing__inner {
    align-items: flex-start;
  }

  .fh-closing__actions {
    width: 100%;
  }

  .fh-caps > .column {
    padding: 8px 0;
  }

  .fh-foot__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .fh-foot__brand {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .fh-table,
  .fh-table tbody,
  .fh-table tr,
  .fh-table th,
  .fh-table td {
    display: block;
    width: 100%;
  }

  .fh-table thead {
    display: none;
  }

  .fh-table caption {
    border-bottom: 1px solid var(--fh-line);
  }

  .fh-table tr {
    padding: 15px 18px;
    border-bottom: 1px solid var(--fh-line);
  }

  .fh-table tr:last-child {
    border-bottom: 0;
  }

  .fh-table th[scope="row"] {
    padding: 0 0 8px;
    border: 0;
    font-size: 1rem;
  }

  .fh-table td {
    padding: 0 0 7px;
    border: 0;
  }

  .fh-table td:last-child {
    padding-bottom: 0;
  }

  .fh-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--fh-copper-deep);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
  }
}

@media (max-width: 520px) {
  .fh-hero__title {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
  }

  .fh-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fh-facts > div {
    min-width: 0;
    padding-right: 12px;
    margin-right: 12px;
    border-right: 1px solid var(--fh-line);
  }

  .fh-facts dt {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .fh-facts dd {
    font-size: 1.08rem;
  }

  .fh-syllabus__row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .fh-syllabus__arrow {
    display: none;
  }

  .fh-syllabus__desc {
    font-size: 0.86rem;
  }

  .fh-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .fh-table th,
  .fh-table td {
    padding: 11px 13px;
  }

  .fh-foot__legal {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fh-reveal,
  .js .fh-reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .fh-masthead,
  .fh-burger,
  .fh-nav,
  .fh-hero__figure,
  .fh-guide__figure,
  .fh-toc,
  .fh-foot {
    display: none !important;
  }

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

  .fh-shell {
    max-width: 100%;
    padding: 0;
  }

  .js .fh-reveal,
  .fh-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
