@font-face {
  font-family: "Brusnika";
  src: url("fonts/Brusnika.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #251b15;
  --ink-soft: #5d4938;
  --night: #17130f;
  --night-soft: #211a15;
  --forest: #233a2b;
  --forest-light: #3f664a;
  --paper: #e4c79b;
  --paper-light: #f2dfba;
  --paper-dark: #b88c5e;
  --gold: #d69a45;
  --gold-light: #f4c875;
  --line: rgba(95, 65, 41, 0.42);
  --white: #fff7e8;
  --container: min(1180px, calc(100% - 40px));
  --header-height: 74px;
  --shadow: 0 24px 70px rgba(4, 3, 2, 0.36);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(77, 112, 72, 0.14), transparent 28%),
    radial-gradient(circle at 85% 35%, rgba(165, 115, 58, 0.11), transparent 32%),
    #d8bd92;
  font-family: "Brusnika", "Trebuchet MS", sans-serif;
  font-size: 19px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  border: 6px solid rgba(42, 28, 20, 0.48);
  pointer-events: none;
  content: "";
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.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;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper-light);
  border: 2px solid var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: var(--header-height);
  margin-inline: auto;
  color: var(--white);
}

.site-header::before {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: linear-gradient(to bottom, rgba(13, 11, 9, 0.84), rgba(13, 11, 9, 0));
  pointer-events: none;
  content: "";
}

.site-header.is-scrolled {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: rgba(23, 19, 15, 0.93);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled::before {
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  border: 2px solid rgba(239, 202, 137, 0.65);
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  font-size: 17px;
}

.site-nav > a:not(.nav-projects) {
  position: relative;
  padding-block: 8px;
  color: rgba(255, 247, 232, 0.82);
  transition: color 160ms ease;
}

.site-nav > .nav-play {
  color: var(--gold-light);
  font-weight: 700;
}

.site-nav > a:not(.nav-projects)::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-projects):hover,
.site-nav > a:not(.nav-projects):focus-visible {
  color: var(--white);
}

.site-nav > a:not(.nav-projects):hover::after,
.site-nav > a:not(.nav-projects):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-projects {
  padding: 8px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid #6f4e32;
  border-radius: 5px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 239, 199, 0.45),
    0 5px 0 #4f3526;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

.nav-projects:hover,
.nav-projects:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 2px rgba(255, 239, 199, 0.58),
    0 6px 0 #4f3526;
}

.language-switch {
  display: inline-flex;
  gap: 5px;
  padding: 7px 0;
  color: rgba(255, 247, 232, 0.46);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.language-switch span.is-active {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  background: rgba(32, 25, 19, 0.82);
  border: 1px solid rgba(232, 201, 146, 0.6);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--paper-light);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(690px, 92vh);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--night);
}

.hero__background,
.hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__background {
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  transform: scale(1.025);
  animation: hero-drift 16s ease-in-out infinite alternate;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 14, 11, 0.88) 0%, rgba(17, 14, 11, 0.62) 43%, rgba(17, 14, 11, 0.16) 75%),
    linear-gradient(0deg, rgba(17, 14, 11, 0.94) 0%, transparent 44%),
    linear-gradient(180deg, rgba(17, 14, 11, 0.55) 0%, transparent 28%);
}

.hero__content {
  width: var(--container);
  padding-block: calc(var(--header-height) + 62px) 120px;
}

.hero__mark {
  width: 88px;
  margin-bottom: 24px;
  transform: rotate(-3deg);
}

.hero__mark img {
  border: 3px solid var(--paper-dark);
  border-radius: 17px;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.42),
    inset 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(58px, 8.4vw, 116px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-wrap: balance;
  text-shadow:
    0 5px 0 rgba(40, 23, 14, 0.7),
    0 14px 35px rgba(0, 0, 0, 0.45);
}

.hero__lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 247, 232, 0.86);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 22px 9px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background-color 120ms ease;
}

.button--primary {
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 241, 207, 0.16), transparent),
    var(--paper);
  border-color: #775239;
  box-shadow:
    inset 0 0 0 2px rgba(255, 240, 201, 0.56),
    0 6px 0 #543728,
    0 14px 30px rgba(0, 0, 0, 0.26);
}

.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(-2px);
  background-color: var(--paper-light);
  box-shadow:
    inset 0 0 0 2px rgba(255, 240, 201, 0.68),
    0 8px 0 #543728,
    0 18px 34px rgba(0, 0, 0, 0.3);
}

