/* ============================================================
   IHIX-INDUSTRIES
   Cold architectural visual system
   ============================================================ */

:root {
  --void: #05070a;
  --space: #090d13;
  --space-deep: #070a0f;

  --surface: rgba(154, 176, 207, 0.045);
  --glass: rgba(177, 197, 226, 0.07);
  --glass-strong: rgba(185, 204, 231, 0.1);

  --line: rgba(199, 216, 239, 0.13);
  --line-bright: rgba(219, 231, 247, 0.25);

  --text: #eef3f8;
  --muted: #9aa7b7;
  --dim: #687586;

  --ice: #d5e0ed;
  --cold-blue: #879ab3;

  --max-width: 1240px;
  --radius: 4px;
}


/* ============================================================
   BASE
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;

  background:
    radial-gradient(
      ellipse 80% 42% at 76% 6%,
      rgba(139, 164, 198, 0.11),
      transparent 62%
    ),
    radial-gradient(
      ellipse 60% 34% at 14% 48%,
      rgba(78, 98, 125, 0.07),
      transparent 68%
    ),
    linear-gradient(
      145deg,
      var(--void),
      var(--space) 46%,
      #06090d
    );

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  pointer-events: none;

  opacity: 0.28;

  background-image:
    linear-gradient(
      rgba(206, 221, 241, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(206, 221, 241, 0.02) 1px,
      transparent 1px
    );

  background-size: 88px 88px;

  mask-image:
    radial-gradient(
      ellipse at 55% 20%,
      black,
      transparent 72%
    );
}

a {
  color: inherit;
}

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

::selection {
  color: var(--void);
  background: var(--ice);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;

  padding: 10px 16px;

  transform: translateY(-160%);

  background: var(--ice);
  color: var(--void);

  border-radius: 2px;
}

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

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 5px;
  border-radius: 2px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  padding-top: 12px;

  background:
    linear-gradient(
      to bottom,
      rgba(5, 7, 10, 0.76),
      transparent
    );
}

.header-inner {
  height: 64px;

  display: flex;
  align-items: center;

  gap: 34px;

  padding: 0 18px;

  border: 1px solid rgba(211, 225, 243, 0.1);

  background:
    rgba(12, 17, 24, 0.52);

  backdrop-filter:
    blur(26px)
    saturate(115%);

  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 18px 60px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  color: var(--text);

  text-decoration: none;

  font-size: 0.85rem;
  letter-spacing: 0.14em;

  white-space: nowrap;
}

.brand strong {
  color: var(--ice);
  font-weight: 430;
}

.brand-logo {
  display: block;

  width: auto;
  height: 28px;

  flex: 0 0 auto;

  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;

  gap: 30px;

  margin-left: auto;
}

.desktop-nav a,
.footer-links a {
  position: relative;

  color: var(--muted);

  font-size: 0.75rem;
  letter-spacing: 0.035em;

  text-decoration: none;

  transition: color 0.6s ease;
}

.desktop-nav a::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -8px;
  left: 0;

  height: 1px;

  transform: scaleX(0);

  background: var(--ice);

  transition: transform 0.6s ease;
}

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

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;

  min-height: 50px;

  align-items: center;
  justify-content: center;

  gap: 14px;

  padding: 0 23px;

  border:
    1px solid
    rgba(231, 239, 249, 0.52);

  border-radius: 2px;

  background:
    linear-gradient(
      135deg,
      rgba(242, 247, 252, 0.96),
      rgba(202, 216, 233, 0.84)
    );

  color: #0a0e14;

  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.025em;

  text-decoration: none;

  box-shadow:
    0 0 36px rgba(185, 206, 232, 0.09),
    inset 0 1px rgba(255, 255, 255, 0.9);

  transition:
    transform 0.7s ease,
    box-shadow 0.7s ease,
    background 0.7s ease;
}

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

  box-shadow:
    0 0 50px
    rgba(193, 214, 240, 0.18);

  background: #f4f7fb;
}

.button-secondary {
  border-color: var(--line-bright);

  background:
    rgba(183, 202, 229, 0.035);

  color: var(--text);

  backdrop-filter: blur(15px);

  box-shadow:
    inset 0 1px
    rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  background:
    rgba(196, 213, 237, 0.08);

  box-shadow:
    inset 0 1px
    rgba(255, 255, 255, 0.08);
}

.button-small {
  min-height: 36px;

  padding: 0 15px;

  font-size: 0.68rem;
}

.mobile-menu {
  display: none;

  margin-left: auto;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;

  min-height: max(820px, 92vh);

  display: grid;
  align-items: center;

  overflow: hidden;
  isolation: isolate;

  margin-top: -76px;
  padding-top: 76px;

  border-bottom: 1px solid var(--line);

  background: #06090d;
}


/* Main environmental lighting */

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -3;

  pointer-events: none;

  background:
    radial-gradient(
      ellipse 54% 74% at 79% 36%,
      rgba(185, 205, 231, 0.13),
      transparent 68%
    ),
    radial-gradient(
      ellipse 46% 30% at 73% 92%,
      rgba(105, 128, 158, 0.055),
      transparent 72%
    ),
    linear-gradient(
      100deg,
      #05070a 0%,
      #070b10 48%,
      #101720 76%,
      #070a0f 100%
    );
}


