:root {
  --mist: #edf1f6;
  --mist-2: #dfe6ef;
  --paper: #ffffff;
  --ink: #12182a;
  --ink-soft: #445066;
  --muted: #7b8798;
  --coral: #e85d4c;
  --coral-soft: rgba(232, 93, 76, 0.14);
  --sky: #3d7ea6;
  --sky-soft: rgba(61, 126, 166, 0.12);
  --line: #cfd8e4;
  --shadow: 0 20px 50px rgba(18, 24, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: 1120px;
  --nav-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--mist);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(237, 241, 246, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--coral);
}

.nav {
  display: flex;
  gap: 1.35rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.header__end {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav--mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav--mobile.open {
  display: flex;
}

.nav--mobile a {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav--mobile a.active,
.nav--mobile a:hover {
  background: var(--coral-soft);
  color: var(--coral);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 93, 76, 0.3);
}

.btn--line {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.btn--lg {
  padding: 0.88rem 1.45rem;
  font-size: 0.98rem;
}

.hero-ribbon {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  overflow: hidden;
}

.hero-ribbon__top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}

.hero-ribbon h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 12ch;
  margin-bottom: 1.15rem;
}

.hero-ribbon h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero__text {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.note-line {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 32rem;
  border-left: 3px solid var(--sky);
  padding-left: 0.85rem;
}

.hero-stat {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.85rem;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.hero-stat p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.ribbon-track {
  position: relative;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  padding: 1.25rem 0 2.75rem;
  background: linear-gradient(180deg, transparent, var(--mist-2) 30%);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.ribbon-track::before,
.ribbon-track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ribbon-track::before {
  left: 0;
  background: linear-gradient(90deg, var(--mist-2), transparent);
}

.ribbon-track::after {
  right: 0;
  background: linear-gradient(270deg, var(--mist-2), transparent);
}

.ribbon {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  padding-inline: 2rem;
  animation: ribbon-scroll 28s linear infinite;
}

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

.ticket {
  flex: 0 0 auto;
  width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 28px rgba(18, 24, 42, 0.06);
  position: relative;
}

.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--coral);
}

.ticket:nth-child(3n)::before {
  background: var(--sky);
}

.ticket:nth-child(3n + 2)::before {
  background: var(--ink);
}

.ticket__code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.ticket h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.ticket p {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.ticket__state {
  margin-top: 0.75rem;
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral);
}

.ticket__state--sky {
  background: var(--sky-soft);
  color: var(--sky);
}

.ticket__state--ink {
  background: rgba(18, 24, 42, 0.08);
  color: var(--ink);
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--ink .eyebrow {
  color: #ffb3a8;
}

.section--ink .section-title {
  color: #fff;
}

.section--ink .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}

.bento-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}

.bento-card--wide {
  grid-row: span 2;
  background:
    linear-gradient(160deg, rgba(232, 93, 76, 0.1), transparent 55%),
    var(--mist);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.bento-card__n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.bento-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.bento-card--wide h3 {
  font-size: 1.7rem;
  max-width: 12ch;
}

.flow {
  display: grid;
  gap: 0.85rem;
}

.flow-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.2rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-row__n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.04em;
}

.flow-row h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.flow-row p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.lane-list {
  display: grid;
  gap: 0.7rem;
}

.lane {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.lane__id {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--coral);
}

.lane h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.lane p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.lane__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
  background: var(--sky-soft);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
}

.list {
  list-style: none;
  margin-top: 1rem;
}

.list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  color: var(--ink-soft);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.panel-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.panel-row strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.8rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--ink), #24304a);
  color: #fff;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.cta-band .btn--line {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.page-hero {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 38rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
}

.info-stack {
  display: grid;
  gap: 0.7rem;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.15rem;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.info-card a,
.info-card p,
.info-card address {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.form-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--mist);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--coral-soft);
  border-color: var(--coral);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.legal {
  max-width: 720px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.7rem 0 0.5rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
}

.legal ul {
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
}

.legal a {
  color: var(--coral);
  text-decoration: underline;
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 0 1.25rem;
}

.footer .logo {
  color: #fff;
}

.footer .logo span {
  color: #ffb3a8;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__note {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  max-width: 30ch;
}

.footer__col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.footer__links {
  display: flex;
  gap: 1rem;
}

.cookie-pill {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.35s ease;
}

.cookie-pill.show {
  opacity: 1;
  transform: none;
}

.cookie-pill p {
  flex: 1 1 220px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.cookie-pill a {
  color: var(--coral);
  text-decoration: underline;
}

.cookie-pill__btns {
  display: flex;
  gap: 0.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal--left {
  transform: translateX(-18px);
}

.reveal--right {
  transform: translateX(18px);
}

.reveal--up {
  transform: translateY(16px);
}

.reveal.on {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .nav,
  .header__end .btn--line {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero-ribbon__top,
  .bento,
  .split,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .bento-card--wide {
    grid-row: auto;
    min-height: auto;
  }

  .lane {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .lane__tag {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .flow-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .cta-band {
    padding: 1.35rem;
  }
}
