:root {
  color-scheme: light;
  --base: #f9f9f2;
  --base-warm: #f0eadb;
  --blue: #140f33;
  --blue-soft: #282052;
  --orange: #f44e1c;
  --orange-soft: #ff7a45;
  --ink: #140f33;
  --muted: #69615d;
  --line: rgba(20, 15, 51, 0.18);
  --panel: rgba(249, 249, 242, 0.78);
  --radius: 8px;
  --shadow: 0 28px 80px rgba(20, 15, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.72;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(244, 78, 28, 0.16), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(20, 15, 51, 0.12), transparent 28%),
    linear-gradient(135deg, var(--base), #fbf7e6 48%, var(--base-warm));
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 15, 51, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(20, 15, 51, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body::after {
  z-index: -1;
  opacity: 0.16;
  background-image:
    radial-gradient(circle, rgba(20, 15, 51, 0.42) 0.7px, transparent 0.8px),
    radial-gradient(circle, rgba(244, 78, 28, 0.3) 0.6px, transparent 0.7px);
  background-position:
    0 0,
    9px 13px;
  background-size:
    4px 4px,
    7px 7px;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 16px 18px;
  color: var(--base);
  background: rgba(20, 15, 51, 0.94);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(20, 15, 51, 0.22);
}

header h1 {
  position: relative;
  margin: 0;
  padding-left: 32px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.18;
  letter-spacing: 0;
}

header h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--orange);
  border-radius: 50%;
  transform: translateY(-50%);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  color: rgba(249, 249, 242, 0.86);
  border: 1px solid rgba(249, 249, 242, 0.18);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
  background: var(--base);
  transform: translateY(-2px);
  outline: none;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 96px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 44px;
  overflow: hidden;
  padding: 58px;
  background:
    linear-gradient(135deg, rgba(249, 249, 242, 0.9), rgba(249, 249, 242, 0.68)),
    linear-gradient(90deg, transparent 0 64%, rgba(20, 15, 51, 0.08) 64% 100%);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto auto -110px -80px;
  width: 320px;
  height: 320px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.95;
}

.hero::after {
  content: "";
  position: absolute;
  top: 58px;
  right: 48%;
  width: 110px;
  height: 110px;
  background:
    linear-gradient(45deg, transparent 0 50%, var(--blue) 50% 100%),
    var(--orange);
  transform: rotate(-12deg);
}

.hero-copy,
.bauhaus-stage {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 12px;
  color: var(--base);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
h3,
p,
strong,
dd {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 570px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 20px;
  color: var(--base);
  background: var(--orange);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--blue);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.button:hover,
.button:focus-visible {
  color: var(--orange);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--orange);
  transform: translate(3px, 3px);
  outline: none;
}

.button.secondary {
  color: var(--blue);
  background: transparent;
  box-shadow: 8px 8px 0 rgba(20, 15, 51, 0.18);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--base);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--orange);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
}

.trust-row span {
  min-height: 92px;
  padding: 15px;
  color: var(--muted);
  background: rgba(249, 249, 242, 0.72);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
}

.trust-row strong {
  display: block;
  margin-bottom: 5px;
  color: var(--orange);
  font-family: "Oswald", "Inter", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
}

.bauhaus-stage {
  min-height: 560px;
  overflow: hidden;
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 18px 18px 0 rgba(20, 15, 51, 0.18);
}

.shape {
  position: absolute;
  display: block;
}

.circle {
  border-radius: 50%;
}

.circle.one {
  width: 260px;
  height: 260px;
  top: 54px;
  right: 60px;
  background: var(--orange);
}

.circle.two {
  width: 150px;
  height: 150px;
  left: 58px;
  bottom: 78px;
  background: var(--base);
}

.rect.one {
  width: 230px;
  height: 118px;
  left: 50px;
  top: 64px;
  background: var(--base);
  transform: rotate(-12deg);
}

.rect.two {
  width: 290px;
  height: 72px;
  right: -18px;
  bottom: 112px;
  background: var(--base);
  transform: rotate(-18deg);
}

.triangle {
  left: 218px;
  bottom: 128px;
  width: 0;
  height: 0;
  border-left: 105px solid transparent;
  border-right: 105px solid transparent;
  border-bottom: 180px solid var(--orange);
  transform: rotate(18deg);
}

.stage-label {
  position: absolute;
  left: 44px;
  top: 236px;
  color: var(--base);
}

