:root {
  --ink: #2d2b29;
  --muted: #77736e;
  --accent: #85582f;
  --accent-deep: #654022;
  --line: #e8e5e1;
  --soft: #f3f3f3;
  --white: #fff;
  --page: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Han Sans CN", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 3px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

.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;
}

.brand-header {
  position: relative;
  z-index: 20;
  background: var(--white);
}

.brand-header__desktop {
  display: block;
  width: 100%;
  height: auto;
}

.brand-header__mobile {
  display: none;
}

.heritage {
  position: relative;
  overflow: hidden;
  height: clamp(104px, 8.59vw, 165px);
  background: #f8f7f5;
}

.heritage__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: heritage-scroll 42s linear infinite;
}

.heritage__track picture {
  flex: 0 0 auto;
  width: clamp(378px, 31.25vw, 600px);
  height: 100%;
}

.heritage__track img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes heritage-scroll {
  to {
    transform: translateX(-50%);
  }
}

.honors {
  background: var(--white);
}

.honors picture,
.image-section > picture {
  display: block;
  width: 100%;
}

.honors img,
.image-section > picture img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--white);
}

.carousel--hero .carousel__viewport {
  aspect-ratio: 1920 / 1175;
}

.carousel--knowledge .carousel__viewport {
  aspect-ratio: 1920 / 918;
}

.carousel__viewport {
  position: relative;
  width: 100%;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms var(--ease), visibility 900ms;
}

.carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--white);
  background: rgba(15, 15, 15, 0.26);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 220ms ease, background 220ms ease, transform 220ms ease;
}

.carousel:hover .carousel__arrow,
.carousel__arrow:focus-visible {
  opacity: 1;
}

.carousel__arrow:hover {
  background: rgba(15, 15, 15, 0.52);
}

.carousel__arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.carousel__arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel__arrow--prev {
  left: clamp(16px, 3vw, 58px);
}

.carousel__arrow--next {
  right: clamp(16px, 3vw, 58px);
}

.carousel__dots {
  position: absolute;
  z-index: 5;
  bottom: clamp(16px, 2vw, 34px);
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width 280ms var(--ease), background 280ms ease;
}

.carousel__dot.is-active {
  width: 28px;
  background: var(--white);
}

.carousel--knowledge .carousel__arrow {
  color: var(--ink);
  border-color: rgba(35, 35, 35, 0.14);
  background: rgba(255, 255, 255, 0.84);
}

.carousel--knowledge .carousel__dot {
  border-color: rgba(35, 35, 35, 0.72);
}

.carousel--knowledge .carousel__dot.is-active {
  background: var(--ink);
}

.carousel__mobile-copy,
.mobile-content {
  display: none;
}

.contact {
  padding: 0 28px;
  background-color: #f6f6f5;
  background-image: radial-gradient(rgba(45, 43, 41, 0.035) 0.55px, transparent 0.55px);
  background-size: 4px 4px;
  border-top: 1px solid var(--line);
}

.contact__main {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 590px);
  justify-content: center;
  gap: 100px;
  align-items: start;
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 70px 15px 24px;
}

