:root {
  --green-deep: #0B3D3B;
  --green-ink: #082F2D;
  --graphite: #1F2423;
  --charcoal: #2E2E2E;
  --mineral: #F5F7F6;
  --porcelain: #FAFBFA;
  --line: #D9DFDC;
  --brass: #A58A5F;
  --muted: #5B6864;
  --white: #FFFFFF;
  --max: 1160px;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--mineral);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--white);
  color: var(--green-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.nav,
.button,
.eyebrow,
.kicker,
h1,
h2,
h3,
label,
.service-list span,
.method-row,
.footer-brand,
.contact-ribbon,
.rendering-card span,
.language-switch,
.nav-contact {
  font-family: Inter, system-ui, sans-serif;
}

.page {
  overflow: hidden;
  background: var(--mineral);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 223, 220, .9);
  background: rgba(245, 247, 246, .93);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 rgba(8, 47, 45, 0);
  transition:
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(8, 47, 45, .12);
  background: rgba(250, 251, 250, .96);
  box-shadow: 0 16px 40px rgba(8, 47, 45, .08);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: .88rem;
  transition: min-height .28s ease;
}

.site-header.is-scrolled .nav {
  min-height: 66px;
}

.nav-start {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 325px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11, 61, 59, .22);
  border-radius: 999px;
  color: var(--green-deep);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
}

.language-switch:hover {
  border-color: var(--green-deep);
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 3px;
}

.brand strong,
.footer-brand strong {
  color: var(--green-deep);
  font-size: .95rem;
  letter-spacing: 0;
}

.brand em,
.footer-brand em {
  color: var(--muted);
  font-family: Lato, system-ui, sans-serif;
  font-size: .82rem;
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #46524F;
}

.nav-links a,
.nav-contact a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-contact a:hover {
  color: var(--green-deep);
}

.nav-contact {
  display: grid;
  gap: 2px;
  color: var(--green-deep);
  font-size: .78rem;
  font-weight: 800;
  text-align: right;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
  box-shadow: 0 16px 36px rgba(11, 61, 59, .18);
}

.button.primary:hover {
  background: var(--green-ink);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, .07);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, .13);
}

.is-motion-ready .motion-unit {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(.985);
  filter: blur(6px);
  transition:
    opacity .85s cubic-bezier(.22, 1, .36, 1) var(--motion-delay, 0ms),
    transform .9s cubic-bezier(.22, 1, .36, 1) var(--motion-delay, 0ms),
    filter .9s cubic-bezier(.22, 1, .36, 1) var(--motion-delay, 0ms);
  will-change: opacity, transform, filter;
}

.is-motion-ready .motion-unit.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.is-motion-ready .hero .motion-unit,
.is-motion-ready .defence-hero .motion-unit {
  transform: translate3d(0, 56px, 0) scale(.98);
}

.is-motion-ready .hero .motion-unit.is-visible,
.is-motion-ready .defence-hero .motion-unit.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-parallax {
  --motion-shift: 0px;
}

.hero.motion-parallax,
.approach-section.motion-parallax {
  background-position: center calc(50% + var(--motion-shift));
}

.defence-hero.motion-parallax {
  background-position:
    center calc(50% + var(--motion-shift)),
    center calc(50% + var(--motion-shift)),
    center calc(50% + var(--motion-shift));
}

.outputs-section.motion-parallax {
  background-position:
    center calc(50% + var(--motion-shift)),
    center calc(50% + var(--motion-shift));
}

.motion-parallax-image {
  transform: translate3d(0, var(--motion-shift), 0) scale(1.045);
  transform-origin: center;
  transition: transform .18s linear;
  will-change: transform;
}

.button,
.rendering-card,
.service-list article,
.decision-grid article,
.method-grid article,
.audience-list span,
.contact-card,
.scope-card {
  transition:
    transform .32s cubic-bezier(.22, 1, .36, 1),
    box-shadow .32s cubic-bezier(.22, 1, .36, 1),
    border-color .32s ease,
    background .32s ease,
    color .32s ease;
}