.stage-label span {
  display: block;
  color: var(--orange);
  font-family: "Oswald", "Inter", sans-serif;
  font-size: 5.4rem;
  line-height: 0.9;
}

.stage-label strong {
  display: block;
  margin-top: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.95;
}

.stage-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(320px, calc(100% - 68px));
  padding: 22px;
  color: var(--blue);
  background: rgba(249, 249, 242, 0.88);
  border: 2px solid var(--base);
  border-radius: var(--radius);
}

.stage-card p,
.stage-card span {
  margin: 0;
  color: var(--muted);
}

.stage-card strong {
  display: block;
  margin: 3px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.12;
}

.info-grid,
.feature-list,
.cards,
.access-layout {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.info-card,
.card,
.feature-list article,
.section-block {
  position: relative;
  background: var(--panel);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 rgba(20, 15, 51, 0.16);
  backdrop-filter: blur(10px);
}

.info-card,
.feature-list article,
.card {
  min-height: 240px;
  padding: 28px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.info-card:hover,
.feature-list article:hover,
.card:hover {
  background: rgba(249, 249, 242, 0.94);
  box-shadow: 5px 5px 0 var(--orange);
  transform: translate(4px, 4px);
}

.info-card span,
.tag,
dt {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: "Oswald", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  color: var(--base);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
}

.info-card strong {
  display: block;
  color: var(--blue);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.12;
}

.info-card p,
.card p,
.feature-list p,
.section-block p,
.page-heading p,
dd {
  color: var(--muted);
}

.section-block {
  margin-top: 20px;
  padding: 58px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(249, 249, 242, 0.88), rgba(249, 249, 242, 0.72)),
    linear-gradient(135deg, rgba(244, 78, 28, 0.12), transparent);
}

.section-block::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -98px;
  width: 240px;
  height: 240px;
  background: var(--orange);
  border-radius: 50%;
}

.section-block h2,
.page-heading h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: var(--blue);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.6rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-block p {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.feature-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.feature-list article::before,
.card::before {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  background: var(--orange);
  border-radius: 50%;
}

.feature-list article:nth-child(2)::before,
.cards .card:nth-child(2n)::before {
  width: 72px;
  height: 38px;
  background: var(--blue);
  border-radius: 0;
}

.feature-list article:nth-child(3)::before,
.cards .card:nth-child(3n)::before {
  width: 0;
  height: 0;
  background: transparent;
  border-left: 32px solid transparent;
  border-right: 32px solid transparent;
  border-bottom: 58px solid var(--orange);
  border-radius: 0;
}

.feature-list h3,
.card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.32rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.feature-list p,
.card p {
  margin-bottom: 0;
}

.page-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.page-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
}

.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 260px;
}

.card dl {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 2px solid rgba(20, 15, 51, 0.14);
}

.card dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
}

dt,
dd {
  margin: 0;
}

.access-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 22px;
  padding: 22px 24px;
  color: var(--base);
  text-align: center;
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal-up 0.9s ease forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 35%;
}

.hero .reveal {
  animation-timeline: auto;
}

.hero .bauhaus-stage {
  animation-delay: 0.12s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h2 {
    font-size: 3.8rem;
  }

  .bauhaus-stage {
    min-height: 520px;
  }

  .info-grid,
  .feature-list,
  .access-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 28px, 1180px);
    margin-top: 14px;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    width: min(100% - 28px, 1180px);
    padding-top: 28px;
  }

  .hero {
    padding: 28px;
  }

  .hero::after {
    top: 24px;
    right: 24px;
    width: 74px;
    height: 74px;
  }

  h2 {
    font-size: 2.65rem;
  }

  .section-block h2,
  .page-heading h2 {
    font-size: 2.25rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .trust-row,
  .cards {
    grid-template-columns: 1fr;
  }

  .bauhaus-stage {
    min-height: 460px;
  }

  .circle.one {
    width: 190px;
    height: 190px;
    right: 24px;
  }

  .rect.one {
    width: 175px;
    left: 28px;
  }

  .stage-label {
    left: 28px;
    top: 210px;
  }

  .stage-label span {
    font-size: 4.1rem;
  }

  .stage-label strong {
    font-size: 2.55rem;
  }

  .section-block,
  .info-card,
  .feature-list article,
  .card {
    padding: 24px;
  }

  .card dl div {
    grid-template-columns: 64px 1fr;
  }
}
