:root {
  --paper: #f3efe8;
  --paper-2: #e6e0d4;
  --ink: #1a1714;
  --muted: #5e584f;
  --line: rgba(26, 23, 20, 0.14);
  --copper: #8c4630;
  --night: #14181c;
  --night-2: #1e2429;
  --cream: #f7f4ee;
  --white: #fffcf8;
  --shadow: 0 24px 60px rgba(20, 24, 28, 0.12);
  --header: 4.5rem;
  --wrap: 72rem;
  --font: "Vazirmatn", "Iran Sans", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.25rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 460;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
}

.skip:focus {
  transform: none;
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
}

.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.25rem;
  padding: 0.2rem 6vw;
  background: var(--night);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 560;
}

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

.utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  direction: rtl;
}

.utility-phone svg,
.socials svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.phone {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.socials {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
}

.socials a:hover,
.socials a:focus-visible,
.utility-phone:hover,
.utility-phone:focus-visible {
  color: #e0b5a4;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 6vw;
  background: rgba(243, 239, 232, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.mark {
  width: 1.8rem;
  height: 1.8rem;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 560;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--copper);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-lines {
  margin-inline: auto;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.slider {
  position: relative;
  background: var(--night);
  color: var(--cream);
}

.slider-viewport {
  position: relative;
  height: min(78vh, 46rem);
  min-height: 28rem;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

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

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(20, 24, 28, 0.78) 0%, rgba(20, 24, 28, 0.28) 52%, rgba(20, 24, 28, 0.18) 100%),
    linear-gradient(to top, rgba(20, 24, 28, 0.72), transparent 46%);
}

.slide-copy {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  width: min(40rem, calc(100% - 12vw));
  margin-inline: auto 6vw;
  padding-bottom: 5.5rem;
}

.slide-copy .eyebrow {
  color: #e0b5a4;
}

.slide-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.slide-copy p:last-child {
  max-width: 36rem;
  margin-top: 0.7rem;
  color: rgba(247, 244, 238, 0.86);
}

.slider-ui {
  position: absolute;
  z-index: 3;
  inset-inline: 6vw;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.slider-btn,
.slider-pause {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(247, 244, 238, 0.35);
  background: rgba(20, 24, 28, 0.45);
  color: var(--cream);
  cursor: pointer;
}

.slider-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.slider-pause {
  width: auto;
  padding-inline: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.dots {
  display: flex;
  gap: 0.4rem;
  margin-inline-end: auto;
}

.dots button {
  width: 1.7rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dots button::before {
  content: "";
  display: block;
  height: 2px;
  background: rgba(247, 244, 238, 0.45);
}

.dots button[aria-selected="true"]::before {
  background: var(--cream);
}

.slider-btn:hover,
.slider-pause:hover,
.slider-btn:focus-visible,
.slider-pause:focus-visible,
.dots button:focus-visible {
  border-color: #e0b5a4;
  color: #e0b5a4;
  outline: none;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-head h2,
.contact h2 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.lede,
.section-head p,
.chapter-copy p,
.contact-copy p {
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  margin-top: 1.2rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-solid {
  background: var(--ink);
  color: var(--cream);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--copper);
}

.btn-line {
  border-color: var(--ink);
  background: transparent;
}

.btn-line:hover,
.btn-line:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure img,
.chapter figure img {
  width: 100%;
  object-fit: cover;
  background: var(--paper-2);
}

.hero-figure img {
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}

.hero-figure figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  position: absolute;
  inset-inline-start: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 252, 248, 0.92);
  font-weight: 700;
}

.hero-figure figcaption span,
.index,
.steps span,
.path span {
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}

.works,
.story,
.catalog,
.articles,
.about,
.method {
  width: min(var(--wrap), calc(100% - 12vw));
  margin: 0 auto;
  padding: 1rem 0 4.5rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(16rem, 1fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.chapter {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
}

.chapter-flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.chapter-flip figure {
  order: 2;
}

.chapter figure img {
  aspect-ratio: 4 / 3;
}

.chapter .pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.7rem;
}

.chapter .pair img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 16rem;
}

.index {
  font-size: 0.92rem;
  font-weight: 700;
}

.chapter h3,
.steps h3,
.path strong {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.chapter-copy p {
  margin: 0.8rem 0 1rem;
}

.chapter ul {
  display: grid;
  gap: 0.45rem;
  list-style: none;
}

.chapter li {
  padding-inline-start: 0.95rem;
  position: relative;
}

.chapter li::before {
  content: "";
  width: 0.38rem;
  height: 1px;
  background: var(--copper);
  position: absolute;
  inset-inline-start: 0;
  top: 0.9em;
}

.more {
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--ink);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.more:hover,
.more:focus-visible,
.more[aria-expanded="true"] {
  background: var(--ink);
  color: var(--cream);
}

.more-panel {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.more-panel p + p {
  margin-top: 0.55rem;
}

.slide-copy .more-jump {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.95rem;
  border: 1px solid rgba(247, 244, 238, 0.75);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
}

.slide-copy .more-jump:hover,
.slide-copy .more-jump:focus-visible {
  background: var(--cream);
  color: var(--night);
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.sheet[hidden] {
  display: none;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 24, 28, 0.46);
  cursor: pointer;
}

.sheet-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  display: flex;
  flex-direction: column;
  width: min(24rem, 100%);
  background: var(--white);
  color: var(--ink);
  box-shadow: 12px 0 40px rgba(20, 24, 28, 0.18);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.sheet-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.sheet-close,
.sheet-back {
  min-height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.3rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.sheet-home,
.sheet-posts {
  overflow: auto;
  padding: 1rem 1.1rem 1.5rem;
}

.sheet-home[hidden],
.sheet-posts[hidden] {
  display: none;
}

.sheet-block h3,
.sheet-posts h3 {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.sheet-copy {
  color: var(--muted);
}

.sheet-copy p + p {
  margin-top: 0.55rem;
}

.sheet-links {
  display: grid;
  margin-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 3.25rem;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: start;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.sheet-link:hover,
.sheet-link:focus-visible,
.sheet-close:focus-visible,
.sheet-back:focus-visible {
  color: var(--copper);
  outline: none;
}

.sheet-back {
  margin-bottom: 0.9rem;
}

.sheet-post {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.sheet-post h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.sheet-post p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .sheet-panel {
    width: 100%;
  }
}

.story {
  padding-top: 2rem;
}

.chapter-text {
  grid-template-columns: 1fr;
}

.chapter-text .chapter-copy {
  max-width: 46rem;
}

.catalog-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.catalog-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.catalog-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.catalog-grid figcaption {
  padding: 0.7rem 0.8rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.article-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.article-list li {
  padding: 1.2rem 1.25rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.article-list h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.article-list p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.article-list a {
  font-weight: 700;
  text-decoration: none;
}

.article-list a:hover,
.article-list a:focus-visible {
  color: var(--copper);
}

.about-note {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
}

.path {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}

.path li {
  min-height: 14rem;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.path span,
.path strong {
  display: block;
}

.path span {
  font-size: 0.86rem;
  font-weight: 700;
}

.path strong {
  margin: 0.8rem 0 0.55rem;
  font-size: 1.25rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.steps li {
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

.steps span {
  font-weight: 700;
}

.steps h3 {
  margin: 0.7rem 0 0.4rem;
  font-size: 1.2rem;
}

.steps p {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  width: min(var(--wrap), calc(100% - 8vw));
  margin: 1rem auto 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--night);
  color: var(--cream);
}

.contact .eyebrow {
  color: #e0b5a4;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-copy p,
.contact-list {
  color: rgba(247, 244, 238, 0.76);
}

.contact-copy p {
  max-width: 28rem;
  margin-top: 0.9rem;
}

.contact-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.6rem;
  list-style: none;
  font-weight: 700;
}

.contact-list a {
  color: var(--cream);
}

.form {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(247, 244, 238, 0.2);
  background: var(--night-2);
  color: var(--cream);
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible,
.more:focus-visible,
.nav a:focus-visible,
.brand:focus-visible {
  outline: 2px solid #e0b5a4;
  outline-offset: 2px;
}

.form textarea {
  resize: vertical;
  min-height: 7rem;
}

.form .btn-solid {
  justify-self: start;
  background: var(--cream);
  color: var(--night);
}

.form .btn-solid:hover,
.form .btn-solid:focus-visible {
  background: #e0b5a4;
  color: var(--night);
}

.form-note {
  min-height: 1.5em;
  color: #e0b5a4;
  font-size: 0.92rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--wrap), calc(100% - 12vw));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--ink);
}

.footer a {
  align-self: end;
}

@media (max-width: 980px) {
  .section-head,
  .chapter,
  .chapter-flip,
  .path,
  .steps,
  .article-list,
  .contact {
    grid-template-columns: 1fr;
  }

  .chapter-flip figure {
    order: 0;
  }

  .path li,
  .steps li {
    min-height: 0;
  }

  .slider-viewport {
    height: 72vh;
    min-height: 26rem;
  }

  .slide-copy {
    width: min(100% - 2rem, 40rem);
    margin-inline: 1rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 6vw 1rem;
    background: var(--paper);
  z-index: 12;
    border-bottom: 1px solid var(--line);
  }

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

  .nav a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
  }

  .chapter .pair {
    grid-template-columns: 1fr;
  }

  .chapter .pair img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form .btn-solid {
    width: 100%;
  }

  .utility {
    padding-inline: 0.8rem;
  }

  .utility-phone span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .slider-viewport {
    height: 78vh;
    min-height: 24rem;
  }

  .slide-copy {
    width: auto;
    margin-inline: 1rem;
    padding-bottom: 5.2rem;
  }

  .slider-ui {
    inset-inline: 0.8rem;
  }
}

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

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Etilink menu, themed to this site */
#mm-header {
  position: relative;
}

.mm-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-item {
  position: relative;
}

.mm-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 560;
  cursor: pointer;
}

.mm-icon,
.mm-chevron,
.mm-cta-icon {
  width: 1rem;
  height: 1rem;
}

.mm-item:not(:has(.mm-sublink)) .mm-chevron,
.mm-item:not(:has(.mm-sublink)) .mm-panel {
  display: none;
}

.mm-panel {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.8rem);
  inset-inline-end: 0;
  min-width: 16rem;
  max-width: min(36rem, 80vw);
  padding: 1rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mm-item.is-open > .mm-panel:has(.mm-sublink, .mm-gold-btn) {
  display: block;
}

.mm-panel-cols {
  display: flex;
  gap: 1.2rem;
}

.mm-col-title {
  margin: 0 0 0.45rem;
  color: var(--copper);
  font-size: 0.82rem;
}

.mm-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-sublink {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0;
  text-decoration: none;
}

.mm-sublink:hover,
.mm-trigger:hover,
.mm-trigger:focus-visible {
  color: var(--copper);
}

.mm-gold-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0.45rem 0.8rem;
  background: var(--copper);
  color: var(--cream);
  text-decoration: none;
}

.mm-mobile-list {
  display: none;
}

@media (max-width: 900px) {
  .utility {
    flex-wrap: wrap;
    row-gap: 0.1rem;
  }

  .socials a,
  .utility-phone {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .slide-copy h2 {
    font-size: clamp(1.45rem, 7vw, 2.2rem);
  }

  .slide-copy p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .more,
  .more-jump,
  .btn {
    min-height: 2.75rem;
  }

  .dots {
    flex: 1;
    min-width: 0;
  }

  .dots button {
    flex: 1;
    width: auto;
    min-width: 0;
    max-width: 1.7rem;
  }
}

@media (max-width: 520px) {
  .catalog-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .topbar,
  .utility {
    padding-inline: 1rem;
  }

  .brand small {
    max-width: 9rem;
  }
}

@media (max-width: 900px) {
  .mm-menu {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 6vw 1rem;
    background: var(--paper);
    z-index: 12;
    border-bottom: 1px solid var(--line);
  }

  .mm-menu.is-open {
    display: flex;
  }

  .mm-trigger {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
  }

  .mm-panel {
    position: static;
    box-shadow: none;
    max-width: none;
    margin-bottom: 0.6rem;
  }
}