.button:hover,
.is-motion-ready .button.motion-unit.is-visible:hover {
  transform: translate3d(0, -2px, 0);
}

.service-list article:hover,
.decision-grid article:hover,
.method-grid article:hover {
  transform: translate3d(0, -6px, 0);
  background: var(--white);
  box-shadow: 0 22px 55px rgba(8, 47, 45, .10);
}

.audience-list span:hover,
.contact-card:hover,
.scope-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 18px 46px rgba(8, 47, 45, .10);
}

.rendering-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 30px 76px rgba(8, 47, 45, .16);
}

.rendering-card:hover img {
  transform: translate3d(0, var(--motion-shift, 0px), 0) scale(1.075);
}

.motion-reduced .motion-unit {
  opacity: 1;
  transform: none;
  filter: none;
}

.watermark-section {
  position: relative;
  overflow: hidden;
  --watermark-shift: var(--motion-shift, 0px);
}

.watermark-section::before {
  content: "";
  position: absolute;
  inset: -18% -8%;
  background:
    linear-gradient(118deg, rgba(184, 145, 92, .12) 0 1px, transparent 1px 48px),
    linear-gradient(62deg, rgba(11, 61, 59, .12) 0 1px, transparent 1px 54px);
  opacity: .42;
  transform: translate3d(0, calc(var(--watermark-shift) * -.55), 0);
  transition: transform .18s linear, opacity .18s linear;
  pointer-events: none;
  z-index: 0;
}

.watermark-section::after {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 30px;
  width: 360px;
  height: 360px;
  background: url("assets/brand/cube-strategies-logo.png") center / contain no-repeat;
  opacity: .07;
  transform: translate3d(0, calc(var(--watermark-shift) * .75), 0);
  transition: transform .18s linear, opacity .18s linear;
  pointer-events: none;
  z-index: 0;
}

.watermark-section > .container,
.watermark-section > .hero-inner {
  position: relative;
  z-index: 1;
}

.hero {
  height: min(660px, calc(100vh - 96px));
  min-height: 560px;
  display: grid;
  align-items: end;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(24, 29, 28, .96) 0%, rgba(24, 29, 28, .88) 34%, rgba(24, 29, 28, .42) 68%, rgba(24, 29, 28, .18) 100%),
    linear-gradient(180deg, rgba(24, 29, 28, .04) 0%, rgba(24, 29, 28, .52) 100%),
    url("assets/images/cube-hero-tower-natural-v4.webp");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 76px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--brass);
}

h1 {
  max-width: 790px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: 3.9rem;
  line-height: .99;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.17rem;
}

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

.value-line,
.form-intro {
  margin: 0;
}

.value-line {
  color: rgba(255, 255, 255, .74);
  font-family: Inter, system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 800;
}

.contact-ribbon {
  padding: 18px 0;
  background: var(--green-deep);
  color: var(--white);
}

.contact-ribbon-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
}

.strategy-ribbon-inner {
  grid-template-columns: minmax(220px, .58fr) minmax(0, 1fr) auto;
}

.compact-ribbon-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.compact-ribbon-inner strong {
  max-width: 820px;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.25;
}

.strategy-ribbon-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.contact-ribbon span {
  color: rgba(255, 255, 255, .68);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-ribbon strong {
  font-size: 1.04rem;
}

.contact-ribbon a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

section {
  padding: 96px 0;
}

.split-intro,
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, .8fr);
  gap: 74px;
  align-items: end;
  margin-bottom: 54px;
}

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

.kicker {
  margin: 0 0 16px;
  color: var(--brass);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--green-deep);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.split-intro p,
.section-head p,
.service-list p,
.approach-card > p,
.contact-copy p,
.defence-copy p,
.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.services-section,
.renderings-section {
  background: var(--porcelain);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 8px;
  padding: 28px 34px 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article:nth-child(2n) {
  padding-left: 34px;
}

.service-list span {
  grid-row: span 2;
  color: var(--brass);
  font-size: .78rem;
  font-weight: 800;
}

.rendering-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rendering-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--graphite);
}

