@font-face {
  font-family: "ZAO Web Sans SC";
  src: url("../assets/fonts/zao-sans-sc.woff2?v=947795b5862c") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "ZAO Web Inter";
  src: url("../assets/fonts/zao-inter.woff2?v=87b5c01a998f") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5efe9;
  --ink: #24211f;
  --muted: #68605b;
  --brand: #d94a35;
  --sans:
    "ZAO Web Inter", "ZAO Web Sans SC", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-width: 280px;
}
body {
  background: var(--paper);
}
::selection {
  color: var(--ink);
  background: #f0d2c8;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: 3;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
.landing {
  --gutter: clamp(32px, 6.35vw, 128px);
  --scene-image: url("../assets/images/zao-keyvisual-wide.webp");
  --scene-width: min(94vw, 1680px);
  --scene-position: right center;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100svh;
  padding: clamp(28px, 5svh, 60px) var(--gutter);
  overflow: clip;
  background: var(--paper);
}
.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scene-image) var(--scene-position) / var(--scene-width) auto
    no-repeat;
  filter: blur(40px);
  pointer-events: none;
}
.scene-art {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: -1;
  display: block;
  width: var(--scene-width);
  aspect-ratio: 1672 / 941;
  transform: translateY(-50%);
  mask-image: linear-gradient(90deg, transparent, #000 21%);
  pointer-events: none;
  user-select: none;
  animation: scene-enter 650ms ease-out both;
}
.scene-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 7%,
    #000 89%,
    transparent
  );
  -webkit-user-drag: none;
}
.site-header {
  position: relative;
  width: fit-content;
  animation: copy-enter 550ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.brand {
  display: block;
  width: clamp(136px, 10.5vw, 160px);
  height: auto;
  margin-left: -6px;
  user-select: none;
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  outline: none;
}
.hero-copy {
  width: max-content;
  max-width: min(42vw, 500px);
  transform: translateY(-1.5svh);
}
.positioning {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
  letter-spacing: 0.025em;
  animation: copy-enter 550ms 75ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  font-size: clamp(64px, 6.3vw, 96px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.065em;
  animation: copy-enter 550ms 125ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-lead {
  display: block;
  font-size: 0.9em;
  line-height: 1.13;
  letter-spacing: -0.055em;
}
.hero-agent {
  display: block;
  font-size: 1.08em;
  line-height: 1.08;
  letter-spacing: -0.065em;
}
.hero-period {
  color: var(--brand);
  font-size: 0.78em;
  letter-spacing: 0;
  margin-left: 0.025em;
}
@keyframes copy-enter {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes scene-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1100px) and (orientation: landscape) {
  .hero-copy {
    max-width: 330px;
  }
  h1 {
    font-size: clamp(48px, 6.2vw, 68px);
  }
  .positioning {
    font-size: 13px;
    margin-bottom: 18px;
  }
}
@media (max-width: 980px) and (orientation: portrait) {
  .landing {
    --gutter: 40px;
    --scene-image: url("../assets/images/zao-keyvisual-portrait.webp");
    --scene-width: min(100vw, 680px);
    --scene-position: right bottom;
    padding-top: max(30px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .brand {
    width: 144px;
  }
  .hero {
    align-items: flex-start;
    padding-top: clamp(38px, 6svh, 72px);
  }
  .hero-copy {
    max-width: 100%;
    transform: none;
  }
  .positioning {
    margin-bottom: 18px;
    font-size: 14px;
  }
  h1 {
    font-size: clamp(58px, 9vw, 80px);
  }
  .scene-art {
    top: auto;
    bottom: 0;
    aspect-ratio: 941 / 1672;
    transform: none;
    mask-image: linear-gradient(90deg, transparent, #000 6%);
  }
  .scene-art img {
    mask-image: linear-gradient(
      180deg,
      transparent,
      #000 28%,
      #000 89%,
      transparent
    );
  }
}
@media (max-width: 600px) and (orientation: portrait) {
  .landing {
    --gutter: 24px;
    padding-top: max(26px, env(safe-area-inset-top));
  }
  .brand {
    width: 124px;
  }
  .hero {
    padding-top: clamp(34px, 5.5svh, 54px);
  }
  .positioning {
    font-size: 12px;
    margin-bottom: 16px;
  }
  h1 {
    font-size: clamp(46px, 15.2vw, 68px);
  }
}
@media (max-width: 360px) and (orientation: portrait) {
  .landing {
    --gutter: 22px;
    padding-top: max(22px, env(safe-area-inset-top));
  }
  .brand {
    width: 112px;
  }
  .hero {
    padding-top: clamp(26px, 5svh, 40px);
  }
  .positioning {
    margin-bottom: 15px;
    font-size: 12px;
  }
}
@media (max-width: 600px) and (max-height: 720px) and (orientation: portrait) {
  .landing {
    --scene-position: right calc(100% + 32px);
  }
  .scene-art {
    bottom: -32px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .landing {
    --scene-width: min(92vw, calc(100svh * 1.9));
    padding-block: 22px;
  }
  .brand {
    width: 124px;
  }
  .positioning {
    font-size: 12px;
    margin-bottom: 14px;
  }
  h1 {
    font-size: clamp(42px, 10.7svh, 62px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .landing {
    color: CanvasText;
    background: Canvas;
  }
  .landing::before,
  .scene-art {
    display: none;
  }
  .positioning,
  .hero-period {
    color: CanvasText;
  }
  .brand {
    forced-color-adjust: none;
  }
}
