:root {
  color-scheme: light;
  --paper: #f8eee4;
  --paper-light: #fff8ef;
  --coffee: #4d2f20;
  --mocha: #9b653e;
  --latte: #ad7447;
  --muted: #735644;
  --muted-en: rgba(103, 76, 59, 0.72);
  --line: rgba(156, 99, 59, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--coffee);
  font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC",
    "Songti SC", "STSong", "SimSun", serif;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(42px, 5.5vh, 66px) 24px clamp(38px, 5.5vh, 62px);
  background:
    radial-gradient(
      circle at 50% 43%,
      rgba(249, 230, 212, 0.54) 0 13%,
      rgba(255, 250, 244, 0.18) 33%,
      transparent 58%
    ),
    linear-gradient(
      112deg,
      rgba(255, 253, 248, 0.7) 0%,
      rgba(250, 239, 228, 0.86) 42%,
      rgba(232, 214, 197, 0.66) 100%
    ),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 16% 20%,
      rgba(255, 255, 255, 0.6) 0 14%,
      transparent 36%
    ),
    radial-gradient(
      ellipse at 82% 18%,
      rgba(201, 169, 139, 0.25) 0 16%,
      transparent 39%
    ),
    radial-gradient(
      ellipse at 8% 82%,
      rgba(196, 151, 111, 0.27) 0 18%,
      transparent 42%
    ),
    radial-gradient(
      ellipse at 91% 78%,
      rgba(255, 255, 255, 0.28) 0 15%,
      transparent 35%
    );
  filter: blur(18px);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 45vw;
  min-width: 540px;
  aspect-ratio: 1.45;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.3;
  pointer-events: none;
}

.ambient-left {
  left: -25vw;
  bottom: 5vh;
  background: radial-gradient(circle, rgba(187, 139, 98, 0.48), transparent 67%);
}

.ambient-right {
  right: -26vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(190, 147, 111, 0.38), transparent 68%);
}

.hero-content {
  width: min(1040px, 92vw);
  text-align: center;
  transform: translateY(-0.4vh);
}

.logo-wrap {
  width: clamp(248px, 18vw, 296px);
  margin: 0 auto clamp(27px, 3.5vh, 36px);
  filter: drop-shadow(0 16px 11px rgba(72, 42, 24, 0.22));
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-title {
  margin: 0;
  color: var(--coffee);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
  text-indent: 0.11em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68);
}

.brand-cn {
  font-size: clamp(50px, 5.05vw, 84px);
  letter-spacing: 0.125em;
}

.brand-dot {
  display: inline-block;
  margin: 0 0.19em;
  font-size: clamp(44px, 4.55vw, 73px);
  transform: translateY(-0.01em);
}

.brand-en {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: clamp(50px, 5.1vw, 83px);
  font-weight: 700;
  letter-spacing: 0.004em;
}

.slogan-group,
.subtitle-group {
  text-align: center;
}

.slogan {
  margin: clamp(25px, 3.3vh, 33px) 0 0;
  color: var(--latte);
  font-size: clamp(30px, 3.05vw, 49px);
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1.35;
  text-indent: 0.25em;
}

.slogan-en {
  max-width: 660px;
  margin: clamp(6px, 0.9vh, 10px) auto 0;
  color: rgba(132, 89, 56, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.045em;
}

.subtitle {
  margin: clamp(16px, 2.1vh, 22px) 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 25px);
  font-weight: 400;
  letter-spacing: 0.31em;
  line-height: 1.7;
  text-indent: 0.31em;
}

.subtitle-en {
  max-width: 700px;
  margin: clamp(4px, 0.65vh, 7px) auto 0;
  color: var(--muted-en);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.025em;
}

.divider {
  width: min(440px, 65vw);
  margin: clamp(26px, 3.5vh, 34px) auto 0;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  gap: 20px;
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 24%, var(--line) 100%);
}

.divider-line:last-child {
  transform: scaleX(-1);
}

.bean {
  display: grid;
  place-items: center;
}

.bean svg {
  width: 29px;
  height: 29px;
  overflow: visible;
}

.bean ellipse {
  fill: #aa754b;
}

