:root {
  --bg: #f4f1eb;
  --bg-soft: #ebe6de;
  --surface: #fbfaf7;
  --text: #171715;
  --muted: #69655f;
  --accent: #806b55;
  --accent-dark: #5f4d3c;
  --line: rgba(23, 23, 21, 0.14);
  --line-strong: rgba(23, 23, 21, 0.28);
  --white: #fff;
  --shadow: 0 24px 70px rgba(30, 26, 21, 0.09);
  --radius: 3px;
  --container: 1240px;
  --serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

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

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

button {
  color: inherit;
}

::selection {
  color: var(--white);
  background: var(--accent);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--text);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), 820px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  max-width: 950px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.heading {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.subheading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.text-large {
  font-family: var(--serif);
  font-size: clamp(25px, 3.3vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

.section {
  padding: clamp(88px, 11vw, 160px) 0;
  border-top: 1px solid var(--line);
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  color: var(--white);
  background: var(--text);
}

.section--dark .eyebrow,
.section--dark .muted,
.section--dark .lead {
  color: rgba(255, 255, 255, 0.65);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head p {
  margin: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--text);
  border-radius: 999px;
  color: var(--white);
  background: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  color: var(--text);
  background: transparent;
}

.button:active {
  transform: translateY(1px);
}

.button--secondary {
  color: var(--text);
  background: transparent;
}

.button--secondary:hover {
  color: var(--white);
  background: var(--text);
}

.button--light {
  color: var(--text);
  background: var(--white);
  border-color: var(--white);
}

.button--light:hover {
  color: var(--white);
  background: transparent;
}

.button:focus-visible,
.menu-toggle:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Header */

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 235, 0.94);
  backdrop-filter: blur(16px);
}

.site-header--sticky {
  position: sticky;
  top: 0;
}

.header-inner {
  display: grid;
  min-height: 88px;
  grid-template-columns: 180px 1fr auto;
  gap: 32px;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: 128px;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 100%;
  max-height: 66px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 38px);
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--text);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  min-width: 96px;
  height: 46px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.menu-toggle-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.menu-toggle-icon {
  display: grid;
  width: 20px;
  gap: 4px;
}