.rendering-card.wide {
  grid-column: 1 / -1;
  min-height: 520px;
}

.rendering-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}

.rendering-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 16, 15, .72) 100%);
}

.rendering-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
}

.rendering-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--brass);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rendering-card strong {
  display: block;
  max-width: 620px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.approach-section {
  min-height: 610px;
  display: grid;
  align-items: center;
  background: var(--green-ink);
  color: var(--white);
}

.approach-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 47, 45, .96) 0%, rgba(8, 47, 45, .78) 52%, rgba(8, 47, 45, .40) 100%),
    url("assets/images/cube-courtyard-natural-v4.webp") center / cover no-repeat;
}

.approach-card {
  max-width: 720px;
  margin-left: max(24px, calc((100% - var(--max)) / 2));
  margin-right: auto;
  color: var(--white);
}

.approach-card h2,
.approach-card .kicker {
  color: var(--white);
}

.approach-card > p {
  max-width: 650px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, .78);
}

.method-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
}

.method-row div {
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .34);
}

.method-row dt {
  margin-bottom: 0;
  color: var(--white);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.method-row dd {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-family: Lato, system-ui, sans-serif;
  font-size: .94rem;
}

.defence-section {
  background: var(--mineral);
}

.defence-wrap {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.defence-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--green-deep);
  color: var(--white);
}

.defence-copy h2,
.defence-copy .kicker {
  color: var(--white);
}

.defence-copy p {
  color: rgba(255, 255, 255, .78);
}

.defence-copy .button.primary {
  width: fit-content;
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}

.defence-wrap img {
  width: 100%;
  min-height: 480px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.defence-landing .site-header {
  background: rgba(250, 251, 250, .94);
}

.defence-hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 72px 0 62px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(19, 25, 24, .96) 0%, rgba(19, 25, 24, .78) 42%, rgba(19, 25, 24, .18) 70%, rgba(19, 25, 24, .02) 100%),
    linear-gradient(180deg, rgba(19, 25, 24, .03) 0%, rgba(19, 25, 24, .28) 100%),
    url("assets/images/cube-defence-ai-hangar-sunset-v1.png") 50% center / cover no-repeat,
    var(--graphite);
}

.defence-hero-grid {
  display: block;
}

.defence-hero-copy {
  display: grid;
  gap: 24px;
  max-width: 830px;
}

.defence-hero h1 {
  max-width: 890px;
  margin-bottom: 0;
  font-size: 3.25rem;
}

.defence-hero .hero-lede {
  max-width: 760px;
  margin: 0;
}

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

.decision-grid article,
.method-grid article {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 250px;
  padding: 28px;
  background: var(--white);
}

.decision-grid span,
.method-grid span {
  color: var(--brass);
  font-family: Inter, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 800;
}

.decision-grid p,
.method-grid p {
  margin: 0;
  color: var(--muted);
}

.decision-grid p {
  color: var(--green-deep);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.audience-section,
.defence-method-section,
.why-section {
  background: var(--mineral);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(11, 61, 59, .16);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-deep);
  font-family: Inter, system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 800;
}

.defence-service-list article:last-child {
  grid-column: 1 / -1;
}

.defence-landing #services {
  background:
    linear-gradient(90deg, rgba(8, 47, 45, .94), rgba(8, 47, 45, .76)),
    url("assets/images/cube-defence-ai-hangar-sunset-v1.png") center / cover no-repeat;
  color: var(--white);
}

.defence-landing #services h2,
.defence-landing #services .kicker {
  color: var(--white);
}

.defence-landing #services .service-list article {
  background: rgba(255, 255, 255, .94);
}

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

.method-grid article {
  min-height: 230px;
}

.outputs-section {
  background:
    linear-gradient(90deg, rgba(8, 47, 45, .96), rgba(8, 47, 45, .76)),
    url("assets/images/cube-industrial-natural-v5-cyclist-bikepath.webp") center / cover no-repeat;
  color: var(--white);
}

.outputs-section h2,
.outputs-section .kicker {
  color: var(--white);
}

