:root {
  --ouart-ink: #111315;
  --ouart-muted: #666a70;
  --ouart-line: #e6e6e2;
  --ouart-red: #c83b2c;
  --ouart-model: #123d46;
  --ouart-green: #16735c;
  --ouart-orange: #dc4a2c;
  --ouart-white: #fff;
  --ouart-shell: 1440px;
  --ouart-content: 1240px;
}

.ouart-unified-home {
  background: var(--ouart-white);
  color: var(--ouart-ink);
}

.ouart-unified-home .site-main,
.ouart-unified-home [data-vertical-spacing='top:bottom'] {
  padding-top: 0;
  padding-bottom: 0;
}

.ouart-home,
.ouart-home * {
  box-sizing: border-box;
}

.ouart-home {
  overflow: clip;
  font-family: Inter, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.ouart-home h1,
.ouart-home h2,
.ouart-home h3,
.ouart-home p,
.ouart-home figure {
  margin-top: 0;
}

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

.ouart-shell {
  width: min(calc(100% - 64px), var(--ouart-content));
  margin-inline: auto;
}

.ouart-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.ouart-section-head h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
  letter-spacing: -.045em;
}

.ouart-section-head a,
.ouart-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--ouart-red);
  font-size: 14px;
  font-weight: 700;
}

.ouart-hero {
  border-bottom: 1px solid var(--ouart-line);
  background: var(--ouart-white);
}

.ouart-hero__grid {
  display: grid;
  min-height: min(720px, 72vh);
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.55fr);
  align-items: stretch;
}

.ouart-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 72px 72px 0;
}

.ouart-hero__copy h1 {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(56px, 5.5vw, 90px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
}

.ouart-hero__copy p {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--ouart-muted);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.7;
}

.ouart-hero__media {
  min-height: 520px;
  margin-bottom: 0;
  overflow: hidden;
  background: #f3f3f1;
}

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

.ouart-channels,
.ouart-today,
.ouart-featured {
  padding: clamp(64px, 8vw, 112px) 0;
}

.ouart-channel-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ouart-line);
  border-bottom: 1px solid var(--ouart-line);
}

.ouart-channel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  isolation: isolate;
}

.ouart-channel:last-child {
  border-right: 0;
}

.ouart-channel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.ouart-channel__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .78));
}

.ouart-channel__body {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.ouart-channel__body strong {
  margin-bottom: 9px;
  font-size: 28px;
  line-height: 1.1;
}

.ouart-channel__body > span:not(.ouart-channel__arrow) {
  max-width: 230px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}

.ouart-channel__arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-top: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--ouart-ink);
}

.ouart-channel:hover img,
.ouart-channel:focus-visible img {
  transform: scale(1.035);
}

.ouart-channel:focus-visible,
.ouart-update__link:focus-visible,
.ouart-home a:focus-visible {
  outline: 3px solid var(--ouart-red);
  outline-offset: 4px;
}

.ouart-today {
  border-top: 1px solid var(--ouart-line);
}

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

.ouart-update {
  --channel-color: var(--ouart-red);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid var(--ouart-line);
}

.ouart-update--model { --channel-color: var(--ouart-model); }
.ouart-update--metrion { --channel-color: var(--ouart-green); }
.ouart-update--workshop { --channel-color: var(--ouart-orange); }

.ouart-update__meta {
  display: grid;
  grid-template-columns: 10px 1fr;
  align-content: center;
  gap: 8px 12px;
  padding: 28px 30px 28px 0;
  color: var(--ouart-muted);
  font-size: 13px;
}

.ouart-update__dot {
  width: 9px;
  height: 9px;
  align-self: center;
  border-radius: 50%;
  background: var(--channel-color);
}

.ouart-update__meta time {
  grid-column: 2;
}

.ouart-update__link {
  display: grid;
  min-height: 174px;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr) 48px;
  align-items: center;
  gap: 34px;
  padding: 18px 0;
}

.ouart-update:nth-child(even) .ouart-update__media {
  order: 2;
}

.ouart-update:nth-child(even) .ouart-update__copy {
  order: 1;
}

.ouart-update:nth-child(even) .ouart-update__arrow {
  order: 3;
}

.ouart-update__media {
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #f0f0ee;
}

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

.ouart-update__copy h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.ouart-update__copy p {
  margin-bottom: 0;
  color: var(--ouart-muted);
  line-height: 1.7;
}

.ouart-update__arrow {
  color: var(--channel-color);
  font-size: 26px;
}

.ouart-path {
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid var(--ouart-line);
  border-bottom: 1px solid var(--ouart-line);
  background: #fafafa;
}

.ouart-path__grid {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.8fr);
  gap: clamp(56px, 8vw, 120px);
}

