:root {
  --wine: #761509;
  --ink: #500f0e;
  --cream: #f8eee1;
  --gold: #b18449;
  --line: #d8bda0;
  --text: #65534e;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #fffcf7;
  color: var(--ink);
  font:
    400 17px/1.65 "Golos Text",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid #b18449;
  outline-offset: 6px;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
p + p {
  margin-top: 20px;
}
.shell {
  max-width: 1240px;
  padding-inline: 48px;
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 16px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.wordmark span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.16em;
  margin-top: 3px;
  font-weight: 500;
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.site-header nav a:hover,
.inline-link:hover {
  color: var(--gold);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 54px;
  align-items: center;
  padding-block: 68px 90px;
}
.about-hero h1 {
  font-size: clamp(64px, 7.3vw, 98px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  font-weight: 600;
  position: relative;
  margin-bottom: 30px;
}
.hero-star {
  display: inline-block;
  font-size: 0.44em;
  color: #c6a269;
  margin-left: 8px;
  vertical-align: top;
  transform: rotate(8deg);
}
.hero-role {
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.hero-intro {
  max-width: 470px;
  margin-top: 24px;
  color: var(--text);
  font-size: 17px;
}
.inline-link {
  display: inline-flex;
  gap: 40px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  margin-top: 28px;
  font-size: 14px;
}
.hero-portrait {
  position: relative;
  max-width: 470px;
  width: 100%;
  justify-self: end;
}
.hero-portrait img {
  height: 590px;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: 180px 180px 18px 18px;
}
.hero-portrait figcaption {
  font-size: 11px;
  text-align: center;
  margin-top: 14px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.manifesto {
  background: var(--wine);
  color: #fff8ee;
  padding-block: 80px;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.6fr;
  gap: 50px;
}
.manifesto .eyebrow {
  color: #e8c078;
  margin-top: 12px;
}
h2 {
  font-size: clamp(36px, 4.3vw, 57px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
h2 em {
  font-style: normal;
  color: #e8c078;
}
.manifesto h2 {
  margin-bottom: 32px;
}
.manifesto p:not(.eyebrow):not(.signature) {
  max-width: 700px;
  color: #f5e1d3;
}
.signature {
  font:
    italic 27px/1.4 Georgia,
    serif;
  color: #e8c078;
  margin-top: 30px;
}
.section {
  padding-block: 90px;
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading > p:last-child:not(.eyebrow) {
  max-width: 640px;
  color: var(--text);
  margin-top: 24px;
}
.story-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.6fr;
  gap: 50px;
}
.story-aside {
  font:
    italic 29px/1.4 Georgia,
    serif;
  color: var(--gold);
  max-width: 260px;
}
.aside-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 26px 0;
}
.aside-caption {
  font-size: 12px;
  color: var(--text);
}
.story-chapters article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.story-chapters article:first-child {
  padding-top: 0;
  border-top: 0;
}
.chapter-number {
  font-size: 12px;
  color: var(--gold);
  padding-top: 6px;
}
h3 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 16px;
}
.story-chapters p,
.together p:not(.eyebrow) {
  color: var(--text);
}
.approach {
  background: var(--cream);
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.principles article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.principles article > span {
  color: var(--gold);
  font-size: 13px;
}
.principles h3 {
  margin-top: 26px;
}
.principles p {
  font-size: 16px;
  color: var(--text);
}
.together {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.together img {
  aspect-ratio: 1.1;
  object-fit: cover;
  border-radius: 18px;
}
.together h2 {
  margin-bottom: 30px;
}
.programs {
  background: var(--cream);
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.program-card:hover {
  transform: translateY(-4px);
  background: #fffaf3;
}
.program-card:first-child {
  background: var(--wine);
  color: #fff8ee;
  border-color: var(--wine);
}
.program-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 30px;
}
.program-card:first-child .program-label {
  color: #e8c078;
}
.program-card h3 {
  font-size: 36px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.program-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.program-link {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.program-link b {
  font-size: 20px;
  font-weight: 400;
}
.program-note {
  font-size: 13px;
  color: var(--text);
  max-width: 680px;
  margin-top: 26px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 32px;
}
.site-footer p,
.site-footer > a:last-child {
  font-size: 12px;
  color: var(--text);
}
@media (max-width: 850px) {
  .shell {
    padding-inline: 28px;
  }
  .about-hero {
    gap: 24px;
  }
  .about-hero h1 {
    font-size: 64px;
  }
  .hero-role {
    font-size: 20px;
  }
  .hero-portrait img {
    height: 500px;
  }
  .manifesto-grid,
  .story-layout {
    grid-template-columns: 1fr 2fr;
    gap: 28px;
  }
  .principles {
    gap: 24px;
  }
  .together {
    gap: 30px;
  }
  .program-card {
    padding: 24px;
  }
  .program-card h3 {
    font-size: 30px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .shell {
    padding-inline: 24px;
  }
  .site-header {
    padding-block: 20px;
    gap: 16px;
  }
  .wordmark {
    font-size: 22px;
  }
  .wordmark span {
    font-size: 6px;
  }
  .site-header nav {
    gap: 0;
  }
  .site-header nav a:not(:last-child) {
    display: none;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .about-hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 52px;
    gap: 36px;
  }
  .about-hero h1 {
    font-size: clamp(50px, 13.5vw, 76px);
    margin-bottom: 24px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .hero-role {
    font-size: 21px;
  }
  .hero-intro {
    font-size: 15px;
    margin-top: 20px;
  }
  .hero-portrait {
    max-width: 100%;
  }
  .hero-portrait img {
    height: 420px;
    object-position: 50% 56%;
    border-radius: 150px 150px 16px 16px;
  }
  .hero-portrait figcaption {
    font-size: 10px;
  }
  .manifesto {
    padding-block: 52px;
  }
  .manifesto-grid,
  .story-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .manifesto .eyebrow {
    margin: 0;
  }
  .manifesto h2 {
    font-size: 35px;
    line-height: 1.15;
  }
  .manifesto p:not(.eyebrow):not(.signature) {
    font-size: 16px;
  }
  .section {
    padding-block: 56px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  h2 {
    font-size: 35px;
  }
  .story-aside {
    max-width: 100%;
    font-size: 26px;
  }
  .aside-rule {
    margin: 20px 0;
  }
  .aside-caption {
    font-size: 11px;
  }
  .story-chapters article {
    grid-template-columns: 24px 1fr;
    gap: 12px;
    padding: 26px 0;
  }
  .story-chapters article:first-child {
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }
  h3 {
    font-size: 23px;
  }
  .story-chapters p {
    font-size: 15px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .principles h3 {
    margin-top: 14px;
    margin-bottom: 12px;
  }
  .together {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .together img {
    aspect-ratio: 1280/880;
  }
  .together p {
    font-size: 15px;
  }
  .program-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .program-card {
    padding: 28px;
  }
  .program-card h3 {
    font-size: 36px;
  }
  .program-label {
    margin-bottom: 22px;
  }
  .program-card p {
    font-size: 15px;
  }
  .program-note {
    font-size: 12px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-footer p {
    order: 3;
    width: 100%;
    margin: 0;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .program-card {
    transition: none;
  }
}

.story-chapters article {
  grid-template-columns: 44px 1fr;
}
.chapter-number {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .story-chapters article {
    grid-template-columns: 36px 1fr;
  }
}

.story-game-photo {
  margin-top: 28px;
}
.story-game-photo img {
  border-radius: 18px;
  aspect-ratio: 1280/880;
  object-fit: cover;
}
.app-invitation {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffcf7;
}
.app-invitation .eyebrow {
  margin-bottom: 18px;
}
.app-invitation h3 {
  font-size: 36px;
}
.app-invitation p:not(.eyebrow) {
  max-width: 550px;
  color: var(--text);
  font-size: 16px;
}
.app-download {
  display: block;
  background: linear-gradient(110deg, #f0d8a3, #ddba77);
  padding: 20px 28px;
  border-radius: 32px;
  font-weight: 600;
  font-size: 18px;
}
.app-download > span {
  margin-left: 20px;
}
.app-download small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 4px;
}
.app-download:hover {
  background: #f0d8a3;
}
@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
  }
  .site-header nav {
    gap: 20px;
  }
  .site-header nav .app-nav {
    display: block;
  }
  .app-invitation {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
  .app-invitation h3 {
    font-size: 30px;
  }
  .app-download {
    text-align: center;
    padding: 18px;
  }
  .story-game-photo {
    margin-top: 22px;
  }
}

.app-invitation {
  grid-template-columns: minmax(200px, 0.7fr) 1.3fr;
  gap: 56px;
  padding: 40px 48px;
  overflow: hidden;
}
.invitation-phone {
  width: 230px;
  max-width: 100%;
  justify-self: center;
  filter: drop-shadow(0 18px 20px #500f0e18);
}
.invitation-phone img {
  width: 100%;
  height: auto;
}
.invitation-copy .app-download {
  display: inline-block;
  margin-top: 28px;
}
.invitation-copy h3 {
  font-size: 40px;
}
@media (max-width: 600px) {
  .app-invitation {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 30px;
  }
  .invitation-phone {
    width: 200px;
  }
  .invitation-copy h3 {
    font-size: 30px;
  }
  .invitation-copy .app-download {
    display: block;
    margin-top: 24px;
  }
}

.invitation-phone-current {
  border: 6px solid #302721;
  border-radius: 34px;
  overflow: hidden;
  background: #faf6ee;
  box-shadow: 0 0 0 2px #b5a292;
}
.invitation-phone-current img {
  border-radius: 27px;
}

.invitation-phone-latest {
  border-radius: 32px;
}
.latest-app-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 224/484;
  overflow: hidden;
  background: #fffaf5;
}
.invitation-phone-current .latest-app-screen img {
  position: absolute;
  width: 412.5%;
  max-width: none;
  height: auto;
  left: -75%;
  top: -4.132%;
  border-radius: 0;
}
