:root {
  --bg: #060607;
  --bg-2: #0d0d10;
  --panel: rgba(18, 18, 24, 0.72);
  --panel-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f5efe5;
  --text-soft: #cbc3b6;
  --text-dim: #908779;

  --gold: #c9a66a;
  --gold-2: #e2c88f;
  --gold-soft: rgba(201, 166, 106, 0.12);

  --green: #1d7c47;
  --amber: #a88206;
  --red: #8d1227;
  --blue: #17314b;

  --radius: 26px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --container: 1280px;
  --transition: 220ms ease;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at top right, rgba(201,166,106,0.06), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255,255,255,0.03), transparent 20%),
    linear-gradient(180deg, #030303 0%, #070708 55%, #040404 100%);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.diagram-image svg path{

stroke:#c9a66a;
fill:none;

}

.diagram-image{

filter:

drop-shadow(0 0 6px rgba(201,166,106,.6))
drop-shadow(0 0 24px rgba(201,166,106,.25));
}
img,
svg {
  max-width: 60%;
  display: block;
}
.diagram-image{

animation:diagramPulse 6s ease-in-out infinite;

}

@keyframes diagramPulse{

0%{
transform:scale(1);
opacity:.9;
}

50%{
transform:scale(1.015);
opacity:1;
}

100%{
transform:scale(1);
opacity:.9;
}

}
.diagram-image path{

stroke-dasharray:1200;
stroke-dashoffset:1200;

animation:drawline 4s ease forwards;

}

@keyframes drawline{

to{
stroke-dashoffset:0;
}

}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4dfb5, #c9a66a 60%, #6f5731 100%);
  box-shadow:
    0 0 0 8px rgba(201, 166, 106, 0.08),
    0 0 28px rgba(201, 166, 106, 0.18);
}

.brand-text {
  display: grid;
  gap: 0.08rem;
}

.brand-text strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(201,166,106,0.24);
  background: rgba(255,255,255,0.03);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 999px;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 8% auto 8% auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 1rem, 1180px);
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.012)),
    linear-gradient(135deg, rgba(201,166,106,0.03), transparent 36%);
  box-shadow: var(--shadow);
  z-index: -2;
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.008)),
    linear-gradient(180deg, #090909, #050505);
}

.hero-home::before,
.end-banner-section::before {
  display: none;
}

.hero-home {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  right: 8%;
  top: 12%;
  width: min(42vw, 540px);
  height: min(42vw, 540px);
  border-radius: 28px;
  opacity: 0.25;
  transform: rotate(14deg);
  background:
    linear-gradient(90deg, transparent, rgba(201,166,106,0.18), transparent),
    linear-gradient(180deg, transparent, rgba(255,255,255,0.06), transparent);
  mask-image:
    repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 52px),
    repeating-linear-gradient(180deg, #000 0 1px, transparent 1px 52px);
  mask-composite: intersect;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}

.hero-orb-a {
  width: 760px;
  height: 760px;
  left: -500px;
  bottom: -440px;
}

.hero-orb-b {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -110px;
  border-color: rgba(201,166,106,0.08);
}

.hero-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-photo{
  position:absolute;
  top:120px;
  right:8%;
  z-index:10;
}

.hero-profile{
  width:512px;
  height:512px;
  border-radius:24px;
  object-fit: cover;
  filter: brightness(5) contrast(1.5;

  border:1px solid rgba(255,255,255,0.15);

  box-shadow:
  0 0 40px rgba(201,166,106,0.25),
  0 20px 60px rgba(0,0,0,0.8);
}

.photo-shell {
  width: min(100%, 300px);
  padding: 0.8rem;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02);
  box-shadow: var(--shadow);
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  filter: brightness(1.08) saturate(0.94) contrast(1.02);
  background: #0f0f12;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-copy h1,
.section-intro h2,
.contact-copy h2,
.end-banner-overlay h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6.6vw, 6rem);
}

.hero-lead {
  margin: 1.45rem 0 0;
  max-width: 42rem;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-support {
  margin: 1.15rem 0 0;
  max-width: 38rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2.1rem;
}

.section-intro h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 44rem;
  color: var(--text-soft);
}

.ladder-step.step-left .container {
  transform: translateX(-4%);
}

.ladder-step.step-right .container {
  transform: translateX(4%);
}

