:root {
  --paper: #f2f4f7;
  --paper-2: #e8ecf2;
  --ink: #101315;
  --ink-2: #171b1e;
  --muted: #5c6570;
  --line: #c5cdd8;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --blue-soft: #b5d7ff;
  --blue-glow: rgba(37, 99, 235, 0.12);
  --white: #f9fafb;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--blue-soft);
  color: var(--ink);
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, var(--blue-glow), transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.section-pad { padding: 120px clamp(24px, 5vw, 76px); }

/* Header */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 62px);
  border-bottom: 1px solid rgba(16, 19, 21, 0.12);
  background: rgba(242, 244, 247, 0.88);
  backdrop-filter: blur(14px);
  transition: 0.25s;
}

.site-header.scrolled {
  height: 66px;
  background: rgba(242, 244, 247, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img { height: 28px; width: auto; }

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  transition: transform 0.3s;
}

.brand:hover .brand-mark { transform: rotate(90deg); }

.brand-mark i { display: block; background: currentColor; }
.brand-mark i:last-child { background: var(--primary); }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
}

.nav > a:not(.nav-cta) { position: relative; }

.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s;
}

.nav > a:hover::after,
.nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 14px 18px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-cta:hover { background: var(--primary-dark); }
.nav-cta span { transition: 0.2s; }
.nav-cta:hover span { transform: translate(3px, -3px); }

.menu-button {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px;
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 150px clamp(24px, 5vw, 76px) 52px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: 4vw;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 78px 0 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(16, 19, 21, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 21, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0, rgba(0, 0, 0, 0.5) 70%, transparent);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 48%, rgba(37, 99, 235, 0.08) 48% 52%, transparent 52%);
}

.hero-signal {
  position: absolute;
  left: 0;
  bottom: 12%;
  width: 65%;
  height: 320px;
  opacity: 0.22;
  pointer-events: none;
}

.hero-signal svg { width: 100%; height: 100%; overflow: visible; }

.signal-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.3;
  stroke-dasharray: 10 9;
  animation: dash 18s linear infinite;
}

.signal-line-b { opacity: 0.45; animation-direction: reverse; }

.hero-signal circle {
  fill: var(--primary);
  stroke: var(--ink);
  stroke-width: 2;
}

@keyframes dash { to { stroke-dashoffset: -380; } }

.hero-copy, .hero-panel { position: relative; z-index: 2; }

.eyebrow {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 28px;
}

.eyebrow span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
}

.eyebrow.light { color: rgba(249, 250, 251, 0.72); }

.hero h1 {
  font-size: clamp(52px, 6.5vw, 108px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin: 0 0 40px;
  max-width: 960px;
  font-weight: 600;
}

.hero h1 span {
  -webkit-text-stroke: 1.4px var(--ink);
  color: transparent;
}

.hero-lede {
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
  max-width: 620px;
  color: var(--muted);
  margin: 0 0 42px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 46px;
  padding: 18px 20px;
  border: 1px solid transparent;
  font: 600 13px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: 0.2s;
}

.button span { transition: 0.2s; }
.button:hover span { transform: translate(4px, -4px); }

.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #252b2e; }

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

.button-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.button-light:hover {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
}

.text-link {
  font: 500 13px var(--mono);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 7px;
}

.text-link span { margin-left: 10px; }

.hero-panel {
  height: 520px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid #333a3e;
  box-shadow: 26px 26px 0 rgba(37, 99, 235, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.panel-topline {
  font: 500 10px var(--mono);
  display: flex;
  justify-content: space-between;
  color: #aab0ad;
  border-bottom: 1px solid #343a3d;
  padding-bottom: 18px;
}

.live-dot { color: var(--blue-soft); }

.live-dot::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--primary);
  margin-right: 8px;
  animation: pulse 1.8s infinite;
}

@keyframes pulse { 50% { opacity: 0.3; } }

.capability-map {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border: 1px solid var(--primary);
  background: #181d1f;
  display: grid;
  place-items: center;
  align-content: center;
  z-index: 4;
  box-shadow: 0 0 0 12px rgba(37, 99, 235, 0.08);
}

.map-core span { font-size: 28px; font-weight: 700; }
.map-core small { font: 9px var(--mono); color: var(--blue-soft); letter-spacing: 0.15em; }

.map-node {
  position: absolute;
  font: 500 9px/1.4 var(--mono);
  color: #c7cdca;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  z-index: 3;
}

.map-node i {
  width: 9px;
  height: 9px;
  background: #495254;
  border: 1px solid #8c9696;
}

.map-node i.active { background: var(--primary); border-color: var(--blue-soft); }

.node-a { top: 18%; left: 9%; }
.node-b { top: 16%; right: 10%; }
.node-c { bottom: 17%; left: 9%; }
.node-d { bottom: 16%; right: 8%; }

.map-line {
  position: absolute;
  height: 1px;
  background: #516063;
  transform-origin: left center;
  z-index: 1;
}

.line-a { width: 31%; left: 21%; top: 26%; transform: rotate(31deg); }
.line-b { width: 31%; left: 52%; top: 51%; transform: rotate(-32deg); }
.line-c { width: 32%; left: 21%; bottom: 27%; transform: rotate(-31deg); }
.line-d { width: 31%; left: 52%; bottom: 49%; transform: rotate(32deg); }

.panel-readout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #343a3d;
  padding-top: 16px;
  gap: 16px;
}

