/* ===========================================================
   Nightmare Security — styles
   =========================================================== */

:root {
  --bg: #07020a;
  --bg-2: #0e0410;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 60, 170, 0.22);
  --text: #f6eef6;
  --text-dim: #c9b8c8;
  --text-mute: #8f7b8e;

  --violet: #9b1bff;
  --magenta: #ff1fa2;
  --pink: #ff2d7a;
  --orange: #ff5a1f;
  --grad: linear-gradient(90deg, #9b1bff 0%, #d21cff 18%, #ff1fa2 45%, #ff3d5e 72%, #ff5a1f 100%);

  --font-display: "Michroma", "Eurostile", "Segoe UI", sans-serif;
  --font-head: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Questrial", "Segoe UI", system-ui, sans-serif;

  --header-h: 92px;
  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===========================================================
   Header
   =========================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and trap it. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 2, 10, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .35s ease;
}
.site-header.is-scrolled::before { opacity: 1; }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 clamp(16px, 2.4vw, 40px);
  transition: height .35s ease;
}
.site-header.is-scrolled .header-inner { height: 68px; }

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-eyes {
  width: clamp(96px, 10vw, 168px);
  height: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.25vw, 20px);
  letter-spacing: 0.22em;
  margin-right: -0.22em;
  color: #fff;
}
.brand-sub {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(7px, 0.55vw, 9px);
  letter-spacing: 1.05em;
  margin-right: -1.05em;
  color: var(--text-dim);
}

.site-nav ul {
  display: flex;
  gap: clamp(20px, 3vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.15vw, 19px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #f2e9f2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.site-nav a::after {
  /* glowing underline, like the sketch */
  content: "";
  position: absolute;
  left: -24%;
  right: -24%;
  bottom: -2px;
  height: 2px;
  background: radial-gradient(ellipse at center, #fff 0%, #ff4fc0 22%, rgba(255, 31, 162, 0.55) 45%, transparent 72%);
  filter: drop-shadow(0 0 6px rgba(255, 31, 162, .9));
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .3s ease, transform .3s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { opacity: .55; transform: scaleX(.8); }
.site-nav a.is-active::after { opacity: 1; transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-shrink: 0;
  position: relative;
  z-index: 60;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 2, 10, .5);
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #07020a url("assets/background.jpg") center / cover no-repeat;
}

/* WebGL layer (ambient.js) that animates the water + smoke over the static image */
.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.ambient-canvas.is-on { opacity: 1; }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 2, 10, .55) 0%, rgba(7, 2, 10, .25) 32%, rgba(7, 2, 10, 0) 55%),
    linear-gradient(180deg, rgba(7, 2, 10, .35) 0%, rgba(7, 2, 10, 0) 18%, rgba(7, 2, 10, 0) 82%, var(--bg) 100%);
  pointer-events: none;
}

