/* ==========================================================================
   WRIOX — PREMIUM HUMAN-DESIGNED TECHNOLOGY BRAND
   Design System & Master Stylesheet
   ========================================================================== */

:root {
  /* Brand Colors & Gradient */
  --v: #5B2CFF;               /* WRIOX Purple */
  --b: #2867FF;               /* WRIOX Electric Blue */
  --c: #18C7E8;               /* WRIOX Cyan */
  --grad-accent: linear-gradient(135deg, #5B2CFF 0%, #2867FF 50%, #18C7E8 100%);
  --grad-glow: linear-gradient(135deg, rgba(91, 44, 255, 0.15) 0%, rgba(40, 103, 255, 0.10) 50%, rgba(24, 199, 232, 0.05) 100%);

  /* Neutral Theme Colors */
  --bg: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-muted: #F1F5F9;
  --ink: #0B1020;
  --ink-secondary: #334155;
  --mute: #526077;
  --mute-light: #8C9BB0;
  --line: #E2E8F0;
  --line-light: #F1F5F9;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 16, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 16, 32, 0.06);
  --shadow-lg: 0 16px 40px rgba(11, 16, 32, 0.08);
  --shadow-btn: 0 10px 24px rgba(40, 103, 255, 0.25), 0 2px 6px rgba(91, 44, 255, 0.15);
  --shadow-btn-hover: 0 14px 32px rgba(40, 103, 255, 0.35), 0 4px 12px rgba(91, 44, 255, 0.22);

  /* Typography */
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap-max: 1200px;
  --nav-height: 72px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  flex: 1;
}

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

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

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Container */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
  user-select: none;
  text-decoration: none;
}

.btn-primary {
  color: #FFFFFF;
  background: var(--grad-accent);
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow: var(--shadow-btn);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  background-position: 100% 50%;
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  color: var(--ink);
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 103, 255, 0.4);
  box-shadow: var(--shadow-md);
  color: var(--b);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 10px;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(11, 16, 32, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.85;
}

.brand-wordmark {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all 0.25s ease;
}

.nav-action-btn:hover {
  background: #FFFFFF;
  border-color: var(--b);
  color: var(--b);
  box-shadow: 0 4px 12px rgba(40, 103, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #FFFFFF;
}

.menu-icon {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background-color: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px rgba(24, 199, 232, 0.8);
}

.eyebrow-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-title {
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 48ch;
  margin-bottom: 36px;
}

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

/* Floating 3D Logo Stage */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.hero-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  max-width: 480px;
  max-height: 340px;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(91, 44, 255, 0.10) 0%, rgba(40, 103, 255, 0.06) 40%, rgba(24, 199, 232, 0.02) 70%, transparent 80%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.logo-floating-stage,
.logo-static-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 16px 0 28px;
  user-select: none;
}

.hero-floating-logo-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  filter: drop-shadow(0 20px 36px rgba(40, 103, 255, 0.16)) drop-shadow(0 4px 12px rgba(91, 44, 255, 0.10));
}

.logo-contact-shadow {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  max-width: 340px;
  height: 24px;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(11, 16, 32, 0.18) 0%, rgba(40, 103, 255, 0.06) 45%, transparent 75%);
  filter: blur(10px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* ==========================================================================
   EDITORIAL SECTIONS (GLOBAL ARCHITECTURE)
   ========================================================================== */

.editorial-section {
  padding: 104px 0 112px;
  background-color: var(--bg);
  position: relative;
}

.section-light {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header-editorial {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.section-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--b);
}

.label-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.section-headline {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-lead {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 58ch;
}

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

/* Who / What / How Pillars */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}

.about-pillar-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.section-light .about-pillar-card {
  background: #FFFFFF;
}

.about-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(40, 103, 255, 0.3);
}

/* WRIOX Monoline Icon Base System */
.wriox-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E4E8F0;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(11, 16, 32, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease;
}

