:root {
  --site-bg: #faf9f5;
  --site-surface: #ffffff;
  --site-text: #141413;
  --site-muted: #5f5c56;
  --site-line: #ddd4ca;
  --site-accent: #cc785c;
  --site-accent-dark: #b9654a;
  --site-dark: #141413;
  --site-footer: #252320;
  --site-content: 1440px;
  --series-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

.series-body {
  line-height: 1.65;
}

.series-page {
  background: var(--site-bg);
}

.series-page h1,
.series-page h2,
.series-page h3,
.series-page p,
.series-page figure,
.series-page dl,
.series-page dd {
  margin: 0;
}

.series-page button,
.series-detail button {
  font: inherit;
}

.series-eyebrow {
  margin-bottom: 20px !important;
  color: var(--site-accent);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.series-eyebrow--light {
  color: rgba(250, 249, 245, 0.76);
}

.series-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #77736c;
  font-size: 13px;
  line-height: 1.5;
}

.series-breadcrumb a {
  color: var(--site-text);
  transition: color 180ms ease;
}

.series-breadcrumb a:hover,
.series-breadcrumb a:focus-visible {
  color: var(--site-accent);
}

.series-hero {
  width: 100%;
  padding-block: 38px clamp(104px, 10vw, 158px);
  border-bottom: 1px solid var(--site-line);
  background: var(--site-bg);
}

.series-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: clamp(80px, 10vw, 168px);
  padding-top: clamp(84px, 9vw, 138px);
}

.series-hero__title h1 {
  max-width: 840px;
  font-size: var(--type-page-title);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.series-hero__title h1 span {
  display: block;
  margin-top: 14px;
  color: var(--site-accent);
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.series-hero__intro > p {
  max-width: 590px;
  color: #47443f;
  font-size: var(--type-lead);
  line-height: 1.85;
}

.series-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px !important;
  border-top: 1px solid var(--site-line);
}

.series-hero__facts > div {
  padding-top: 22px;
}

.series-hero__facts > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--site-line);
}

.series-hero__facts dt {
  color: #77736c;
  font-size: 13px;
}

.series-hero__facts dd {
  margin-top: 5px;
  color: var(--site-text);
  font-size: 18px;
  font-weight: 600;
}

.series-gallery {
  width: 100%;
  padding-block: clamp(96px, 9vw, 144px) clamp(120px, 11vw, 176px);
}

.series-gallery__heading {
  margin-bottom: clamp(56px, 6vw, 88px);
}

.series-gallery__heading h2 {
  font-size: var(--type-section-title);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 2.6vw, 36px);
  row-gap: 64px;
}

.series-style__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--site-text);
  cursor: pointer;
  text-align: left;
}

.series-style__visual {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--series-radius);
  background: #eee8df;
}

.series-style__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.series-style__action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.series-style__meta {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding-top: 20px;
}

.series-style__number {
  color: var(--site-accent);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.series-style__name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.series-style__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--site-accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.series-style__action svg {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.series-style__trigger:hover .series-style__visual img,
.series-style__trigger:focus-visible .series-style__visual img {
  transform: scale(1.025);
}

.series-style__trigger:hover .series-style__action,
.series-style__trigger:focus-visible .series-style__action {
  color: var(--site-accent-dark);
}

.series-style__trigger:hover .series-style__action svg,
.series-style__trigger:focus-visible .series-style__action svg {
  transform: translateX(4px);
}

.series-style__trigger:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 8px;
  border-radius: var(--series-radius);
}

.series-style.is-selected .series-style__visual {
  outline: 2px solid var(--site-accent);
  outline-offset: 6px;
}

.series-style.is-selected .series-style__action {
  color: var(--site-accent-dark);
}

.series-cta {
  width: 100%;
  padding-block: clamp(88px, 8vw, 128px);
  background: var(--site-dark);
  color: #faf9f5;
}

.series-cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: clamp(72px, 9vw, 152px);
}

.series-cta h2 {
  max-width: 780px;
  font-size: var(--type-section-title);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.series-cta__action > p {
  max-width: 600px;
  color: #c9c5bb;
  font-size: 16px;
  line-height: 1.8;
}

.series-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 30px;
  padding: 14px 24px;
  border: 0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.series-button--accent {
  background: var(--site-accent);
  color: #ffffff !important;
}

.series-button--accent:hover,
.series-button--accent:focus-visible {
  background: var(--site-accent-dark);
  transform: translateY(-2px);
}

.series-button--dark {
  width: 100%;
  background: var(--site-dark);
  color: #ffffff !important;
}

.series-button--dark:hover,
.series-button--dark:focus-visible {
  background: #33312d;
}

.series-detail {
  margin-top: clamp(64px, 7vw, 104px);
  scroll-margin-top: 96px;
  overflow: hidden;
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
  background: #f1ece5;
}

.series-detail.is-open {
  animation: series-detail-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.series-detail__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(24px, 3vw, 48px);
  border-bottom: 1px solid var(--site-line);
}

.series-detail__topbar > p {
  color: #77736c;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.series-detail__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--site-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.series-detail__close:hover,
.series-detail__close:focus-visible {
  color: var(--site-accent);
  transform: translateX(-3px);
}

.series-detail__close svg,
.series-detail__switcher svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.series-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: stretch;
}

.series-detail__visual {
  margin: 0;
  min-height: 100%;
  background: #e7dfd5;
}

.series-detail__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  background: #eee8df;
}