/* Vertical cold light column */

.hero::after {
  content: "";

  position: absolute;

  z-index: -2;

  width: 34%;
  height: 130%;

  right: 14%;
  top: -15%;

  pointer-events: none;

  border-inline:
    1px solid
    rgba(221, 232, 246, 0.035);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(229, 238, 248, 0.075) 48%,
      rgba(166, 188, 216, 0.025) 70%,
      transparent
    );

  filter: blur(14px);

  animation:
    light-drift
    30s
    ease-in-out
    infinite
    alternate;
}

.hero-grid {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(0, 0.99fr)
    minmax(480px, 1.01fr);

  align-items: center;

  gap: clamp(24px, 4vw, 68px);

  min-height:
    calc(max(820px, 92vh) - 76px);

  padding-block: 115px 78px;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.eyebrow {
  margin: 0 0 25px;

  color: var(--cold-blue);

  font:
    500
    0.64rem/1.35
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;

  letter-spacing: 0.19em;

  text-transform: uppercase;
}

.status-dot {
  display: inline-block;

  width: 5px;
  height: 5px;

  margin-right: 10px;

  border-radius: 50%;

  background: var(--ice);

  box-shadow:
    0 0 15px
    rgba(213, 224, 237, 0.65);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 850px;

  margin: 0;

  font-size:
    clamp(3.8rem, 5.8vw, 5.85rem);

  font-weight: 390;

  line-height: 0.98;

  letter-spacing: -0.055em;
}

h1 span {
  color: #a3afbd;

  font-weight: 310;
}

.hero-lead {
  max-width: 590px;

  margin: 34px 0 0;

  color: #aab5c2;

  font-size:
    clamp(0.96rem, 1.2vw, 1.08rem);

  font-weight: 330;

  line-height: 1.85;
}

.button-row {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 43px;
}


/* ============================================================
   HERO — ARCHITECTURAL GLASS ENVIRONMENT

   Three large translucent architectural planes create depth.

   No:
   - logos
   - fake technical labels
   - diagrams
   - nodes
   - realistic room
   ============================================================ */

.hero-atmosphere {
  position: absolute;

  z-index: 1;

  top: 5%;
  right: -2%;
  bottom: 2%;

  width: 53%;

  overflow: visible;

  pointer-events: none;

  perspective: 1450px;
  transform-style: preserve-3d;

  animation:
    atmosphere-drift
    36s
    ease-in-out
    infinite
    alternate;
}


/* Deep ambient illumination behind glass */

.hero-atmosphere::before {
  content: "";

  position: absolute;

  width: 64%;
  height: 88%;

  left: 20%;
  top: 2%;

  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 51% 47%,
      rgba(214, 227, 244, 0.125),
      rgba(154, 178, 208, 0.055) 34%,
      rgba(102, 126, 158, 0.022) 56%,
      transparent 74%
    );

  filter: blur(38px);

  opacity: 0.92;
}


