:root {
  --content-max: 1200px;
  --bg: #07111f;
  --bg-deep: #040913;
  --surface: rgba(10, 18, 33, 0.82);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f4ef;
  --muted: rgba(247, 244, 239, 0.76);
  --cyan: #67cbff;
  --yellow: #ffc81d;
  --orange: #ff922c;
  --red: #ef3e42;
  --blue: #6e99df;
  --pink: #f46fb5;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 200, 29, 0.14), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(103, 203, 255, 0.14), transparent 23%),
    linear-gradient(160deg, var(--bg-deep) 0%, var(--bg) 48%, #112441 100%);
}

.content-shell {
  width: min(var(--content-max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
}

.site-header__inner {
  position: relative;
  width: min(var(--content-max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 6px 0 202px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.08);
}

.header-brand {
  position: absolute;
  left: -10px;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transform: translateY(-46%);
}

.header-brand img {
  width: clamp(150px, 11vw, 190px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.main-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a,
.nav-cta {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-size: 1rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav a {
  padding-bottom: 7px;
  border-bottom: 1px solid transparent;
  color: rgba(247, 244, 239, 0.94);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
  transition: border-color 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
}

.main-nav a.is-active {
  color: #ffffff;
  border-color: rgba(103, 203, 255, 0.75);
  text-shadow: 0 0 18px rgba(103, 203, 255, 0.28);
}

.nav-cta {
  color: rgba(247, 244, 239, 0.98);
  font-weight: 400;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.hero-block:first-of-type::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--orange) 18%,
    var(--red) 34%,
    var(--pink) 52%,
    #7a52c7 68%,
    var(--blue) 84%,
    var(--cyan) 100%
  );
}

.hero-block,
.feature-block {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
}

.hero-backgrounds {
  position: absolute;
  inset: 0;
}

.hero-block__image,
.feature-block__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  transition: transform 500ms ease;
  will-change: transform;
}

.hero-backgrounds .hero-block__image {
  opacity: 0;
  transition: opacity 1200ms ease, transform 1200ms ease;
}

.hero-backgrounds .hero-block__image.is-active {
  opacity: 1;
}

.hero-block__overlay,
.feature-block__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 19, 0.9) 0%, rgba(4, 9, 19, 0.58) 38%, rgba(4, 9, 19, 0.14) 72%),
    linear-gradient(0deg, rgba(4, 9, 19, 0.42) 0%, rgba(4, 9, 19, 0.06) 36%, rgba(4, 9, 19, 0.18) 100%);
}

.feature-block--right .feature-block__overlay {
  background:
    linear-gradient(270deg, rgba(4, 9, 19, 0.9) 0%, rgba(4, 9, 19, 0.58) 38%, rgba(4, 9, 19, 0.14) 72%),
    linear-gradient(0deg, rgba(4, 9, 19, 0.42) 0%, rgba(4, 9, 19, 0.06) 36%, rgba(4, 9, 19, 0.18) 100%);
}

.feature-block__overlay {
  transition: opacity 320ms ease, background 320ms ease;
}

.feature-block:hover .feature-block__image,
.feature-block:focus-within .feature-block__image {
  transform: scale(1.08);
}

.feature-block:hover .feature-block__overlay,
.feature-block:focus-within .feature-block__overlay {
  background:
    linear-gradient(90deg, rgba(4, 9, 19, 0.94) 0%, rgba(4, 9, 19, 0.52) 42%, rgba(4, 9, 19, 0.08) 78%),
    linear-gradient(0deg, rgba(4, 9, 19, 0.34) 0%, rgba(4, 9, 19, 0.04) 36%, rgba(4, 9, 19, 0.14) 100%);
}

.feature-block--right:hover .feature-block__overlay,
.feature-block--right:focus-within .feature-block__overlay {
  background:
    linear-gradient(270deg, rgba(4, 9, 19, 0.94) 0%, rgba(4, 9, 19, 0.52) 42%, rgba(4, 9, 19, 0.08) 78%),
    linear-gradient(0deg, rgba(4, 9, 19, 0.34) 0%, rgba(4, 9, 19, 0.04) 36%, rgba(4, 9, 19, 0.14) 100%);
}

.hero-block__content,
.feature-block__content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-top: 156px;
  padding-bottom: 56px;
}