.content-card,
.fact-card,
.detail-card,
.diagram-media,
.dashboard-shell,
.service-card,
.contact-wrap {
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.016);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.about-grid,
.diagram-showcase,
.dashboard-stage,
.contact-wrap {
  display: grid;
  gap: 1rem;
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.content-card,
.fact-card,
.detail-card,
.diagram-media,
.dashboard-shell {
  padding: 1.35rem;
}

.content-card p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.content-card p:last-child {
  margin-bottom: 0;
}

.meta-label,
.detail-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--text-dim);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.meta-list,
.detail-card ul,
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-list li,
.detail-card li,
.detail-list li {
  position: relative;
  padding-left: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--text-soft);
}

.meta-list li::before,
.detail-card li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.diagram-showcase {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.diagram-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.diagram-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.detail-card h3,
.service-card h3,
.side-head h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.detail-card p,
.service-card p,
.side-head p,
.status-meta {
  color: var(--text-soft);
}

.detail-card p {
  margin: 0 0 1rem;
}

.dashboard-shell {
  padding: 1rem;
}

.dashboard-stage {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
  margin-bottom: 1rem;
}

.dashboard-visual,
.dashboard-side {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(18,18,24,0.78);
  border: 1px solid rgba(255,255,255,0.08);
}

.dashboard-visual {
  min-height: 640px;
}

.dashboard-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
}

.dashboard-hotspots {
  position: absolute;
  inset: 0;
}

.hotspot {
  position: absolute;
  width: 14%;
  height: 14%;
  border-radius: 50%;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hotspot:hover,
.hotspot:focus-visible,
.hotspot.active {
  transform: scale(1.06);
  border-color: rgba(255,255,255,0.8);
  box-shadow:
    0 0 0 10px rgba(201,166,106,0.12),
    0 0 26px rgba(201,166,106,0.24);
}

.hotspot-gate { top: 17%; left: 58%; }
.hotspot-warehouse { top: 36%; left: 74%; }
.hotspot-cold { top: 61%; left: 72%; }
.hotspot-bays { top: 74%; left: 47%; }
.hotspot-dispatch { top: 74%; left: 21%; }
.hotspot-security { top: 58%; left: 7%; }
.hotspot-systems { top: 34%; left: 8%; }
.hotspot-incidents { top: 15%; left: 23%; }

.dashboard-side {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.side-head p {
  margin: 0.55rem 0 0;
}

.side-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-stable {
  background: rgba(60,140,80,0.26);
  color: #a5e7bf;
  border: 1px solid rgba(100,220,140,0.35);
}

.status-watch {
  background: rgba(140,100,40,0.28);
  color: #ffe09a;
  border: 1px solid rgba(255,160,60,0.34);
}

.status-investigate {
  background: rgba(160,60,60,0.28);
  color: #ff9b9b;
  border: 1px solid rgba(255,100,100,0.35);
}

.status-attention {
  background: rgba(180,120,50,0.28);
  color: #ffd08d;
  border: 1px solid rgba(255,180,80,0.4);
}

.detail-panel {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(16,16,22,0.8);
  border: 1px solid rgba(201,166,106,0.16);
}

.camera-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.camera-feed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(201,166,106,0.18);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}

.camera-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06), transparent 26%),
    linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}

.camera-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.01) 1px, transparent 2px);
  animation: scanline 8s linear infinite;
  opacity: 0.65;
}

