:root {
  --ink: #071943;
  --blue: #1b2b5e;
  --blue-2: #253f86;
  --green: #1e7c4a;
  --muted: #6e7892;
  --line: #dce5f2;
  --soft: #f7faff;
  --white: #ffffff;
  --dark: #101a3a;
  --dark-2: #162657;
  --shadow: 0 20px 60px rgba(8, 32, 89, 0.1);
  --r-md: 14px;
  --r-pill: 100px;
  --page-pad: clamp(20px, 4.7vw, 72px);
  --content-max: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

button {
  font: inherit;
}

.page-shell {
  width: 100%;
  max-width: var(--content-max);
  min-height: 100vh;
  margin: 0 auto;
  overflow: visible;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--page-pad);
  border-top: 2px solid var(--green);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand img,
.site-footer img {
  width: 184px;
  height: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(22px, 3.2vw, 42px);
  color: var(--blue);
  font-size: 17px;
  font-weight: 600;
}

.main-nav a,
.language-switch button {
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.main-nav a:hover,
.language-switch button:hover {
  color: var(--green);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-weight: 700;
}

.language-switch button {
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--green);
}

.language-switch span {
  width: 1px;
  height: 22px;
  background: #aeb9cc;
}

.hero {
  position: relative;
  min-height: 438px;
  display: grid;
  grid-template-columns: minmax(0, 41%) minmax(0, 59%);
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 38%, #f8fbff 100%);
}

.hero::after,
.process::before,
.process::after {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9d7ec, transparent);
}

.hero::after {
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding: clamp(44px, 5vw, 72px) clamp(20px, 3vw, 44px) 48px var(--page-pad);
}

.hero-logo {
  width: min(100%, 560px);
  height: auto;
  margin-bottom: 38px;
  mix-blend-mode: multiply;
}

.hero h1 {
  max-width: 560px;
  margin: 0 0 60px;
  color: var(--blue);
  font-size: clamp(34px, 3.5vw, 42px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero p {
  max-width: 440px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.button {
  min-width: 206px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: 1px solid var(--blue);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(6, 39, 125, 0.18);
}

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 438px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 40px);
  background: #ffffff;
}

.hero-img {
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.circuit-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 57% 39%, rgba(7, 147, 95, 0.11), transparent 28%),
    linear-gradient(135deg, transparent 0 47%, rgba(7, 147, 95, 0.22) 47% 47.4%, transparent 47.4%),
    repeating-linear-gradient(28deg, transparent 0 24px, rgba(11, 54, 137, 0.12) 25px 26px, transparent 27px 76px),
    repeating-linear-gradient(150deg, transparent 0 36px, rgba(11, 54, 137, 0.08) 37px 38px, transparent 39px 98px),
    #f8fbff;
}

.circuit-field::before,
.circuit-field::after {
  content: "";
  position: absolute;
  inset: 30px 0 0 0;
  background-image:
    linear-gradient(90deg, transparent 0 34px, rgba(6, 39, 125, 0.15) 34px 36px, transparent 36px 112px),
    linear-gradient(0deg, transparent 0 34px, rgba(6, 39, 125, 0.12) 34px 36px, transparent 36px 112px);
  background-size: 112px 78px;
  mask-image: linear-gradient(90deg, transparent 0%, black 17%, black 100%);
  opacity: 0.75;
}

.circuit-field::after {
  inset: 0 0 -80px 18%;
  transform: skewY(-10deg);
  opacity: 0.45;
}

.trace {
  position: absolute;
  height: 2px;
  background: #b7c8e3;
  transform-origin: left center;
  opacity: 0.9;
}

.trace::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.t1 {
  width: 280px;
  right: 92px;
  top: 82px;
  transform: rotate(-25deg);
}

.t2 {
  width: 320px;
  right: -10px;
  top: 280px;
  transform: rotate(17deg);
}

.t3 {
  width: 180px;
  left: 120px;
  top: 98px;
  transform: rotate(24deg);
}

.t4 {
  width: 210px;
  left: 82px;
  bottom: 78px;
  transform: rotate(-6deg);
}

.t5 {
  width: 180px;
  right: 190px;
  bottom: 126px;
  background: rgba(7, 147, 95, 0.55);
  transform: rotate(-36deg);
}

.node {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8bad6;
}

.n1 {
  left: 130px;
  top: 160px;
}

.n2 {
  left: 280px;
  top: 62px;
}

.n3 {
  right: 130px;
  top: 226px;
}

.n4 {
  right: 245px;
  bottom: 72px;
}

