:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #dfe3f0;
  --paper: #f8f9fc;
  --white: #ffffff;
  --field: #eef1f8;
  --brand-blue: #283d84;
  --brand-lavender: #7c85c1;
  --brand-gold: #b39b6a;
  --blue: var(--brand-blue);
  --blue-dark: #1f306f;
  --teal: #178c86;
  --gold: var(--brand-gold);
  --shadow: 0 18px 42px rgba(17, 24, 39, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px clamp(18px, 4vw, 46px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active,
.light-header .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 222px;
  padding: 0;
}

.brand-logo {
  width: clamp(178px, 18vw, 246px);
  max-height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(17, 24, 39, 0.2));
}


.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(rgba(6, 24, 42, 0.12), rgba(6, 24, 42, 0.12)),
    url("images/home-hero-drone.jpg")
      center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 18, 31, 0.9), rgba(8, 18, 31, 0.58) 52%, rgba(8, 18, 31, 0.18)),
    linear-gradient(0deg, rgba(8, 18, 31, 0.76), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  padding: clamp(132px, 19vh, 196px) 0 150px clamp(20px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ee0db;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-wordmark {
  display: inline-grid;
  width: max-content;
  max-width: 100%;
  line-height: 0.84;
}

.hero-wordmark-line {
  display: block;
}

.hero-wordmark-aerial {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.hero-wordmark-aerial span {
  display: block;
}

.hero-wordmark-galaxy {
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(650px, 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 850;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.button.ghost {
  color: var(--blue-dark);
  border-color: var(--line);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-proof {
  position: absolute;
  right: clamp(20px, 5vw, 76px);
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  width: min(680px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.service-hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.service-hero-progress {
  background-image: url("images/hero-construction-progress.jpg");
}

.service-hero-mapping {
  background-image: url("images/hero-drone-mapping.jpg");
}

.service-hero-imaging {
  background-image: url("images/service-aerial-imaging.jpg");
}

.service-hero-tours {
  background-image: url("images/virtual-tour-interior.jpg");
}

.service-hero-content {
  position: relative;
  z-index: 2;
  width: min(890px, calc(100% - 40px));
  padding: clamp(132px, 18vh, 190px) 0 clamp(88px, 12vw, 132px) clamp(20px, 7vw, 96px);
}

.service-hero h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 7.6vw, 6.8rem);
}

.hero-proof div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--blue-dark);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1;
}

.hero-proof span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 120px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: stretch;
}

.intro p,
.split-copy p,
.quote-copy p,
.overview-grid p,
.service-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy {
  align-self: center;
  max-width: 760px;
  margin: clamp(-28px, -1.5vw, -16px) 0 0;
  text-align: justify;
  text-align-last: left;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 420px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p,
.deliverable-grid p,
.detail-grid p,
.technical-list p,
.site-footer p {
  color: var(--muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 72px);
}

.service-detail {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.answer-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.answer-section .section-heading p:last-child,
.faq-section .section-heading p:last-child {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.03rem;
}

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

.answer-grid article,
.faq-grid article {
  min-height: 180px;
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--paper);
}

.answer-grid h3,
.faq-grid h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 1.02rem;
}

.answer-grid p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.faq-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: #f2f5fb;
}

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

.faq-grid article {
  min-height: 170px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-grid article {
  min-height: 240px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.comparison-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: #edf2f8;
}

.comparison-section .section-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.stage-book {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stage-book-copy h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.08;
}

.stage-book-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
}

.stage-book-meta {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px 12px;
  align-items: baseline;
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: var(--paper);
}

.stage-book-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.stage-book-meta strong {
  color: var(--blue-dark);
}

.stage-book-pages {
  position: relative;
  min-height: 390px;
  perspective: 1500px;
}

.stage-page {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--ink);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.22);
  color: var(--white);
  cursor: pointer;
  transform-origin: left center;
  transition:
    transform 520ms ease,
    opacity 520ms ease,
    box-shadow 520ms ease,
    filter 520ms ease;
  transform-style: preserve-3d;
}

.stage-page img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  pointer-events: none;
}