.hero-block__content {
  align-items: flex-start;
}

.hero-block__content > * {
  max-width: 720px;
}

.hero-side-visuals {
  position: absolute;
  z-index: 1;
  bottom: 72px;
  width: 278px;
  height: 392px;
}

.hero-side-visuals--right {
  right: max(20px, calc((100vw - var(--content-max)) / 2 + 20px));
}

.hero-side-visuals--left {
  left: max(20px, calc((100vw - var(--content-max)) / 2 + 20px));
}

.hero-side-visual {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 3;
  transition: transform 240ms ease;
}

.hero-side-visual:first-child {
  width: 278px;
  top: 0;
  left: 0;
  transform: none;
}

.hero-side-visual:last-child {
  width: 218px;
  left: -30px;
  top: 256px;
  bottom: 0;
  transform: none;
}

.hero-side-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-block .hero-side-visual img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 520ms ease;
}

.hero-block .hero-side-visual img.is-active {
  opacity: 1;
}

.hero-block .hero-side-visuals {
  bottom: 120px;
  width: 320px;
  height: 452px;
}

.hero-block .hero-side-visual:first-child {
  width: 320px;
}

.hero-block .hero-side-visual:last-child {
  width: 248px;
  top: 284px;
  left: -34px;
}

.feature-block--left .hero-side-visuals {
  left: max(20px, calc((100vw - var(--content-max)) / 2 + 20px));
  right: auto;
  bottom: 110px;
}

.feature-block--right .hero-side-visuals {
  left: max(20px, calc((100vw - var(--content-max)) / 2 + 20px));
  right: auto;
  bottom: 72px;
}

.feature-block--left .hero-side-visual:first-child {
  top: 0;
  left: 0;
  transform: none;
}

.feature-block--left .hero-side-visual:last-child {
  left: -30px;
  top: 256px;
  bottom: auto;
  transform: none;
}

.feature-block--right .hero-side-visual:first-child {
  top: 0;
  left: 0;
  transform: none;
}

.feature-block--right .hero-side-visual:last-child {
  left: -30px;
  top: 256px;
  bottom: auto;
  transform: none;
}

.feature-block__content {
  justify-content: flex-start;
}

.feature-block--right .feature-block__content {
  justify-content: flex-end;
}

.feature-block__text {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: #b1b1b1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

h1,
h2,
.intro-card h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 4.8vw, 4.9rem);
  line-height: 1.04;
}

.feature-block h2,
.section-heading h2 {
  max-width: 17ch;
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  line-height: 1.12;
}

.hero-text,
.intro-card p,
.feature-block p,
.reference-card p,
.contact-panel p,
.site-footer p,
.detail-list li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.56;
}

.hero-text {
  max-width: 60ch;
  margin: 0;
}