/*
 * Abstract lower reflective plane.
 * This deliberately does NOT resemble a realistic floor.
 */

.hero-atmosphere::after {
  content: "";

  position: absolute;

  left: 4%;
  right: 0;
  bottom: 3%;

  height: 20%;

  transform:
    perspective(880px)
    rotateX(68deg)
    translateZ(-22px);

  transform-origin:
    bottom center;

  border-top:
    1px solid
    rgba(219, 231, 247, 0.12);

  background:
    linear-gradient(
      to bottom,
      rgba(201, 217, 237, 0.075),
      rgba(121, 145, 175, 0.026) 35%,
      rgba(75, 93, 118, 0.009) 68%,
      transparent 90%
    );

  box-shadow:
    inset 0 1px
    rgba(235, 242, 250, 0.055),

    0 -24px 70px
    rgba(145, 170, 202, 0.025);

  opacity: 0.65;

  filter: blur(0.2px);
}


/* Shared glass material */

.ambient-pane {
  position: absolute;

  display: block;

  border: 0;

  border-left:
    1px solid
    rgba(225, 236, 249, 0.22);

  border-right:
    1px solid
    rgba(158, 181, 210, 0.045);

  background:
    linear-gradient(
      101deg,

      rgba(225, 235, 248, 0.018) 0%,

      rgba(201, 217, 237, 0.07) 28%,

      rgba(230, 239, 250, 0.12) 48%,

      rgba(158, 180, 208, 0.05) 66%,

      rgba(100, 121, 149, 0.012) 100%
    );

  box-shadow:
    inset 16px 0 42px
    rgba(229, 238, 249, 0.018),

    inset -1px 0
    rgba(232, 241, 251, 0.025),

    0 28px 90px
    rgba(0, 0, 0, 0.13);

  backdrop-filter:
    blur(7px);

  transform-origin:
    center;

  will-change: transform;
}


/* ------------------------------------------------------------
   Rear plane
   Large and slightly softer.
   ------------------------------------------------------------ */

.pane-distant {
  width: 39%;
  height: 74%;

  left: 6%;
  top: 6%;

  opacity: 0.31;

  transform:
    translateZ(-110px)
    rotateY(1.6deg);

  filter: blur(0.45px);

  background:
    linear-gradient(
      101deg,

      rgba(202, 219, 239, 0.016),

      rgba(218, 231, 247, 0.075) 42%,

      rgba(141, 165, 196, 0.035) 68%,

      transparent
    );
}


/* ------------------------------------------------------------
   Main plane
   Most visible piece of architectural glass.
   ------------------------------------------------------------ */

.pane-middle {
  width: 33%;
  height: 64%;

  left: 40%;
  top: 17%;

  opacity: 0.46;

  border-left-color:
    rgba(234, 242, 251, 0.31);

  border-right-color:
    rgba(162, 184, 213, 0.065);

  background:
    linear-gradient(
      101deg,

      rgba(218, 231, 246, 0.028),

      rgba(230, 239, 250, 0.115) 38%,

      rgba(208, 223, 242, 0.085) 56%,

      rgba(139, 162, 193, 0.026) 81%,

      rgba(91, 111, 139, 0.008)
    );

  transform:
    translateZ(18px)
    rotateY(-0.9deg);

  box-shadow:
    inset 20px 0 44px
    rgba(236, 243, 251, 0.025),

    -14px 0 56px
    rgba(184, 205, 230, 0.022),

    0 36px 100px
    rgba(0, 0, 0, 0.14);
}


/* Highlight where ambient light appears to pass through */

.pane-middle::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;

  left: 37%;

  width: 25%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(229, 238, 249, 0.075),
      transparent
    );

  filter: blur(11px);

  opacity: 0.7;
}