.module-board {
  position: absolute;
  right: clamp(18px, 8vw, 150px);
  top: 86px;
  width: clamp(520px, 43vw, 720px);
  aspect-ratio: 1.55 / 1;
  border: 1px solid #cad8e9;
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent 0 14px, rgba(6, 39, 125, 0.08) 14px 16px, transparent 16px) 0 0 / 48px 100%,
    linear-gradient(0deg, transparent 0 16px, rgba(6, 39, 125, 0.08) 16px 18px, transparent 18px) 0 0 / 100% 46px,
    #edf3fa;
  transform: perspective(900px) rotateX(58deg) rotateZ(-18deg);
  box-shadow:
    0 28px 40px rgba(14, 43, 90, 0.18),
    inset 0 0 0 12px rgba(255, 255, 255, 0.72),
    inset 0 0 0 15px rgba(7, 147, 95, 0.25);
}

.module-board::before,
.module-board::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  background: linear-gradient(145deg, #0a3498, #9fb2d2);
  box-shadow: 0 8px 10px rgba(8, 32, 89, 0.18);
}

.module-board::before {
  width: 44px;
  height: 34px;
  left: 92px;
  top: 84px;
}

.module-board::after {
  width: 38px;
  height: 30px;
  right: 78px;
  bottom: 78px;
}

.chip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54%;
  aspect-ratio: 1.55 / 1;
  display: grid;
  place-items: center;
  border: 1px solid #d3dfed;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #e4edf7);
  transform: translate(-50%, -50%);
  box-shadow:
    0 18px 28px rgba(21, 52, 95, 0.22),
    inset 0 -10px 18px rgba(7, 147, 95, 0.12);
}

.chip::before,
.chip::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 8px;
  background: repeating-linear-gradient(90deg, #a4b6d2 0 5px, transparent 5px 12px);
}

.chip::before {
  top: -10px;
}

.chip::after {
  bottom: -10px;
}

.chip img {
  width: 54%;
  mix-blend-mode: multiply;
  transform: rotate(0.5deg);
}

.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid #c3d0e2;
  border-radius: 50%;
  background: #f8fbff;
}

.pin-a {
  left: 26px;
  top: 24px;
}

.pin-b {
  right: 26px;
  top: 24px;
}

.pin-c {
  left: 26px;
  bottom: 24px;
}

.pin-d {
  right: 26px;
  bottom: 24px;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100vw;
  min-height: 128px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px max(var(--page-pad), calc((100vw - var(--content-max)) / 2 + var(--page-pad)));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(30, 124, 74, 0.2), transparent 28%, rgba(255, 255, 255, 0.04)),
    var(--dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.capability-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.capability-strip > div:last-child {
  border-right: 0;
}

.icon-box,
.card-icon,
.mail-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(6, 39, 125, 0.07);
}

.icon-box {
  width: 54px;
  height: 54px;
}

.capability-strip .icon-box {
  width: 70px;
  height: 70px;
  border-color: rgba(255, 255, 255, 0.72);
}

.capability-strip .icon-box svg {
  width: 40px;
  height: 40px;
}

.icon-box.green {
  color: var(--green);
}

svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: 40px var(--page-pad) 36px;
  background: #fff;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  min-height: 148px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 12px 34px rgba(8, 32, 89, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 147, 95, 0.35);
  box-shadow: 0 22px 48px rgba(8, 32, 89, 0.11), 0 0 0 1px rgba(7, 147, 95, 0.12);
}

.card-icon {
  width: 62px;
  height: 62px;
  color: var(--blue);
  border: 0;
  box-shadow: none;
}

.service-card h2,
.process h2,
.contact-panel h2 {
  margin: 0;
  color: var(--blue);
  font-size: 19px;
  line-height: 1.18;
  font-weight: 700;
}

.service-card p,
.process p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.process h2 {
  color: #ffffff;
  font-size: 19px;
}

.process p {
  color: rgba(255, 255, 255, 0.7);
}

.service-card > a {
  align-self: end;
  color: var(--green);
  font-size: 26px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.service-card:hover > a {
  transform: translateX(5px);
}

.process {
  --process-gap: clamp(56px, 8vw, 132px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: var(--process-gap);
  width: 100vw;
  min-height: 156px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 44px max(var(--page-pad), calc((100vw - var(--content-max)) / 2 + var(--page-pad))) 46px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px) left 12px center / 66px 34px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px) right 20px center / 82px 34px no-repeat,
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 58%, #102b32 100%);
}

