* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f7f4;
  --paper: #ffffff;
  --ink: #1f2328;
  --muted: #667085;
  --line: #ddd9cf;
  --accent: #8f1d2c;
  --accent-dark: #631421;
  --green: #365f4b;
  --gold: #b08a3c;
  --bar-bg: #161614;
  --bar-line: rgba(255, 255, 255, 0.12);
  --bar-text: #f7f7f4;
  --bar-muted: #f7f7f4;
  --shadow: 0 24px 60px rgba(31, 35, 40, 0.12);
  --max: 1120px;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--bar-line);
  background: var(--bar-bg);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  color: var(--bar-text);
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 220px;
  object-fit: contain;
}

.brand:hover {
  color: var(--bar-text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav a {
  color: var(--bar-muted);
  font-size: 16px;
  line-height: 1.2;
  padding: 6px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover,
.nav a.active {
  background: rgba(247, 247, 244, 0.12);
  color: var(--bar-text);
}

.main {
  flex: 1 0 auto;
}

.main p:not(.eyebrow):not(.small):not(.creation-card__kicker):not(.story-empty) {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(22, 22, 20, 0.78), rgba(22, 22, 20, 0.48), rgba(22, 22, 20, 0.16)),
    url("assets/images/background_index.png");
  background-position: center, center 18%;
  background-repeat: no-repeat;
  background-size: auto, 100% auto;
}

.hero-inner,
.section,
.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
  padding: 86px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: 42px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 18px;
}

.lead {
  max-width: 760px;
  margin-top: 20px;
  color: inherit;
  font-size: 21px;
}

.muted {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.button.secondary {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.hero .actions {
  width: min(100vw - 64px, 900px);
  flex-wrap: nowrap;
  gap: 28px;
}

.hero .button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 15px;
  white-space: nowrap;
}

.hero-book-actions__group {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.book-feature .button.secondary:hover,
.book-feature .button.secondary:focus-visible {
  border-color: var(--bar-bg);
  background: var(--bar-bg);
  color: var(--bar-text);
  box-shadow: 0 8px 18px rgba(22, 22, 20, 0.18);
}

.book-actions {
  align-items: center;
}

.book-buy-button {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(54, 95, 75, 0.2);
}

.book-buy-button:hover,
.book-buy-button:focus-visible {
  border-color: #263f34;
  background: #263f34;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 0 4px rgba(54, 95, 75, 0.26), 0 14px 28px rgba(22, 22, 20, 0.24);
}

.book-buy-button:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 0 0 3px rgba(54, 95, 75, 0.2), 0 8px 18px rgba(22, 22, 20, 0.2);
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding-top: 48px;
}

.section.book-hero-section {
  padding-bottom: 18px;
}

.section.book-story-section {
  padding-top: 6px;
}

.section.book-background-section {
  padding-top: 24px;
}

.section.book-background-section--tight-after {
  padding-bottom: 34px;
}

.section.book-reviews-section {
  padding-top: 24px;
}

.book-reviews-section > .grid.one {
  margin-top: -18px;
  margin-bottom: 58px;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.section-title--top {
  align-items: start;
}

.section-title p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid.two {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: start;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(31, 35, 40, 0.06);
}

.grid.two > .card {
  height: auto;
  align-self: start;
}

.card h3 {
  margin-bottom: 12px;
}

.card .small {
  margin-bottom: 8px;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-copy h2 {
  margin-bottom: 18px;
}

.creation-intro {
  max-width: 900px;
  margin-bottom: 38px;
}

.creation-intro h1 {
  margin-bottom: 8px;
}

.creation-intro p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.creation-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(31, 35, 40, 0.06);
}

.creation-card__head {
  min-height: 132px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.creation-card__head h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.08;
}

.creation-card__head img {
  width: 76px;
  height: 108px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 10px 22px rgba(31, 35, 40, 0.18);
}

.creation-card__kicker {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.creation-card__divider {
  height: 1px;
  margin: 0 0 24px;
  background: var(--ink);
}

.creation-card p {
  margin-top: 0;
}

.creation-card__button {
  align-self: flex-start;
  margin-top: auto;
  border-color: #0f0f0e;
  background: #0f0f0e;
  color: #fff;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.creation-card__button:hover,
.creation-card__button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(143, 29, 44, 0.18), 0 8px 18px rgba(22, 22, 20, 0.18);
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, 320px);
  gap: 20px;
  justify-content: start;
}

.story-tile {
  height: 450px;
  width: 320px;
  max-width: 100%;
  justify-self: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(31, 35, 40, 0.06);
}

.story-tile[hidden] {
  display: none;
}

.story-tile__media {
  height: 220px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.story-tile__media img,
.story-tile__media video {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
}

.story-tile__media-button {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.story-tile__media-button img {
  transition: transform 0.18s ease, filter 0.18s ease;
}

.story-tile__media-button:hover img,
.story-tile__media-button:focus-visible img {
  filter: contrast(1.06);
  transform: scale(1.02);
}

.story-tile__media-button:focus-visible {
  outline: 3px solid rgba(54, 95, 75, 0.34);
  outline-offset: -3px;
}

.story-tile__placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--bar-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-tile__body {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  padding: 22px;
}

.story-tile .small {
  margin: 0 0 8px;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-tile h2 {
  margin-bottom: 12px;
  font-size: 24px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.story-tile__summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0;
}

.story-tile p:last-child {
  margin-bottom: 0;
}

.story-tile audio {
  width: 100%;
  margin-top: 8px;
}

.story-tile__actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.story-link {
  display: inline-flex;
  flex: 1 1 calc(50% - 4px);
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--bar-bg);
  border-radius: 4px;
  background: var(--bar-bg);
  color: var(--bar-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.story-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bar-text);
}

.story-empty {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.story-modal[hidden] {
  display: none;
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(22, 22, 20, 0.88);
}

.story-modal__panel {
  width: min(100%, 1040px);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: 28px;
  position: relative;
  border-radius: 6px;
  background: var(--paper);
}

.story-modal__panel--viewer {
  width: min(1180px, calc(100vw - 64px));
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 64px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px;
  background: #11110f;
  color: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.story-modal__panel--viewer h2 {
  max-width: calc(100% - 58px);
  margin-bottom: 18px;
  color: #fff;
  overflow-wrap: anywhere;
}

.story-modal__close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.story-modal__panel--viewer .story-modal__close {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.story-modal__panel--viewer .story-modal__close:hover,
.story-modal__panel--viewer .story-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.story-modal__viewer {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
}

.story-modal__figure {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  overflow: hidden;
}

.story-modal__figure img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 4px;
  background: #000;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.story-modal__figure figcaption {
  min-height: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.story-modal__description {
  width: min(100%, 760px);
  margin: 18px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.story-modal__description[hidden] {
  display: none;
}

.story-modal__description p {
  margin: 0 0 12px;
}

.story-modal__description p:last-child {
  margin-bottom: 0;
}

.story-modal__nav {
  width: 54px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
}

.story-modal__nav:hover,
.story-modal__nav:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.story-modal__nav[hidden] {
  display: none;
}

.story-modal__nav.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.story-modal__grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.story-modal__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 44px;
  align-items: center;
}

.feature.reverse {
  grid-template-columns: minmax(0, 1.16fr) minmax(260px, 0.84fr);
}

.about-hero {
  align-items: start;
}

.about-hero .contact-photo {
  margin-top: 118px;
}

.about-hero h1 + p {
  margin-top: 34px;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.about-text {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.book-feature {
  align-items: start;
}

.book-hero-section .book-feature > div:first-child {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.book-hero-section .book-feature .lead {
  font-size: 18px;
  line-height: 1.6;
}

.book-hero-section .book-feature .actions {
  margin-top: auto;
}

.book-hero-section .book-feature__summary {
  min-height: 0;
}

.book-story-section .section-title {
  align-items: end;
  min-height: 184px;
  margin-bottom: 16px;
}

.book-story-section .section-title .eyebrow {
  margin: 0;
  color: var(--ink);
}

.book-story-section .section-title > p {
  align-self: start;
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.feature h2 {
  margin-bottom: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(460px, 1.22fr);
  gap: 52px;
  align-items: center;
}

.image-frame.contact-photo {
  width: min(100%, 390px);
  justify-self: center;
  border-radius: 46% / 24%;
}

.image-frame.author-cb-photo {
  border-radius: 46% / 24%;
}

.image-frame.contact-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.book-switcher {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.book-switcher span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.book-switcher select {
  min-width: 180px;
  padding: 10px 36px 10px 12px;
  border: 2px solid var(--bar-bg);
  border-radius: 4px;
  background: var(--bg);
  color: var(--bar-bg);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.book-switcher select:focus {
  outline: 2px solid rgba(22, 22, 20, 0.24);
  outline-offset: 2px;
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  object-fit: cover;
}

.portrait img {
  aspect-ratio: 3 / 4;
}

.wide img {
  aspect-ratio: 16 / 11;
}

.book-cover {
  width: min(100%, 360px);
  margin: 0 auto;
}

.detail-book-cover {
  width: min(100%, 270px);
  aspect-ratio: 1818 / 2560;
}

.detail-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover img {
  border-radius: 5px;
}

.signature {
  width: min(100%, 420px);
  margin: 0 0 28px;
}

.quote-list {
  display: grid;
  gap: 22px;
}

blockquote {
  margin: 0;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  border-radius: 0 6px 6px 0;
}

blockquote p {
  margin-bottom: 12px;
}

blockquote cite {
  color: var(--muted);
  font-style: normal;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.contact-social-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.contact-social-links {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.45;
}

.contact-social-links a {
  width: fit-content;
}

.instagram-widget {
  width: 100%;
}

.instagram-widget iframe {
  display: block;
  width: 100%;
  border: 0;
}

.profile-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.profile-badge img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
}

.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--bar-line);
  background: var(--bar-bg);
}

.footer-inner {
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  color: var(--bar-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--bar-text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--bar-text);
}

@media (max-width: 880px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .section-title,
  .grid.two,
  .grid.three,
  .creation-grid,
  .contact-layout,
  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
  }

  .creation-card {
    min-height: 420px;
  }

  .hero {
    min-height: 54vh;
    background-position: center, 78% 18%;
    background-size: auto, 135% auto;
  }

  .hero-copy {
    padding: 66px 0 76px;
  }

  .lead {
    font-size: 19px;
  }

  .section.book-hero-section {
    padding-bottom: 32px;
  }

  .section.book-story-section {
    padding-top: 32px;
  }

  .book-story-section .section-title {
    min-height: 0;
  }

  .book-hero-section .book-feature > div:first-child {
    min-height: 0;
  }

  .book-hero-section .book-feature .actions {
    margin-top: 24px;
  }

  .book-hero-section .book-feature__summary {
    min-height: 0;
  }

  .about-hero .contact-photo {
    margin-top: 0;
  }

  .story-modal {
    padding: 14px;
  }

  .story-modal__panel--viewer {
    width: min(100%, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px 14px;
  }

  .story-modal__viewer {
    position: relative;
    grid-template-columns: 1fr;
  }

  .story-modal__figure img {
    max-height: 70vh;
  }

  .story-modal__nav {
    width: 42px;
    height: 58px;
    position: absolute;
    top: 50%;
    z-index: 1;
    font-size: 36px;
    transform: translateY(-50%);
  }

  .story-modal__nav--prev {
    left: 6px;
  }

  .story-modal__nav--next {
    right: 6px;
  }

}

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .section,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .nav {
    gap: 8px 12px;
  }

  .brand-logo {
    height: 36px;
    max-width: 190px;
  }

  .nav a {
    font-size: 16px;
  }

  .section {
    padding: 52px 0;
  }

  .card {
    padding: 22px;
  }

  .creation-intro p {
    font-size: 18px;
  }

  .creation-card {
    padding: 24px;
  }

  .creation-card__head {
    min-height: 0;
  }

  .creation-card__head h2 {
    font-size: 24px;
  }

  .button {
    width: 100%;
  }

  .creation-card__button {
    width: auto;
  }
}