.contact__details h2 {
  margin: 14px 0 14px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.contact__lead {
  margin: 0 0 62px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.contact__details address {
  display: grid;
  gap: 13px;
  margin: 0;
  color: #8a8783;
  font-size: 14px;
  font-style: normal;
}

.contact__line {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
}

.contact__line svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #aaa6a2;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a.contact__line:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  outline: none;
  color: #4d4a47;
  background: rgba(226, 226, 226, 0.82);
  font: inherit;
  font-size: 14px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.contact-form input {
  height: 38px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 146px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa8a5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #aaa49f;
  background: rgba(255, 255, 255, 0.92);
}

.contact-form__captcha-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 0;
}

.contact-form__captcha {
  position: relative;
  overflow: hidden;
  height: 38px;
  padding: 0;
  border: 0;
  color: #257a77;
  background: #fff;
  cursor: pointer;
}

.contact-form__captcha::before,
.contact-form__captcha::after {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(15deg, transparent 0 8px, rgba(91, 133, 128, 0.14) 9px 10px);
}

.contact-form__captcha::after {
  transform: rotate(-11deg);
}

.contact-form__captcha span {
  position: relative;
  z-index: 1;
  display: block;
  transform: rotate(-5deg) skewX(-7deg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 1px 1px 0 rgba(189, 26, 26, 0.34);
}

.contact-form__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-height: 40px;
}

.contact-form__status {
  flex: 1;
  margin: 0;
  color: #8b3b31;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.contact-form__status.is-success {
  color: #3c7651;
}

.contact-form__submit {
  width: 98px;
  height: 36px;
  border: 0;
  color: var(--white);
  background: #c80000;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  transition: background-color 160ms ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  background: #a90000;
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
}

.contact__channels {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  width: min(100%, var(--page));
  min-height: 194px;
  margin: 0 auto;
  padding: 28px clamp(40px, 8vw, 160px);
  border: 1px solid #7e7e7e;
}

.contact__assurance {
  margin: 0;
  color: #8a8783;
  font-size: 17px;
}

.contact__qr-list {
  display: grid;
  grid-template-columns: repeat(4, 96px);
  gap: 12px;
  align-items: start;
}

.contact__qr-list a,
.contact__qr-list figure {
  display: grid;
  gap: 5px;
  margin: 0;
  color: #8a8783;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.contact__qr-list img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #fff;
}

.contact__qr-list a:hover {
  color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px max(28px, calc((100vw - var(--page)) / 2));
  color: #8a8681;
  background: #f7f7f7;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer__records {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer__records a {
  text-decoration: none;
}

.site-footer__records a:hover,
.site-footer__records a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-call {
  display: none;
}

.mobile-experience {
  display: none;
}

@media (min-width: 721px) {
  html,
  body {
    min-width: 1920px;
  }

  body {
    width: 1920px;
    margin-right: auto;
    margin-left: auto;
  }

  .heritage {
    height: 165px;
  }

  .heritage__track picture {
    width: 600px;
  }

  .carousel__arrow--prev {
    left: 58px;
  }

  .carousel__arrow--next {
    right: 58px;
  }

  .carousel__dots {
    bottom: 34px;
  }

  .contact__channels {
    padding-right: 154px;
    padding-left: 154px;
  }

  .site-footer {
    padding-right: 360px;
    padding-left: 360px;
  }
}

@media (max-width: 720px) {
  body {
    min-width: 0;
    width: 100%;
    padding-bottom: 0;
  }

  .brand-header {
    display: none;
  }

  .desktop-experience {
    display: none;
  }

  .mobile-experience {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--white);
  }

  .mobile-artwork,
  .mobile-artwork img,
  .mobile-wisdom,
  .mobile-wisdom__base {
    display: block;
    width: 100%;
    height: auto;
  }

  .mobile-ribbon {
    width: 100%;
    overflow: hidden;
    background: #f8f7f5;
  }

  .mobile-ribbon__track {
    display: flex;
    width: 200%;
    animation: mobile-ribbon-scroll 26s linear infinite;
  }

  .mobile-ribbon__track img {
    flex: 0 0 25%;
    width: 25%;
    height: auto;
  }

  .mobile-carousel .carousel__viewport {
    aspect-ratio: 3 / 4;
  }

  .mobile-carousel .carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-carousel .carousel__arrow {
    display: none;
  }

  .mobile-carousel .carousel__dots {
    bottom: 10px;
    gap: 6px;
  }

  .mobile-carousel .carousel__dot {
    width: 6px;
    height: 6px;
    border-color: rgba(45, 43, 41, 0.75);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
  }

  .mobile-carousel .carousel__dot.is-active {
    width: 20px;
    background: var(--ink);
  }

  .mobile-wisdom {
    position: relative;
  }

  .mobile-carousel--quotes {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
  }

  .mobile-carousel--quotes .carousel__viewport {
    aspect-ratio: 1200 / 755;
  }

  .mobile-carousel--quotes .carousel__slide img {
    object-fit: contain;
  }

  .contact {
    border-top: 0;
  }

  .brand-header__desktop {
    display: none;
  }

  .brand-header__mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 9px 18px;
  }

  .brand-header__mobile img {
    width: 172px;
    height: auto;
  }

  .brand-header__mobile a {
    padding: 9px 14px;
    color: var(--white);
    background: var(--accent);
    border-radius: 2px;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.12em;
  }

  .heritage {
    height: 108px;
  }

  .heritage__track picture {
    width: 393px;
  }

  .honors {
    overflow: hidden;
    height: 72px;
  }

  .honors img {
    width: auto;
    max-width: none;
    height: 72px;
    transform: translateX(-27%);
  }

  .carousel--hero .carousel__viewport {
    aspect-ratio: 4 / 5;
  }

  .carousel--hero .carousel__slide img {
    object-position: 65% top;
  }

  .carousel--knowledge .carousel__viewport {
    aspect-ratio: 1 / 1;
  }

  .carousel--knowledge .carousel__slide img {
    object-position: center;
  }

  .carousel__arrow {
    width: 40px;
    height: 40px;
    opacity: 1;
  }

  .carousel__arrow--prev {
    left: 10px;
  }

  .carousel__arrow--next {
    right: 10px;
  }

  .carousel__dots {
    bottom: 14px;
  }

  .carousel__mobile-copy {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 5px;
    padding: 54px 64px 42px;
    color: var(--white);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
    pointer-events: none;
  }

  .carousel__mobile-copy span {
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .carousel__mobile-copy strong {
    font-family: "Songti SC", "STSong", serif;
    font-size: 24px;
    font-weight: 400;
  }

  .image-section > picture img {
    min-height: 250px;
    object-fit: cover;
    object-position: center top;
  }

  .image-section .mobile-content {
    display: block;
    padding: 38px 24px 44px;
    color: var(--ink);
    background: var(--white);
  }

  .mobile-content__eyebrow {
    margin: 0 0 9px;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .mobile-content h2 {
    margin: 0 0 18px;
    font-family: "Songti SC", "STSong", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.35;
  }

  .mobile-content p,
  .mobile-content blockquote {
    margin: 0;
    color: #5f5b57;
    font-size: 15px;
    line-height: 1.9;
  }

  .mobile-content blockquote {
    margin-bottom: 10px;
    font-family: "Songti SC", "STSong", serif;
    font-size: 17px;
  }

  .mobile-content__columns {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .mobile-content__columns span {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    color: #5f5b57;
  }

  .contact {
    padding: 0 18px;
    scroll-margin-top: 66px;
  }

  .contact__main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 48px 6px 34px;
  }

  .contact__details h2 {
    margin-top: 0;
    font-size: 19px;
  }

  .contact__lead {
    margin-bottom: 34px;
  }

  .contact__details address {
    font-size: 13px;
  }

  .contact-form textarea {
    min-height: 130px;
  }

  .contact-form__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .contact-form__status {
    text-align: left;
  }

  .contact-form__submit {
    align-self: flex-end;
  }

  .contact__channels {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 20px 34px;
    border-right: 0;
    border-left: 0;
  }

  .contact__assurance {
    font-size: 15px;
    text-align: center;
  }

  .contact__qr-list {
    grid-template-columns: repeat(2, 96px);
    justify-content: center;
    gap: 22px 28px;
  }

  .site-footer {
    display: grid;
    gap: 7px;
    padding: 20px 24px;
  }

  .site-footer__records {
    display: grid;
    gap: 7px;
  }

  .mobile-call {
    display: none;
  }

  .mobile-call svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@keyframes mobile-ribbon-scroll {
  to {
    transform: translateX(-50%);
  }
}

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

  .heritage__track {
    animation: none;
  }

  .carousel__slide {
    transition: none;
  }
}