.button--ghost {
  color: var(--white);
  background: rgba(20, 16, 13, 0.42);
  border-color: rgba(246, 215, 160, 0.5);
  backdrop-filter: blur(5px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(20, 16, 13, 0.7);
  border-color: rgba(246, 215, 160, 0.82);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 247, 232, 0.65);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 27px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: scroll-cue 1.6s ease-in-out infinite;
}

.section {
  position: relative;
  padding-block: clamp(82px, 10vw, 138px);
}

.section__inner {
  width: var(--container);
  margin-inline: auto;
}

.intro {
  overflow: hidden;
  background:
    linear-gradient(rgba(241, 220, 180, 0.68), rgba(217, 187, 141, 0.7)),
    repeating-linear-gradient(8deg, transparent 0 10px, rgba(92, 65, 42, 0.045) 11px 12px);
  border-block: 4px solid rgba(77, 51, 35, 0.66);
}

.intro::before,
.intro::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(87, 64, 44, 0.14);
  border-radius: 50%;
  content: "";
}

.intro::before {
  top: -155px;
  left: -90px;
  box-shadow: 0 0 0 38px rgba(87, 64, 44, 0.035);
}

.intro::after {
  right: -70px;
  bottom: -190px;
  box-shadow: 0 0 0 54px rgba(87, 64, 44, 0.03);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.intro__copy h2,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.intro__copy > p:last-child,
.section-heading > p:last-child {
  max-width: 750px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 22px;
}

.principles {
  position: relative;
  padding: 28px;
  background: rgba(245, 224, 184, 0.54);
  border: 2px solid rgba(94, 65, 42, 0.58);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 244, 218, 0.32),
    0 18px 45px rgba(77, 50, 31, 0.14);
}

.principles::before,
.principles::after {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #8b6042;
  border: 3px solid #c89a62;
  border-radius: 50%;
  content: "";
}

.principles::before {
  top: 10px;
  left: 10px;
}

.principles::after {
  right: 10px;
  bottom: 10px;
}

.principles article {
  display: grid;
  gap: 2px;
  padding: 19px 16px;
}

.principles article + article {
  border-top: 1px solid var(--line);
}

.principles strong {
  font-size: 25px;
}

.principles span {
  color: var(--ink-soft);
}

.task-planner {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(70, 111, 75, 0.2), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(164, 108, 50, 0.16), transparent 30%),
    #d5b887;
}

.task-planner::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 76, 54, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 76, 54, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.task-planner .section-heading {
  margin-bottom: 52px;
}

.task-planner__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.task-planner__card {
  position: relative;
  min-height: 295px;
  padding: 86px 28px 28px;
  background:
    linear-gradient(rgba(248, 229, 190, 0.84), rgba(232, 203, 157, 0.84)),
    repeating-linear-gradient(
      0deg,
      transparent 0 28px,
      rgba(85, 104, 75, 0.09) 29px 30px
    );
  border: 2px solid rgba(82, 59, 40, 0.62);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 244, 219, 0.28),
    0 18px 36px rgba(67, 43, 26, 0.13);
}

.task-planner__check {
  position: absolute;
  top: 25px;
  left: 28px;
  display: grid;
  width: 43px;
  height: 43px;
  color: var(--paper-light);
  background: var(--forest);
  border: 3px solid #17241a;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px rgba(240, 217, 169, 0.16),
    0 4px 0 rgba(32, 43, 30, 0.58);
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1;
  place-items: center;
  transform: rotate(-2deg);
}

.task-planner__card:nth-child(2) .task-planner__check {
  transform: rotate(2deg);
}

.task-planner__card h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1;
  text-wrap: balance;
}

.task-planner__card p {
  margin: 19px 0 0;
  color: var(--ink-soft);
}

.journey {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(69, 103, 72, 0.22), transparent 25%),
    radial-gradient(circle at 5% 50%, rgba(157, 106, 56, 0.12), transparent 28%),
    var(--night);
}

.journey::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 930px;
  margin-bottom: clamp(62px, 9vw, 116px);
}

.journey .section-heading > p:last-child {
  color: rgba(255, 247, 232, 0.58);
}

.story-list {
  position: relative;
  display: grid;
  gap: clamp(72px, 11vw, 154px);
}

.story-list::before {
  position: absolute;
  top: 2%;
  bottom: 2%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(220, 176, 107, 0.3) 8%, rgba(220, 176, 107, 0.3) 92%, transparent);
  content: "";
}

.story-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, 0.72fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.story-card--reverse {
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
}

.story-card--reverse .story-card__media {
  order: 2;
}

.story-card--reverse .story-card__copy {
  order: 1;
}