.menu-toggle-icon span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.menu-open .menu-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  min-height: calc(100svh - 89px);
  padding: clamp(64px, 9vw, 128px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-image img,
.hero-image video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-image--contain img {
  padding: clamp(20px, 4vw, 60px);
  object-fit: contain;
}

.hero-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 240px;
  padding: 14px 18px;
  background: rgba(251, 250, 247, 0.9);
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.hero-price {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

/* Products */

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

.product-card {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: #bbb;
  text-decoration: none;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(13, 12, 10, 0.68) 100%
  );
  content: "";
}

.product-card:hover img {
  transform: scale(1.025);
}

.product-card-content {
  position: absolute;
  right: 36px;
  bottom: 36px;
  left: 36px;
  z-index: 1;
}

.product-card-content p {
  max-width: 420px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.product-card-price {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Galleries */

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.gallery-item {
  min-height: 480px;
  overflow: hidden;
  background: var(--bg-soft);
}

.gallery-item--tall {
  grid-row: span 2;
  min-height: 980px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-item:hover img {
  transform: scale(1.015);
}

.gallery-item--contain img {
  padding: 30px;
  object-fit: contain;
}

/* Feature sections */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  gap: clamp(52px, 9vw, 120px);
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  min-height: 620px;
  overflow: hidden;
  background: var(--bg-soft);
}

.split-media img,
.split-media video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.split-media--contain img {
  padding: 40px;
  object-fit: contain;
}

.split-copy p:not(.eyebrow) {
  max-width: 570px;
  color: var(--muted);
  font-size: 18px;
}

.split-copy .spec-list {
  margin-top: 36px;
}

/* Specifications */

.spec-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  text-align: right;
}

/* Video */

.video-frame {
  overflow: hidden;
  background: #c5b6a5;
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  max-height: min(78vh, 840px);
  object-fit: contain;
  background: #c5b6a5;
}

/* Numbers */

.number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.number-item {
  min-height: 210px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.number-value {
  display: block;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
}

.number-label {
  max-width: 220px;
  color: var(--muted);
}

/* Service */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service-item {
  padding: 34px 34px 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-item + .service-item {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.service-item h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.service-item p {
  margin: 0;
  color: var(--muted);
}

/* CTA */

.purchase {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.purchase-price {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

/* Footer */

.site-footer {
  padding: 74px 0 34px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 70px;
}

.footer-brand {
  display: block;
  max-width: 420px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.footer-copy {
  max-width: 390px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer-title {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.social-link img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

/* Legal and text pages */

.page-hero {
  padding: clamp(80px, 10vw, 140px) 0;
}

.page-hero .lead {
  max-width: 760px;
}

.prose {
  padding-bottom: 120px;
}

.prose h2 {
  margin: 64px 0 18px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
}

.prose h3 {
  margin: 36px 0 12px;
  font-size: 18px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose a {
  color: var(--text);
}

.prose .draft-note {
  padding: 20px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-soft);
}

/* Reveal */

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

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

/* Responsive */

@media (max-width: 980px) {
  .header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-phone,
  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 77px 0 0;
    z-index: 49;
    padding: 42px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      visibility 180ms,
      opacity 180ms,
      transform 180ms;
  }

  .menu-open .mobile-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu nav {
    display: grid;
    gap: 4px;
  }

  .mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.15;
    text-decoration: none;
  }

  .mobile-menu-contact {
    margin-top: 40px;
    color: var(--muted);
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-head,
  .split,
  .purchase {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 620px;
  }

  .section-head {
    gap: 28px;
  }

  .split--reverse .split-media {
    order: initial;
  }

  .product-card,
  .product-card img {
    min-height: 620px;
  }

  .gallery-item--tall {
    min-height: 760px;
  }

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

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

  .service-item,
  .service-item + .service-item {
    padding: 26px 0;
    border-right: 0;
    border-left: 0;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container,
  .narrow {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .brand {
    width: 105px;
  }

  .display {
    font-size: clamp(42px, 13vw, 64px);
  }

  .heading {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero {
    padding: 58px 0 80px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-image {
    min-height: 470px;
  }

  .product-showcase,
  .gallery {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card img {
    min-height: 560px;
  }

  .product-card-content {
    right: 22px;
    bottom: 24px;
    left: 22px;
  }

  .gallery-item,
  .gallery-item--tall {
    min-height: 480px;
  }

  .split {
    gap: 40px;
  }

  .split-media {
    min-height: 500px;
  }

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

  .number-item {
    min-height: 170px;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .spec-row dd {
    text-align: left;
  }

  .purchase {
    gap: 36px;
  }

  .purchase .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

}

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

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

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


/* Premium typography and embedded product films */

.display,
.heading,
.subheading,
.text-large,
.hero-price,
.number-value,
.service-item h3,
.purchase-price,
.footer-brand,
.prose h2,
.mobile-menu a {
  font-family: var(--sans);
  font-weight: 300;
}

.display {
  max-width: 820px;
  font-size: clamp(42px, 5.8vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.048em;
}

.heading {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.038em;
}

.subheading {
  font-size: clamp(27px, 3.3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.text-large {
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.32;
  letter-spacing: -0.025em;
}

.hero-price,
.purchase-price,
.number-value {
  font-weight: 300;
  letter-spacing: -0.035em;
}

.service-item h3 {
  font-size: 25px;
  letter-spacing: -0.02em;
}

.footer-brand {
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.035em;
}

.product-film {
  padding: 0 0 clamp(88px, 11vw, 150px);
  border-top: 0;
}

.product-film .container {
  position: relative;
}

.video-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #d6cec2;
  box-shadow: var(--shadow);
}

.video-embed--chair {
  aspect-ratio: 16 / 9;
}

.video-embed--travel {
  aspect-ratio: 53 / 29;
}

.video-embed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d6cec2;
}

.social-link {
  width: auto;
  min-width: 44px;
  height: 44px;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-decoration: none;
}

.social-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.social-link img {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.social-link--disabled {
  opacity: 0.42;
  cursor: default;
}

.social-link--disabled:hover {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 700px) {
  .display {
    font-size: clamp(40px, 11.5vw, 58px);
  }

  .heading {
    font-size: clamp(33px, 9vw, 48px);
  }

  .product-film {
    padding-bottom: 82px;
  }

  .product-film .container {
    width: 100%;
  }

  .video-embed {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-embed video {
    display: none;
  }

  .video-embed--chair {
    background:
      #d6cec2 url("../assets/images/chair/chair-02.jpg")
      center / cover no-repeat;
  }

  .video-embed--travel {
    background:
      #d6cec2 url("../assets/images/travel-seat/travel-seat-02.jpg")
      center / cover no-repeat;
  }
}


/* Product FAQ and brand story */

.faq-section {
  background: var(--surface);
}

.faq-intro {
  max-width: 760px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--muted);
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 820px;
  padding: 0 56px 30px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.faq-answer p {
  margin: 0;
}

.brand-story {
  background: var(--surface);
}

.brand-story-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.brand-story-title {
  position: sticky;
  top: 130px;
}

.brand-story-copy {
  max-width: 780px;
}

.brand-story-copy p {
  margin: 0 0 1.4em;
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.brand-story-copy p:last-child {
  margin-bottom: 0;
}

.brand-founder {
  background: var(--bg-soft);
}

.brand-founder-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.brand-founder-media {
  width: 100%;
  max-width: 520px;
  margin: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--bg);
}

.brand-founder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.brand-founder-copy {
  max-width: 720px;
}

.brand-founder-copy .heading {
  margin-bottom: 38px;
}

.brand-founder-copy .text-large {
  margin: 0 0 28px;
}

.brand-founder-copy .lead {
  margin-top: 0;
}

@media (max-width: 780px) {
  .faq-item summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 16px;
    padding: 23px 0;
  }

  .faq-answer {
    padding-right: 0;
  }

  .brand-founder-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .brand-founder-media {
    width: min(100%, 480px);
    max-width: none;
    margin-inline: auto;
  }

  .brand-founder-copy {
    max-width: none;
  }

  .brand-founder-copy .heading {
    margin-bottom: 30px;
  }

  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .brand-story-title {
    position: static;
  }

  .brand-story-copy p {
    font-size: 20px;
  }
}

/* Draft catalog */

.catalog-draft-note {
  max-width: 720px;
  margin: 30px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
}

.catalog-category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.catalog-category-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
}

.catalog-category-media {
  min-height: 620px;
  overflow: hidden;
  background: var(--bg-soft);
}

.catalog-category-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 600ms ease;
}

.catalog-category-card:hover .catalog-category-media img {
  transform: scale(1.02);
}

.catalog-category-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 80px);
}

.catalog-category-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
}

.catalog-card-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 20px;
}

.catalog-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  text-decoration: none;
}

.catalog-product-card-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
}

.catalog-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.catalog-product-card:hover .catalog-product-card-media img {
  transform: scale(1.02);
}

.catalog-product-card-copy {
  padding-top: 22px;
}

.catalog-product-card-copy .eyebrow {
  margin-bottom: 10px;
}

.catalog-product-card-copy h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.catalog-product-price {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.catalog-product-hero {
  padding: clamp(64px, 9vw, 128px) 0;
}

.catalog-product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.catalog-product-hero-media {
  min-height: 680px;
  overflow: hidden;
  background: var(--bg-soft);
}

.catalog-product-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.catalog-summary {
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.catalog-summary > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.catalog-summary dt {
  color: var(--muted);
}

.catalog-summary dd {
  margin: 0;
  text-align: right;
}

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

.catalog-gallery-item {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
}

.catalog-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

  .catalog-product-hero-grid,
  .catalog-category-card {
    grid-template-columns: 1fr;
  }

  .catalog-product-hero-media,
  .catalog-category-media {
    min-height: 600px;
  }
}

@media (max-width: 700px) {
  .catalog-product-grid,
  .catalog-gallery {
    grid-template-columns: 1fr;
  }

  .catalog-product-grid {
    gap: 42px;
  }

  .catalog-product-card-media {
    aspect-ratio: 4 / 5;
  }

  .catalog-product-hero-media,
  .catalog-category-media {
    min-height: 470px;
  }

  .catalog-category-copy {
    padding: 34px 24px 42px;
  }
}

/* Catalog product hero actions */

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 32px;
}


/* Related products */

.related-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.related-product-card {
  display: flex;
  min-height: 210px;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.related-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.related-product-card strong {
  max-width: 30ch;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.3;
}

.related-product-card .catalog-product-price {
  margin-top: auto;
}

@media (max-width: 760px) {
  .related-product-grid {
    grid-template-columns: 1fr;
  }
}


/* Catalog flagships */

.catalog-flagship-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.catalog-flagship-card .catalog-product-card-media {
  min-height: 420px;
}

@media (max-width: 760px) {
  .catalog-flagship-grid {
    grid-template-columns: 1fr;
  }

  .catalog-flagship-card .catalog-product-card-media {
    min-height: 320px;
  }
}

/* Mat catalog groups */

.catalog-mat-group + .catalog-mat-group {
  margin-top: clamp(96px, 12vw, 160px);
  padding-top: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--line);
}

.catalog-mat-group-head {
  max-width: 780px;
  margin-bottom: clamp(52px, 7vw, 80px);
}

.catalog-mat-size-group + .catalog-mat-size-group {
  margin-top: clamp(72px, 9vw, 112px);
}

.catalog-mat-size-group > .subheading {
  margin-bottom: 32px;
}

.catalog-product-card-copy h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

/* Category card checkout */

.catalog-product-card-media {
  display: block;
  color: inherit;
  text-decoration: none;
}

.catalog-product-title-link {
  color: inherit;
  text-decoration: none;
}

.catalog-product-title-link:hover,
.catalog-product-title-link:focus-visible,
.catalog-card-link:hover,
.catalog-card-link:focus-visible {
  text-decoration: underline;
}

.catalog-product-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}

.catalog-product-card-actions .catalog-product-price {
  margin: 0;
}

.catalog-card-buy {
  min-width: 0;
  padding: 10px 18px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.catalog-product-card-copy > .catalog-card-link {
  display: inline-block;
  margin-top: 18px;
}

/* Коротким карточкам ковриков нужен воздух перед CTA. */
.catalog-mat-group .catalog-product-card-actions {
  margin-top: 22px;
}

@media (max-width: 420px) {
  .catalog-product-card-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