.text-bubble {
  margin-top: 18px;
  width: fit-content;
  max-width: min(620px, 100%);
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 31, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.text-bubble p {
  margin: 0;
}

.feature-brand-mark {
  position: absolute;
  top: 34px;
  left: max(20px, calc((100vw - var(--content-max)) / 2 + 20px));
  z-index: 2;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.28);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-brand-mark img {
  width: 140px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.feature-brand-mark--right {
  left: auto;
  right: max(20px, calc((100vw - var(--content-max)) / 2 + 20px));
}

.hero-bubble {
  background: rgba(7, 17, 31, 0.42);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section {
  padding: 68px 0;
}

#references {
  background:
    radial-gradient(circle at 12% 18%, rgba(103, 203, 255, 0.12), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(255, 146, 44, 0.12), transparent 22%),
    radial-gradient(circle at 68% 100%, rgba(244, 111, 181, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(9, 19, 35, 0.96) 0%, rgba(13, 26, 46, 0.94) 100%);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-card,
.reference-card,
.contact-panel,
.contact-form,
.site-footer {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.intro-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(10, 18, 33, 0.72);
  box-shadow: var(--shadow);
}

.intro-card:nth-child(1) {
  border-top: 3px solid var(--yellow);
  background:
    linear-gradient(135deg, rgba(255, 200, 29, 0.12), rgba(255, 146, 44, 0.08) 36%, rgba(10, 18, 33, 0.8) 100%),
    rgba(10, 18, 33, 0.72);
}

.intro-card:nth-child(1) .icon-chip {
  background: linear-gradient(140deg, rgba(255, 200, 29, 0.28), rgba(255, 146, 44, 0.18));
}

.intro-card:nth-child(2) {
  border-top: 3px solid var(--cyan);
  background:
    linear-gradient(135deg, rgba(103, 203, 255, 0.12), rgba(110, 153, 223, 0.08) 36%, rgba(10, 18, 33, 0.8) 100%),
    rgba(10, 18, 33, 0.72);
}

.intro-card:nth-child(2) .icon-chip {
  background: linear-gradient(140deg, rgba(103, 203, 255, 0.24), rgba(110, 153, 223, 0.18));
}

.intro-card:nth-child(3) {
  border-top: 3px solid var(--pink);
  background:
    linear-gradient(135deg, rgba(244, 111, 181, 0.12), rgba(122, 82, 199, 0.08) 36%, rgba(10, 18, 33, 0.8) 100%),
    rgba(10, 18, 33, 0.72);
}

.intro-card:nth-child(3) .icon-chip {
  background: linear-gradient(140deg, rgba(244, 111, 181, 0.24), rgba(122, 82, 199, 0.18));
}

.intro-card h2 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--text);
  background: linear-gradient(140deg, rgba(255, 200, 29, 0.22), rgba(103, 203, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.icon-chip svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.detail-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  max-width: 54ch;
  line-height: 1.48;
  color: #f3eee7;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 24px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 0 0 0 4px rgba(255, 146, 44, 0.12);
  transform: translateY(-50%);
}

.interlude-section {
  padding: 34px 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 200, 29, 0.12), transparent 24%),
    radial-gradient(circle at 88% 26%, rgba(103, 203, 255, 0.1), transparent 24%),
    radial-gradient(circle at 52% 100%, rgba(244, 111, 181, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(10, 20, 36, 0.98) 0%, rgba(14, 28, 50, 0.94) 100%);
}

.interlude-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: center;
  padding: 30px 34px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 200, 29, 0.08) 0%, rgba(255, 146, 44, 0.08) 32%, rgba(103, 203, 255, 0.08) 66%, rgba(244, 111, 181, 0.08) 100%),
    rgba(10, 18, 33, 0.7);
  box-shadow: var(--shadow);
}

.interlude-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--orange) 18%,
    var(--red) 34%,
    var(--pink) 52%,
    #7a52c7 68%,
    var(--blue) 84%,
    var(--cyan) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.interlude-copy {
  min-width: 0;
}

.interlude-card h2 {
  max-width: 18ch;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.12;
}

.interlude-text {
  max-width: 72ch;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.activity-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: var(--text);
}

.tag-yellow {
  background: rgba(255, 200, 29, 0.14);
}

.tag-orange {
  background: rgba(255, 146, 44, 0.14);
}

.tag-cyan {
  background: rgba(103, 203, 255, 0.14);
}

.tag-blue {
  background: rgba(110, 153, 223, 0.14);
}

.tag-pink {
  background: rgba(244, 111, 181, 0.14);
}

.interlude-visuals {
  position: relative;
  min-height: 240px;
}