.stage-page span,
.stage-page strong {
  position: absolute;
  left: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(17, 24, 39, 0.76);
  padding: 7px 10px;
  backdrop-filter: blur(8px);
}

.stage-page span {
  top: 16px;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.stage-page strong {
  bottom: 16px;
  font-size: 0.95rem;
}

.stage-page::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.42), transparent 22%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.34));
  content: "";
  pointer-events: none;
}

.stage-page.is-active {
  z-index: 6;
  pointer-events: auto;
  transform: translateX(0) translateY(0) rotateY(0deg);
}

.stage-page.is-upcoming {
  pointer-events: none;
  opacity: 0.98;
  transform: translateX(calc(var(--stage-depth, 1) * 18px)) translateY(calc(var(--stage-depth, 1) * 14px)) scale(var(--stage-scale, 0.975));
  filter: saturate(0.9) brightness(0.95);
}

.stage-page.is-past {
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  transform: translateX(-16px) rotateY(-112deg) scale(0.94);
  filter: saturate(0.72) brightness(0.84);
}

.stage-page.is-turning {
  transform: translateX(-28px) rotateY(-118deg) scale(0.98);
  opacity: 0.38;
  box-shadow: 8px 18px 38px rgba(17, 24, 39, 0.14);
}

.stage-book-pages:focus-within .stage-page.is-active {
  outline: 3px solid rgba(36, 87, 166, 0.42);
  outline-offset: 4px;
}

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

.compare-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.compare-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.compare-header h3 {
  margin-bottom: 6px;
}

.compare-header p {
  margin-bottom: 0;
  color: var(--muted);
}

.compare-header > span {
  align-self: flex-start;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  padding: 7px 9px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.compare-frame {
  --position: 50%;
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 330px;
  overflow: hidden;
  background: var(--ink);
  touch-action: none;
  user-select: none;
}

.compare-image,
.compare-after,
.compare-frame input {
  position: absolute;
  inset: 0;
}

.compare-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after {
  clip-path: inset(0 0 0 var(--position));
}

.compare-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  background: rgba(17, 24, 39, 0.78);
  color: var(--white);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.compare-label.before {
  left: 16px;
}

.compare-label.after {
  right: 16px;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 3;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 18px rgba(17, 24, 39, 0.42);
  pointer-events: none;
  transform: translateX(-50%);
}

.compare-handle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--white);
  background: var(--blue);
  color: var(--white);
  content: "< >";
  font-size: 0.78rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.compare-frame input {
  appearance: none;
  -webkit-appearance: none;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  opacity: 0;
  cursor: ew-resize;
}

.compare-frame:focus-within .compare-handle::before {
  box-shadow: 0 0 0 4px rgba(36, 87, 166, 0.24);
}

.compare-dates {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 8px 10px;
  align-items: baseline;
  padding: 16px 22px 20px;
}

.compare-dates span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.compare-dates strong {
  color: var(--blue-dark);
}

.metric-panel {
  display: grid;
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.metric-panel div {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.metric-panel div:last-child {
  border-bottom: 0;
}

.metric-panel span,
.metric-panel strong {
  display: block;
}

.metric-panel span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-panel strong {
  margin-top: 5px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.tour-demo {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: #f2f5fb;
}

.tour-demo .section-heading p:last-child {
  max-width: 800px;
  color: var(--muted);
}

.tour-demo-shell {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(260px, 0.38fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: stretch;
}

.tour-demo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.tour-demo-frame::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(40, 61, 132, 0.2), rgba(23, 140, 134, 0.14)),
    url("images/virtual-tour-interior.jpg") center / cover;
  content: "";
  opacity: 0.46;
}

.tour-demo-frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.tour-demo-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.tour-demo-panel span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tour-demo-panel h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.tour-demo-panel p {
  margin: 0;
  color: var(--muted);
}

.tour-demo-panel .button {
  align-self: flex-start;
  margin-top: 8px;
}

.technical-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.technical-list div {
  min-height: 210px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.service-cta .eyebrow {
  color: #7ee0db;
}

.service-cta h2 {
  max-width: 860px;
}

.service-cta p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  display: grid;
  gap: 12px;
  min-width: min(100%, 230px);
}

.portal-page {
  padding-top: 88px;
}

.portal-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding-top: clamp(60px, 8vw, 96px);
}

.portal-hero h1 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.portal-hero p,
.portal-security-note p,
.empty-project-state p,
.project-summary p,
.project-deliverables p,
.demo-credentials p {
  color: var(--muted);
}

.portal-login,
.project-room {
  background: var(--white);
  box-shadow: var(--shadow);
}


.portal-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 52px);
  align-items: start;
  padding-top: 0;
}