.hero-content {
  padding: calc(var(--header-h) + clamp(48px, 10vh, 110px)) var(--gutter) 0 clamp(24px, 4.2vw, 72px);
  max-width: 900px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(42px, 5.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero-title .line-1 {
  display: block;
  padding-left: 0.12em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}
.hero-title .line-2 {
  display: inline-block;
  /* gradient is clipped to this box: extra room for the italic overhang and the g/h descenders */
  padding: 0 .1em .22em 0;
  margin-bottom: -.14em;
  filter: drop-shadow(0 0 24px rgba(255, 31, 162, .28));
}

.hero-sub {
  margin: clamp(14px, 1.8vw, 24px) 0 0;
  padding-left: clamp(12px, 2.2vw, 36px);
  font-size: clamp(17px, 1.55vw, 26px);
  line-height: 1.45;
  color: #f1e6f0;
}

.btn-outline {
  --b: 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: clamp(20px, 2.2vw, 30px) 0 0 clamp(10px, 2.4vw, 46px);
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: rgba(10, 2, 12, .55);
  isolation: isolate;
}
.btn-outline::before {
  /* gradient border */
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--b);
  border-radius: inherit;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.btn-outline svg { transition: transform .25s ease; }
/* hover: no glow — just the arrow nudging forward */
.btn-outline:hover svg { transform: translateX(4px); }

/* same outline button, used for the contact form's submit */
.btn-outline--form {
  justify-content: center;
  min-width: min(300px, 100%);
  margin: 0;
  padding: 15px 36px;
  border: 0;
  cursor: pointer;
}

/* --- bottom plate --- */

.hero-plate {
  position: relative;
  align-self: center;
  width: min(900px, calc(100% - 2 * var(--gutter)));
  margin: 48px auto clamp(28px, 7vh, 80px);
  padding: clamp(18px, 2.6vw, 30px) clamp(16px, 3vw, 48px) clamp(14px, 2vw, 22px);
  text-align: center;
}
.hero-plate::before {
  /* chamfered frame, fading out toward the bottom */
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0.2 100 V22 L5 0.5 H95 L99.8 22 V100' fill='none' stroke='%23ff3fa8' stroke-opacity='.55' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  mask: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  pointer-events: none;
}

.plate-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 30px);
  letter-spacing: 0.72em;
  margin-right: -0.72em;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, .25);
}
.plate-sub {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(10px, 0.75vw, 12px);
  letter-spacing: 2.2em;
  margin-right: -2.2em;
  background: linear-gradient(90deg, #ff4fc0, #ff3d7a 55%, #ff6a2f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plate-pillars {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 2.6vw, 44px);
  margin: clamp(18px, 2vw, 26px) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(9px, 0.85vw, 13px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #efe3ee;
}
.plate-pillars li:not(.slash) { margin-right: -0.38em; }
.plate-pillars .slash { color: var(--magenta); letter-spacing: 0; }

/* ===========================================================
   Sections
   =========================================================== */

.section {
  position: relative;
  padding: clamp(88px, 12vw, 160px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--magenta);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--grad);
}

.section-title {
  margin: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section-title .gradient-text { padding-right: .08em; }

.section-lead {
  max-width: 640px;
  margin: 26px 0 0;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-dim);
}

/* --- Company --- */

.company {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(155, 27, 255, .12), transparent 70%),
    var(--bg);
}

.company-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 64px);
}
.company-copy p {
  margin: 0 0 1.2em;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-dim);
}
.company-copy p:first-child { color: var(--text); }

.company-points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.company-points li {
  position: relative;
  padding: 22px 0 22px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.company-points li::before {
  /* small neon diamond marker */
  content: "";
  position: absolute;
  left: 4px;
  top: 29px;
  width: 8px;
  height: 8px;
  background: var(--grad);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(255, 31, 162, .8);
}
.company-points h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.company-points p { margin: 0; color: var(--text-dim); font-size: 16px; }

/* --- Vision --- */

.vision {
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(255, 31, 162, .1), transparent 70%),
    radial-gradient(50% 40% at 100% 20%, rgba(255, 90, 31, .07), transparent 70%),
    var(--bg-2);
  border-top: 1px solid rgba(255, 60, 170, .08);
  border-bottom: 1px solid rgba(255, 60, 170, .08);
}

.pillars {
  margin: clamp(48px, 6vw, 88px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.pillar {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 32ch);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(26px, 3.2vw, 44px) clamp(8px, 1.5vw, 20px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  isolation: isolate;
}
.pillar::before {
  /* soft neon wash that sweeps in behind the row */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(155, 27, 255, .14), rgba(255, 31, 162, .10) 45%, rgba(255, 90, 31, .04) 80%, transparent);
  opacity: 0;
  transition: opacity .5s ease;
}
.pillar::after {
  /* gradient underline that draws across on hover */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(255, 31, 162, .7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--magenta);
}
.pillar-word {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 78px);
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .38);
}
.pillar-word::after {
  /* filled gradient copy, wiped in left-to-right */
  content: attr(data-word);
  position: absolute;
  inset: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 31, 162, .45));
  clip-path: inset(-20% 100% -20% 0);
  transition: clip-path .7s cubic-bezier(.2, .7, .2, 1);
}
.pillar p {
  margin: 0;
  font-size: 17px;
  color: var(--text-dim);
  transition: color .4s ease;
}
.pillar:hover::before { opacity: 1; }
.pillar:hover::after { transform: scaleX(1); }
.pillar:hover .pillar-word::after { clip-path: inset(-20% 0 -20% 0); }
.pillar:hover p { color: var(--text); }

