:root {
  --ink: #050505;
  --muted: #4d4d55;
  --line: #dddddf;
  --nav: 64px;
  --lime: #dcff2f;
  --night: #070713;
  --blue: #2f7bff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
a,
input,
textarea { font: inherit; color: inherit; }

button { border: 0; background: transparent; cursor: pointer; }
a { text-decoration: none; }

.cms-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nav);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-left: 28px;
  border-bottom: 1px solid #e8e8ea;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.brand strong { font-weight: 850; }

.brand-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  position: relative;
  background: #050505;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}

.cms-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.98rem;
}

.cms-nav a,
.nav-trigger {
  height: var(--nav);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  position: relative;
}

.nav-trigger span,
.profile-button i {
  width: 8px;
  height: 8px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-trigger.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #050505;
}

.nav-trigger.active span { transform: rotate(225deg) translateY(-2px); }

.profile-button {
  justify-self: end;
  height: var(--nav);
  padding-right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.profile-button span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 57% 31%, #d9ad8c 0 13%, transparent 14%),
    radial-gradient(circle at 50% 39%, #211610 0 28%, transparent 29%),
    radial-gradient(circle at 48% 120%, #956657 0 47%, #ded4ca 48%);
}

.hero {
  min-height: calc(100vh - var(--nav));
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
  padding: clamp(72px, 8vw, 126px) clamp(34px, 6vw, 92px) clamp(70px, 8vw, 118px);
}

h1,
h2,
h3,
p { margin: 0; }

.hero h1 {
  max-width: 1120px;
  font-size: clamp(4.6rem, 7.45vw, 9.7rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 520px;
  margin: 8px 0 34px;
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  line-height: 1.38;
}

.pill {
  min-width: 148px;
  height: 45px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.pill.dark { color: #fff; background: #050505; }
.pill.light { background: #fff; color: #172322; }

.hero-lab {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(420px, 0.72fr) minmax(680px, 1.28fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: end;
  padding: 80px 7vw 0 0;
  background:
    linear-gradient(90deg, #b9dcff 0 33.4%, #d9efff 33.5% 100%);
}

.collection-panel {
  width: min(620px, 100%);
  align-self: end;
  justify-self: start;
  margin-left: -14px;
  background: #fff;
  border: 9px solid rgba(255, 255, 255, 0.62);
  border-radius: 13px 13px 0 0;
  box-shadow: 0 22px 50px rgba(45, 88, 130, 0.14);
  overflow: hidden;
  transform: translateX(-10px);
}

.collection-head {
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555960;
  font-size: 1rem;
}

.collection-head b { color: #aaa; padding: 0 10px; }
.collection-panel h2 { padding: 0 28px 22px; font-size: 2rem; font-weight: 700; }

.outline-btn {
  height: 42px;
  padding: 0 24px;
  border: 2px solid #7c7c7c;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

.data-table {
  display: grid;
  grid-template-columns: 52px 1.45fr 1.22fr 0.62fr 0.72fr;
  border-top: 1px solid #e5e5e5;
}

.cell {
  min-height: 78px;
  padding: 18px;
  display: flex;
  align-items: center;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  font-size: 1rem;
}

.cell.head { min-height: 68px; background: #f4f4f4; color: #555960; font-weight: 500; }
.cell.index { color: #5d5d61; justify-content: center; padding: 0; }
.cell.title { font-weight: 650; }
.thumb { width: 57px; height: 37px; border-radius: 4px; object-fit: cover; }

.site-editor {
  width: min(100%, 1080px);
  align-self: end;
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 32px 74px rgba(45, 88, 130, 0.13);
}

.editor-top {
  height: 36px;
  display: grid;
  grid-template-columns: 32px 96px 1fr repeat(3, auto) 58px;
  align-items: center;
  gap: 18px;
  padding-left: 10px;
  color: #d6dbe5;
  background: #111722;
  font-size: 0.72rem;
}

.editor-logo {
  width: 18px;
  height: 18px;
  display: block;
  border: 4px solid #cbdcff;
}

.editor-top button {
  height: 36px;
  color: #fff;
  background: #2f7bff;
  font-size: 0.74rem;
}

.editor-body {
  min-height: 475px;
  display: grid;
  grid-template-columns: 44px 1fr;
}

.editor-body aside {
  padding-top: 12px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 20px;
  color: #72777f;
  border-right: 1px solid #eceef2;
}

.project-site {
  margin: 38px auto 0;
  width: 88%;
  min-height: 470px;
  padding: 22px 22px 32px;
  color: #d7d9dc;
  background: #333538;
  position: relative;
  overflow: hidden;
}

.project-site header,
.project-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: start;
  gap: 50px;
  border-bottom: 1px solid #4b4d51;
  padding-bottom: 20px;
}

.project-site header strong { font-size: 1.42rem; color: #fff; letter-spacing: -0.04em; }
.project-site nav { display: grid; gap: 6px; font-size: 0.72rem; color: #c0c2c4; }
.project-site nav b { color: #dfff28; }
.project-site small { font-size: 0.7rem; color: #c9c9c9; }

.project-toolbar {
  grid-template-columns: auto 1fr minmax(160px, 250px);
  gap: 28px;
  padding: 22px 0 10px;
  align-items: center;
}

.project-toolbar h3 { font-size: 1.62rem; font-weight: 400; color: #c7c9cc; }
.project-toolbar button { color: #c6c7c9; font-size: 0.72rem; font-weight: 700; margin-right: 9px; }
.project-toolbar button.active { color: #fff; }
.project-toolbar label { border-bottom: 1px solid #7a7c80; }
.project-toolbar input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 0.72rem; padding: 8px 0; }

.blue-select {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 166px;
  height: 22px;
  color: #fff;
  background: #2f7bff;
  font-size: 0.75rem;
  padding-left: 6px;
  z-index: 2;
}

.project-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  outline: 3px solid #2f7bff;
  outline-offset: 3px;
}

.project-card {
  min-width: 0;
  border-bottom: 1px solid #4b4d51;
  padding-bottom: 11px;
  opacity: 0;
  transform: translateY(10px);
  animation: cardIn 340ms ease forwards;
}

@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.project-card strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 0.82rem;
}

.project-card span {
  color: #b6b8bb;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.steps-section {
  padding: clamp(88px, 11vw, 162px) clamp(32px, 5vw, 92px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.2vw, 48px);
  color: #fff;
  background:
    radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 12px 12px,
    #050747;
}

.steps-section article {
  min-height: 560px;
  padding: clamp(36px, 4vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #191b55;
  border-radius: 8px;
}

.steps-section h2 {
  max-width: 470px;
  font-size: clamp(3rem, 4vw, 5.2rem);
  line-height: 1.06;
  font-weight: 400;
}

.steps-section p {
  max-width: 480px;
  color: #ebebf6;
  font-size: 1.1rem;
  line-height: 1.45;
}

.dynamic-pages {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(580px, 1.12fr);
  min-height: 1200px;
  background: linear-gradient(90deg, #fff 0 42.8%, #f0c0a6 42.9% 100%);
}

.section-copy {
  padding: clamp(76px, 9vw, 145px) clamp(34px, 6vw, 94px);
}

.sticky-copy {
  position: sticky;
  top: var(--nav);
  height: calc(100vh - var(--nav));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-copy h2,
.headless-copy h2 {
  max-width: 780px;
  font-size: clamp(3.7rem, 5.3vw, 7rem);
  line-height: 1.08;
  font-weight: 400;
}

.section-copy p {
  max-width: 560px;
  margin: 44px 0 34px;
  font-size: 1.22rem;
  line-height: 1.42;
}

.section-copy a,
.code-section a,
.headless-copy a {
  display: inline-flex;
  margin-right: 32px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.page-stack {
  padding: 74px 7.8vw 96px 0;
  display: grid;
  gap: 56px;
  align-content: start;
}

.url-pill {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
}

.museum-page {
  padding: 18px 28px 22px;
  border-radius: 8px;
  background: #f1f0ec;
  box-shadow: 0 18px 48px rgba(83, 41, 17, 0.12);
}

.museum-page header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
}

.museum-page header b {
  background: #dfff28;
  padding: 2px 10px;
  font-weight: 700;
}

.museum-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 0.92fr 1.45fr;
  gap: 16px;
}

.museum-grid img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.museum-page h3 {
  margin: 22px 0 8px;
  font-size: 2.1rem;
  line-height: 1.03;
}

.museum-page p { font-size: 0.94rem; line-height: 1.2; }
.museum-bottom { display: flex; justify-content: space-between; margin-top: 30px; font-weight: 700; }

.presets-section {
  min-height: 1040px;
  padding: clamp(80px, 8vw, 132px) clamp(34px, 5vw, 90px);
  color: #fff;
  background: #000;
}

.presets-section .section-copy {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 80px;
}

.presets-section .section-copy p { margin-top: 10px; color: #e8e8e8; }

.preset-stage {
  position: relative;
  min-height: 660px;
  margin-top: 120px;
}

.preset-card,
.ai-builder {
  position: absolute;
  border-radius: 8px;
}

.preset-card span,
.ai-builder > span {
  position: absolute;
  top: -48px;
  left: 0;
  color: #d6d6d6;
  font-size: 1rem;
}

.preset-card {
  background: #777;
  border: 10px solid #777;
  box-shadow: inset 0 0 0 2px #aaa;
  overflow: hidden;
}

.preset-card div {
  height: 100%;
  background: #fff;
  color: #111;
  padding: 36px;
}

.preset-card h3 { font-size: 2rem; text-align: center; margin-bottom: 8px; }
.preset-card p { text-align: center; font-size: 1rem; }

.portfolio {
  left: -3vw;
  top: 0;
  width: 36vw;
  min-width: 390px;
  height: 560px;
}

.portfolio div {
  background:
    linear-gradient(#fff 0 124px, transparent 124px),
    grid-template-columns repeat(3, 1fr);
}

.portfolio div::after {
  content: "";
  display: block;
  height: 390px;
  margin: 38px -36px -36px;
  background:
    url("../Images/showcase-identity.png") center / cover,
    linear-gradient(90deg, #c8ddf0, #ffe78a, #9fd8ef);
}

.template {
  left: 45vw;
  top: 126px;
  width: 47vw;
  height: 430px;
}

.template div::after {
  content: "";
  display: block;
  height: 270px;
  margin-top: 48px;
  background: url("../Images/business-hotel-luxe.png") center / cover;
}

.ai-builder {
  right: 2vw;
  top: 295px;
  width: 24vw;
  min-width: 310px;
}

.prompt {
  min-height: 74px;
  padding: 18px 72px 18px 22px;
  border-radius: 8px;
  color: #222;
  background: #fff;
  font-size: 1.1rem;
  position: relative;
}

.prompt b {
  position: absolute;
  right: 20px;
  top: 17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #48a4ff;
}

.ai-table {
  margin-top: 12px;
  padding: 20px;
  min-height: 250px;
  color: #111;
  background: #fff;
  border: 8px solid #777;
  border-radius: 8px;
}

.ai-table strong { display: flex; justify-content: space-between; }
.ai-table em { padding: 8px 13px; color: #fff; background: #438cff; border-radius: 3px; font-style: normal; font-size: 0.8rem; }
.ai-table div { height: 42px; border-top: 1px solid #eee; background: linear-gradient(90deg, transparent 0 20%, #eee 20% 34%, transparent 34% 44%, #eee 44% 54%, transparent 54%); }

.enterprise-cms {
  padding: 48px clamp(26px, 3vw, 58px);
  background: #e9f0f0;
}

.enterprise-card {
  min-height: 760px;
  padding: clamp(52px, 5vw, 90px);
  display: grid;
  grid-template-columns: 0.75fr 1.2fr;
  align-items: center;
  gap: 70px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 12px 12px,
    #344f50;
}

.enterprise-card h2 {
  margin: 28px 0;
  font-size: clamp(3.3rem, 4.6vw, 6.1rem);
  line-height: 1.08;
  font-weight: 400;
}

.enterprise-card p { max-width: 580px; color: #ecf0ee; font-size: 1.12rem; line-height: 1.48; margin-bottom: 34px; }
.enterprise-card > div > a:not(.pill) { margin-left: 28px; text-decoration: underline; text-underline-offset: 5px; }

.properties-ui { display: grid; gap: 30px; }

.mini-table {
  min-height: 214px;
  padding: 24px 28px;
  border: 9px solid rgba(255,255,255,.45);
  border-radius: 10px;
  background: #fff;
  color: #111;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
}

.mini-table strong { font-size: 1.45rem; }
.mini-table button { height: 34px; padding: 0 24px; border: 1px solid #111; border-radius: 999px; }
.mini-table span { align-self: center; }
.mini-table div {
  grid-column: 1 / -1;
  height: 38px;
  border-top: 1px solid #ddd;
  background: linear-gradient(90deg, transparent 0 10%, #ddd 10% 24%, transparent 24% 34%, #ddd 34% 42%, transparent 42% 52%, #ddd 52% 72%, transparent 72% 84%, #ddd 84% 92%, transparent 92%);
}

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

.property-sites img {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,.35);
  border-radius: 6px;
}

.code-section {
  min-height: 1000px;
  padding: clamp(80px, 8vw, 132px) clamp(34px, 6vw, 92px) 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  color: #f8f8f8;
  background: #181c24;
}

.code-section h2 {
  font-size: clamp(3.6rem, 5.2vw, 7rem);
  line-height: 1.08;
  font-weight: 400;
}

.code-section p {
  max-width: 760px;
  margin: 8px 0 40px;
  font-size: 1.24rem;
  line-height: 1.42;
  color: #e6e8ec;
}

.code-section a { color: #fff; }

.code-card {
  margin-top: 120px;
  min-height: 500px;
  padding: 44px 54px;
  border-radius: 8px 8px 0 0;
  color: #94d5ff;
  background: #092130;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  font-size: 1rem;
  line-height: 1.65;
  overflow: hidden;
}

.code-card code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }

.travel-preview {
  margin-top: 132px;
  min-height: 530px;
  padding: 26px;
  color: #29313d;
  background: #e2e8f1;
  overflow: hidden;
}

.travel-preview header {
  margin: -26px -26px 70px;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  background: #fff;
}

.travel-preview h3 {
  max-width: 760px;
  font-size: clamp(2.4rem, 3.1vw, 4rem);
  line-height: 1.12;
  font-weight: 400;
}

.search-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 64px;
  gap: 8px;
}

.search-row span,
.search-row button {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #fff;
}

.search-row button { justify-content: center; background: #5bff75; }
.destination-row { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.destination-row article { min-height: 160px; padding: 20px; display: flex; align-items: end; color: #fff; background: #243850; font-size: 1.7rem; }
.destination-row article:nth-child(2) { background: #c78351; }
.destination-row article:nth-child(3) { background: #6f8460; }

.permissions-section {
  min-height: 900px;
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(620px, 1.1fr);
  background: linear-gradient(90deg, #fff 0 43.5%, #f2cbbd 43.6% 100%);
}

.permission-art {
  padding: 120px 7vw 90px 0;
  display: grid;
  align-content: center;
  gap: 56px;
  background: linear-gradient(#d7d9ea, #f2cbbd);
}

.role-chip {
  justify-self: end;
  min-width: min(620px, 94%);
  min-height: 88px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  align-items: center;
  gap: 26px;
  border: 8px solid rgba(255,255,255,.5);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(79, 67, 97, .14);
}

.role-chip span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid var(--lime);
  background: radial-gradient(circle at 50% 34%, #d0a07e 0 18%, transparent 19%), radial-gradient(circle at 50% 42%, #232 0 31%, transparent 32%), #cbe1ff;
}

.role-chip small { color: #9a9ca3; font-weight: 400; }
.role-chip b,
.role-chip time { border-left: 1px solid #d6d6d6; padding-left: 28px; white-space: nowrap; }

.content-editor {
  justify-self: end;
  width: min(860px, 94%);
  min-height: 520px;
  display: grid;
  grid-template-columns: 176px 1fr;
  grid-template-rows: 44px 1fr;
  background: #fff;
  box-shadow: 0 25px 55px rgba(79, 67, 97, .16);
}

.content-editor header {
  grid-column: 1 / -1;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: #30313d;
}

.content-editor aside { background: #f5f5f6; padding: 52px 34px; display: grid; align-content: start; gap: 52px; }
.content-editor aside span { height: 34px; background: linear-gradient(#ddd 0 8px, transparent 8px 14px, #ddd 14px 22px, transparent 22px); }
.content-editor form { padding: 26px 40px; display: grid; gap: 18px; }
.content-editor h3 { font-size: 1.8rem; }
.content-editor label { display: grid; gap: 10px; font-weight: 700; color: #171b30; }
.content-editor label div { width: 260px; height: 145px; border-radius: 8px; background: url("../Images/business-hotel-luxe.png") center / cover; }
.content-editor input,
.content-editor textarea { width: 100%; border: 1px solid #d4e2ff; border-radius: 3px; padding: 13px; outline-color: #4d8dff; }
.content-editor textarea { min-height: 74px; resize: none; }

.headless-section { background: #fff; }

.headless-copy {
  padding: clamp(70px, 8vw, 130px) clamp(34px, 6vw, 94px);
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 80px;
}

.headless-copy p { max-width: 640px; margin-bottom: 34px; font-size: 1.25rem; line-height: 1.42; }
.headless-copy .pill { text-decoration: none; margin-right: 28px; }

.headless-grid {
  display: grid;
  grid-template-columns: 0.77fr 1fr;
  min-height: 660px;
}

.headless-grid .code-card {
  margin: 0;
  min-height: 660px;
  border-radius: 0;
  background: #0b2130;
}

.travel-table {
  padding: 120px 10vw;
  display: grid;
  align-content: center;
  gap: 0;
  background: #b8dcff;
}

.travel-table strong {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 8px 8px 0 0;
}

.travel-table button { height: 34px; padding: 0 24px; border: 1px solid #111; border-radius: 999px; }
.travel-table div { height: 38px; background: #fff; border-top: 1px solid #ddd; background-image: linear-gradient(90deg, transparent 0 8%, #ddd 8% 22%, transparent 22% 34%, #ddd 34% 39%, transparent 39% 48%, #ddd 48% 70%, transparent 70% 82%, #ddd 82% 92%, transparent 92%); }
.travel-table div:last-child { border-radius: 0 0 8px 8px; }

.final-cta h2 {
  padding: 120px clamp(34px, 5vw, 90px) 170px;
  font-size: clamp(4.5rem, 7vw, 10rem);
  line-height: 1.05;
  font-weight: 400;
  background:
    radial-gradient(circle, rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 11px 11px,
    #fffff3;
}

.final-cta a {
  display: grid;
  grid-template-columns: 1fr 240px;
  min-height: 236px;
  background: #111;
}

.final-cta span {
  padding: 44px clamp(34px, 5vw, 90px);
  display: flex;
  align-items: center;
  color: #050505;
  background: var(--lime);
  font-size: clamp(4.3rem, 7vw, 9rem);
  line-height: 1;
}

.final-cta b {
  display: grid;
  place-items: center;
  color: #111;
  font-size: 4rem;
  font-weight: 400;
}

.final-cta b::before {
  content: "";
  position: absolute;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: #fff;
  z-index: 0;
}

.final-cta b { position: relative; }
.final-cta b { z-index: 1; }

.cms-footer {
  padding: 72px 5vw 64px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 70px;
  color: #e9e9e9;
  background: #111;
  border-top: 1px solid #222;
}

.cms-footer p { max-width: 270px; margin-top: 28px; color: #c3c3c3; line-height: 1.45; }
.cms-footer nav { display: grid; align-content: start; gap: 16px; }
.cms-footer strong { color: #fff; font-size: 0.82rem; margin-bottom: 14px; }
.cms-footer a { color: #d5d5d5; }

.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav);
  z-index: 70;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-bottom: 1px solid #dedede;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-left { padding: 42px 56px; border-right: 1px solid #ececec; }
.menu-kicker { margin-bottom: 32px; color: #666; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.menu-item { min-height: 116px; padding: 18px; display: grid; align-content: start; gap: 9px; border-radius: 8px; text-align: left; }
.menu-item:hover,
.menu-item.active { background: #f0f3f7; }
.menu-item strong { font-size: 1.02rem; }
.menu-item span { color: #5e6268; line-height: 1.32; font-size: 0.9rem; }
.mega-right { display: grid; place-items: center; background: #f4f6f9; }
.preview { display: none; width: min(76%, 560px); }
.preview.active { display: block; }
.preview-card { padding: 12px; background: #fff; box-shadow: 0 25px 70px rgba(0,0,0,.1); }
.preview-card img { display: block; width: 100%; }
.small-mega { min-height: 210px; grid-template-columns: repeat(3, minmax(220px, 300px)); justify-content: center; gap: 14px; padding: 36px; }

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

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

@media (max-width: 1100px) {
  .cms-header { grid-template-columns: 1fr auto; }
  .cms-nav { display: none; }
  .hero-copy,
  .dynamic-pages,
  .permissions-section,
  .headless-copy,
  .headless-grid,
  .code-section,
  .enterprise-card,
  .presets-section .section-copy { grid-template-columns: 1fr; }
  .hero h1,
  .section-copy h2,
  .headless-copy h2,
  .code-section h2 { font-size: clamp(3.2rem, 12vw, 6rem); }
  .hero-lab { grid-template-columns: 1fr; padding: 40px 22px 0; }
  .collection-panel { margin-left: 0; justify-self: center; }
  .site-editor { width: 100%; }
  .steps-section { grid-template-columns: 1fr; }
  .steps-section article { min-height: 360px; }
  .sticky-copy { position: static; height: auto; }
  .page-stack { padding: 34px; }
  .preset-stage { min-height: auto; display: grid; gap: 74px; }
  .preset-card,
  .ai-builder { position: relative; left: auto; right: auto; top: auto; width: 100%; min-width: 0; }
  .portfolio,
  .template { height: 440px; }
  .permission-art { padding: 50px 24px; }
  .cms-footer { grid-template-columns: 1fr 1fr; }
  .mega { display: none; }
}

@media (max-width: 720px) {
  .hero-copy {
    display: block;
    width: 100%;
    max-width: 100vw;
    padding: 48px 22px;
    overflow: hidden;
  }
  .hero h1 {
    width: min(100%, 340px);
    min-width: 0;
    max-width: 340px;
    font-size: 2.24rem;
    line-height: 1.16;
    overflow-wrap: break-word;
  }
  .hero-copy p {
    max-width: 340px;
    font-size: 0.98rem;
    overflow-wrap: break-word;
  }
  .hero-lab { min-height: auto; }
  .collection-panel {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
  }
  .data-table { min-width: 600px; }
  .site-editor {
    width: 100%;
    overflow-x: auto;
    transform: none;
    margin-bottom: 0;
  }
  .editor-body { min-width: 760px; }
  .steps-section { padding: 64px 22px; }
  .steps-section h2 { font-size: 2.7rem; }
  .section-copy { padding: 62px 22px; }
  .museum-grid,
  .project-grid,
  .property-sites,
  .destination-row,
  .search-row,
  .cms-footer { grid-template-columns: 1fr; }
  .role-chip { grid-template-columns: 44px 1fr; }
  .role-chip b,
  .role-chip time { border-left: 0; padding-left: 0; }
  .content-editor { grid-template-columns: 1fr; }
  .content-editor aside { display: none; }
  .final-cta a { grid-template-columns: 1fr 118px; min-height: 150px; }
  .final-cta span { font-size: 3rem; }
}

/* Shared generated BUGENCE brand mark. */
.brand-mark,
.bugence-logo::before,
.logo::before {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: inline-block !important;
  border-radius: 0 !important;
  background: url("../Images/bugence-logo-mark.png") center / cover no-repeat !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
  overflow: hidden !important;
}

.brand-mark::after,
.bugence-logo::after,
.logo::after {
  display: none !important;
  content: none !important;
}

.bugence-logo,
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.bugence-logo::before,
.logo::before {
  content: "" !important;
}