.wriox-icon {
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.25s ease;
  will-change: transform, filter;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.pillar-who {
  box-shadow: 0 2px 10px rgba(91, 44, 255, 0.06);
}

.pillar-what {
  box-shadow: 0 2px 10px rgba(40, 103, 255, 0.06);
}

.pillar-how {
  box-shadow: 0 2px 10px rgba(24, 199, 232, 0.08);
}

.about-pillar-card:hover .pillar-who,
.pillar-who:hover {
  border-color: rgba(91, 44, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(91, 44, 255, 0.10), 0 6px 16px rgba(91, 44, 255, 0.14);
}

.about-pillar-card:hover .pillar-what,
.pillar-what:hover {
  border-color: rgba(40, 103, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(40, 103, 255, 0.10), 0 6px 16px rgba(40, 103, 255, 0.14);
}

.about-pillar-card:hover .pillar-how,
.pillar-how:hover {
  border-color: rgba(24, 199, 232, 0.55);
  box-shadow: 0 0 0 3px rgba(24, 199, 232, 0.12), 0 6px 16px rgba(24, 199, 232, 0.16);
}

.about-pillar-card:hover .wriox-icon,
.wriox-icon-container:hover .wriox-icon {
  transform: scale(1.04);
  filter: brightness(1.15) drop-shadow(0 2px 6px rgba(40, 103, 255, 0.2));
}

.pillar-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-light);
  margin-bottom: 6px;
}

.pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
}

/* Principles Editorial Rows */
.principles-editorial-block {
  margin-bottom: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.block-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}

.block-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.block-caption {
  font-size: 14px;
  color: var(--mute-light);
}

.principles-list {
  display: flex;
  flex-direction: column;
}

.principle-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.2s ease, padding 0.2s ease;
}

.principle-row:hover {
  transform: translateX(4px);
}

.principle-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--b);
}

.principle-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.principle-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 65ch;
}

/* Vision Mission Two-Column Split */
.vision-mission-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 48px 40px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.vm-col {
  display: flex;
  flex-direction: column;
}

.vm-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b);
  margin-bottom: 14px;
}

.vm-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}

.vm-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--mute);
}

/* ==========================================================================
   SERVICES SECTION (EDITORIAL DIRECTORY TABLE)
   ========================================================================== */

.services-directory {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 36px;
}

.service-row {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: 36px;
  align-items: center;
  padding: 32px 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.25s ease, padding 0.25s ease;
  border-radius: 8px;
}

.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--grad-accent);
  border-radius: 3px;
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row:hover {
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  padding-left: 24px;
}

.service-row:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-icon-box {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
}

.service-row:hover .service-web {
  border-color: rgba(91, 44, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(91, 44, 255, 0.10), 0 4px 14px rgba(91, 44, 255, 0.14);
}

.service-row:hover .service-software {
  border-color: rgba(40, 103, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(40, 103, 255, 0.10), 0 4px 14px rgba(40, 103, 255, 0.14);
}

.service-row:hover .service-portfolio {
  border-color: rgba(91, 44, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(91, 44, 255, 0.10), 0 4px 14px rgba(91, 44, 255, 0.14);
}

.service-row:hover .service-landing {
  border-color: rgba(40, 103, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(40, 103, 255, 0.10), 0 4px 14px rgba(40, 103, 255, 0.14);
}

.service-row:hover .service-branding {
  border-color: rgba(91, 44, 255, 0.40);
  box-shadow: 0 0 0 3px rgba(91, 44, 255, 0.10), 0 4px 14px rgba(24, 199, 232, 0.14);
}

.service-row:hover .service-marketing {
  border-color: rgba(24, 199, 232, 0.55);
  box-shadow: 0 0 0 3px rgba(24, 199, 232, 0.12), 0 4px 14px rgba(24, 199, 232, 0.16);
}

.service-row:hover .wriox-icon {
  transform: scale(1.04);
  filter: brightness(1.15) drop-shadow(0 2px 6px rgba(40, 103, 255, 0.2));
}

.service-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.service-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-light);
}

.service-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 60ch;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
}

.service-features li {
  font-size: 14.5px;
  color: var(--mute);
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--b);
  opacity: 0.75;
}