.process::before {
  left: 0;
  right: 0;
  top: 0;
}

.process::after {
  left: 0;
  right: 0;
  bottom: 0;
}

.process-line {
  display: none;
}

.process-line::before,
.process-line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #fff;
}

.process-line::before {
  left: 31%;
}

.process-line::after {
  right: 31%;
}

.process article {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 26px;
  background: transparent;
}

.process article:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  width: calc(var(--process-gap) - 36px);
  height: 7px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at center, #ffffff 0 3px, transparent 3.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(30, 124, 74, 0.85), rgba(255, 255, 255, 0.22)) center / 100% 1px no-repeat;
  pointer-events: none;
}

.process article > span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 12px rgba(16, 26, 58, 0.64);
  font-size: 24px;
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 34px var(--page-pad) 28px;
  padding: 22px clamp(24px, 6vw, 90px) 22px clamp(22px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 14px 36px rgba(8, 32, 89, 0.05);
}

.contact-copy {
  display: flex;
  align-items: center;
  gap: 26px;
}

.mail-icon {
  width: 58px;
  height: 58px;
  background: #f5f8ff;
  box-shadow: none;
}

.contact-panel a:not(.button) {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 18px var(--page-pad) 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer img {
  width: 158px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

  .hero-copy {
    padding: 48px var(--page-pad) 32px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .module-board {
    width: min(82vw, 560px);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 190px 1fr;
    padding: 18px var(--page-pad);
  }

  .language-switch {
    grid-column: 2;
    justify-self: end;
  }

  .capability-strip,
  .section,
  .process,
  .site-footer {
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }

  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    margin-left: var(--page-pad);
    margin-right: var(--page-pad);
    padding: 22px var(--page-pad);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 16px 20px;
  }

  .brand img {
    width: 150px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 15px;
  }

  .language-switch {
    grid-column: auto;
  }

  .hero-copy {
    padding: 36px 20px 12px;
  }

  .hero-logo {
    width: min(100%, 460px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-actions {
    gap: 14px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero-visual {
    min-height: 310px;
  }

  .module-board {
    right: -48px;
    top: 58px;
    width: 560px;
  }

  .capability-strip {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 20px;
  }

  .capability-strip > div {
    min-height: 82px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .capability-strip > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 20px;
  }

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

  .service-card {
    min-height: 132px;
  }

  .process {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 20px;
    padding: 24px 20px;
  }

  .process-line {
    display: none;
  }

  .process article {
    width: 100%;
  }

  .process article::after {
    display: none;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    margin: 0 20px 20px;
    padding: 20px;
  }

  .contact-copy {
    align-items: flex-start;
    gap: 16px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .site-footer img {
    width: 150px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 30px;
  }

  .service-card {
    grid-template-columns: auto 1fr;
  }

  .service-card > a {
    grid-column: 2;
    justify-self: end;
  }
}

/* ─── Header scroll shadow ───────────────────────────── */
.site-header {
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(8, 32, 89, 0.09);
}

/* ─── Active nav link indicator ──────────────────────── */
.main-nav a {
  position: relative;
  padding-bottom: 3px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

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

.main-nav a.active {
  color: var(--green);
}

/* ─── Scroll reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Circuit node pulse ─────────────────────────────── */
@keyframes node-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.6); }
}

.node {
  animation: node-pulse 3.2s ease-in-out infinite;
}

.n1 { animation-delay: 0s; }
.n2 { animation-delay: 0.9s; }
.n3 { animation-delay: 1.8s; }
.n4 { animation-delay: 0.45s; }

/* ─── Process step hover glow ────────────────────────── */
.process article > span {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.process article:hover > span {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 12px rgba(16, 26, 58, 0.64), 0 0 28px rgba(30, 124, 74, 0.35);
}

/* ─── Full cycle block ───────────────────────────────── */
.fullcycle {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: 24px 56px;
  padding: 44px var(--page-pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.fullcycle h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

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

@media (max-width: 760px) {
  .fullcycle {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 20px;
  }
}

/* ─── Contact form ───────────────────────────────────── */
.contact-form-wrap {
  margin: 20px var(--page-pad) 40px;
}

#contact-form {
  scroll-margin-top: 96px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px clamp(20px, 4vw, 48px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 14px 36px rgba(8, 32, 89, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(30, 124, 74, 0.45);
  box-shadow: 0 0 0 3px rgba(30, 124, 74, 0.1);
  background: #fff;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* ─── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .node {
    animation: none;
  }
}