/* touch screens have no hover: fill each word as it scrolls into view */
@media (hover: none) {
  .pillar.is-visible .pillar-word::after { clip-path: inset(-20% 0 -20% 0); transition-delay: .35s; }
}

/* --- Contact --- */

.contact {
  background:
    radial-gradient(50% 45% at 50% 38%, rgba(255, 31, 162, .14), transparent 70%),
    var(--bg);
}

.contact-wrap {
  max-width: 980px;
  text-align: center;
}
.eyebrow--center::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--grad);
}
.contact .section-lead { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }

.email-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 64px);
}
.email-link {
  position: relative;
  font-size: clamp(24px, 4.4vw, 58px);
  line-height: 1.15;
  text-decoration: none;
  word-break: break-word;
  background: linear-gradient(90deg, #ff4fc0, #ff3d7a 55%, #ff6a2f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 31, 162, .3));
}
.email-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.email-link:hover::after,
.email-link:focus-visible::after { transform: scaleX(1); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--text-mute);
  font: 12px/1 var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s;
}
.copy-btn svg { flex-shrink: 0; }
.copy-btn:hover { color: #fff; }

.or-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(56px, 7vw, 88px) 0 clamp(28px, 3vw, 40px);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 60, 170, .45));
}
.or-divider::after { background: linear-gradient(90deg, rgba(255, 60, 170, .45), transparent); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 4vw, 56px);
  text-align: left;
}
.field--full,
.form-foot { grid-column: 1 / -1; }

.field { margin-bottom: 30px; }
.field label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color .2s;
}
.field:focus-within label { color: #ff4fc0; }
.optional { color: rgba(143, 123, 142, .8); letter-spacing: .1em; text-transform: none; font-family: var(--font-body); font-size: 12px; }

.field input,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  background: linear-gradient(90deg, #9b1bff, #ff1fa2, #ff5a1f) left bottom / 0% 2px no-repeat;
  color: var(--text);
  font: 18px/1.5 var(--font-body);
  transition: background-size .4s ease, border-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background-size: 100% 2px;
  border-bottom-color: transparent;
}
.field [aria-invalid="true"] { border-bottom-color: #ff5a6e; }

.form-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.form-error {
  min-height: 1.4em;
  margin: -8px 0 14px;
  font-size: 14px;
  color: #ff7a8a;
}


.form-status {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text);
}
.form-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-mute);
}

/* ===========================================================
   Footer
   =========================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(18px, 1.3vw, 24px) var(--gutter) 28px;
  background: #050107;
  text-align: center;
}
.site-footer::before {
  /* glowing hairline across the top, brightest in the middle */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 60, 170, .12) 25%, rgba(255, 106, 200, .35) 50%, rgba(255, 60, 170, .12) 75%, transparent);
}
.footer-horizon {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -2;
  /* fixed size (not % of the footer) so spacing tweaks above don't drag the
     ink folds around; tuned so the eyes sit in the dark pocket under the folds */
  height: max(36.3vw, 420px);
  background: url("assets/footer-horizon.jpg") center bottom / cover no-repeat;
  -webkit-mask: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 35%, #000 70%);
  mask: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 35%, #000 70%);
  opacity: .8;
  pointer-events: none;
}
.footer-horizon::after {
  /* keep the bottom bar readable */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 1, 7, .2) 0%, rgba(5, 1, 7, .15) 60%, rgba(5, 1, 7, .75) 100%);
}

.footer-stage { position: relative; }