/* ------------------------------------------------------------
   Foreground plane
   Narrower, nearer and slightly clearer.
   ------------------------------------------------------------ */

.pane-edge {
  width: 25%;
  height: 53%;

  right: -1%;
  top: 13%;

  opacity: 0.30;

  border-left-color:
    rgba(227, 238, 249, 0.24);

  transform:
    translateZ(85px)
    rotateY(-1.7deg);

  background:
    linear-gradient(
      102deg,

      rgba(229, 238, 249, 0.02),

      rgba(220, 232, 247, 0.095) 42%,

      rgba(155, 178, 207, 0.045) 69%,

      transparent
    );
}


/* Soft lower reflections */

.pane-distant::after,
.pane-edge::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  top: 100%;

  height: 17%;

  background:
    linear-gradient(
      to bottom,
      rgba(185, 205, 230, 0.065),
      transparent
    );

  transform:
    scaleY(-1);

  filter: blur(15px);

  opacity: 0.22;

  pointer-events: none;
}


/* ============================================================
   HERO MOTION
   ============================================================ */

@keyframes light-drift {
  from {
    transform:
      translateX(-2%);

    opacity: 0.68;
  }

  to {
    transform:
      translateX(3%);

    opacity: 0.92;
  }
}

@keyframes atmosphere-drift {
  from {
    transform:
      translate3d(0, 0, 0);
  }

  to {
    transform:
      translate3d(0.55%, -0.2%, 0);
  }
}


/* ============================================================
   GENERAL SECTIONS
   ============================================================ */

.section {
  position: relative;

  padding-block: 145px;

  border-bottom:
    1px solid
    var(--line);
}

.section-heading {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(280px, 0.65fr);

  align-items: end;

  gap: 90px;

  margin-bottom: 74px;
}

h2 {
  margin: 0;

  font-size:
    clamp(2.7rem, 4.6vw, 4.5rem);

  font-weight: 300;

  line-height: 1.08;

  letter-spacing: -0.048em;
}

.section-heading > p {
  max-width: 410px;

  margin: 0 0 5px;

  color: var(--muted);

  font-weight: 330;
}


/* ============================================================
   SERVICES
   ============================================================ */

.service-grid {
  display: grid;

  grid-template-columns:
    1.18fr
    0.91fr
    0.91fr;

  gap: 0;

  border-block:
    1px solid
    var(--line);
}

.service-card {
  position: relative;

  display: flex;

  min-height: 440px;

  flex-direction: column;

  padding:
    38px
    34px
    32px;

  border: 0;

  border-left:
    1px solid
    var(--line);

  border-radius: 0;

  background:
    linear-gradient(
      155deg,
      rgba(196, 214, 238, 0.045),
      transparent 52%
    );

  transition:
    background
    0.8s ease;
}

.service-card:first-child {
  border-left: 0;
}

.service-card:hover {
  background:
    linear-gradient(
      155deg,
      rgba(205, 221, 242, 0.085),
      rgba(99, 117, 144, 0.015) 55%
    );
}

.service-card.featured {
  background:
    linear-gradient(
      145deg,
      rgba(206, 223, 246, 0.1),
      rgba(91, 110, 137, 0.018) 62%
    );

  box-shadow:
    inset 0 1px
    rgba(255, 255, 255, 0.05);
}

.card-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 54px;
}

.service-icon {
  display: grid;

  width: 32px;
  height: 32px;

  place-items: center;

  border:
    1px solid
    var(--line-bright);

  border-radius: 50%;

  color: var(--ice);

  background: transparent;

  font:
    500
    0.62rem/1
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}

.service-icon.hydra-service-icon {
  width: 46px;
  height: 38px;

  border: 0;
  border-radius: 0;
}

.hydra-service-icon img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.service-icon.muted {
  border-color: var(--line);

  color: #778598;

  background: transparent;
}