.outputs-section p {
  color: rgba(255, 255, 255, .78);
}

.output-list span {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .92);
}

.scope-boundary {
  background: var(--porcelain);
}

.scope-card {
  max-width: 930px;
  padding: 38px;
  border: 1px solid rgba(165, 138, 95, .38);
  border-radius: var(--radius);
  background: #FFF8EC;
  box-shadow: inset 5px 0 0 var(--brass);
}

.scope-card h2 {
  max-width: 780px;
}

.scope-card p:last-child {
  max-width: 800px;
  margin: 24px 0 0;
  color: #5B4A31;
  font-size: 1.05rem;
}

.form-intro {
  margin-bottom: 18px;
  color: var(--green-deep);
  font-weight: 700;
}

.contact-section {
  background: var(--graphite);
  color: var(--white);
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, .74);
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  font-style: normal;
}

.contact-card strong {
  color: var(--white);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.25rem;
}

.contact-card span {
  color: rgba(255, 255, 255, .68);
}

.contact-card a {
  width: fit-content;
  color: var(--white);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.contact-card .linkedin-link {
  margin-top: 4px;
  color: #F1B65A;
  border-bottom-color: rgba(241, 182, 90, .62);
}

.contact-card .linkedin-link:hover {
  color: #FFD58A;
  border-bottom-color: currentColor;
}

.contact-form {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: var(--mineral);
  color: var(--charcoal);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .24);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--green-deep);
  font-size: .84rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #C9D2CE;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem;
}

input,
select {
  height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 132px;
  padding: 12px 13px;
  resize: vertical;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid rgba(198, 91, 45, .46);
  border-radius: var(--radius);
  background: #FFF3E7;
  box-shadow: inset 4px 0 0 #C65B2D;
}

.checkbox-field input {
  accent-color: #C65B2D;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.checkbox-field label {
  color: #5E2A17;
  font-family: Lato, system-ui, sans-serif;
  font-weight: 700;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--green-deep);
}

.form-status.is-error {
  color: #8B2D2D;
}

.form-note {
  margin-top: 10px;
  font-size: .9rem;
}

.markup-canvas {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: none;
  width: 100vw;
  height: 100vh;
  cursor: crosshair;
  pointer-events: none;
  touch-action: none;
}

.markup-canvas.is-active {
  display: block;
  pointer-events: auto;
}

.markup-canvas.is-commenting {
  cursor: copy;
}

.markup-comments {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: none;
  pointer-events: none;
}

.markup-comments.is-active {
  display: block;
}

.markup-comment {
  position: fixed;
  display: grid;
  grid-template-columns: auto minmax(190px, 260px) auto;
  align-items: start;
  gap: 8px;
  max-width: calc(100vw - 28px);
  padding: 8px;
  border: 1px solid rgba(8, 47, 45, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 42px rgba(7, 27, 25, .22);
  pointer-events: auto;
}

.markup-comment-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFB000;
  color: #10201E;
  font-family: Inter, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 900;
}

.markup-comment textarea {
  width: 100%;
  min-height: 66px;
  resize: both;
  border: 1px solid rgba(8, 47, 45, .16);
  border-radius: 6px;
  padding: 8px;
  color: var(--deep);
  font: 700 .86rem/1.35 Inter, system-ui, sans-serif;
}

