/* DDCA — Diamantis Data Center Advisory
   Authoritative, restrained, infrastructure-grade. */

:root {
  /* Dark, infrastructure-grade palette */
  --bg:        #0A0E12;        /* near-black with subtle blue cast */
  --surface:   #11161C;        /* cards, sections */
  --surface-2: #161C24;        /* alt panel */
  --border:    #1F2731;
  --rule:      #1B232C;
  --ink:       #ECEEF1;        /* primary text */
  --ink-2:     #C8CDD3;
  --muted:     #8A93A0;
  --faint:     #5B6471;
  --accent:    #4DD7E5;        /* electric teal — highlights */
  --accent-2:  #20808D;        /* deeper teal — hover, bands */
  --warm:      #FFC553;        /* gold accent, sparingly */
  --shadow:    0 1px 0 rgba(0,0,0,.4), 0 22px 60px -28px rgba(0,0,0,.8);

  --font-display: "General Sans", "Satoshi", system-ui, -apple-system, sans-serif;
  --font-body:    "Satoshi", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv01";
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 4px;
}
.skip:focus { left: 12px; top: 12px; z-index: 100; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

/* ------------- Header ------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 14, 18, .55);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(10, 14, 18, .88);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--accent); /* drives logo fill via currentColor */
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.brand strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 18px;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.brand em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
}
.primary-nav {
  display: flex; align-items: center; gap: 30px;
}
.primary-nav .nav-link {
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .005em;
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}
.primary-nav .nav-link:hover { color: var(--ink); }
.primary-nav .nav-link.is-active { color: var(--ink); }
.primary-nav .nav-link.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.primary-nav .nav-cta {
  background: var(--accent);
  color: #0A0E12;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .005em;
  transition: background .18s ease, transform .18s ease;
}
.primary-nav .nav-cta:hover { background: #7BE6F0; color: #0A0E12; transform: translateY(-1px); }
.primary-nav .nav-cta.is-active { box-shadow: 0 0 0 3px rgba(77,215,229,.18); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .brand-logo { height: 42px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(10,14,18,.97);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .25s ease;
  }
  .primary-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-nav .nav-link {
    padding: 16px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--rule);
  }
  .primary-nav .nav-link.is-active::after { display: none; }
  .primary-nav .nav-link.is-active { color: var(--accent); }
  .primary-nav .nav-cta {
    margin-top: 18px;
    padding: 14px 18px;
    text-align: center;
    font-size: 15px;
  }
}