.footer-mark {
  width: clamp(220px, 28vw, 440px);
  height: auto;
  /* pushed down into the dark pocket under the ink folds */
  margin: clamp(124px, 14vw, 268px) auto 0;
  opacity: .75;
  -webkit-mask: linear-gradient(180deg, #000 35%, rgba(0, 0, 0, .7) 100%);
  mask: linear-gradient(180deg, #000 35%, rgba(0, 0, 0, .7) 100%);
  filter: drop-shadow(0 0 30px rgba(255, 31, 162, .35));
}

.footer-tagline {
  margin: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}
.footer-tagline .gradient-text { padding-right: .06em; }

.footer-wordmark {
  margin: clamp(14px, 1.6vw, 32px) 0 0;
  font-family: var(--font-display);
  /* sized to span the page width: the 18-character word is ~17.5em wide */
  font-size: calc((100vw - 2 * var(--gutter)) / 18.4);
  line-height: 1;
  letter-spacing: .06em;
  margin-right: -.06em;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #d9cad9 38%, rgba(170, 140, 170, .55) 72%, rgba(120, 90, 120, .25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 31, 162, .18));
  user-select: none;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  max-width: var(--maxw);
  margin: clamp(40px, 5vw, 72px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
  color: var(--text-dim);
}
.footer-copy { margin: 0; }
.footer-mail { color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer-mail:hover { color: #fff; }
.back-top {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #efe3ee;
  text-decoration: none;
  transition: color .2s;
}
.back-top span { color: var(--magenta); margin-left: 6px; display: inline-block; transition: transform .25s ease; }
.back-top:hover { color: #fff; }
.back-top:hover span { transform: translateY(-3px); }

/* ===========================================================
   Reveal on scroll (only when JS is running)
   =========================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .pillars .pillar:nth-child(2) { transition-delay: .06s; }
.js .pillars .pillar:nth-child(3) { transition-delay: .12s; }
.js .pillars .pillar:nth-child(4) { transition-delay: .18s; }

/* hero entrance */
.js .hero-content > *,
.js .hero-plate {
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) backwards;
}
.js .hero-sub { animation-delay: .12s; }
.js .btn-outline { animation-delay: .22s; }
.js .hero-plate { animation-delay: .35s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ===========================================================
   Responsive
   =========================================================== */

@media (max-width: 1100px) {
  .pillar { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 28ch); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }

  .header-inner { display: flex; justify-content: space-between; }
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 2, 10, .96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 28px; }
  .site-nav a { font-size: 22px; letter-spacing: .12em; }

  .hero-bg { background-position: 68% center; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 2, 10, .55) 0%, rgba(7, 2, 10, .15) 80%),
      linear-gradient(180deg, rgba(7, 2, 10, .75) 0%, rgba(7, 2, 10, .6) 45%, rgba(7, 2, 10, .25) 70%, var(--bg) 100%);
  }

  .company-grid { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 48px minmax(0, 1fr); row-gap: 14px; }
  .pillar p { grid-column: 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand-eyes { width: 78px; }
  .brand-name { font-size: 13px; }
  .brand-sub { font-size: 7px; letter-spacing: .85em; margin-right: -.85em; }

  .hero-content { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-title .line-1 { padding-left: 0; }
  .hero-sub { padding-left: 0; }
  .btn-outline { margin-left: 0; }

  .plate-name { letter-spacing: .5em; margin-right: -.5em; }
  .plate-sub { letter-spacing: 1.4em; margin-right: -1.4em; }
  .plate-pillars { display: grid; grid-template-columns: 1fr 1fr; letter-spacing: .22em; gap: 10px 12px; }
  .plate-pillars .slash { display: none; }
  .plate-pillars li:not(.slash) { margin-right: -.22em; }

  .pillar { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
  .pillar p { grid-column: 1; }
  .pillar-word { font-size: clamp(30px, 10vw, 44px); }

  .contact-form { grid-template-columns: 1fr; }
  .btn-outline--form { width: 100%; }

  .footer-bar { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