.tag {
  padding: 0;

  border-radius: 0;

  font:
    500
    0.54rem/1
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.tag.available {
  color: var(--ice);

  background: transparent;
}

.tag.available::before {
  content: "●";

  margin-right: 8px;

  font-size: 0.48rem;
}

.tag.planned {
  color: #788697;

  background: transparent;
}

.service-card h3,
.principle-grid h3 {
  margin: 0 0 14px;

  font-size: 1.28rem;

  font-weight: 400;

  letter-spacing: -0.015em;
}

.service-card > p {
  margin: 0;

  color: var(--muted);

  font-size: 0.88rem;

  font-weight: 330;
}

.feature-list {
  display: grid;

  gap: 8px;

  margin: 30px 0;

  padding: 20px 0 0;

  border-top:
    1px solid
    rgba(204, 220, 240, 0.07);

  list-style: none;

  color: #b7c1cd;

  font-size: 0.75rem;
}

.feature-list li::before {
  content: "—";

  margin-right: 10px;

  color: var(--cold-blue);
}

.feature-list.subdued li::before {
  color: #526071;
}

.text-link {
  margin-top: auto;

  color: var(--ice);

  font-size: 0.69rem;

  font-weight: 550;

  letter-spacing: 0.08em;

  text-decoration: none;

  text-transform: uppercase;
}

.text-link.disabled {
  color: #626f7f;
}


/* ============================================================
   HYDRA
   ============================================================ */

.hydra-section {
  overflow: hidden;

  background:
    radial-gradient(
      ellipse 48% 80% at 16% 45%,
      rgba(128, 153, 188, 0.16),
      transparent 67%
    ),
    linear-gradient(
      110deg,
      #080c12,
      #0a1019 55%,
      #06090e
    );
}

.hydra-section::before {
  content: "";

  position: absolute;

  width: 50%;
  height: 130%;

  left: -8%;
  top: -15%;

  transform: rotate(8deg);

  border-inline:
    1px solid
    rgba(211, 226, 245, 0.08);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(204, 221, 243, 0.055),
      transparent
    );

  filter: blur(1px);
}

.hydra-grid {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    0.8fr
    1.2fr;

  gap:
    clamp(70px, 11vw, 150px);

  align-items: center;
}

.hydra-mark {
  position: relative;

  aspect-ratio: 1;

  width: 100%;
  max-width: 470px;

  display: grid;

  place-items: center;

  margin-inline: auto;

  background:
    radial-gradient(
      circle,
      rgba(202, 220, 242, 0.14),
      transparent 16%,
      rgba(126, 151, 185, 0.04) 42%,
      transparent 70%
    );
}

.hydra-mark::before {
  content: "";

  position: absolute;

  width: 72%;
  height: 120%;

  transform: rotate(12deg);

  border-inline:
    1px solid
    rgba(213, 227, 245, 0.08);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(203, 221, 243, 0.045),
      transparent
    );
}

.hydra-mark img {
  position: relative;
  z-index: 3;

  display: block;

  width: 94%;
  height: 94%;

  object-fit: contain;
}

.hydra-orbit {
  position: absolute;

  z-index: 1;

  border:
    1px solid
    rgba(210, 225, 244, 0.12);

  border-radius: 50%;
}

.orbit-outer {
  inset: 4%;
}

.orbit-inner {
  inset: 20%;

  border-color:
    rgba(220, 232, 247, 0.18);
}

.hydra-node {
  position: absolute;

  z-index: 4;

  width: 6px;
  height: 6px;

  border:
    1px solid
    var(--ice);

  border-radius: 50%;

  background:
    rgba(222, 233, 247, 0.75);

  box-shadow:
    0 0 18px
    rgba(205, 223, 245, 0.5);
}

.hydra-node.node-a {
  top: 4%;
  left: 49%;
}

.hydra-node.node-b {
  bottom: 15%;
  left: 10%;
}

.hydra-node.node-c {
  top: 52%;
  right: 3%;
}

