﻿/* =============================================================
   Dream & Shovel Technologies â€” single-page website styles
   Design tokens, layout, components, responsive behaviour.
   ============================================================= */

:root {
  color-scheme: dark;
  --bg: #080C0A;
  --surface: #111C17;
  --surface-soft: #0D1712;
  --accent: #00E878;
  --accent-bright: #3CFF9A;
  --text: #E5F5EC;
  --text-body: #B7CABF;
  --muted: #879B91;
  --muted-dim: #77907F;
  --line: rgba(229, 245, 236, 0.09);
  --line-strong: rgba(229, 245, 236, 0.16);
  --accent-line: rgba(0, 232, 120, 0.34);
  --logo-light: #E5F5EC;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 78px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 540px at 88% -12%, rgba(0, 232, 120, 0.075), transparent 62%),
    radial-gradient(760px 620px at -12% 34%, rgba(0, 232, 120, 0.035), transparent 64%);
}

::selection {
  background: rgba(0, 232, 120, 0.28);
  color: var(--text);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

address {
  font-style: normal;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus,
main:focus-visible {
  outline: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--accent);
  color: #04130B;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 3px;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--text);
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #9CB2A6;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-index {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 19px;
  padding: 0 6px;
  border: 1px solid rgba(0, 232, 120, 0.32);
  border-radius: 2px;
  color: var(--accent);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 232, 120, 0.12);
}

.text-accent,
.hero-accent {
  color: var(--accent);
}

.section {
  position: relative;
  padding-block: clamp(78px, 8.6vw, 128px);
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  margin-top: 24px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 56px;
  margin-bottom: clamp(48px, 5.4vw, 72px);
}

.section-head > div {
  max-width: 760px;
}