.service-action {
  display: flex;
  justify-content: flex-end;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-row:hover .service-link {
  color: var(--b);
  transform: translateX(2px);
}

.services-footer-note {
  padding-top: 24px;
  color: var(--mute-light);
  font-size: 14.5px;
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */

.products-upcoming-box {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.products-upcoming-box:hover {
  border-color: rgba(40, 103, 255, 0.3);
  box-shadow: var(--shadow-sm);
}

.upcoming-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 100px;
  margin-bottom: 20px;
}

.upcoming-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 6px rgba(24, 199, 232, 0.8);
}

.upcoming-badge-text {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.upcoming-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.upcoming-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--mute);
  max-width: 58ch;
  margin-bottom: 32px;
}

.upcoming-action {
  display: flex;
}

/* ==========================================================================
   CAREER SECTION
   ========================================================================== */

.career-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.value-item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
}

.value-num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--b);
  display: block;
  margin-bottom: 12px;
}

.value-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute);
}

.career-openings-block {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.roles-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

.role-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 180px;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.2s ease;
}

.role-row:hover {
  transform: translateX(4px);
}

.role-primary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.role-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.role-desc {
  font-size: 14px;
  color: var(--mute);
}

.role-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--mute);
}

.role-apply-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.2s ease;
}

.role-row:hover .role-apply-link {
  color: var(--b);
  transform: translateX(2px);
}

.career-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.career-cta-text h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.career-cta-text p {
  font-size: 15px;
  color: var(--mute);
  margin: 0;
}

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

.contact-section {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}

.contact-ambient-glow {
  position: absolute;
  top: 40%;
  left: 15%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 420px;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(91, 44, 255, 0.05) 0%, rgba(40, 103, 255, 0.035) 45%, rgba(24, 199, 232, 0.015) 70%, transparent 80%);
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.contact-orbit-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.contact-orbit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 1000px;
  pointer-events: none;
}

.contact-planet-node {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.contact-planet-node.node-1 {
  left: 3.5%;
  top: 52%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #b295ff 0%, #5B2CFF 65%, #3813af 100%);
  box-shadow: 0 0 16px rgba(91, 44, 255, 0.55), 0 0 6px rgba(91, 44, 255, 0.4);
  animation: nodeFloat1 7s ease-in-out infinite;
}

.contact-planet-node.node-2 {
  left: 47%;
  bottom: 22%;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 35% 35%, #7dd3fc 0%, #0284c7 65%, #0369a1 100%);
  box-shadow: 0 0 14px rgba(24, 199, 232, 0.6), 0 0 6px rgba(40, 103, 255, 0.45);
  animation: nodeFloat2 8.5s ease-in-out infinite;
}

@keyframes nodeFloat1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.08); }
}

@keyframes nodeFloat2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(6px) scale(0.94); }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.contact-eyebrow-line {
  display: inline-flex;
  align-items: center;
  width: 58px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  position: relative;
}

.contact-eyebrow-dot {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 6px rgba(24, 199, 232, 0.85);
}

.contact-title {
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}

.contact-gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.contact-desc {
  font-size: 18px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 36ch;
  margin-bottom: 38px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.contact-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, color 0.2s ease;
  width: fit-content;
}

.channel-icon {
  width: 42px;
  height: 42px;
}

.channel-icon.mail-icon {
  box-shadow: 0 2px 8px rgba(91, 44, 255, 0.05);
}

.channel-icon.phone-icon {
  box-shadow: 0 2px 8px rgba(40, 103, 255, 0.05);
}

.channel-icon.instagram-icon {
  box-shadow: 0 2px 8px rgba(24, 199, 232, 0.06);
}

.channel-icon.linkedin-icon {
  box-shadow: 0 2px 8px rgba(40, 103, 255, 0.05);
}

.contact-channel-link:hover .mail-icon {
  border-color: #5B2CFF;
  box-shadow: 0 0 0 3px rgba(91, 44, 255, 0.12), 0 4px 14px rgba(91, 44, 255, 0.18);
}

.contact-channel-link:hover .phone-icon {
  border-color: #2867FF;
  box-shadow: 0 0 0 3px rgba(40, 103, 255, 0.12), 0 4px 14px rgba(40, 103, 255, 0.18);
}

.contact-channel-link:hover .instagram-icon {
  border-color: #18C7E8;
  box-shadow: 0 0 0 3px rgba(24, 199, 232, 0.14), 0 4px 14px rgba(24, 199, 232, 0.18);
}