.hydra-subtitle {
  margin: 8px 0 0;

  color: var(--cold-blue);

  font:
    500
    0.68rem/1.3
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.hydra-copy .large-copy {
  margin: 28px 0;

  color: #d1dae5;

  font-size: 1.35rem;

  font-weight: 300;

  line-height: 1.65;
}

.hydra-copy > p:not(.eyebrow):not(.large-copy) {
  color: var(--muted);

  font-weight: 330;
}

.hydra-copy strong {
  color: #d7e0eb;

  font-weight: 500;
}

.hydra-actions {
  display: flex;

  align-items: center;
  flex-wrap: wrap;

  gap: 24px;

  margin-top: 40px;
}


/* ============================================================
   PHILOSOPHY
   ============================================================ */

.philosophy {
  background:
    linear-gradient(
      175deg,
      transparent,
      rgba(110, 132, 162, 0.035),
      transparent
    );
}

.principle-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-block:
    1px solid
    var(--line);
}

.principle-grid article {
  padding:
    38px
    28px
    32px
    0;
}

.principle-grid article + article {
  padding-left: 28px;

  border-left:
    1px solid
    var(--line);
}

.principle-grid span {
  display: block;

  margin-bottom: 70px;

  color: var(--cold-blue);

  font:
    500
    0.58rem/1
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;

  letter-spacing: 0.12em;
}

.principle-grid p {
  margin: 0;

  color: var(--muted);

  font-size: 0.8rem;

  font-weight: 330;
}


/* ============================================================
   ABOUT
   ============================================================ */

.about-section {
  background:
    radial-gradient(
      ellipse 60% 110% at 95% 50%,
      rgba(145, 168, 199, 0.08),
      transparent 65%
    ),
    rgba(9, 13, 19, 0.48);
}

.about-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 130px;
}

.about-copy {
  padding-top: 34px;

  border-top:
    1px solid
    var(--line-bright);
}