.portal-login {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
}

.portal-login .section-heading {
  margin-bottom: 0;
}

.demo-credentials {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.demo-credentials h3,
.demo-credentials p {
  margin-bottom: 0;
}

.demo-credentials p {
  font-size: 0.9rem;
}

.project-room {
  min-height: 620px;
  overflow: hidden;
}

.empty-project-state,
.project-private-view {
  padding: clamp(22px, 4vw, 36px);
}

.project-private-view {
  display: grid;
  gap: 26px;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.project-topline h2 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.project-badge {
  flex: 0 0 auto;
  background: var(--teal);
  color: var(--white);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-summary div {
  min-height: 130px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.project-deliverables {
  display: grid;
  gap: 14px;
}

.project-deliverables h3 {
  margin-bottom: 0;
}

.project-deliverables ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-deliverables li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--field);
}

.project-deliverables span {
  color: var(--blue-dark);
  font-weight: 820;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-visual-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(240px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}

.project-hero-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.project-activity {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  background: var(--field);
}

.project-activity h3,
.project-activity ul,
.project-activity li,
.deliverable-action-card h4,
.deliverable-action-card p {
  margin: 0;
}

.project-activity ul {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  color: var(--muted);
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-metrics div {
  min-height: 112px;
  padding: 16px;
  background: var(--field);
}

.project-metrics span,
.deliverable-action-card span {
  display: block;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 1.35rem;
}

.deliverable-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.deliverable-action-card {
  display: grid;
  gap: 16px;
  align-content: space-between;
  min-height: 220px;
  padding: 18px;
  background: var(--field);
}

.deliverable-action-card h4 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.deliverable-action-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.deliverable-action-card .button {
  width: fit-content;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 0.95fr);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 720;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  content: "";
}

.check-list li::after {
  position: absolute;
  left: 6px;
  top: 0.38rem;
  width: 6px;
  height: 10px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.report-panel {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.report-compare {
  min-height: 330px;
  aspect-ratio: 16 / 9;
  box-shadow: none;
}

.report-map {
  min-height: 330px;
  background:
    linear-gradient(45deg, rgba(36, 87, 166, 0.18) 25%, transparent 25% 75%, rgba(36, 87, 166, 0.18) 75%),
    linear-gradient(45deg, rgba(23, 140, 134, 0.18) 25%, transparent 25% 75%, rgba(23, 140, 134, 0.18) 75%),
    url("images/progress-report-map.jpg")
      center / cover;
  background-position:
    0 0,
    18px 18px,
    center;
  background-size:
    36px 36px,
    36px 36px,
    cover;
}

.report-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.report-row span {
  color: var(--muted);
}

.tour-home-embed {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.tour-home-embed::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(40, 61, 132, 0.2), rgba(23, 140, 134, 0.14)),
    url("images/virtual-tour-interior.jpg") center / cover;
  content: "";
  opacity: 0.34;
}

.tour-home-embed iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  background: transparent;
}

.tour-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgba(10, 20, 30, 0.16), rgba(10, 20, 30, 0.16)),
    url("images/virtual-tour-interior.jpg")
      center / cover;
  box-shadow: var(--shadow);
}

.tour-hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 4px solid var(--white);
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 0 10px rgba(224, 165, 54, 0.28);
}

.tour-hotspot.one {
  left: 22%;
  top: 34%;
}

.tour-hotspot.two {
  right: 26%;
  top: 47%;
}