/* ------------- Common ------------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 600;
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 16px;
}
.section-sub {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
  font-size: 17px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .005em;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn.primary {
  background: var(--accent); color: #0A0E12; font-weight: 600;
}
.btn.primary:hover { background: #7BE6F0; color: #0A0E12; transform: translateY(-1px); }
.btn.ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--border);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(77,215,229,.06); }

/* ------------- Hero ------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(110px, 13vw, 180px) clamp(80px, 10vw, 130px);
  background: var(--bg);
}
.hero-home {
  padding-block: clamp(70px, 9vw, 110px) clamp(56px, 7vw, 88px);
  min-height: auto;
}
.hero-home h1 { font-size: clamp(36px, 5.4vw, 60px); }
.hero-home .lede { max-width: 640px; }
.hero-photo {
  position: absolute; inset: 0;
  background: url("assets/img/img-hero-datacenter.png") center/cover no-repeat;
  z-index: 0;
  opacity: .9;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(10,14,18,.92) 0%, rgba(10,14,18,.78) 38%, rgba(10,14,18,.45) 70%, rgba(10,14,18,.25) 100%),
    linear-gradient(180deg, rgba(10,14,18,.45) 0%, transparent 40%, rgba(10,14,18,.65) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .32;
  mix-blend-mode: screen;
}
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-bg .strands path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: strand-draw 3.6s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-bg .strands path:nth-child(2) { animation-delay: .15s; }
.hero-bg .strands path:nth-child(3) { animation-delay: .30s; }
.hero-bg .strands path:nth-child(4) { animation-delay: .45s; }
.hero-bg .strands path:nth-child(5) { animation-delay: .60s; }
.hero-bg .nodes circle { opacity: 0; transform-origin: center; transform-box: fill-box; animation: node-pulse 4.2s ease-in-out infinite; }
.hero-bg .nodes circle:nth-child(2) { animation-delay: .8s; }
.hero-bg .nodes circle:nth-child(3) { animation-delay: 1.6s; }
.hero-bg .nodes circle:nth-child(4) { animation-delay: 2.4s; }
.hero-bg .nodes circle:nth-child(5) { animation-delay: 3.2s; }
@keyframes strand-draw { to { stroke-dashoffset: 0; } }
@keyframes node-pulse {
  0%, 100% { opacity: 0; transform: scale(.6); }
  50%      { opacity: .55; transform: scale(1.15); }
}
.hero-inner { position: relative; z-index: 2; }
.hero .accent-word {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero .accent-word::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .12em;
  background: linear-gradient(90deg, #4DD7E5 0%, #FFC553 100%);
  opacity: .55;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg .strands path { animation: none; stroke-dashoffset: 0; }
  .hero-bg .nodes circle { animation: none; opacity: .35; }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 16ch;
}
.hero .lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.hero-meta div {}
.hero-meta dt {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.hero-meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 640px) {
  .hero-meta { grid-template-columns: 1fr; gap: 20px; }
}

/* ------------- Domains band ------------- */
.domains {
  padding-block: clamp(72px, 9vw, 110px);
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(77,215,229,.06), transparent 60%),
    radial-gradient(700px 360px at 100% 100%, rgba(255,197,83,.04), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 0 0 22px; color: var(--ink);
  overflow: hidden; isolation: isolate;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease, border-color .25s ease, box-shadow .25s ease;
  --tile-accent: var(--accent);
}
.tile.in { opacity: 1; transform: translateY(0); }
.tile:hover { border-color: var(--tile-accent); box-shadow: 0 1px 0 rgba(0,0,0,.4), 0 30px 60px -30px rgba(77,215,229,.25); transform: translateY(-2px); }
.tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--tile-accent); opacity: .9; z-index: 2; }
.tile-art { color: var(--tile-accent); background: var(--bg); margin: 0 0 18px; padding: 0; aspect-ratio: 4/3; overflow: hidden; position: relative; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.tile:hover .tile-art img { transform: scale(1.04); }
.tile-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,14,18,.55) 100%); pointer-events: none; }
.tile-art svg { width: 100%; height: auto; display: block; padding: 14px; }
.tile h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.005em; margin: 0 22px 8px; color: var(--ink); }
.tile p { font-size: 14.5px; color: var(--muted); margin: 0 22px 16px; line-height: 1.55; flex-grow: 1; }
.tile-tags { list-style: none; padding: 0; margin: 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.tile-tags li { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .04em; color: var(--tile-accent); background: rgba(77,215,229,.08); border: 1px solid rgba(77,215,229,.18); padding: 3px 8px; border-radius: 999px; text-transform: uppercase; }
.tile .fiber-strands path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: fiber-flow 3.8s linear infinite; }
.tile .fiber-strands path:nth-child(2) { animation-delay: .4s; }
.tile .fiber-strands path:nth-child(3) { animation-delay: .8s; }
.tile .fiber-strands path:nth-child(4) { animation-delay: 1.2s; }
.tile .fiber-strands path:nth-child(5) { animation-delay: 1.6s; }
@keyframes fiber-flow { 0% { stroke-dashoffset: 200; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -200; } }
.tile .led circle { animation: led-blink 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.tile .led circle:nth-child(2) { animation-delay: .3s; }
.tile .led circle:nth-child(3) { animation-delay: .6s; }
.tile .led circle:nth-child(4) { animation-delay: .9s; }
.tile .led circle:nth-child(5) { animation-delay: 1.2s; }
.tile .led circle:nth-child(6) { animation-delay: 1.5s; }
@keyframes led-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.tile .ai-pulse circle { animation: ai-pulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.tile .ai-pulse circle:nth-child(2) { animation-delay: .75s; }
.tile .ai-pulse circle:nth-child(3) { animation-delay: 1.5s; }
.tile .ai-pulse circle:nth-child(4) { animation-delay: 2.25s; }
@keyframes ai-pulse { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.25); } }
.tile .wifi-ring { transform-origin: center; transform-box: fill-box; animation: wifi-ring 2.6s ease-out infinite; opacity: 0; }
.tile .wifi-ring.r2 { animation-delay: .6s; }
.tile .wifi-ring.r3 { animation-delay: 1.2s; }
@keyframes wifi-ring { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: .6; } 100% { opacity: 0; transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) {
  .tile .fiber-strands path,
  .tile .led circle,
  .tile .ai-pulse circle,
  .tile .wifi-ring { animation: none; stroke-dashoffset: 0; opacity: .5; }
}
@media (max-width: 1024px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .tiles { grid-template-columns: 1fr; } }