.ouart-path h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 4.5vw, 68px);
  line-height: 1;
  letter-spacing: -.055em;
}

.ouart-path p {
  color: var(--ouart-muted);
  line-height: 1.8;
}

.ouart-path__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ouart-path__steps li {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  border-left: 1px solid var(--ouart-line);
}

.ouart-path__steps li:last-child {
  border-right: 1px solid var(--ouart-line);
}

.ouart-path__steps span {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--ouart-red);
  font-size: 13px;
  font-weight: 800;
}

.ouart-path__steps strong {
  margin-bottom: 7px;
  font-size: 20px;
}

.ouart-path__steps small {
  color: var(--ouart-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ouart-featured__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ouart-featured article img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f1f1ef;
}

.ouart-featured article h3 {
  margin: 15px 0 0;
  font-size: 18px;
  line-height: 1.4;
}

.ouart-checkout-reserve {
  padding: 0 0 clamp(72px, 8vw, 120px);
}

.ouart-checkout-reserve__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 4vw, 54px);
  background: var(--ouart-ink);
  color: #fff;
}

.ouart-checkout-reserve h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -.045em;
}

.ouart-checkout-reserve p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
}

.ouart-button {
  display: inline-flex;
  min-width: 180px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .ouart-shell {
    width: min(calc(100% - 40px), var(--ouart-content));
  }

  .ouart-hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .ouart-hero__copy {
    padding: 64px 0 40px;
  }

  .ouart-hero__media {
    min-height: auto;
    aspect-ratio: 16 / 8;
  }

  .ouart-channel-rail {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ouart-channel {
    min-width: min(72vw, 390px);
    min-height: 320px;
    scroll-snap-align: start;
  }

  .ouart-update {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .ouart-update__link {
    grid-template-columns: 240px minmax(0, 1fr) 30px;
    gap: 22px;
  }

  .ouart-path__grid {
    grid-template-columns: 1fr;
  }

  .ouart-featured__rail {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .ouart-shell {
    width: min(calc(100% - 32px), var(--ouart-content));
  }

  .ouart-section-head {
    margin-bottom: 20px;
  }

  .ouart-section-head h2 {
    font-size: 28px;
  }

  .ouart-section-head a {
    font-size: 13px;
  }

  .ouart-hero__copy {
    padding: 40px 0 26px;
  }

  .ouart-hero__copy h1 {
    margin-bottom: 20px;
    font-size: clamp(46px, 14vw, 64px);
    line-height: 1.02;
  }

  .ouart-hero__copy p {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .ouart-hero__media {
    aspect-ratio: 4 / 3;
  }

  .ouart-channels,
  .ouart-today,
  .ouart-featured {
    padding: 56px 0;
  }

  .ouart-channel-rail {
    margin-right: -16px;
  }

  .ouart-channel {
    min-width: 79vw;
    min-height: 270px;
  }

  .ouart-channel__body {
    padding: 24px;
  }

  .ouart-update-list {
    border: 1px solid var(--ouart-line);
  }

  .ouart-update {
    display: block;
    padding: 0 12px;
  }

  .ouart-update:last-child {
    border-bottom: 0;
  }

  .ouart-update__meta {
    display: flex;
    align-items: center;
    padding: 14px 0 8px;
  }

  .ouart-update__meta time {
    margin-left: auto;
  }

  .ouart-update__link {
    min-height: 112px;
    grid-template-columns: 118px minmax(0, 1fr) 18px;
    gap: 14px;
    padding: 0 0 14px;
  }

  .ouart-update:nth-child(even) .ouart-update__media,
  .ouart-update:nth-child(even) .ouart-update__copy,
  .ouart-update:nth-child(even) .ouart-update__arrow {
    order: initial;
  }

  .ouart-update__media {
    aspect-ratio: 4 / 3;
  }

  .ouart-update__copy h3 {
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    font-size: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ouart-update__copy p {
    display: none;
  }

  .ouart-path {
    padding: 56px 0;
  }

  .ouart-path__grid {
    gap: 30px;
  }

  .ouart-path h2 {
    font-size: 44px;
  }

  .ouart-path__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .ouart-path__steps li:nth-child(3) {
    border-top: 1px solid var(--ouart-line);
  }

  .ouart-path__steps li:nth-child(4) {
    border-top: 1px solid var(--ouart-line);
    border-right: 1px solid var(--ouart-line);
  }

  .ouart-featured__rail {
    display: flex;
    margin-right: -16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ouart-featured article {
    min-width: 76vw;
    scroll-snap-align: start;
  }

  .ouart-checkout-reserve {
    padding-bottom: 72px;
  }

  .ouart-checkout-reserve__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ouart-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ouart-home *,
  .ouart-home *::before,
  .ouart-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