.series-detail__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px);
}

.series-detail__series {
  color: var(--site-accent);
  font-size: 13px;
  font-weight: 600;
}

.series-detail__content h3 {
  margin-top: 10px;
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.series-detail__description {
  margin-top: 22px;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.75;
}

.series-detail__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px !important;
  border-top: 1px solid var(--site-line);
}

.series-detail__specs > div {
  min-height: 104px;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--site-line);
}

.series-detail__specs > div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--site-line);
}

.series-detail__specs dt {
  color: #77736c;
  font-size: 13px;
}

.series-detail__specs dd {
  margin-top: 8px;
  color: var(--site-text);
  font-size: 14px;
  font-weight: 500;
}

.series-detail__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
}

.series-detail__footer .series-button {
  width: auto;
  margin-top: 0;
}

.series-detail__switcher {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.series-detail__switcher > p {
  min-width: 56px;
  color: #77736c;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.series-detail__switcher > p span {
  color: var(--site-text);
}

.series-detail__switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: 50%;
  background: transparent;
  color: var(--site-text);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.series-detail__switcher button:hover,
.series-detail__switcher button:focus-visible {
  border-color: var(--site-text);
  background: var(--site-text);
  color: #ffffff;
}

.series-error {
  display: grid;
  min-height: 100vh;
  padding-block: 120px;
  place-items: center;
  background: var(--site-bg);
}

.series-error__eyebrow {
  color: var(--site-accent);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.series-error h1 {
  margin: 20px 0 16px;
  font-size: clamp(44px, 6vw, 72px);
}

.series-error > .container > p {
  color: var(--site-muted);
}

@keyframes series-detail-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .series-hero__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
    gap: 64px;
  }

  .series-hero__title h1 {
    font-size: var(--type-page-title);
  }

  .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-cta__layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 48px;
  }

  .series-detail__layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  }

  .series-detail__visual img {
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .series-hero {
    padding-top: 28px;
  }

  .series-hero__layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .series-hero__intro > p {
    max-width: 680px;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .series-breadcrumb {
    gap: 7px;
    font-size: 12px;
  }

  .series-hero {
    padding-bottom: 88px;
  }

  .series-hero__layout {
    gap: 36px;
    padding-top: 68px;
  }

  .series-hero__title h1 {
    font-size: var(--type-page-title-mobile);
  }

  .series-hero__intro > p {
    font-size: var(--type-body-mobile);
  }

  .series-hero__facts {
    margin-top: 36px !important;
  }

  .series-hero__facts > div + div {
    padding-left: 20px;
  }

  .series-gallery {
    padding-block: 80px 104px;
  }

  .series-gallery__heading {
    margin-bottom: 48px;
  }

  .series-gallery__heading h2 {
    font-size: var(--type-section-title-mobile);
  }

  .series-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .series-cta {
    padding-block: 80px;
  }

  .series-cta h2 {
    font-size: var(--type-section-title-mobile);
  }

  .series-button--accent {
    width: 100%;
  }

  .series-detail {
    margin-top: 56px;
  }

  .series-detail__topbar {
    min-height: 64px;
    padding: 10px 20px;
  }

  .series-detail__layout {
    grid-template-columns: 1fr;
  }

  .series-detail__visual img {
    min-height: 0;
    aspect-ratio: 1;
  }

  .series-detail__content {
    padding: 32px 20px 36px;
  }

  .series-detail__content h3 {
    font-size: 36px;
  }

  .series-detail__specs {
    margin-top: 32px !important;
  }

  .series-detail__specs > div {
    min-height: 94px;
  }

  .series-detail__footer {
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
  }

  .series-detail__footer .series-button {
    width: 100%;
  }

  .series-detail__switcher {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .series-style__visual img,
  .series-style__action,
  .series-style__action svg,
  .series-button,
  .series-detail.is-open,
  .series-detail__close,
  .series-detail__switcher button {
    animation: none;
    transition: none;
  }
}