.interlude-visual {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 4 / 3;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.interlude-visual:first-child {
  top: 0;
  left: 0;
  width: 210px;
  transform: rotate(-4deg);
}

.interlude-visual:last-child {
  right: 0;
  bottom: 0;
  width: 164px;
  transform: rotate(4deg);
}

.interlude-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 19ch;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reference-card {
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.reference-card:nth-child(1) {
  border-top: 3px solid var(--orange);
  background:
    linear-gradient(180deg, rgba(255, 146, 44, 0.12), rgba(10, 18, 33, 0.82) 28%),
    var(--surface);
}

.reference-card:nth-child(2) {
  border-top: 3px solid var(--blue);
  background:
    linear-gradient(180deg, rgba(103, 203, 255, 0.12), rgba(10, 18, 33, 0.82) 28%),
    var(--surface);
}

.reference-card:nth-child(3) {
  border-top: 3px solid var(--pink);
  background:
    linear-gradient(180deg, rgba(244, 111, 181, 0.12), rgba(10, 18, 33, 0.82) 28%),
    var(--surface);
}

.reference-card:hover,
.reference-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.28);
}

.reference-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.city-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(247, 244, 239, 0.88);
  font-size: 0.84rem;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.city-tags span:hover,
.city-tags span:focus-visible {
  color: #ffffff;
  border-color: rgba(103, 203, 255, 0.38);
  background: linear-gradient(135deg, rgba(255, 146, 44, 0.18), rgba(103, 203, 255, 0.16));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.contact-section {
  padding-top: 56px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 200, 29, 0.14), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(103, 203, 255, 0.14), transparent 26%),
    radial-gradient(circle at 82% 100%, rgba(244, 111, 181, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 146, 44, 0.05) 0%, rgba(110, 153, 223, 0.06) 48%, rgba(122, 82, 199, 0.08) 100%);
}

.editorial-break {
  padding: 28px 0 14px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 200, 29, 0.08), transparent 20%),
    radial-gradient(circle at 88% 50%, rgba(103, 203, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(8, 16, 30, 0.96) 0%, rgba(10, 21, 37, 0.98) 100%);
}

.editorial-break__inner {
  position: relative;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 200, 29, 0.06) 0%, rgba(103, 203, 255, 0.06) 50%, rgba(244, 111, 181, 0.06) 100%),
    rgba(10, 18, 33, 0.55);
  box-shadow: var(--shadow);
}

.editorial-break__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--orange) 18%,
    var(--red) 34%,
    var(--pink) 52%,
    #7a52c7 68%,
    var(--blue) 84%,
    var(--cyan) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.editorial-break__copy {
  min-width: 0;
}

.editorial-break__text {
  max-width: 18ch;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.2;
  color: var(--text);
}

.editorial-carousel {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.editorial-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 9, 19, 0.08) 0%, rgba(4, 9, 19, 0.34) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 200, 29, 0.18), transparent 28%);
  pointer-events: none;
}

.editorial-carousel__track {
  position: relative;
  min-height: inherit;
}

.editorial-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 320ms ease, transform 320ms ease;
}

.editorial-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.editorial-carousel__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.editorial-carousel__slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 16px 14px 14px;
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(247, 244, 239, 0.92);
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: center;
}