.story-card__media {
  position: relative;
  margin: 0;
  padding: 9px;
  background: #8c6345;
  border: 3px solid #402b20;
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 3px rgba(235, 196, 132, 0.32),
    var(--shadow);
  transform: rotate(-0.4deg);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.story-card--reverse .story-card__media {
  transform: rotate(0.4deg);
}

.story-card__media:hover {
  z-index: 2;
  box-shadow:
    inset 0 0 0 3px rgba(235, 196, 132, 0.4),
    0 34px 90px rgba(3, 2, 2, 0.52);
  transform: rotate(0deg) translateY(-5px);
}

.story-card__media img {
  width: 100%;
  aspect-ratio: 20 / 9;
  object-fit: cover;
  border: 2px solid #261912;
  image-rendering: pixelated;
}

.chars {
  object-position: -90px;
}

.story-card__media figcaption {
  position: absolute;
  right: -13px;
  bottom: -13px;
  display: grid;
  width: 52px;
  height: 52px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid #65462f;
  border-radius: 7px;
  box-shadow: 0 5px 0 #3c281e;
  font-size: 19px;
  place-items: center;
}

.story-card__copy {
  position: relative;
}

.story-number {
  position: absolute;
  z-index: -1;
  top: -66px;
  right: 0;
  color: rgba(233, 197, 133, 0.07);
  font-size: 138px;
  font-weight: 700;
  line-height: 1;
}

.story-card__copy h3 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 0.98;
  text-wrap: balance;
}

.story-card__copy > p:last-child {
  margin: 22px 0 0;
  color: rgba(255, 247, 232, 0.65);
  font-size: 20px;
}

.features {
  background:
    linear-gradient(rgba(236, 210, 165, 0.9), rgba(218, 182, 129, 0.92)),
    repeating-linear-gradient(-12deg, transparent 0 13px, rgba(89, 60, 38, 0.04) 14px 15px);
  border-block: 4px solid rgba(77, 51, 35, 0.7);
}

.section-heading--compact {
  max-width: 820px;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 36px 34px 32px 100px;
  overflow: hidden;
  background: rgba(246, 226, 190, 0.62);
  border: 2px solid rgba(99, 68, 44, 0.55);
  border-radius: 7px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 245, 222, 0.32),
    0 16px 34px rgba(75, 47, 28, 0.11);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 4px rgba(255, 245, 222, 0.4),
    0 22px 42px rgba(75, 47, 28, 0.16);
}

.feature-card > span {
  position: absolute;
  top: 34px;
  left: 34px;
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--paper-light);
  background: var(--forest);
  border: 2px solid #18241c;
  border-radius: 50%;
  box-shadow: 0 4px 0 rgba(20, 31, 23, 0.62);
  font-family: Georgia, serif;
  font-size: 23px;
  place-items: center;
}

.feature-card h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.faq {
  color: var(--white);
  background:
    radial-gradient(circle at 14% 0%, rgba(66, 103, 71, 0.28), transparent 28%),
    linear-gradient(150deg, #20291f, #17130f 62%);
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.faq .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 36px);
  margin-bottom: 0;
}