.contact-channel-link:hover .linkedin-icon {
  border-color: #2867FF;
  box-shadow: 0 0 0 3px rgba(40, 103, 255, 0.12), 0 4px 14px rgba(40, 103, 255, 0.18);
}

.contact-channel-link:hover .wriox-icon {
  transform: scale(1.04);
  filter: brightness(1.2) drop-shadow(0 2px 6px rgba(40, 103, 255, 0.22));
}

.channel-text {
  font-family: var(--font-body);
}

.contact-channel-link:hover {
  color: var(--b);
  transform: translateX(2px);
}

.contact-footer-tags {
  padding-top: 24px;
  position: relative;
}

.contact-tag-bar {
  display: block;
  width: 44px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--v), var(--b));
  border-radius: 2px;
  margin-bottom: 14px;
}

.contact-tags-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-light);
}

.contact-tags-text span {
  color: #CBD5E1;
  margin: 0 8px;
  font-weight: 400;
}

/* Contact Form */
.contact-right {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 26px;
  position: relative;
}

.field-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

.field-control {
  position: relative;
  width: 100%;
}

.field-control input,
.field-control textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid rgba(11, 16, 32, 0.14);
  background: transparent;
  padding: 10px 0 12px;
  font-size: 15.5px;
  color: var(--ink);
  font-family: inherit;
  border-radius: 0;
  transition: border-color 0.25s ease;
  outline: none;
  box-shadow: none;
}

.field-control textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.5;
}

.field-control input::placeholder,
.field-control textarea::placeholder {
  color: var(--mute-light);
  font-size: 14.5px;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.field-control input:focus::placeholder,
.field-control textarea:focus::placeholder {
  opacity: 0.5;
}

.field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.field-control:focus-within .field-line {
  transform: scaleX(1);
}

.field-control:focus-within input,
.field-control:focus-within textarea {
  border-bottom-color: transparent;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--grad-accent);
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background-position 0.4s ease;
  margin-top: 10px;
  width: 100%;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  background-position: 100% 50%;
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.msg {
  font-size: 14.5px;
  color: var(--mute);
  min-height: 1.4em;
  margin-top: 12px;
  text-align: center;
}

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

.site-footer {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--line);
  padding: 80px 0 36px;
  color: var(--mute);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-link {
  display: inline-block;
  margin-bottom: 20px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-brand-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-statement {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.footer-subtext {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 32ch;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-col-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-list a {
  font-size: 14.5px;
  color: var(--mute);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-link-list a:hover {
  color: var(--b);
  transform: translateX(2px);
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--mute-light);
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  margin: 0;
}

.footer-tagline {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 960px) {
  .site-header {
    height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 32px;
    gap: 24px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .nav-links a {
    font-size: 17px;
  }

  .nav-action-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .hero-section {
    padding: 56px 0 72px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-content {
    display: contents;
  }

  .eyebrow-badge {
    order: 1;
    margin-bottom: 20px;
  }

  .hero-title {
    order: 2;
    margin-bottom: 20px;
  }

  .hero-visual {
    order: 3;
    width: 100%;
    max-width: 440px;
    margin: 8px auto 32px;
  }

  .hero-lead {
    order: 4;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .hero-actions {
    order: 5;
    margin-bottom: 0;
  }

  .section-header-editorial {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-pillars-grid,
  .career-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vision-mission-split {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 24px;
  }

  .service-row {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .service-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }

  .role-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .role-apply-link {
    justify-content: flex-start;
  }

  .career-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  .hero-section {
    padding: 40px 0 56px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 17px;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .editorial-section {
    padding: 72px 0 80px;
  }

  .section-headline {
    font-size: 32px;
  }

  .service-row {
    grid-template-columns: 1fr;
    padding: 24px 12px;
  }

  .service-action {
    justify-content: flex-start;
  }

  .contact-title {
    font-size: 32px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .logo-float-animator,
  .logo-contact-shadow,
  .contact-planet-node {
    animation: none !important;
  }

  .logo-interactive-tilt {
    transform: none !important;
  }
}