.tour-hotspot.three {
  left: 45%;
  bottom: 22%;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-list span {
  border: 1px solid var(--line);
  padding: 9px 12px;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 780;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.deliverable-grid div {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-tester {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  background: #edf2f8;
}

.agent-tester .section-heading {
  max-width: 860px;
}

.agent-tester .section-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.tester-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.tester-form,
.agent-output-panel {
  background: var(--white);
  box-shadow: var(--shadow);
}

.tester-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
}

.tester-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-output-panel {
  overflow: hidden;
}

.agent-output-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: var(--white);
  background: var(--blue-dark);
}

.agent-output-header span {
  font-weight: 820;
}

.agent-output-header strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
}

.agent-output-panel pre {
  min-height: 620px;
  max-height: 820px;
  margin: 0;
  overflow: auto;
  padding: 22px;
  color: #1f2937;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    linear-gradient(135deg, rgba(40, 61, 132, 0.08), rgba(124, 133, 193, 0.14));
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.62;
  white-space: pre-wrap;
}

.alliances {
  background: var(--paper);
}

.alliances-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  grid-template-areas:
    "heading logo"
    "rule copy";
  gap: 16px clamp(28px, 6vw, 82px);
  align-items: start;
}

.alliances h2 {
  grid-area: heading;
  max-width: 600px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: none;
}

.alliances-rule {
  display: block;
  grid-area: rule;
  width: 84px;
  height: 4px;
  background: var(--teal);
}

.alliance-logo-link {
  display: inline-flex;
  grid-area: logo;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
}

.alliance-logo {
  display: block;
  width: min(230px, 58vw);
  height: auto;
}

.alliances-copy {
  grid-area: copy;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
  text-align: justify;
  text-align-last: left;
}

.quote-page {
  padding-top: 84px;
}

.quote {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

address {
  margin-top: 30px;
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--ink);
}