.panel-readout div { display: grid; gap: 5px; }
.panel-readout span { font: 9px var(--mono); color: #697273; }
.panel-readout strong { font: 500 9px/1.3 var(--mono); }

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 16px 24px;
  font: 500 9px var(--mono);
  letter-spacing: 0.08em;
  background: rgba(242, 244, 247, 0.75);
  z-index: 3;
}

/* Intro strip */
.intro-strip {
  display: grid;
  grid-template-columns: 190px 1fr 100px;
  gap: 30px;
  align-items: start;
  padding: 76px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.strip-label, .strip-index {
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
}

.strip-index { text-align: right; color: var(--muted); }

.strip-copy {
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 1100px;
}

/* Section headings */
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading h2,
.work-title h2,
.about-copy h2,
.contact h2,
.packages-hero h1 {
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
  font-weight: 600;
}

.section-heading > p,
.work-title > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 5px;
}

/* Services */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.services-column {
  background: var(--white);
  padding: 36px;
}

.services-column-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.services-column-header h3 {
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.services-column-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.services-column.business { background: var(--white); }

.services-column.residential {
  background: linear-gradient(160deg, var(--ink) 0%, #1a2332 100%);
  color: var(--white);
}

.services-column.residential .services-column-header {
  border-color: #3a4248;
}

.services-column.residential .services-column-header p { color: #a5adab; }

.biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.biz-card {
  background: var(--paper);
  padding: 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.biz-card:hover { background: var(--blue-soft); }

.biz-card h4 {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.biz-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.home-feature {
  padding: 8px 0;
}

.home-feature h4 {
  font-size: 32px;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.home-feature p {
  font-size: 16px;
  line-height: 1.65;
  color: #b5bdba;
  margin: 0 0 24px;
  max-width: 480px;
}

.home-feature ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-feature li {
  font: 500 9px var(--mono);
  border: 1px solid #3f4748;
  padding: 8px 10px;
  color: #cbd0ce;
}

.home-feature a {
  font: 600 11px var(--mono);
  display: inline-flex;
  gap: 20px;
  border-top: 1px solid #3f4748;
  padding-top: 18px;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.home-visual {
  margin-top: 32px;
  height: 220px;
  border: 1px solid #3a4248;
  background:
    linear-gradient(rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.05)),
    url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=800&q=80") center/cover;
  position: relative;
  overflow: hidden;
}

.home-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Packages teaser */
.packages-teaser { background: var(--paper-2); }

.package-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.package-card {
  background: var(--white);
  padding: 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.package-card:hover { background: var(--blue-soft); }

.package-card.featured {
  background: var(--primary);
  color: var(--white);
}

.package-card.featured p { color: rgba(255, 255, 255, 0.85); }
.package-card.featured .package-tag { border-color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.9); }

.package-tag {
  font: 600 9px var(--mono);
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  padding: 8px 10px;
  display: inline-block;
  margin-bottom: 24px;
  width: fit-content;
}

.package-card h3 {
  font-size: 26px;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.package-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.package-card a {
  font: 600 11px var(--mono);
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-transform: uppercase;
}

.package-card.featured a { border-color: rgba(255, 255, 255, 0.35); }

.packages-cta {
  margin-top: 40px;
  text-align: center;
}

/* Work */
.work {
  background: var(--ink);
  color: var(--white);
  padding-bottom: 120px;
}

.work-title { padding-bottom: 75px; }
.work-title > p { color: #a5adab; }

.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #363d3f;
  border-top: 1px solid #363d3f;
  border-bottom: 1px solid #363d3f;
}

.project {
  background: var(--ink);
  display: block;
  overflow: hidden;
}

.project-wide { grid-column: 1 / -1; }

.project-image {
  height: 440px;
  background-image: linear-gradient(rgba(14, 16, 17, 0.08), rgba(14, 16, 17, 0.12)), var(--bg);
  background-size: cover;
  background-position: center;
  filter: saturate(0.65);
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1), filter 0.5s;
}

.project-wide .project-image { height: 520px; }

.project:hover .project-image {
  transform: scale(1.025);
  filter: saturate(1);
}

.project-meta {
  min-height: 128px;
  padding: 24px clamp(24px, 4vw, 52px);
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  border-top: 1px solid #363d3f;
}

.project-index { font: 500 10px var(--mono); color: #7a8584; }

.project h3 {
  font-size: 27px;
  margin: 0 0 5px;
  letter-spacing: -0.02em;
}

.project p {
  margin: 0;
  color: #909a98;
  font: 400 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-arrow { font-size: 23px; transition: 0.2s; }

.project:hover .project-arrow {
  transform: translate(5px, -5px);
  color: var(--blue-soft);
}

/* Process */
.process { background: var(--paper); }

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-step {
  background: var(--paper);
  min-height: 360px;
  padding: 28px;
  position: relative;
}

.step-num { font: 600 11px var(--mono); color: var(--primary); }

.step-line {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 22px 0 120px;
  position: relative;
}

.step-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  background: var(--primary);
}

.process-step h3 { font-size: 25px; margin: 0 0 14px; }

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

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  background: var(--ink);
  color: var(--white);
}

.about-photo {
  min-height: 600px;
  background:
    linear-gradient(rgba(11, 13, 14, 0.15), rgba(11, 13, 14, 0.25)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1600&q=88") center/cover;
  filter: grayscale(0.2);
}

.about-copy {
  padding: 100px clamp(28px, 6vw, 90px);
  align-self: center;
}

.about-lede {
  font-size: 21px !important;
  color: #dce0dd !important;
}

.about-copy > p {
  font-size: 15px;
  line-height: 1.75;
  color: #a7afad;
  max-width: 680px;
}

.about-copy h2 { margin-bottom: 32px; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.about-tags span {
  font: 500 9px var(--mono);
  border: 1px solid #3f4749;
  padding: 8px 10px;
  color: #cbd0ce;
}

/* Tools marquee */
.stack {
  overflow: hidden;
  background: var(--blue-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.stack-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  animation: marquee 30s linear infinite;
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
}

.stack-track i { font-size: 8px; color: var(--primary); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  background: var(--ink);
  color: var(--white);
  min-height: 850px;
}

.contact-visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid #333a3c;
  display: grid;
  place-items: center;
}

.contact-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.radar {
  width: 340px;
  height: 340px;
  border: 1px solid #576263;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  border: 1px solid #394143;
  border-radius: 50%;
  inset: 55px;
}

.radar::after { inset: 115px; }

.radar i { position: absolute; background: #485254; }
.radar i:nth-child(1) { width: 100%; height: 1px; left: 0; top: 50%; }
.radar i:nth-child(2) { height: 100%; width: 1px; top: 0; left: 50%; }
.radar i:nth-child(3) {
  width: 10px;
  height: 10px;
  background: var(--primary);
  left: 67%;
  top: 28%;
  animation: pulse 1.5s infinite;
}

.radar i:nth-child(4) {
  width: 6px;
  height: 6px;
  background: #cfd5d1;
  left: 26%;
  top: 65%;
}

.radar span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform-origin: left;
  animation: sweep 4s linear infinite;
}

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

.contact-visual p {
  position: absolute;
  left: 34px;
  bottom: 30px;
  font: 500 10px var(--mono);
  color: var(--blue-soft);
  z-index: 3;
}

.contact-copy {
  padding: 100px clamp(28px, 7vw, 105px);
  align-self: center;
}

.contact-copy > p {
  font-size: 17px;
  line-height: 1.65;
  color: #aab2af;
  max-width: 650px;
}

.contact h2 { font-size: clamp(50px, 6vw, 92px); margin-bottom: 28px; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #3a4244;
  border: 1px solid #3a4244;
  margin-top: 42px;
}

.contact-form label {
  background: var(--ink);
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form label span {
  font: 500 9px var(--mono);
  color: #818b88;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: transparent;
  border: 0;
  outline: none;
  color: var(--white);
  resize: vertical;
  padding: 5px 0;
}

.contact-form select { cursor: pointer; }
.contact-form select option { background: var(--ink); color: var(--white); }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #5e6866; }

.contact-form .full { grid-column: 1 / -1; }

.contact-form button { border: 0; margin: 0; width: 100%; }

.form-status {
  margin-top: 20px;
  font: 500 12px var(--mono);
  padding: 14px 18px;
  display: none;
}

.form-status.visible { display: block; }
.form-status.success { background: rgba(37, 99, 235, 0.2); color: var(--blue-soft); border: 1px solid rgba(37, 99, 235, 0.4); }
.form-status.error { background: rgba(220, 38, 38, 0.15); color: #fca5a5; border: 1px solid rgba(220, 38, 38, 0.3); }
.form-status.loading { background: rgba(255, 255, 255, 0.05); color: #aab2af; border: 1px solid #3a4244; }

.contact-form button:disabled { opacity: 0.6; cursor: not-allowed; }

/* Footer */
footer {
  padding: 38px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr auto;
  gap: 30px;
  align-items: center;
  background: #0c0e0f;
  color: #8b9391;
  border-top: 1px solid #303638;
  font: 500 9px var(--mono);
}

.footer-brand { color: var(--white); }
footer p { margin: 0; }
footer div { display: flex; gap: 18px; flex-wrap: wrap; }
footer a:hover { color: var(--blue-soft); }

/* Packages page */
.packages-page { padding-top: 140px; }

.packages-hero {
  padding: 80px clamp(24px, 5vw, 76px) 60px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.packages-hero p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
  margin: 24px 0 0;
}

.package-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 1px;
}

.package-detail:nth-child(even) .package-detail-info { background: var(--paper); }
.package-detail:nth-child(even) .package-detail-content { background: var(--white); }

.package-detail-info {
  background: var(--white);
  padding: 48px clamp(24px, 4vw, 56px);
}

.package-detail-info .package-tag { margin-bottom: 20px; }

.package-detail-info h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.package-detail-info .for-whom {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.package-detail-content {
  background: var(--paper);
  padding: 48px clamp(24px, 4vw, 56px);
}

.package-detail-content h3 {
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 20px;
}

.package-detail-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.package-detail-content li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  gap: 12px;
}

.package-detail-content li::before {
  content: "→";
  color: var(--primary);
  font-family: var(--mono);
  flex-shrink: 0;
}

.package-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.package-meta div span {
  display: block;
  font: 600 9px var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.package-meta div strong {
  font-size: 15px;
  font-weight: 500;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.75, 0.2, 1), transform 0.8s cubic-bezier(0.22, 0.75, 0.2, 1);
}

.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1000px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    padding: 30px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }

  .nav.open { display: flex; }
  .menu-button { display: block; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
    padding-bottom: 100px;
  }

  .hero-panel { height: 460px; }

  .hero-foot {
    overflow: hidden;
    justify-content: flex-start;
    gap: 35px;
  }

  .hero-foot span:nth-child(n+4) { display: none; }

  .section-heading { grid-template-columns: 1fr; gap: 32px; }

  .services-split,
  .package-cards,
  .project-list,
  .about,
  .contact,
  .package-detail { grid-template-columns: 1fr; }

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

  .project-wide { grid-column: auto; }
  .project-wide .project-image,
  .project-image { height: 460px; }

  .process-rail { grid-template-columns: 1fr 1fr; }
  .about-photo { min-height: 520px; }

  .contact-visual {
    min-height: 460px;
    border-right: 0;
    border-bottom: 1px solid #333a3c;
  }

  footer { grid-template-columns: 1fr 1fr; }
  footer p { display: none; }
}

@media (max-width: 640px) {
  .section-pad { padding: 82px 20px; }
  .site-header { padding: 0 20px; height: 68px; }
  .hero { padding: 120px 20px 95px; }
  .hero h1 { font-size: clamp(44px, 14vw, 72px); }
  .hero-panel { height: 400px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }

  .intro-strip { grid-template-columns: 1fr; padding: 54px 20px; }
  .strip-index { text-align: left; }

  .work-title { padding: 82px 20px 55px; }
  .project-image,
  .project-wide .project-image { height: 350px; }

  .project-meta {
    grid-template-columns: 44px 1fr 24px;
    padding: 22px 20px;
  }

  .project h3 { font-size: 22px; }
  .process-rail { grid-template-columns: 1fr; }
  .process-step { min-height: 300px; }
  .step-line { margin-bottom: 70px; }

  .about-copy,
  .contact-copy { padding: 80px 20px; }
  .about-photo { min-height: 440px; }

  .contact-visual { min-height: 380px; }
  .radar { width: 270px; height: 270px; }

  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }

  .package-cards { grid-template-columns: 1fr; }
  .package-meta { grid-template-columns: 1fr; }

  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal { opacity: 1; transform: none; }
}