/* ------------- Services ------------- */
.services { padding-block: clamp(80px, 9vw, 120px); }
.service {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding-block: 72px;
  border-top: 1px solid var(--rule);
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.service.in { opacity: 1; transform: translateY(0); }
.service-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; align-self: start; }
.service-illus { border: 1px solid var(--border); border-radius: 12px; padding: 0; background: var(--surface); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.service-illus svg { width: 100%; height: auto; display: block; padding: 14px; }
.service-illus img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-illus::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,14,18,.55) 100%); pointer-events: none; }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .12em;
  padding-top: 6px;
}
.service-body h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 22ch;
}
.service-lede {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 0 28px;
}
.service-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}
.service-list li {
  padding-left: 18px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.service-list li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--accent);
}
.service-list strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 920px) {
  .service { grid-template-columns: 1fr; gap: 28px; padding-block: 56px; }
  .service-side { position: static; flex-direction: row; align-items: center; gap: 22px; }
  .service-illus { max-width: 220px; }
  .service-num { padding-top: 0; }
  .service-list { grid-template-columns: 1fr; gap: 16px; }
}

/* ------------- About ------------- */
.about { padding-block: clamp(80px, 9vw, 120px); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
}
.about-prose p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 60ch;
}
.about-cred {
  display: grid;
  gap: 4px;
  padding-top: 18px;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: .01em;
}
.about-cred span:first-child {
  color: var(--ink); font-weight: 600;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ------------- Contact ------------- */
.contact { padding-block: clamp(80px, 9vw, 120px); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.contact-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
a.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.contact-card.static { cursor: default; }
a.contact-card.highlight {
  background: linear-gradient(180deg, rgba(77,215,229,.10), rgba(77,215,229,.04));
  border-color: rgba(77,215,229,.35);
}
a.contact-card.highlight .contact-label { color: var(--accent); }
a.contact-card.highlight:hover { border-color: var(--accent); }

/* Microsoft Bookings embed */
.booking {
  margin-top: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.booking-head {
  padding: 30px 32px 22px;
}
.booking-head .eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.booking-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.1;
}
.booking-sub {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 640px;
}
.booking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.booking-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid rgba(77,215,229,.35);
  border-radius: 999px;
  background: rgba(77,215,229,.08);
  transition: background .2s ease, border-color .2s ease;
}
.booking-link:hover {
  background: rgba(77,215,229,.16);
  border-color: var(--accent);
}
.booking-powered {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--faint);
  text-transform: uppercase;
}
.booking-frame {
  width: 100%;
  height: 860px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.booking-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}
@media (max-width: 720px) {
  .booking-frame { height: 1180px; }
  .booking-head { padding: 24px 20px 18px; }
  .booking-title { font-size: 24px; }
  .booking-powered { display: none; }
}
.contact-label {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.contact-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.contact-meta { font-size: 13.5px; color: var(--muted); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .contact-grid { grid-template-columns: 1fr; } }

.sms-note {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: 6px;
  max-width: 72ch;
  line-height: 1.55;
}
.sms-note strong { color: var(--ink); }
.sms-note code {
  background: rgba(77,215,229,.10);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12.5px;
}

/* ------------- Footer ------------- */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding-block: 56px;
  align-items: start;
}
.foot-brand {
  display: grid; gap: 4px;
  font-size: 13.5px;
  color: var(--muted);
}
.foot-logo-row {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 6px;
}
.foot-logo {
  display: block !important;
  height: 36px !important;
  width: 36px !important;
  max-width: 36px !important;
  object-fit: contain;
  flex: 0 0 36px;
  opacity: .9;
}
.foot-brand strong {
  font-family: var(--font-display);
  font-size: 15px; color: var(--ink); font-weight: 600;
}
.foot-nav {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  justify-content: flex-end;
}
.foot-nav a {
  font-size: 14px;
  color: var(--ink-2);
}
.foot-nav a:hover { color: var(--accent); }
.foot-meta {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--faint);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
@media (max-width: 720px) {
  .foot { grid-template-columns: 1fr; gap: 24px; }
  .foot-nav { justify-content: flex-start; }
}

