/* Digital architecture overrides and original CSS installation artwork. */
.site-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(660px, calc(90vh - 88px), 1600px);
  min-height: clamp(660px, calc(90svh - 88px), 1600px);
  padding: clamp(74px, 8vh, 112px) 0 88px;
  background:
    radial-gradient(ellipse at 68% 45%, rgba(108, 141, 255, .065), transparent 39%),
    radial-gradient(ellipse at 72% 65%, rgba(200, 255, 77, .08), transparent 36%),
    var(--bg-main);
}
.site-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(rgba(241,244,242,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(241,244,242,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
  pointer-events: none;
  content: "";
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(44px, 5.3vw, 84px);
}
.hero-copy { max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 31px; }
.hero-eyebrow,.technical-label,.visual-label,.visual-index,.architecture-annotation {
  font-family: var(--font-mono);
  letter-spacing: .09em;
}
.hero-eyebrow {
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 25px;
  color: var(--text-secondary);
  font-size: .64rem;
}
.hero-availability {
  color: var(--text-primary);
  font: 500 .65rem/1.4 var(--font-mono);
  letter-spacing: .08em;
}
.hero-availability i { width: 7px; height: 7px; }
.hero-eyebrow-divider { color: var(--accent-secondary); }
.hero-title {
  max-width: 780px;
  font-size: clamp(3.15rem, 7.15vw, 7rem);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.075em;
}
.hero-line { display: block; overflow: hidden; padding: 0 0 .055em; }
.hero-title em { color: var(--accent-primary); }
.hero-description {
  max-width: 565px;
  margin-top: 27px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
}
.hero-actions { gap: 15px; margin-top: 31px; }
.hero-footnote {
  justify-content: space-between;
  gap: 12px 22px;
  margin-top: 51px;
  border-color: var(--border-subtle);
  color: var(--text-muted);
  font-size: .61rem;
}
.technical-label { color: var(--text-secondary); font-size: .61rem; letter-spacing: .055em; }
.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  aspect-ratio: 1.04;
  overflow: visible;
  perspective: 1100px;
  transform-style: preserve-3d;
}
.scroll-cue {
  position: absolute;
  bottom: 27px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-secondary);
  font: 500 .59rem/1 var(--font-mono);
  letter-spacing: .12em;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-cue i { position: relative; width: 1px; height: 32px; overflow: hidden; background: var(--border-strong); }
.scroll-cue i::after { position: absolute; top: -100%; left: 0; width: 1px; height: 100%; background: var(--accent-primary); content: ""; animation: architectureScrollLine 1.6s ease-in-out infinite; }
@keyframes architectureScrollLine { to { transform: translateY(200%); } }
.architecture-halo {
  position: absolute;
  inset: 13% 8%;
  background: radial-gradient(ellipse, rgba(200,255,77,.105), rgba(108,141,255,.035) 34%, transparent 70%);
  filter: blur(22px);
}
.architecture-grid-plane {
  position: absolute;
  inset: 15% -5% 9%;
  transform: perspective(720px) rotateX(59deg) rotateZ(-27deg) scale(1.02);
  transform-style: preserve-3d;
  background-image: linear-gradient(rgba(200,255,77,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(200,255,77,.18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 76%, transparent);
  opacity: .45;
}
.architecture-frame {
  position: absolute;
  border: 1px solid rgba(241,244,242,.31);
  transform-style: preserve-3d;
  box-shadow: 0 0 45px rgba(200,255,77,.035), inset 0 0 30px rgba(200,255,77,.025);
}
.frame-outer {
  inset: 16% 15% 19% 20%;
  transform: rotateY(-27deg) rotateX(9deg) rotateZ(-13deg) translateZ(-20px);
  border-color: rgba(241,244,242,.24);
}
.frame-inner {
  inset: 22% 23% 26% 28%;
  transform: rotateY(-27deg) rotateX(9deg) rotateZ(-13deg) translateZ(18px);
  border-color: rgba(200,255,77,.69);
}
.frame-inner::before,.frame-outer::before {
  position: absolute;
  inset: 12% 13%;
  border: 1px solid rgba(108,141,255,.34);
  content: "";
  transform: translateZ(25px);
}
.architecture-pillar {
  position: absolute;
  z-index: 2;
  width: 15%;
  height: 39%;
  border: 1px solid rgba(241,244,242,.18);
  background: linear-gradient(90deg, rgba(32,43,54,.95), rgba(17,25,35,.93) 68%, rgba(200,255,77,.16));
  box-shadow: 17px 17px 35px rgba(0,0,0,.28);
  transform: skewY(-19deg) rotateY(-17deg);
}
.architecture-pillar::before {
  position: absolute;
  top: -17px;
  right: 8px;
  left: 8px;
  height: 17px;
  border: 1px solid rgba(200,255,77,.34);
  background: linear-gradient(110deg, #202b36, #293845);
  content: "";
  transform: skewX(-42deg);
  transform-origin: bottom;
}
.architecture-pillar::after {
  position: absolute;
  top: 7px;
  right: -24px;
  width: 24px;
  height: calc(100% - 7px);
  background: linear-gradient(180deg, rgba(108,141,255,.25), rgba(17,25,35,.93));
  clip-path: polygon(0 0,100% 8%,100% 100%,0 100%);
  content: "";
  transform: skewY(32deg);
  transform-origin: left top;
}
.pillar-left { top: 30%; left: 28%; height: 43%; }
.pillar-center { z-index: 3; top: 18%; left: 49%; width: 13%; height: 34%; opacity: .94; }
.pillar-right { top: 42%; left: 68%; width: 12%; height: 30%; opacity: .76; }
.architecture-pillar span {
  position: absolute;
  top: 18%;
  right: 20%;
  left: 20%;
  height: 1px;
  background: rgba(200,255,77,.72);
  box-shadow: 0 0 11px rgba(200,255,77,.6);
}
.architecture-bridge {
  position: absolute;
  z-index: 4;
  top: 32%;
  left: 27%;
  width: 48%;
  height: 10%;
  border: 1px solid rgba(200,255,77,.66);
  background: linear-gradient(90deg, rgba(200,255,77,.24), rgba(17,25,35,.94) 28%, rgba(32,43,54,.92));
  box-shadow: 0 0 26px rgba(200,255,77,.12);
  transform: skewY(-19deg) rotateY(-17deg);
}
.architecture-bridge span { position: absolute; inset: 50% 7% auto; height: 1px; background: rgba(241,244,242,.42); }
.architecture-platform {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(241,244,242,.2);
  background: linear-gradient(135deg, rgba(32,43,54,.82), rgba(17,25,35,.48));
  transform: perspective(550px) rotateX(59deg) rotateZ(-27deg);
}
.platform-main { inset: 37% 17% 21% 20%; box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.platform-low { inset: 56% 25% 13% 13%; border-color: rgba(108,141,255,.43); transform: perspective(550px) rotateX(59deg) rotateZ(-27deg) translateZ(-18px); }
.architecture-beam { position: absolute; z-index: 3; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-primary), transparent); opacity: .7; }
.beam-diagonal { top: 30%; left: 18%; width: 71%; transform: rotate(-28deg); }
.beam-cross { top: 61%; left: 20%; width: 63%; transform: rotate(24deg); background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent); opacity: .48; }
.architecture-node { position: absolute; z-index: 5; width: 7px; height: 7px; border: 1px solid var(--bg-main); border-radius: 50%; box-shadow: 0 0 16px currentColor; }
.node-lime { top: 29%; left: 74%; background: var(--accent-primary); color: var(--accent-primary); }
.node-blue { top: 65%; left: 25%; background: var(--accent-secondary); color: var(--accent-secondary); }
.visual-label { position: absolute; z-index: 6; top: 3%; right: 0; left: 0; display: flex; justify-content: space-between; color: var(--text-secondary); font-size: .58rem; }
.architecture-annotation { position: absolute; z-index: 6; display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: .55rem; }
.architecture-annotation i { display: block; width: 20px; height: 1px; background: var(--accent-primary); }
.annotation-left { bottom: 15%; left: 3%; }
.annotation-right { right: 3%; bottom: 28%; color: var(--accent-secondary); }
.annotation-right i { background: var(--accent-secondary); }
.visual-index { position: absolute; right: 3%; bottom: 4%; color: var(--text-muted); font-size: .59rem; }
.scroll-cue { color: var(--text-secondary); }
.scroll-cue i { background: var(--border-strong); }
.section-heading h2 em,.section-heading-row h2 em,.about-copy h2 em,.about-detail-copy h2 em,.faq-aside h2 em,.contact-details h2 em,.contact-home h2 em,.service-detail h2 em,.article-header h1 em,.error-inner h1 em { color: var(--accent-primary); }
.page-hero { background: var(--bg-main); }
.search-form input { border: 1px solid var(--border-strong); background: var(--bg-secondary); color: var(--text-primary); }
.search-form input[type=submit] { border-color: var(--accent-primary); background: var(--accent-primary); color: var(--bg-main); }
.contact-form input,.contact-form select,.contact-form textarea { border-color: var(--border-strong); background: rgba(241,244,242,.035); color: var(--text-primary); }
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus,.search-form input:focus { border-color: var(--accent-primary); background: var(--bg-secondary); color: var(--text-primary); }
.contact-form input::placeholder,.contact-form textarea::placeholder { color: var(--text-muted); }
.project-link:hover .project-image { transform: scale(1.04); }
.project-link:hover .project-image-wrap::after { border-color: var(--border-strong); }
.project-link:hover .project-role { color: var(--accent-primary); }
.project-open { transition: opacity var(--duration-normal), transform var(--duration-normal) var(--ease-premium), background var(--duration-normal); }
.project-link:hover .project-open,.project-link:focus-visible .project-open { transform: translate(6px,0); }
.service-item:hover .service-number,.service-item:hover .service-description,.service-item:hover .service-tag { color: var(--bg-main); }
.form-status { color: var(--text-primary); }

@media (max-width: 1100px) {
  .site-hero { min-height: auto; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 30px; }
  .hero-title { font-size: clamp(3.15rem, 6.6vw, 5.8rem); }
  .hero-visual { aspect-ratio: .94; }
}
@media (max-width: 900px) {
  .site-hero { min-height: auto; padding: 78px 0 102px; }
  .hero-layout { grid-template-columns: 1fr; gap: 30px; }
  .hero-title { max-width: 840px; font-size: clamp(4rem, 10vw, 7.2rem); }
  .hero-visual { width: min(680px, 100%); aspect-ratio: 1.2; margin: 12px auto 0; }
  .architecture-grid-plane { inset: 12% 3% 6%; opacity: .32; }
  .architecture-frame.frame-outer { inset: 14% 18% 18% 22%; }
  .architecture-frame.frame-inner { inset: 21% 27% 25% 31%; }
}
@media (max-width: 650px) {
  .site-hero { padding: 68px 0 91px; }
  .hero-eyebrow { gap: 7px; font-size: .55rem; }
  .hero-availability { font-size: .58rem; }
  .hero-title { font-size: clamp(3.25rem, 12vw, 5rem); line-height: .96; }
  .hero-description { margin-top: 20px; font-size: .98rem; }
  .hero-actions { align-items: flex-start; gap: 10px; }
  .hero-actions .button { min-height: 48px; padding-inline: 16px; font-size: .78rem; }
  .hero-footnote { margin-top: 36px; padding-top: 13px; }
  .hero-footnote .technical-label { font-size: .53rem; }
  .hero-visual { aspect-ratio: 1.03; margin-top: 0; }
  .architecture-grid-plane { background-size: 23px 23px; opacity: .24; }
  .architecture-frame.frame-outer { inset: 16% 13% 20% 18%; }
  .architecture-frame.frame-inner { inset: 25% 24% 29% 28%; }
  .pillar-left { left: 25%; }
  .pillar-center { left: 47%; }
  .pillar-right { left: 68%; }
  .architecture-annotation { font-size: .45rem; }
  .architecture-annotation i { width: 12px; }
  .visual-label { font-size: .47rem; }
  .annotation-left { left: 0; bottom: 11%; }
  .annotation-right { right: 0; bottom: 23%; }
  .visual-index { right: 1%; bottom: 1%; font-size: .5rem; }
  .architecture-beam { opacity: .4; }
  .node-blue { display: none; }
}
@media (max-width: 374px) {
  .hero-title { font-size: 3rem; }
  .hero-eyebrow { font-size: .49rem; }
  .hero-availability { font-size: .52rem; }
  .hero-actions .button { padding-inline: 13px; font-size: .73rem; }
  .hero-visual { aspect-ratio: .95; }
  .visual-label { font-size: .42rem; }
}
@media (min-width: 1440px) {
  .hero-layout { width: min(calc(100% - 2 * var(--page-padding)), var(--container-wide)); }
}
@media (min-width: 1920px) {
  .hero-layout { gap: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .architecture-halo { filter: none; }
}
