:root {
  --bg: #f8f2f6;
  --ink: #17131a;
  --brand: #cb3d62;
  --deep: #5b63bd;
  --gold: #e3a84f;
  --paper: #fffdfa;
  --muted: #665f59;
  --line: rgba(118, 87, 60, .18);
  --container: min(1160px, calc(100vw - 40px));
  --shadow: 0 24px 70px rgba(24, 18, 14, .15);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0, var(--bg) 48%, #ece3d8 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--container);
  margin: 18px auto 0;
  min-height: 66px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, .9);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(25, 18, 12, .08);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
  font-weight: 900;
}

.brand-mark strong,
.footer-brand {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
}

.brand-mark em {
  display: block;
  color: #756b62;
  font-size: .76rem;
  font-style: normal;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  overflow: auto;
}

.site-nav a,
.nav-contact,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a {
  padding: 0 10px;
  font-size: .92rem;
}

.site-nav a:hover {
  background: rgba(0, 0, 0, .06);
}

.nav-contact,
.button.primary {
  background: var(--brand);
  color: #fff;
  padding: 0 16px;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .53);
  padding: 0 16px;
}

.site-main,
.homepage-content {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.kicker {
  color: var(--brand);
  font-weight: 900;
  margin: 0 0 12px;
}

.title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.65rem);
  line-height: 1.08;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 790px;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  gap: 54px;
  align-items: center;
  padding: 72px 0 54px;
}

.hero.split-media,
.hero.editorial-left,
.hero.media-stage {
  grid-template-columns: .95fr 1.05fr;
}

.hero.poster-asymmetric,
.hero.magazine-cover {
  grid-template-columns: 1.18fr .82fr;
}

.hero.centered-visual,
.hero.fullbleed-story,
.hero.cinematic-overlay {
  grid-template-columns: 1fr;
}

.hero.centered-visual {
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  line-height: 1.05;
  margin: 0;
}

.hero-visual {
  min-height: 500px;
  padding: 28px;
  color: #fff;
  display: grid;
  align-content: space-between;
  background: linear-gradient(145deg, var(--brand), #17110f 58%, var(--deep));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: conic-gradient(from 40deg, rgba(255,255,255,.27), var(--gold), rgba(255,255,255,.13), var(--deep));
}

.hero-visual strong {
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: .9;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.layout-split-left,
.layout-split-right,
.layout-editorial-two-col,
.layout-story-led {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
}

.layout-split-right {
  grid-template-columns: 1.15fr .85fr;
}

.layout-fullbleed,
.layout-wide-band,
.layout-centered-statement {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 84px max(20px, calc((100vw - 1160px) / 2));
  background: #171211;
  color: #fff;
}

.layout-asymmetric-bento,
.layout-masonry,
.layout-poster-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 16px;
}

.layout-media-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 16px;
  overflow: auto;
}

.layout-timeline,
.layout-numbered-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.layout-device-stage {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
}

.layout-feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.layout-feature-grid-3,
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.layout-image-overlay {
  min-height: 380px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(140deg, var(--deep), #171211 65%, var(--brand));
  display: grid;
  align-content: end;
}

.box,
.info-box {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .82);
}

.box p,
.info-box p,
.step p {
  color: var(--muted);
  line-height: 1.75;
}

.story {
  columns: 2 260px;
  column-gap: 34px;
  color: #443d38;
  line-height: 1.95;
}

.story p {
  margin-top: 0;
}

.tile {
  min-height: 300px;
  padding: 22px;
  color: #fff;
  display: grid;
  align-content: end;
  background: linear-gradient(160deg, var(--deep), #231817 56%, var(--brand));
  box-shadow: 0 18px 34px rgba(25, 18, 12, .13);
}

.tile:nth-child(2) {
  background: linear-gradient(160deg, #2d6f55, #251a18, var(--gold));
}

.tile:nth-child(3) {
  background: linear-gradient(160deg, #252033, var(--deep), #893355);
}

.step {
  display: grid;
  grid-template-columns: 90px .75fr 1fr;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.step span {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.45rem;
}

.phone {
  width: min(320px, 100%);
  min-height: 610px;
  margin: auto;
  padding: 18px;
  border-radius: 34px;
  background: #171211;
  box-shadow: var(--shadow);
  color: #fff;
}

.screen {
  min-height: 574px;
  border-radius: 24px;
  padding: 24px 18px;
  background: linear-gradient(180deg, var(--brand), #211716 46%, var(--deep));
}

.phone-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
}

.inner-section {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.inner-section h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.08;
  margin: 0 0 20px;
}

.inner-section h2 {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.16;
  margin: 0 0 18px;
}

.inner-section p {
  color: var(--muted);
  line-height: 1.9;
}

.site-footer {
  width: var(--container);
  margin: 0 auto 26px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr .6fr 1fr;
  gap: 28px;
}

.footer-main p,
.footer-main address,
.footer-bottom {
  color: var(--muted);
  line-height: 1.75;
}

.footer-main address {
  display: grid;
  gap: 6px;
  font-style: normal;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links a,
.footer-main address a {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-contact {
    display: none;
  }

  .hero,
  .hero.split-media,
  .hero.editorial-left,
  .hero.media-stage,
  .hero.poster-asymmetric,
  .hero.magazine-cover,
  .layout-split-left,
  .layout-split-right,
  .layout-editorial-two-col,
  .layout-story-led,
  .layout-device-stage,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .layout-feature-grid-4,
  .layout-feature-grid-3,
  .service-list,
  .layout-asymmetric-bento,
  .layout-masonry,
  .layout-poster-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(calc(100vw - 28px), 1160px);
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .layout-feature-grid-4,
  .layout-feature-grid-3,
  .service-list,
  .layout-asymmetric-bento,
  .layout-masonry,
  .layout-poster-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