.editorial-carousel__controls {
  position: absolute;
  left: 50%;
  top: 18px;
  bottom: auto;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.editorial-carousel__button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.editorial-carousel__button.is-active {
  background: #ffffff;
  transform: scale(1.15);
}

.contact-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.contact-panel,
.contact-form {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-logo {
  width: 170px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.contact-lines {
  display: grid;
  gap: 2px;
  line-height: 1.28;
}

.contact-lines .contact-phone {
  margin-top: 12px;
}

.contact-title {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-phone,
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-phone svg,
.footer-phone svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(247, 244, 239, 0.82);
}

.contact-panel a,
.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.contact-panel a:hover,
.contact-panel a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: rgba(239, 62, 66, 0.9);
  box-shadow: 0 0 0 3px rgba(239, 62, 66, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 244, 239, 0.46);
}

.form-feedback {
  min-height: 1.2em;
  margin: 2px 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(247, 244, 239, 0.82);
}

.form-feedback.is-error {
  color: #ffb7b8;
}

.form-feedback.is-success {
  color: #9ee6be;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.button-primary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
}

.site-footer {
  margin-top: 20px;
  padding: 16px 0;
  border-top: 0;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--orange) 18%,
    var(--red) 34%,
    var(--pink) 52%,
    #7a52c7 68%,
    var(--blue) 84%,
    var(--cyan) 100%
  );
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 28px;
  flex-wrap: nowrap;
  text-align: center;
}

.footer-brand-block,
.footer-meta {
  display: grid;
  gap: 2px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
  font-size: 0.7rem;
  line-height: 1.2;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(247, 244, 239, 0.74);
}

.footer-title {
  color: var(--text);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  line-height: 1.18;
}

.footer-brand-block p,
.footer-meta p {
  white-space: nowrap;
}

.legal-page {
  padding: 120px 0 72px;
}

.legal-card {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  margin-bottom: 18px;
}