.about-copy p {
  margin: 0 0 23px;

  color: #adb8c6;

  font-size: 1.02rem;

  font-weight: 320;
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact-section {
  overflow: hidden;

  padding-block: 125px;

  background:
    radial-gradient(
      ellipse 50% 120% at 67% 100%,
      rgba(148, 173, 207, 0.1),
      transparent 70%
    );
}

.contact-box {
  position: relative;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 110px;

  padding: 66px 0;

  border-block:
    1px solid
    var(--line-bright);

  background: transparent;
}

.contact-box::before {
  content: "";

  position: absolute;

  width: 45%;
  height: 180%;

  right: 0;
  top: -40%;

  pointer-events: none;

  background:
    linear-gradient(
      115deg,
      transparent,
      rgba(202, 219, 240, 0.045),
      transparent
    );

  transform: skewX(-12deg);
}

.contact-box > div {
  position: relative;

  z-index: 1;
}

.contact-box > div > p:last-child {
  max-width: 480px;

  color: var(--muted);
}

.contact-details {
  align-self: end;
}

.contact-details > span {
  display: block;

  color: #758396;

  font:
    500
    0.58rem/1
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.contact-details > a {
  display: inline-block;

  margin: 15px 0 28px;

  color: var(--text);

  font-size:
    clamp(1rem, 2vw, 1.35rem);

  font-weight: 350;

  text-decoration-color:
    rgba(206, 222, 242, 0.4);

  text-underline-offset: 8px;
}

.contact-details p {
  margin: 0;

  color: var(--muted);

  font-size: 0.78rem;
}

.contact-details p a,
.legal-content a {
  color: var(--ice);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding:
    66px
    0
    28px;

  border-top:
    1px solid
    rgba(208, 223, 242, 0.07);

  background: #040609;
}

.footer-inner {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 40px;

  padding-bottom: 55px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-inner p {
  margin: 0;

  color: #5f6c7c;

  font-size: 0.72rem;
}

.footer-links {
  display: flex;

  flex-wrap: wrap;

  gap: 30px;
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-top: 23px;

  border-top:
    1px solid
    rgba(207, 222, 241, 0.07);

  color: #566272;

  font-size: 0.65rem;

  letter-spacing: 0.04em;
}


/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-main {
  position: relative;

  min-height: 65vh;

  padding-block:
    105px
    135px;
}

.legal-main::before {
  content: "";

  position: absolute;

  z-index: -1;

  width: 70vw;
  height: 500px;

  top: -100px;
  right: -18vw;

  background:
    radial-gradient(
      ellipse,
      rgba(140, 164, 198, 0.11),
      transparent 68%
    );

  filter: blur(20px);
}

.legal-header {
  max-width: 790px;

  margin-bottom: 70px;
}

.legal-header h1 {
  font-size:
    clamp(3.4rem, 7vw, 6.2rem);
}

.legal-header p:last-child {
  color: var(--muted);

  font-size: 1.02rem;
}

.legal-content {
  max-width: 840px;
}

.legal-content section {
  margin-top: 0;

  padding-block: 42px;

  border-top:
    1px solid
    var(--line);
}

.legal-content section:last-child {
  border-bottom:
    1px solid
    var(--line);
}

.legal-content h2 {
  margin-bottom: 18px;

  font-size: 1.28rem;

  font-weight: 400;

  letter-spacing: -0.015em;
}

.legal-content h3 {
  margin:
    26px
    0
    8px;

  font-size: 1rem;

  font-weight: 450;
}

.legal-content p,
.legal-content li {
  color: #adb8c5;

  font-weight: 330;
}

.legal-content address {
  padding:
    25px
    28px;

  border:
    1px solid
    var(--line);

  border-radius: 2px;

  background:
    linear-gradient(
      135deg,
      rgba(186, 205, 231, 0.055),
      rgba(88, 106, 132, 0.018)
    );

  color: #c9d3df;

  backdrop-filter:
    blur(20px);

  font-style: normal;
}

.back-link {
  display: inline-flex;

  margin-bottom: 45px;

  color: var(--muted);

  font-size: 0.78rem;

  text-decoration: none;

  transition:
    color
    0.5s ease;
}

.back-link:hover {
  color: var(--text);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

  .desktop-nav {
    gap: 17px;
  }

  .desktop-nav a {
    font-size: 0.68rem;
  }

  .hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(400px, 0.9fr);

    gap: 28px;
  }

  .hero-atmosphere {
    right: -7vw;

    width: 57%;
  }

  .pane-distant {
    width: 41%;
  }

  .pane-middle {
    width: 35%;
  }

  .pane-edge {
    right: -6%;

    width: 27%;
  }

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

  .service-card:last-child {
    grid-column:
      1 / -1;

    min-height: 350px;

    border-top:
      1px solid
      var(--line);

    border-left: 0;
  }

  .hydra-grid {
    gap: 65px;
  }

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

  .principle-grid article:nth-child(3) {
    border-left: 0;
  }

  .principle-grid article:nth-child(n+3) {
    border-top:
      1px solid
      var(--line);
  }
}


/* ============================================================
   MOBILE / SMALL TABLET
   ============================================================ */

@media (max-width: 780px) {

  body::before {
    opacity: 0.16;

    background-size:
      70px 70px;
  }

  .desktop-nav,
  .header-portal {
    display: none;
  }

  .site-header {
    padding-top: 8px;
  }

  .header-inner {
    height: 60px;
  }

  .mobile-menu {
    position: relative;

    display: block;
  }

  .mobile-menu summary {
    width: 40px;
    height: 40px;

    display: grid;

    align-content: center;

    gap: 5px;

    padding: 10px;

    cursor: pointer;

    list-style: none;

    border:
      1px solid
      var(--line);

    border-radius: 2px;

    background:
      rgba(177, 197, 226, 0.025);
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    display: block;

    width: 18px;
    height: 1px;

    background: var(--ice);
  }

  .mobile-menu nav {
    position: absolute;

    top: 47px;
    right: 0;

    width:
      min(
        290px,
        calc(100vw - 40px)
      );

    display: grid;

    padding: 10px;

    border:
      1px solid
      var(--line-bright);

    border-radius: 2px;

    background:
      rgba(10, 15, 22, 0.94);

    backdrop-filter:
      blur(25px);

    box-shadow:
      0 28px 70px
      rgba(0, 0, 0, 0.5);
  }

  .mobile-menu nav a {
    padding:
      11px
      12px;

    color: #b8c3d0;

    font-size: 0.8rem;

    text-decoration: none;
  }

  .mobile-menu nav a:hover {
    background:
      rgba(199, 216, 239, 0.055);

    color: var(--text);
  }

  .mobile-menu nav .mobile-portal {
    margin-top: 5px;

    border-top:
      1px solid
      var(--line);

    color: var(--ice);
  }

  .hero {
    min-height: auto;

    margin-top: -68px;

    padding-top: 68px;
  }

  .hero::after {
    width: 48vw;

    right: -8%;

    opacity: 0.38;

    filter: blur(10px);
  }

  .hero-grid {
    grid-template-columns: 1fr;

    min-height: auto;

    padding-block:
      120px
      120px;
  }

  /*
   * On mobile, atmosphere becomes a distant background
   * rather than occupying its own layout column.
   */

  .hero-atmosphere {
    top: 16%;

    right: -34vw;

    bottom: 1%;

    width: 76%;

    opacity: 0.52;

    animation: none;

    transform: scale(0.93);

    transform-origin:
      right center;
  }

  .hero-atmosphere::after {
    opacity: 0.25;
  }

  .pane-distant {
    display: none;
  }

  .pane-middle {
    left: 15%;

    width: 38%;

    height: 55%;

    opacity: 0.20;
  }

  .pane-edge {
    right: -5%;

    width: 29%;

    opacity: 0.12;
  }

  .section {
    padding-block: 100px;
  }

  .section-heading,
  .hydra-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;

    gap: 48px;
  }

  .section-heading {
    align-items: start;
  }

  .hydra-mark {
    width:
      min(
        76vw,
        350px
      );
  }

  .contact-box {
    padding:
      52px
      0;
  }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 580px) {

  .container {
    width:
      min(
        calc(100% - 30px),
        var(--max-width)
      );
  }

  .header-inner {
    padding:
      0
      12px;
  }

  .brand {
    gap: 8px;

    font-size: 0.7rem;

    letter-spacing: 0.09em;
  }

  .brand-logo {
    height: 24px;
  }

  h1 {
    font-size:
      clamp(
        3rem,
        14vw,
        4.3rem
      );
  }

  h2 {
    font-size:
      clamp(
        2.45rem,
        11vw,
        3.4rem
      );
  }

  .hero-grid {
    padding-block:
      105px
      90px;
  }

  .hero-lead {
    margin-top: 30px;
  }

  .button-row .button,
  .hydra-actions .button {
    width: 100%;
  }

  .hero-atmosphere {
    right: -49vw;

    width: 88%;

    opacity: 0.35;
  }

  .hero-atmosphere::after {
    display: none;
  }

  .pane-edge {
    display: none;
  }

  .pane-middle {
    left: 18%;

    width: 42%;

    opacity: 0.15;
  }

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

  .service-card,
  .service-card:last-child {
    grid-column: auto;

    min-height: 395px;

    border-top:
      1px solid
      var(--line);

    border-left: 0;

    padding:
      32px
      22px;
  }

  .service-card:first-child {
    border-top: 0;
  }

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

  .principle-grid article,
  .principle-grid article + article {
    padding:
      30px
      0;

    border-top:
      1px solid
      var(--line);

    border-left: 0;
  }

  .principle-grid article:first-child {
    border-top: 0;
  }

  .principle-grid span {
    margin-bottom: 28px;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    gap: 18px;
  }

  .legal-main {
    padding-block:
      75px
      100px;
  }

  .legal-header {
    margin-bottom: 50px;
  }

  .legal-content section {
    padding-block: 34px;
  }

  .legal-content address {
    padding:
      22px
      18px;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}