.markup-comment button {
  width: 26px;
  height: 26px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #10201E;
  color: var(--white);
  font: 900 .82rem/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.markup-tool {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
}

.markup-tool button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(8, 47, 45, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: var(--deep);
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(7, 27, 25, .16);
  cursor: pointer;
}

.markup-tool button:hover {
  border-color: rgba(0, 163, 255, .62);
  color: #005C8F;
}

.markup-tool button.is-active {
  border-color: rgba(0, 163, 255, .72);
  background: #E8F7FF;
  color: #005C8F;
}

.markup-panel {
  display: none;
  max-width: min(760px, calc(100vw - 36px));
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(8, 47, 45, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(7, 27, 25, .18);
}

.markup-tool.is-open .markup-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.markup-modes,
.markup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.markup-status {
  min-width: 86px;
  padding: 0 8px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 800;
}

.site-footer {
  padding: 34px 0 40px;
  background: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

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

@media (max-width: 1080px) {
  .nav-contact {
    display: none;
  }

  .nav-start {
    min-width: auto;
  }
}

@media (max-width: 1000px) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .split-intro,
  .section-head,
  .contact-wrap,
  .defence-wrap {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .contact-ribbon-inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .decision-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .defence-hero {
    min-height: auto;
    padding: 72px 0;
  }

  .defence-hero h1 {
    font-size: 2.85rem;
  }
}

@media (max-width: 760px) {
  .container,
  .hero-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .language-switch {
    width: 38px;
    height: 38px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand em {
    font-size: .78rem;
  }

  .hero {
    height: min(720px, calc(100vh - 100px));
    min-height: 650px;
    background-image:
      linear-gradient(180deg, rgba(24, 29, 28, .96) 0%, rgba(24, 29, 28, .86) 48%, rgba(24, 29, 28, .58) 100%),
      url("assets/images/cube-hero-tower-natural-v4.webp");
    background-position: 58% center;
  }

  .hero-inner {
    padding: 48px 0 64px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: .70rem;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.18rem;
    line-height: 1.04;
  }

  .hero-lede {
    max-width: 32ch;
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
  }

  .defence-hero .hero-actions {
    display: grid;
  }

  .hero-actions .secondary {
    min-height: auto;
    justify-content: start;
    padding: 2px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  section {
    padding: 68px 0;
  }

  .split-intro,
  .section-head {
    gap: 24px;
    margin-bottom: 32px;
  }

  h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .service-list,
  .rendering-grid {
    grid-template-columns: 1fr;
  }

  .service-list article,
  .service-list article:nth-child(2n) {
    grid-template-columns: 42px 1fr;
    padding: 22px 0;
  }

  .rendering-card,
  .rendering-card.wide {
    min-height: 340px;
  }

  .rendering-card strong {
    font-size: 1.08rem;
  }

  .approach-section {
    min-height: 720px;
  }

  .approach-section::before {
    background:
      linear-gradient(180deg, rgba(8, 47, 45, .94) 0%, rgba(8, 47, 45, .78) 58%, rgba(8, 47, 45, .42) 100%),
      url("assets/images/cube-courtyard-natural-v4.webp") center / cover no-repeat;
  }

  .approach-card {
    width: min(calc(100% - 28px), var(--max));
    margin: 0 auto;
  }

  .method-row {
    grid-template-columns: 1fr;
  }

  .defence-copy {
    padding: 26px;
  }

  .defence-wrap img {
    min-height: 320px;
  }

  .defence-hero {
    min-height: auto;
    padding: 28px 0 26px;
    background:
      linear-gradient(180deg, rgba(19, 25, 24, .96) 0%, rgba(19, 25, 24, .86) 52%, rgba(19, 25, 24, .64) 100%),
      url("assets/images/cube-defence-ai-hangar-sunset-v1.png") 58% center / cover no-repeat,
      var(--graphite);
  }

  .defence-hero-copy {
    gap: 14px;
  }

  .defence-hero .eyebrow {
    margin: 0;
    font-size: .64rem;
    line-height: 1.28;
  }

  .defence-hero h1 {
    max-width: 100%;
    font-size: 1.55rem;
    line-height: 1.06;
  }

  .defence-hero .hero-lede {
    font-size: .92rem;
    line-height: 1.45;
  }

  .defence-hero .button {
    min-height: 44px;
    font-size: .78rem;
  }

  .defence-hero .value-line {
    display: none;
  }

  .defence-hero .hero-actions .secondary {
    min-height: 46px;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .07);
  }

  .decision-grid article,
  .method-grid article,
  .scope-card {
    min-height: auto;
    padding: 24px;
  }

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

  .contact-form {
    padding: 22px;
  }

  .footer-brand {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.1rem;
  }

  .button {
    padding: 0 14px;
  }

  .markup-tool {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .markup-panel {
    border-radius: 22px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

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