/* ------------- Legal pages ------------- */
.legal-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 70% -20%, rgba(77,215,229,.16), transparent 60%),
    radial-gradient(700px 300px at 0% 120%, rgba(255,197,83,.06), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--rule);
}
.legal-header::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77,215,229,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,215,229,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%);
  pointer-events: none;
}
.legal-header .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 9vw, 120px); max-width: 760px; }
.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 14px 0 8px;
}
.legal-header .eyebrow { color: var(--accent); }
.legal-header .effective {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.legal {
  padding-block: clamp(56px, 7vw, 96px) clamp(64px, 7vw, 96px);
  max-width: 760px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.legal .effective {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 48px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 44px 0 10px;
  color: var(--ink);
  letter-spacing: -.005em;
}
.legal p, .legal li {
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 68ch;
}
.legal p { margin: 0 0 16px; }
.legal ul { padding-left: 22px; }
.legal ul li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal .toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 40px;
}
.legal .toc h2 { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal .toc ol { margin: 0; padding-left: 22px; }
.legal .toc li { margin: 4px 0; font-size: 15px; }
.legal .toc a { color: var(--ink-2); }
.legal .toc a:hover { color: var(--accent); }
.legal .key {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin: 18px 0 24px;
  border-radius: 4px;
}

/* ------------- Inquiry form ------------- */
.inquiry {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 44px);
  margin-top: 16px;
  box-shadow: var(--shadow);
  max-width: 920px;
}
.form-head h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 6px;
}
.form-head p { color: var(--muted); margin: 0 0 22px; font-size: 14.5px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > label, .field-legend {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field-legend { padding: 0; margin: 0 0 8px; }
.inquiry input[type="text"],
.inquiry input[type="email"],
.inquiry input[type="tel"],
.inquiry select,
.inquiry textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.inquiry textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.inquiry select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%238A93A0' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.inquiry select option { background: #11161C; color: #ECEEF1; }
.inquiry input:focus,
.inquiry select:focus,
.inquiry textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(77,215,229,.18);
}
.inquiry input::placeholder,
.inquiry textarea::placeholder { color: var(--faint); }
.field.checkboxes { grid-column: 1 / -1; }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px 18px;
}
.checkbox-grid label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  cursor: pointer;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: border-color .15s ease, background .15s ease;
}
.checkbox-grid label:hover { border-color: var(--border); background: rgba(77,215,229,.04); }
.inquiry input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  accent-color: var(--accent);
  margin-top: 2px;
}
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 4px;
  padding: 14px 16px;
  background: rgba(77,215,229,.04);
  border: 1px solid rgba(77,215,229,.12);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.consent code {
  background: rgba(77,215,229,.12);
  color: var(--accent);
  padding: 0 5px;
  border-radius: 3px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
}
.form-actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 26px;
}
.form-meta { color: var(--muted); font-size: 13.5px; margin: 0; }
.form-status {
  margin: 14px 0 0; font-size: 13.5px; color: var(--accent);
}
.form-foot {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--faint);
  line-height: 1.55;
  max-width: 70ch;
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .checkbox-grid { grid-template-columns: 1fr; gap: 4px; }
}

/* ------------- Chat widget ------------- */
.chat-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  background: var(--accent);
  color: #0A0E12;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(77,215,229,.55), 0 0 0 1px rgba(77,215,229,.4);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.chat-toggle:hover { background: #7BE6F0; transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(77,215,229,.6); }