.faq .section-heading > p:last-child {
  color: rgba(255, 247, 232, 0.62);
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq__item {
  background: rgba(247, 226, 188, 0.08);
  border: 1px solid rgba(232, 197, 137, 0.28);
  border-radius: 7px;
  box-shadow: inset 0 0 0 3px rgba(255, 240, 205, 0.018);
}

.faq__item[open] {
  background: rgba(247, 226, 188, 0.12);
  border-color: rgba(232, 197, 137, 0.48);
}

.faq__item summary {
  position: relative;
  min-height: 64px;
  padding: 18px 58px 16px 22px;
  color: var(--paper-light);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 26px;
  color: var(--gold-light);
  content: "+";
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.faq__item p {
  margin: 0;
  padding: 0 58px 22px 22px;
  color: rgba(255, 247, 232, 0.66);
  font-size: 18px;
}

.final-cta {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(79, 121, 83, 0.3), transparent 32%),
    linear-gradient(135deg, #1b261e, #17130f 66%);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  width: var(--container);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 62px);
  background: rgba(11, 10, 8, 0.28);
  border: 2px solid rgba(225, 189, 127, 0.35);
  border-radius: 9px;
  box-shadow:
    inset 0 0 0 5px rgba(255, 239, 198, 0.025),
    0 34px 100px rgba(0, 0, 0, 0.32);
}

.final-cta__inner > img {
  width: clamp(92px, 10vw, 128px);
  border: 3px solid var(--paper-dark);
  border-radius: 17px;
  box-shadow: 0 13px 32px rgba(0, 0, 0, 0.38);
  transform: rotate(-3deg);
}

.final-cta h2 {
  font-size: clamp(40px, 4.6vw, 64px);
}

.final-cta p:not(.section-kicker) {
  max-width: 630px;
  margin: 18px 0 0;
  color: rgba(255, 247, 232, 0.62);
}

.final-cta .button {
  min-width: 210px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  padding: 38px max(20px, calc((100vw - 1180px) / 2));
  color: rgba(255, 247, 232, 0.58);
  background: #0d0b09;
  border-top: 1px solid rgba(231, 195, 134, 0.18);
  font-size: 15px;
}

.brand--footer {
  color: var(--white);
  font-size: 20px;
}

.site-footer > div > p {
  margin: 8px 0 0;
}

.site-footer > p,
.site-footer__meta > p {
  margin: 0;
}

.site-footer__meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.site-footer__link {
  color: rgba(255, 247, 232, 0.78);
  text-decoration: underline;
  text-decoration-color: rgba(231, 195, 134, 0.36);
  text-underline-offset: 4px;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--gold-light);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-drift {
  from {
    transform: scale(1.025) translateX(-0.5%);
  }
  to {
    transform: scale(1.055) translateX(0.5%);
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 32px, 860px);
  }

  .site-header.is-scrolled {
    padding-inline: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) - 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 16px;
    color: var(--white);
    background: rgba(23, 19, 15, 0.98);
    border: 1px solid rgba(226, 188, 126, 0.42);
    border-radius: 7px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.nav-projects) {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav > .nav-play {
    color: var(--gold-light);
  }

  .nav-projects {
    margin-top: 12px;
    text-align: center;
  }

  .language-switch {
    justify-self: center;
    margin-top: 12px;
  }

  .intro__grid {
    grid-template-columns: 1fr;
  }

  .task-planner__grid,
  .faq__layout {
    grid-template-columns: 1fr;
  }

  .faq .section-heading {
    position: relative;
    top: auto;
    margin-bottom: 50px;
  }

  .principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .principles article + article {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .story-list::before {
    left: 22px;
  }

  .story-card,
  .story-card--reverse {
    grid-template-columns: 1fr;
    padding-left: 54px;
  }

  .story-card--reverse .story-card__media,
  .story-card--reverse .story-card__copy {
    order: initial;
  }

  .story-card__copy {
    max-width: 690px;
  }

  .feature-card {
    padding: 100px 28px 30px;
  }

  .feature-card > span {
    top: 28px;
    left: 28px;
  }

  .final-cta__inner {
    grid-template-columns: auto 1fr;
  }

  .final-cta .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 24px);
    --header-height: 66px;
  }

  body {
    font-size: 17px;
  }

  body::before {
    border-width: 3px;
  }

  .brand {
    gap: 8px;
    font-size: 20px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 720px;
    text-align: center;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(17, 14, 11, 0.96) 0%, rgba(17, 14, 11, 0.58) 64%, rgba(17, 14, 11, 0.48) 100%),
      linear-gradient(90deg, rgba(17, 14, 11, 0.3), transparent, rgba(17, 14, 11, 0.3));
  }

  .hero__content {
    padding-block: 108px 110px;
  }

  .hero__mark {
    width: 76px;
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero__lead {
    font-size: 20px;
  }

  .hero__actions {
    display: grid;
  }

  .scroll-cue {
    white-space: nowrap;
  }

  .section {
    padding-block: 76px;
  }

  .intro__copy h2,
  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .intro__copy > p:last-child,
  .section-heading > p:last-child {
    font-size: 19px;
  }

  .principles {
    display: block;
    padding: 20px;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading {
    margin-bottom: 60px;
  }

  .story-list {
    gap: 82px;
  }

  .story-list::before {
    display: none;
  }

  .story-card,
  .story-card--reverse {
    gap: 34px;
    padding-left: 0;
  }

  .story-card__media {
    padding: 5px;
    border-width: 2px;
  }

  .story-card__media figcaption {
    right: 8px;
    bottom: -21px;
    width: 45px;
    height: 45px;
  }

  .story-number {
    top: -38px;
    font-size: 90px;
  }

  .story-card__copy h3 {
    font-size: 38px;
  }

  .story-card__copy > p:last-child {
    font-size: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .task-planner__card {
    min-height: 0;
  }

  .feature-card {
    min-height: 0;
    padding: 90px 24px 27px;
  }

  .feature-card > span {
    top: 23px;
    left: 24px;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
    padding: 30px 24px 34px;
    text-align: center;
  }

  .final-cta__inner > img {
    justify-self: center;
  }

  .final-cta .button {
    grid-column: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 20px;
  }

  .site-footer__meta {
    align-items: flex-start;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