.bean path {
  fill: none;
  stroke: #f4e8d9;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.coming-soon {
  margin: clamp(20px, 2.7vh, 27px) 0 0;
  color: rgba(110, 79, 59, 0.64);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.35vw, 20px);
  letter-spacing: 0.27em;
}

@media (max-width: 860px) {
  .hero {
    padding-inline: clamp(18px, 4vw, 30px);
  }

  .hero-content {
    width: min(760px, 100%);
    transform: none;
  }

  .brand-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    row-gap: 4px;
    white-space: normal;
    text-indent: 0;
  }

  .brand-cn {
    width: 100%;
  }

  .brand-dot {
    display: none;
  }

  .brand-en {
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  html,
  body {
    min-width: 0;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    place-items: center;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .ambient {
    width: 120vw;
    min-width: 0;
    opacity: 0.24;
    filter: blur(44px);
  }

  .ambient-left {
    left: -70vw;
    bottom: 2vh;
  }

  .ambient-right {
    right: -72vw;
    top: 4vh;
  }

  .hero-content {
    width: min(100%, 440px);
  }

  .logo-wrap {
    width: clamp(170px, 51vw, 216px);
    margin-bottom: clamp(17px, 2.8svh, 24px);
    filter: drop-shadow(0 12px 9px rgba(72, 42, 24, 0.2));
  }

  .brand-title {
    row-gap: clamp(0px, 0.35svh, 3px);
    line-height: 1;
  }

  .brand-cn {
    font-size: clamp(42px, 12.4vw, 52px);
    letter-spacing: 0.09em;
  }

  .brand-en {
    font-size: clamp(37px, 10.9vw, 47px);
    letter-spacing: 0;
  }

  .slogan {
    margin-top: clamp(17px, 2.5svh, 23px);
    font-size: clamp(23px, 6.4vw, 28px);
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-indent: 0.08em;
    white-space: nowrap;
  }

  .slogan-en {
    max-width: 330px;
    margin-top: clamp(4px, 0.75svh, 7px);
    padding-inline: 6px;
    font-size: clamp(13px, 3.45vw, 15px);
    line-height: 1.45;
    letter-spacing: 0.025em;
  }

  .subtitle {
    max-width: none;
    margin: clamp(11px, 1.75svh, 16px) auto 0;
    font-size: clamp(14px, 3.95vw, 17px);
    letter-spacing: 0.12em;
    line-height: 1.65;
    text-indent: 0.12em;
    white-space: nowrap;
  }

  .subtitle-en {
    max-width: 340px;
    margin-top: clamp(3px, 0.6svh, 6px);
    padding-inline: 4px;
    font-size: clamp(11px, 2.9vw, 13px);
    line-height: 1.5;
    letter-spacing: 0.012em;
  }

  .divider {
    width: min(300px, 78vw);
    margin-top: clamp(18px, 2.8svh, 25px);
    grid-template-columns: 1fr 28px 1fr;
    gap: 13px;
  }

  .bean svg {
    width: 24px;
    height: 24px;
  }

  .coming-soon {
    margin-top: clamp(14px, 2.1svh, 19px);
    font-size: clamp(13px, 3.6vw, 16px);
    letter-spacing: 0.24em;
    text-indent: 0.24em;
  }
}

@media (max-width: 360px) {
  .hero {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  .logo-wrap {
    width: clamp(156px, 49vw, 180px);
    margin-bottom: 15px;
  }

  .brand-cn {
    font-size: clamp(39px, 12.2vw, 44px);
  }

  .brand-en {
    font-size: clamp(35px, 10.8vw, 39px);
  }

  .slogan {
    margin-top: 15px;
    font-size: clamp(20px, 6.4vw, 23px);
  }

  .slogan-en {
    max-width: 290px;
    margin-top: 3px;
    font-size: 12px;
  }

  .subtitle {
    margin-top: 9px;
    font-size: clamp(13px, 4vw, 14px);
    letter-spacing: 0.08em;
    text-indent: 0.08em;
  }

  .subtitle-en {
    max-width: 292px;
    margin-top: 3px;
    font-size: 10.5px;
    line-height: 1.42;
  }

  .divider {
    width: min(270px, 80vw);
    margin-top: 14px;
  }

  .coming-soon {
    margin-top: 11px;
    font-size: 12px;
  }
}

@media (max-width: 620px) and (max-height: 720px) {
  .hero {
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .logo-wrap {
    width: clamp(145px, 38svh, 180px);
    margin-bottom: clamp(10px, 1.8svh, 15px);
  }

  .brand-cn {
    font-size: clamp(37px, 10.8vw, 45px);
  }

  .brand-en {
    font-size: clamp(33px, 9.9vw, 40px);
  }

  .slogan {
    margin-top: clamp(11px, 1.8svh, 15px);
    font-size: clamp(20px, 5.8vw, 24px);
  }

  .slogan-en {
    margin-top: 2px;
    font-size: clamp(11.5px, 3.15vw, 13px);
    line-height: 1.35;
  }

  .subtitle {
    margin-top: clamp(7px, 1.2svh, 10px);
    font-size: clamp(13px, 3.7vw, 15px);
  }

  .subtitle-en {
    margin-top: 2px;
    font-size: clamp(10px, 2.65vw, 11.5px);
    line-height: 1.35;
  }

  .divider {
    margin-top: clamp(11px, 1.9svh, 15px);
  }

  .coming-soon {
    margin-top: clamp(8px, 1.35svh, 11px);
  }
}

@media (max-width: 950px) and (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-right: max(24px, env(safe-area-inset-right));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    padding-left: max(24px, env(safe-area-inset-left));
  }

  .hero-content {
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: minmax(150px, 28vw) minmax(0, 1fr);
    grid-template-areas:
      "logo title"
      "logo slogan"
      "logo subtitle"
      "logo divider"
      "logo coming";
    column-gap: clamp(24px, 5vw, 54px);
    align-items: center;
  }

  .logo-wrap {
    grid-area: logo;
    width: min(100%, 250px);
    margin: 0;
    justify-self: end;
  }

  .brand-title {
    grid-area: title;
    display: block;
    white-space: nowrap;
    line-height: 1;
  }

  .brand-cn,
  .brand-en {
    display: inline;
    width: auto;
  }

  .brand-cn {
    font-size: clamp(34px, 5.2vw, 46px);
    letter-spacing: 0.07em;
  }

  .brand-dot {
    display: inline-block;
    margin: 0 0.14em;
    font-size: clamp(30px, 4.5vw, 40px);
  }

  .brand-en {
    font-size: clamp(35px, 5.3vw, 47px);
  }

  .slogan-group {
    grid-area: slogan;
  }

  .subtitle-group {
    grid-area: subtitle;
  }

  .slogan {
    margin-top: clamp(8px, 1.6vh, 12px);
    font-size: clamp(19px, 2.8vw, 25px);
  }

  .slogan-en {
    margin-top: 1px;
    font-size: clamp(11px, 1.45vw, 14px);
    line-height: 1.3;
  }

  .subtitle {
    margin-top: clamp(4px, 0.9vh, 7px);
    font-size: clamp(12px, 1.7vw, 15px);
  }

  .subtitle-en {
    max-width: 520px;
    margin-top: 1px;
    font-size: clamp(9.5px, 1.2vw, 12px);
    line-height: 1.3;
  }

  .divider {
    grid-area: divider;
    width: min(310px, 75%);
    margin-top: clamp(6px, 1.25vh, 10px);
  }

  .coming-soon {
    grid-area: coming;
    margin-top: clamp(4px, 0.85vh, 7px);
    font-size: clamp(11px, 1.5vw, 14px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .logo-wrap {
    animation: settle 900ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }

  .brand-title,
  .slogan-group,
  .subtitle-group,
  .divider,
  .coming-soon {
    animation: rise 850ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }

  .brand-title {
    animation-delay: 80ms;
  }

  .slogan-group {
    animation-delay: 150ms;
  }

  .subtitle-group {
    animation-delay: 220ms;
  }

  .divider {
    animation-delay: 290ms;
  }

  .coming-soon {
    animation-delay: 360ms;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(13px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