.chat-toggle svg { width: 18px; height: 18px; }
.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: min(380px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 60px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  transform: translateY(20px) scale(.98);
  opacity: 0; pointer-events: none;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .2s ease;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.chat-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(77,215,229,.10), transparent);
  border-bottom: 1px solid var(--rule);
}
.chat-head strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  display: block;
}
.chat-head em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.chat-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 28px; height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s ease, border-color .15s ease;
}
.chat-close:hover { color: var(--ink); border-color: var(--accent); }
.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.chat-msg.bot { border-color: rgba(77,215,229,.25); background: rgba(77,215,229,.06); }
.chat-msg.user { background: var(--accent); color: #0A0E12; border-color: var(--accent); align-self: flex-end; max-width: 85%; }
.chat-form {
  border-top: 1px solid var(--rule);
  padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface-2);
}
.chat-form input[type="text"],
.chat-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 9px 12px;
  resize: none;
}
.chat-form input:focus,
.chat-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(77,215,229,.18);
}
.chat-form button {
  background: var(--accent);
  color: #0A0E12;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s ease;
}
.chat-form button:hover { background: #7BE6F0; }
@media (max-width: 480px) {
  .chat-panel { right: 8px; left: 8px; bottom: 8px; width: auto; }
}

/* ============================================================
   Multi-page additions: page-header, teaser, cta-strip,
   engagement cards, about-page, anchor-nav, link-arrow, service-cta
   ============================================================ */

/* Sub-page header band */
.page-header {
  padding-block: clamp(80px, 10vw, 130px) clamp(40px, 5vw, 70px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(900px 360px at 12% 0%, rgba(77,215,229,.08), transparent 60%),
    radial-gradient(800px 300px at 95% 10%, rgba(32,128,141,.08), transparent 60%),
    var(--bg);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 18ch;
}
.page-header .lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 28px;
}

/* In-page anchor nav (services page) */
.anchor-nav {
  display: inline-flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.anchor-nav a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.anchor-nav a:hover {
  color: var(--ink);
  border-color: rgba(77,215,229,.4);
  background: rgba(77,215,229,.06);
}

/* Home: about teaser strip */
.about-teaser {
  padding-block: clamp(70px, 9vw, 110px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}
.teaser-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.teaser-grid.in { opacity: 1; transform: none; }
.teaser-grid .lede { max-width: 56ch; font-size: 17px; color: var(--ink-2); margin: 16px 0 22px; line-height: 1.6; }
.teaser-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin: 0 0 6px;
  color: var(--ink);
}
.teaser-meta {
  display: grid; gap: 16px;
  margin: 0;
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.teaser-meta div { display: grid; gap: 4px; }
.teaser-meta dt {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.teaser-meta dd { margin: 0; color: var(--ink); font-size: 15.5px; }

/* Arrow link */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent);
  letter-spacing: .005em;
  transition: gap .2s ease, color .2s ease;
}
.link-arrow:hover { gap: 10px; color: #7BE6F0; }

/* Home: CTA strip */
.cta-strip {
  padding-block: clamp(70px, 9vw, 110px);
  background:
    radial-gradient(700px 280px at 90% 50%, rgba(77,215,229,.10), transparent 60%),
    radial-gradient(700px 280px at 10% 50%, rgba(255,197,83,.06), transparent 60%),
    var(--bg);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.cta-inner.in { opacity: 1; transform: none; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin: 6px 0 10px;
  color: var(--ink);
}
.cta-inner .lede { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; max-width: 52ch; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* Services: per-service CTA row */
.service-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* Services: engagement cards */
.engagement {
  padding-block: clamp(70px, 9vw, 110px);
  border-top: 1px solid var(--rule);
  background: var(--surface);
}
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.eng-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease, border-color .2s ease;
}
.eng-card.in { opacity: 1; transform: none; }
.eng-card:hover { border-color: rgba(77,215,229,.35); }
.eng-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.eng-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* About page */
.about-page { padding-block: clamp(60px, 7vw, 90px) clamp(40px, 5vw, 70px); }
.about-grid-2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.about-grid-2 .about-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 36px 0 12px;
}
.about-grid-2 .about-prose h2:first-child { margin-top: 0; }
.about-grid-2 .about-prose p {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 62ch;
}
.about-side { display: grid; gap: 18px; position: sticky; top: 96px; }
.bio-card, .entity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.bio-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 4px;
}
.bio-title {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.bio-card p { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.bio-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bio-list li {
  position: relative;
  padding-left: 18px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: .005em;
}
.bio-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--accent);
}
.entity-card .entity-label {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.entity-card p {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--ink-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .01em;
}
.entity-card p strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: .005em; }

/* ----- Responsive multi-page ----- */
@media (max-width: 900px) {
  .teaser-grid, .cta-inner, .about-grid-2 { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .engagement-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .page-header h1 { max-width: none; }
}
@media (max-width: 600px) {
  .anchor-nav { display: flex; flex-direction: column; align-items: stretch; }
  .anchor-nav a { text-align: center; }
}