.section-lede {
  max-width: 380px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.section-note {
  margin-top: 32px;
  color: var(--muted-dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.24s var(--ease),
    border-color 0.24s var(--ease),
    color 0.24s var(--ease),
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.btn-arrow {
  display: inline-block;
  font-size: 1.15em;
  line-height: 0.8;
  transition: transform 0.24s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #04130B;
}

.btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  box-shadow: 0 10px 34px rgba(0, 232, 120, 0.22);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(229, 245, 236, 0.38);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(0, 232, 120, 0.55);
  background: rgba(0, 232, 120, 0.05);
  color: var(--text);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.nav-cta {
  border-color: rgba(0, 232, 120, 0.55);
  color: var(--text);
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(0, 232, 120, 0.07);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: none;
}


/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(8, 12, 10, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  border-radius: 2px;
}

.brand-mark {
  width: 48px;
  height: 42px;
  flex-shrink: 0;
}

.brand-words {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  color: var(--text);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name .amp {
  color: var(--accent);
}

.brand-sub {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.4em;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 7px 0;
  color: #B4C7BC;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.nav-list a:hover {
  color: var(--text);
}

.nav-list a:hover::after {
  transform: scaleX(0.45);
}

.nav-list a[aria-current="location"] {
  color: var(--accent);
}

.nav-list a[aria-current="location"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(229, 245, 236, 0.38);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: rgba(0, 232, 120, 0.5);
}

.nav-toggle-box {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.26s var(--ease),
    opacity 0.2s var(--ease),
    top 0.26s var(--ease);
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6.25px; }
.nav-toggle-box span:nth-child(3) { top: 12.5px; }

.site-header.nav-open .nav-toggle-box span:nth-child(1) {
  top: 6.25px;
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-box span:nth-child(3) {
  top: 6.25px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  background: rgba(4, 8, 6, 0.62);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-backdrop[hidden] {
  display: none;
}

html.nav-locked {
  overflow: hidden;
}


/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(36px, 5.2vw, 76px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 232, 120, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 232, 120, 0.032) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.9rem, 5.6vw, 5.1rem);
  line-height: 1.01;
  letter-spacing: -0.04em;
}

.hero-lede {
  max-width: 560px;
  margin-top: 28px;
  color: #AFC3B7;
  font-size: clamp(16.5px, 1.3vw, 18.5px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 660px;
}

.hero-art {
  width: 100%;
  height: auto;
  overflow: visible;
}

.art-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.art-plate-label {
  fill: #D9E9E0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.art-plate-sub {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.art-orbit {
  transform-origin: 380px 300px;
}

.art-plate {
  transform-box: fill-box;
  transform-origin: center;
}

.art-flow {
  animation: flow 7s linear infinite;
}

.art-flow-2 { animation-delay: -2.3s; }
.art-flow-3 { animation-delay: -4.6s; }

@keyframes flow {
  to { stroke-dashoffset: -60; }
}

@media (prefers-reduced-motion: no-preference) {
  .art-orbit {
    animation: orbit 80s linear infinite;
  }

  .plate-a { animation: drift 10s ease-in-out infinite alternate; }
  .plate-b { animation: drift 12s ease-in-out -4s infinite alternate-reverse; }
  .plate-c { animation: drift 11s ease-in-out -7s infinite alternate; }

  .core-glow {
    animation: core-pulse 8s ease-in-out infinite;
  }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

@keyframes core-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 78px);
  border-top: 1px solid var(--line);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 24px 32px 28px 0;
}

.hero-meta-item + .hero-meta-item {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.meta-label {
  color: var(--muted-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.meta-value {
  color: #C9DBD1;
  font-size: 14.5px;
  line-height: 1.5;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.about-copy h2 {
  max-width: 620px;
}

.prose {
  max-width: 640px;
  margin-top: 32px;
  color: var(--text-body);
  font-size: 16.5px;
  line-height: 1.78;
}

.prose p + p {
  margin-top: 20px;
}

.about-fact {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 232, 120, 0.13);
}

.principles {
  padding-left: clamp(24px, 3vw, 42px);
  border-left: 1px solid var(--line);
}

.principles-title {
  color: var(--muted-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.principles-list {
  margin-top: 10px;
}

.principles-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.principles-list li:first-child {
  border-top: 0;
}

.principle-index {
  padding-top: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.principles-list h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.principles-list p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Services ---------- */

.services {
  background:
    linear-gradient(180deg, rgba(17, 28, 23, 0.55), rgba(8, 12, 10, 0) 46%);
}

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

.service {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding: 32px 36px 32px 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.25s var(--ease);
}

.service::after {
  content: attr(data-index);
  position: absolute;
  top: 36px;
  right: 0;
  color: var(--muted-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--accent);
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service:hover .service-icon {
  border-color: var(--accent-line);
  background: rgba(0, 232, 120, 0.05);
  box-shadow: 0 0 24px rgba(0, 232, 120, 0.08);
}

.service h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.service p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- Engagement ---------- */

.engagement-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: linear-gradient(135deg, #101B16 0%, #0A120E 100%);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
}

.engagement-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.75;
}

.engagement-item {
  position: relative;
  padding: clamp(30px, 3.4vw, 44px) clamp(24px, 3vw, 38px) clamp(34px, 3.6vw, 46px);
}

.engagement-item + .engagement-item {
  border-left: 1px solid var(--line);
}

.eng-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eng-tag span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent-line);
  border-radius: 2px;
  color: var(--accent);
  font-size: 9px;
}

.engagement-item h3 {
  margin-top: 22px;
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.engagement-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.68;
}

/* ---------- Process ---------- */

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(52px, 5.6vw, 76px);
}

.process-track li {
  position: relative;
  padding: 34px 26px 0 0;
  border-top: 1px solid var(--line-strong);
}

.process-track li::before {
  content: "";
  position: absolute;
  top: -4.5px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(8, 12, 10, 0.95);
}

.process-track li:last-child {
  border-top-color: rgba(0, 232, 120, 0.42);
}

.process-track li:last-child::before {
  background: var(--accent);
}

.process-num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.process-track h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.process-track p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(760px 480px at 12% 18%, rgba(0, 232, 120, 0.055), transparent 62%),
    linear-gradient(180deg, rgba(17, 28, 23, 0.4), rgba(8, 12, 10, 0));
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}

.contact h2 {
  max-width: 560px;
}

.contact-lede {
  max-width: 540px;
  margin-top: 26px;
  color: var(--text-body);
  font-size: 16.5px;
  line-height: 1.75;
}

.contact-channel {
  margin-top: 36px;
}

.contact-email {
  margin: 0;
  max-width: 520px;
}

.contact-email-label {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-email-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 15px;
}

.contact-email-note {
  max-width: 420px;
  margin-top: 13px;
  color: var(--muted-dim);
  font-size: 12.5px;
  line-height: 1.65;
}


.contact-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 42px);
  background: linear-gradient(160deg, #0E1914 0%, #0A120E 100%);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  overflow: hidden;
}

.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.contact-card::before {
  top: 10px;
  left: 10px;
  border-top: 1px solid var(--accent-line);
  border-left: 1px solid var(--accent-line);
}

.contact-card::after {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
}

.contact-card-title {
  color: var(--muted-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.company-details {
  margin: 8px 0 0;
}

.company-details div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.company-details div:first-child {
  border-top: 0;
}

.company-details dt {
  color: var(--muted-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.company-details dd {
  margin: 0;
  color: #D3E4D9;
  font-size: 14.5px;
  line-height: 1.6;
}

.contact-card-mark {
  position: absolute;
  top: 26px;
  right: 28px;
  opacity: 0.4;
}

.contact-card-mark img {
  width: 58px;
  height: auto;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: clamp(52px, 6vw, 76px) 0 36px;
  background: #070A08;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  width: 250px;
  height: auto;
}

.footer-slogan {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.01em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 28px;
  max-width: 460px;
  padding-top: 12px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-nav .back-top {
  color: var(--text);
}

.footer-nav .back-top span {
  color: var(--accent);
  margin-left: 2px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding-top: 30px;
}

.footer-legal-block {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.footer-legal-block address {
  max-width: 520px;
}

.footer-entity {
  margin-bottom: 2px;
  color: #C9DBD1;
  font-size: 13px;
  font-weight: 600;
}

.footer-copyright {
  max-width: 380px;
  color: var(--muted-dim);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

/* ---------- Reveal (JS only) ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .site-nav {
    gap: 24px;
  }

  .nav-list {
    gap: 22px;
  }
}

@media (max-width: 1079px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    justify-self: center;
    max-width: 560px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 7.6vw, 4.6rem);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .principles {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .section-lede {
    max-width: 640px;
    padding-bottom: 0;
  }

  .process-track {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .process-track li {
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    padding: 0 0 30px 30px;
  }

  .process-track li:last-child {
    border-left-color: rgba(0, 232, 120, 0.42);
  }

  .process-track li::before {
    top: 6px;
    left: -4.5px;
  }

  .process-track li:first-child {
    padding-top: 4px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
  }

  html.js .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 95;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--header-h));
    padding: 8px var(--gutter) 32px;
    overflow-y: auto;
    background: rgba(9, 15, 12, 0.98);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list a[aria-current="location"] {
    color: var(--accent);
  }

  .nav-cta {
    margin-top: 26px;
    min-height: 50px;
    font-size: 15px;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 14px;
  }

  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .nav-toggle {
    display: none;
  }

  html:not(.js) .site-nav {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 10px;
  }

  html:not(.js) .nav-list {
    flex-direction: column;
    gap: 0;
  }

  html:not(.js) .nav-list a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  html:not(.js) .nav-cta {
    margin-top: 16px;
  }
}

@media (max-width: 900px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta-item {
    padding: 18px 0;
  }

  .hero-meta-item + .hero-meta-item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service {
    padding-right: 32px;
  }

  .engagement-panel {
    grid-template-columns: 1fr;
  }

  .engagement-item + .engagement-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11.4vw, 3.4rem);
    margin-top: 20px;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 28px;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding-block: 66px;
  }

  .section h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .brand-mark {
    width: 42px;
    height: 37px;
  }

  .brand-name {
    font-size: 13.5px;
    letter-spacing: 0.075em;
  }

  .brand-sub {
    font-size: 7.5px;
    letter-spacing: 0.3em;
  }

  .service {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 26px 26px 0;
  }

  .service::after {
    top: 30px;
  }

  .service-icon {
    width: 42px;
    height: 42px;
  }

  .service h3 {
    font-size: 17.5px;
  }

  .process-track {
    margin-top: 40px;
  }

  .process-track li {
    padding: 0 0 30px 24px;
  }

  .process-track li:last-child {
    padding-bottom: 0;
  }


  .process-num {
    display: block;
    line-height: 1;
  }

  .process-track h3 {
    margin-top: 8px;
  }

  .company-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-card-mark {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 26px;
  }

  .footer-nav {
    justify-content: flex-start;
    padding-top: 0;
    gap: 8px 22px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-copyright {
    max-width: none;
    text-align: left;
  }

  .footer-brand img {
    width: 220px;
  }
}

@media (max-width: 360px) {
  .brand {
    gap: 9px;
  }

  .brand-name {
    font-size: 12.5px;
  }

  .brand-sub {
    letter-spacing: 0.24em;
  }

  .brand-mark {
    width: 38px;
    height: 33px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print ---------- */

@media print {
  body::before,
  .site-header,
  .nav-backdrop,
  .hero-visual {
    display: none !important;
  }

  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  body {
    background: #fff;
    color: #1a1a1a;
  }

  .section {
    border-color: #ccc;
    padding-block: 24px;
  }

  h1, h2, h3 {
    color: #111;
  }
}