.legal-card h2 {
  max-width: none;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 28px 0 10px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.62;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-back {
  display: inline-flex;
  margin-top: 24px;
  color: var(--text);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    top: 16px;
  }

  .site-header__inner,
  .content-shell {
    width: min(var(--content-max), calc(100% - 24px));
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    padding: 12px 16px;
    min-height: auto;
    border-radius: 26px;
  }

  .header-brand {
    position: static;
    transform: none;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 18px;
  }

  .nav-cta {
    font-size: 0.96rem;
  }

  .hero-block,
  .feature-block {
    min-height: auto;
  }

  .hero-block__overlay,
  .feature-block__overlay,
  .feature-block--right .feature-block__overlay {
    background:
      linear-gradient(0deg, rgba(4, 9, 19, 0.9) 0%, rgba(4, 9, 19, 0.56) 48%, rgba(4, 9, 19, 0.18) 100%);
  }

  .hero-block__content,
  .feature-block__content {
    min-height: auto;
    padding-top: 148px;
    padding-bottom: 32px;
  }

  .hero-block__content {
    align-items: flex-end;
  }

  .hero-block__content > *,
  .feature-block__text {
    max-width: none;
  }

  h1,
  .feature-block h2,
  .section-heading h2 {
    max-width: none;
  }

  .intro-band,
  .reference-grid,
  .contact-layout,
  .form-row,
  .interlude-card,
  .editorial-break__inner {
    grid-template-columns: 1fr;
  }

  .hero-side-visuals {
    width: 206px;
    height: 286px;
    bottom: 34px;
  }

  .hero-side-visual:first-child {
    width: 206px;
    top: 0;
    left: 0;
    transform: none;
  }

  .hero-side-visual:last-child {
    width: 154px;
    left: -30px;
    top: 132px;
    bottom: auto;
    transform: none;
  }

  .feature-block--left .hero-side-visuals,
  .feature-block--right .hero-side-visuals {
    left: auto;
    right: 12px;
    bottom: 26px;
  }

  .feature-block--left .hero-side-visual:first-child,
  .feature-block--right .hero-side-visual:first-child {
    top: 0;
    left: 0;
    transform: none;
  }

  .feature-block--left .hero-side-visual:last-child,
  .feature-block--right .hero-side-visual:last-child {
    left: -30px;
    top: 132px;
    bottom: auto;
    transform: none;
  }

  .site-footer__inner {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 28px;
  }

  .site-header__inner,
  .content-shell {
    width: calc(100% - 20px);
  }

  .site-header__inner {
    position: relative;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 14px;
    min-height: 52px;
    padding: 8px 14px 8px 14px;
    background: rgba(7, 17, 31, 0.26);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .header-brand {
    position: absolute;
    left: 12px;
    top: -18px;
    z-index: 3;
    transform: none;
  }

  .header-brand img {
    width: 122px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    justify-self: end;
  }

  .hero-backgrounds .hero-block__image {
    transition: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 17, 31, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      transform 180ms ease;
  }

  .main-nav a,
  .nav-cta {
    font-size: 0.96rem;
  }

  .main-nav a {
    font-weight: 600;
    padding-bottom: 2px;
  }

  .nav-cta {
    position: absolute;
    top: calc(100% + 210px);
    left: 14px;
    padding: 9px 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 220ms ease,
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-open .main-nav {
    max-height: 280px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header.is-open .nav-cta {
    max-height: 56px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-toggle span {
    transition: transform 160ms ease, opacity 160ms ease;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .feature-block h2,
  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .section {
    padding: 52px 0;
  }

  .hero-block__content,
  .feature-block__content {
    padding-top: 124px;
    padding-bottom: 12px;
  }

  .hero-block:first-of-type .hero-block__content {
    padding-top: 188px;
  }

  .hero-backgrounds .hero-block__image:not(.is-active) {
    display: none;
  }

  .hero-block,
  .feature-block {
    min-height: 72svh;
  }

  .hero-side-visuals,
  .feature-block--left .hero-side-visuals,
  .feature-block--right .hero-side-visuals {
    display: none;
  }

  .text-bubble {
    padding: 14px 15px;
    border-radius: 18px;
    max-width: 100%;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .feature-brand-mark {
    top: 20px;
    left: 12px;
    padding: 10px 12px;
  }

  .feature-brand-mark--right {
    left: 12px;
    right: auto;
  }

  .feature-brand-mark img {
    width: 118px;
  }

  .hero-tags {
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
  }

  .hero-tags span,
  .city-tags span {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .interlude-card {
    gap: 18px;
    padding: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  }

  .interlude-visuals {
    min-height: 260px;
  }

  .interlude-visual:first-child {
    width: 284px;
    left: 50%;
    top: 0;
    transform: translateX(-50%) rotate(-4deg);
  }

  .interlude-visual:last-child {
    width: 118px;
    right: 12px;
    bottom: 4px;
  }

  .activity-tags {
    gap: 8px;
    justify-content: center;
  }

  .activity-tags span {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .intro-card,
  .reference-card,
  .contact-panel,
  .contact-form {
    padding: 20px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
  }

  .intro-card p,
  .reference-card p,
  .contact-panel div,
  .contact-form label,
  .detail-list li {
    font-size: 0.95rem;
  }

  .detail-list li {
    padding: 11px 14px 11px 40px;
  }

  .detail-list li::before {
    left: 14px;
    top: 22px;
  }

  .contact-layout {
    gap: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 13px 14px;
  }

  .detail-list li,
  .feature-brand-mark,
  .editorial-carousel__slide figcaption,
  .hero-tags span {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .detail-list li,
  .feature-brand-mark,
  .editorial-carousel,
  .hero-side-visual,
  .reference-card:hover,
  .reference-card:focus-within {
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.16);
  }

  .feature-block__overlay,
  .feature-block__image,
  .reference-card,
  .editorial-carousel__slide,
  .menu-toggle span,
  .nav-cta {
    transition: none;
  }

  .legal-page {
    padding: 110px 0 52px;
  }

  .legal-card {
    padding: 24px 20px;
  }

  .site-footer__inner,
  .footer-brand-block,
  .footer-meta {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .footer-brand-block p,
  .footer-meta p,
  .footer-legal-links {
    white-space: normal;
  }

  .editorial-break__inner {
    text-align: center;
  }

  .editorial-break__text {
    max-width: none;
    margin: 0 auto;
  }

  .editorial-carousel {
    min-height: 240px;
  }
}