.camera-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(201,166,106,0.08), transparent 70%);
  opacity: 0.8;
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.logistics-a {
  background:
    linear-gradient(180deg, rgba(17,39,56,0.35), transparent),
    linear-gradient(135deg, #121722 0%, #1f2733 100%);
}

.logistics-b {
  background:
    linear-gradient(180deg, rgba(81,60,12,0.28), transparent),
    linear-gradient(135deg, #14161f 0%, #2a2414 100%);
}

.cold-a,
.cold-b {
  background:
    linear-gradient(180deg, rgba(18,41,66,0.35), transparent),
    linear-gradient(135deg, #121822 0%, #182d3f 100%);
}

.guest-a,
.guest-b {
  background:
    linear-gradient(180deg, rgba(24,42,28,0.28), transparent),
    linear-gradient(135deg, #13151a 0%, #23242d 100%);
}

.sec-a,
.sec-b {
  background:
    linear-gradient(180deg, rgba(36,36,48,0.28), transparent),
    linear-gradient(135deg, #15161c 0%, #202733 100%);
}

.inc-a,
.inc-b {
  background:
    linear-gradient(180deg, rgba(82,20,28,0.28), transparent),
    linear-gradient(135deg, #151118 0%, #2a1820 100%);
}

.camera-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: rgba(0,0,0,0.7);
  color: var(--gold-2);
  font-size: 0.82rem;
  border: 1px solid rgba(201,166,106,0.28);
}

.live-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 0 14px rgba(220,60,60,0.56);
  animation: blink 2.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.68; }
}

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.domain-chip {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.domain-chip:hover,
.domain-chip:focus-visible,
.domain-chip.active {
  border-color: rgba(201,166,106,0.28);
  background: rgba(201,166,106,0.1);
  color: var(--text);
}

.dashboard-table-wrap {
  overflow-x: auto;
}

.drill-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.85rem;
}

.drill-table th,
.drill-table td {
  padding: 1rem 1.15rem;
  text-align: left;
}

.drill-table th {
  color: var(--gold-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.drill-table td {
  background: rgba(255,255,255,0.035);
  color: var(--text);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background var(--transition);
}

.drill-table tr:hover td,
.drill-table tr.active td {
  background: rgba(201,166,106,0.08);
}

.drill-table tr td:first-child {
  border-left: 1px solid rgba(255,255,255,0.06);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.drill-table tr td:last-child {
  border-right: 1px solid rgba(255,255,255,0.06);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.progress-cell {
  min-width: 180px;
}

.progress-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(45,45,55,0.65);
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4af37, #f7e7ce);
}

.status-badge {
  display: inline-block;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-stable { background: rgba(60,140,80,0.26); color: #a5e7bf; border: 1px solid rgba(100,220,140,0.35); }
.badge-attention { background: rgba(180,120,50,0.28); color: #ffd08d; border: 1px solid rgba(255,180,80,0.4); }
.badge-investigate { background: rgba(160,60,60,0.28); color: #ff9b9b; border: 1px solid rgba(255,100,100,0.35); }
.badge-watch { background: rgba(140,100,40,0.28); color: #ffe09a; border: 1px solid rgba(255,160,60,0.34); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  padding: 1.2rem;
}

.service-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
}

.contact-wrap {
  grid-template-columns: 1fr 440px;
  padding: 1.5rem;
}

.contact-copy h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 1rem;
}

.contact-copy > p {
  max-width: 38rem;
  margin-bottom: 1.3rem;
  color: var(--text-soft);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.contact-meta strong,
.contact-meta a {
  display: block;
  color: var(--text);
  font-weight: 600;
}

.contact-meta a:hover,
.contact-meta a:focus-visible {
  color: var(--gold-2);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.42rem;
}

.form-row label {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.96rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #8b8175;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(201,166,106,0.35);
  box-shadow: 0 0 0 4px rgba(201,166,106,0.08);
  background: rgba(255,255,255,0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.92rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0b0906;
  background: linear-gradient(135deg, #ead7ac, #c8a66a 55%, #ab7f43 100%);
  box-shadow: 0 14px 34px rgba(201,166,106,0.18);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.12);
}

.btn-full {
  width: 100%;
}

/* Image pinned to right */
.end-banner-image {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 75%;
  object-fit: contain;
  object-position: right bottom;
  filter: brightness(0.94) contrast(1.03);
}

/* Text overlay */
.end-banner-overlay {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.end-banner-overlay h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.end-banner-overlay p {
  margin: 1rem 0 1.35rem;
  color: var(--text-soft);
}

.end-banner-overlay p {
  margin: 1rem 0 1.35rem;
  color: var(--text-soft);
}

.site-footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  display: grid;
  gap: 0.18rem;
}

.footer-brand strong {
  letter-spacing: -0.02em;
}

.footer-brand span,
.footer-copy {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-2);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }

@media (max-width: 1180px) {
  .hero-layout,
  .about-grid,
  .diagram-showcase,
  .dashboard-stage,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ladder-step.step-left .container,
  .ladder-step.step-right .container {
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.3rem;
    padding: 0.75rem;
    background: rgba(10, 10, 10, 0.97);
    border: 2px solid;
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    padding: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255,255,255,0.04);
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-layout {
    gap: 1.5rem;
  }

  .hero-photo {
    justify-content: center;
  }

  .photo-shell {
    width: min(100%, 280px);
  }

  .camera-feed-grid,
  .contact-meta,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-visual {
    min-height: 480px;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .brand-text strong,
  .brand-text small {
    white-space: normal;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
  }

  .drill-table {
    min-width: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}