address a {
  color: var(--blue);
  font-weight: 750;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

label,
fieldset {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid transparent;
  background: var(--field);
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(36, 87, 166, 0.14);
}

fieldset {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  border: 1px solid var(--line);
  padding: 14px;
}

legend {
  padding: 0 8px;
}

fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(20px, 5vw, 70px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 780;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 77px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content {
    padding-left: 20px;
  }

  .service-grid,
  .deliverable-grid,
  .answer-grid,
  .faq-grid,
  .detail-grid,
  .technical-list,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-demo-shell,
  .stage-book,
  .intro,
  .split,
  .split.reverse,
  .tester-shell,
  .quote,
  .overview-grid,
  .service-cta,
  .portal-hero,
  .portal-workspace {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    margin-top: 0;
    text-align: left;
  }

  .alliances-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "rule"
      "logo"
      "copy";
  }

  .alliances-copy {
    text-align: left;
  }

  .agent-output-panel pre {
    min-height: 460px;
  }

  .tour-visual,
  .tour-home-embed,
  .tour-home-embed iframe,
  .tour-demo-frame {
    min-height: 420px;
  }

  .stage-book-pages,
  .stage-page img {
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 220px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .service-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .hero-proof {
    right: 20px;
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .deliverable-grid,
  .answer-grid,
  .faq-grid,
  .detail-grid,
  .technical-list,
  .comparison-grid,
  .project-summary,
  .project-metrics,
  .deliverable-actions,
  .project-visual-grid,
  .form-row,
  fieldset {
    grid-template-columns: 1fr;
  }

  .compare-header,
  .compare-dates {
    grid-template-columns: 1fr;
  }

  .compare-header {
    display: grid;
  }

  .tour-home-embed,
  .tour-home-embed iframe,
  .tour-demo-frame {
    min-height: 240px;
  }

  .tour-demo-panel {
    padding: 20px;
  }

  .stage-book {
    padding: 18px;
  }

  .stage-book-copy h3 {
    font-size: 1.45rem;
  }

  .stage-book-pages,
  .stage-page img {
    min-height: 245px;
  }

  .stage-page.is-upcoming {
    transform: translateX(calc(var(--stage-depth, 1) * 10px)) translateY(calc(var(--stage-depth, 1) * 10px)) scale(var(--stage-scale, 0.975));
  }

  .compare-frame {
    min-height: 260px;
  }

  .service-card {
    min-height: auto;
  }

  .report-row,
  .project-topline,
  .site-footer {
    flex-direction: column;
  }
}

.internal-page .site-header {
  color: var(--ink);
}

.sales-agent-page {
  padding-top: 88px;
}

.internal-gate {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.44fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
  padding-top: clamp(60px, 8vw, 96px);
}

.internal-gate h1 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.internal-gate p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .internal-gate {
    grid-template-columns: 1fr;
  }
}

.blog-page {
  padding-top: 88px;
}

.blog-hero {
  padding-top: clamp(60px, 8vw, 96px);
  padding-bottom: clamp(38px, 6vw, 74px);
}

.blog-hero h1 {
  max-width: 960px;
  color: var(--blue-dark);
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.blog-hero p:last-child {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 0;
}

.blog-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.blog-card.featured {
  grid-column: span 3;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card.featured img {
  height: 100%;
  min-height: 390px;
}

.blog-card div {
  padding: 24px;
}

.blog-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  line-height: 1.05;
}

.blog-card:not(.featured) h2 {
  font-size: 1.35rem;
  line-height: 1.16;
}

.blog-card p {
  color: var(--muted);
}

.blog-meta {
  margin-bottom: 16px;
  color: var(--blue-dark) !important;
  font-size: 0.86rem;
  font-weight: 850;
}

@media (max-width: 980px) {
  .blog-list,
  .blog-card.featured {
    grid-template-columns: 1fr;
  }

  .blog-card.featured {
    grid-column: span 1;
  }

  .blog-card.featured img {
    min-height: 280px;
  }
}

.article-page {
  padding-top: 88px;
}

.article-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0 clamp(36px, 6vw, 70px);
}

.article-back {
  margin: 0 0 28px;
}

.article-shell h1 {
  max-width: 980px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.94;
}

.article-hero-image {
  width: 100%;
  height: clamp(280px, 46vw, 520px);
  margin: 34px 0 38px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
}

.article-content {
  color: var(--ink);
  font-size: 1.05rem;
}

.article-content h2 {
  margin: 42px 0 12px;
  color: var(--blue-dark);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  line-height: 1.04;
}

.article-content h3 {
  margin: 26px 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 24px;
}

.article-content strong {
  color: var(--ink);
}

.article-cta {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(40px, 8vw, 88px);
  background: var(--white);
}

.article-cta h2 {
  max-width: 800px;
  color: var(--blue-dark);
}

.article-cta p {
  max-width: 760px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .article-shell {
    width: min(100% - 28px, 920px);
  }

  .article-shell h1 {
    font-size: clamp(2.35rem, 14vw, 3.8rem);
  }
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.button:disabled,
.button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.portal-action-status {
  margin: -10px 0 0;
}

.portal-dialog[hidden] {
  display: none;
}

.portal-dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.46);
}

.portal-dialog-card {
  width: min(560px, 100%);
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.portal-dialog-card h3 {
  color: var(--blue-dark);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.portal-dialog-card p {
  color: var(--muted);
}

.blog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 820;
}

.blog-stats span,
.blog-like {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  padding: 6px 10px;
  background: var(--white);
}

.blog-like {
  cursor: pointer;
  color: var(--blue-dark);
}

.blog-like span {
  min-height: auto;
  border: 0;
  padding: 0;
  color: var(--teal);
  font-size: 1rem;
  line-height: 1;
}

.blog-like.is-liked {
  border-color: rgba(23, 140, 134, 0.32);
  background: rgba(23, 140, 134, 0.08);
}

.blog-like.is-liked span {
  color: var(--teal);
}

@media (max-width: 980px) {
  .blog-card.featured img {
    height: clamp(260px, 58vw, 420px);
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .blog-card.featured img,
  .blog-card img {
    height: clamp(230px, 62vw, 300px);
    min-height: 0;
  }

  .blog-card div {
    padding: 20px;
  }

  .blog-card h2,
  .blog-card.featured h2 {
    font-size: clamp(1.55rem, 8.5vw, 2.15rem);
    line-height: 1.08;
  }

  .blog-meta {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}
