/* ===================================
   ExchangeSpeed Pty Ltd — Design System
   Deep technology · Quiet execution
   =================================== */

:root {
  /* Brand — derived from the ExchangeSpeed mark */
  --navy-deep:    #060f24;
  --navy:         #14264E;
  --navy-mid:     #1B335E;
  --navy-soft:    #243B6C;
  --slate-700:    #2F405E;
  --slate-500:    #5A6A85;
  --slate-300:    #94A1B5;
  --slate-200:    #B7C0CE;
  --slate-100:    #DDE3EE;
  --slate-050:    #EDF1F7;
  --paper:        #FBFCFE;
  --paper-alt:    #F4F6FB;
  --ink:          #0F1A33;
  --ink-muted:    #4F5B73;

  /* Single signal accent — used surgically */
  --signal:        #6FB6E8;
  --signal-strong: #4F94CD;
  --signal-soft:   rgba(111, 182, 232, 0.16);

  /* A single warm accent — reserved for the slogan underline & rule-marks */
  --warm:          #C8A672;
  --warm-soft:     rgba(200, 166, 114, 0.18);

  /* Type */
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:    'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(8, 18, 42, 0.06);
  --shadow-md: 0 14px 36px -18px rgba(8, 18, 42, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(8, 18, 42, 0.30);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }
::selection { background: var(--signal-soft); color: var(--navy); }

input, select, textarea {
  font: inherit;
  font-family: var(--font-sans);
  color: var(--ink);
  border: 1px solid var(--slate-100);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 38, 78, 0.08);
}
textarea { resize: vertical; min-height: 120px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235A6A85' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Container */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Section spacing */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
}
.section__label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  color: var(--navy-deep);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-md);
  max-width: 760px;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 620px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 24px -8px rgba(0, 0, 0, 0.25);
}
.btn--full { width: 100%; }
.btn--large { padding: 1rem 2rem; font-size: 1rem; }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}
.nav--scrolled {
  background: rgba(251, 252, 254, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-100);
  padding: 0.75rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.nav--scrolled .nav__logo-img { filter: none; }
.nav__brand-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.nav--scrolled .nav__brand-tag {
  color: var(--ink-muted);
  border-left-color: var(--slate-100);
}
.nav__links {
  display: flex;
  gap: 2.25rem;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--transition);
}
.nav--scrolled .nav__links a {
  color: var(--ink-muted);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.nav__links a:hover { color: #fff; }
.nav--scrolled .nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { width: 100%; }
.nav__links a[data-active="true"] { color: #fff; }
.nav--scrolled .nav__links a[data-active="true"] { color: var(--navy); }
.nav__links a[data-active="true"]::after { width: 100%; opacity: 0.7; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav--scrolled .nav__toggle span { background: var(--navy); }

/* ========== HERO ========== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 70% 0%, rgba(111, 182, 232, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 100% 70% at 0% 100%, rgba(200, 166, 114, 0.08) 0%, transparent 50%),
    linear-gradient(170deg, #0a1530 0%, #0c1a3a 35%, #060f24 100%);
  z-index: -3;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 40%, #000 30%, transparent 80%);
}

.hero__signal {
  position: absolute;
  left: 0; right: 0;
  bottom: 12%;
  width: 100%;
  height: 120px;
  z-index: -1;
  color: rgba(111, 182, 232, 0.35);
  opacity: 0.7;
}
.hero__signal-line {
  stroke-dasharray: 4 6;
  animation: signal-drift 18s linear infinite;
}
.hero__signal-dot {
  animation: signal-travel 6s ease-in-out infinite;
}
@keyframes signal-drift {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -200; }
}
@keyframes signal-travel {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(1440px); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 9rem;
  padding-bottom: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero__head {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2xl);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  flex: 1;
  max-width: 760px;
  margin-bottom: 0;
}
.hero__line {
  display: block;
}
.hero__line--emph {
  color: rgba(255, 255, 255, 0.95);
}
.hero__emph {
  position: relative;
  display: inline-block;
  padding-bottom: 0.18em;
}
.hero__emph em {
  font-style: italic;
  font-weight: 500;
  color: #fff;
}

/* The animated underline beneath "for the better." */
.hero__underline {
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: -0.06em;
  width: calc(100% + 0.1em);
  height: 0.34em;
  color: var(--warm);
  overflow: visible;
  pointer-events: none;
}
.hero__underline-path {
  vector-effect: non-scaling-stroke;
}
.hero__underline-path--ghost {
  opacity: 0.22;
  stroke-dasharray: 2 5;
  stroke-width: 1;
  animation: underline-ghost 6s ease-in-out infinite;
}
.hero__underline-path--main {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(200, 166, 114, 0.40));
  animation: underline-stroke 9.5s cubic-bezier(0.65, 0, 0.35, 1) 1.1s infinite;
}

@keyframes underline-stroke {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  3%   { stroke-dashoffset: 1; opacity: 1; }
  18%  { stroke-dashoffset: 0; opacity: 1; }
  78%  { stroke-dashoffset: 0; opacity: 1; }
  92%  { stroke-dashoffset: -1; opacity: 1; }
  93%  { stroke-dashoffset: -1; opacity: 0; }
  100% { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes underline-ghost {
  0%, 100% { opacity: 0.12; stroke-dashoffset: 0; }
  50%      { opacity: 0.28; stroke-dashoffset: -8; }
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 880px;
  margin-bottom: 0;
}

.hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Hero — "Powered by Oracle Cloud" credit, anchored bottom-right */
.hero__powered {
  align-self: flex-end;
  margin-top: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.hero__powered:hover {
  color: rgba(255, 255, 255, 0.78);
}
.hero__powered-logo {
  height: 18px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity var(--transition);
}
.hero__powered:hover .hero__powered-logo {
  opacity: 0.95;
}
.hero__powered-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.5), transparent);
  transform-origin: right center;
  animation: poweredPulse 2.4s ease-in-out infinite;
}
@keyframes poweredPulse {
  0%, 100% { opacity: 0.25; transform: scaleX(0.55); }
  50%      { opacity: 1;    transform: scaleX(1); }
}
.hero__powered-mark {
  font-family: var(--font-sans);
  font-size: 1.55em;
  letter-spacing: 0;
  margin-left: -0.1rem;
  opacity: 0.75;
}

/* Hero — visual companion (sized to roughly match the slogan height) */
.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}
.hero__visual-frame {
  position: relative;
  width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow:
    0 24px 60px -22px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: heroFloat 9s ease-in-out infinite;
}
.hero__visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 100%, rgba(200, 166, 114, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(8, 18, 42, 0.35) 100%);
  pointer-events: none;
}
.hero__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
  transition: transform var(--transition);
}
.hero__visual-frame:hover .hero__visual-img {
  transform: scale(1.03);
}

/* Corner crop-marks — quiet "dossier" framing */
.hero__visual-corner {
  position: absolute;
  width: 11px;
  height: 11px;
  pointer-events: none;
  z-index: 3;
  border: 1px solid var(--warm);
  opacity: 0.85;
}
.hero__visual-corner--tl { top: 7px;    left: 7px;    border-right: none; border-bottom: none; }
.hero__visual-corner--tr { top: 7px;    right: 7px;   border-left:  none; border-bottom: none; }
.hero__visual-corner--bl { bottom: 7px; left: 7px;    border-right: none; border-top:    none; }
.hero__visual-corner--br { bottom: 7px; right: 7px;   border-left:  none; border-top:    none; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ========== MARQUEE STRIP ========== */
.marquee {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 1.1rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 1.5rem;
  padding-left: 100%;
  animation: marquee 60s linear infinite;
}
.marquee__sep {
  color: var(--warm);
  opacity: 0.65;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== THESIS ========== */
.thesis {
  background: var(--paper);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}
.thesis__inner {
  max-width: 920px;
}
.thesis__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--navy-deep);
  margin-bottom: var(--space-xl);
  text-wrap: balance;
}
.thesis__accent {
  font-style: italic;
  color: var(--navy);
  background-image: linear-gradient(transparent 75%, var(--warm-soft) 75%);
}
.thesis__body p {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  line-height: 1.85;
  max-width: 760px;
}
.thesis__signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--navy);
}
.thesis__rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--warm);
}

/* ========== DISCIPLINES ========== */
.disciplines {
  background: var(--paper-alt);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.disciplines__head {
  max-width: 760px;
  margin-bottom: var(--space-2xl);
}
.disciplines__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--slate-100);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.discipline {
  background: var(--paper);
  padding: var(--space-lg);
  position: relative;
  transition: background var(--transition), transform var(--transition);
}
.discipline:hover {
  background: #fff;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.discipline__index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--slate-500);
  margin-bottom: var(--space-md);
}
.discipline__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-md);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.discipline__icon svg { width: 100%; height: 100%; }
.discipline__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--navy-deep);
  margin-bottom: 0.65rem;
  letter-spacing: -0.005em;
}
.discipline__body {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ========== METHOD ========== */
.method {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}
.method::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(111, 182, 232, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}
.method__inner { position: relative; z-index: 1; }
.method .section__label,
.method .section__title,
.method .section__subtitle { color: rgba(255, 255, 255, 0.85); }
.method .section__label { color: var(--warm); }
.method .section__title { color: #fff; }
.method .section__subtitle { color: rgba(255, 255, 255, 0.6); }

.method__head { max-width: 760px; margin-bottom: var(--space-2xl); }

.method__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.method__item {
  background: var(--navy-deep);
  display: flex;
  gap: 1.25rem;
  padding: var(--space-lg);
  align-items: flex-start;
  transition: background var(--transition);
}
.method__item:hover {
  background: rgba(255, 255, 255, 0.025);
}
.method__number {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--warm);
  flex-shrink: 0;
  min-width: 2rem;
  line-height: 1;
}
.method__item h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.method__item p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ========== ENGAGEMENT ========== */
.engagement {
  background: var(--paper);
}
.engagement__head {
  max-width: 760px;
  margin-bottom: var(--space-2xl);
}
.engagement__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.engagement__card {
  background: var(--paper);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  transition: all var(--transition);
}
.engagement__card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.engagement__tag {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--warm);
  border: 1px solid var(--warm-soft);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}
.engagement__card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--navy-deep);
  margin-bottom: 0.65rem;
  letter-spacing: -0.005em;
  max-width: 80%;
}
.engagement__card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ========== NETWORK ========== */
.network {
  background: var(--paper-alt);
  border-top: 1px solid var(--slate-100);
}
.network__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-2xl);
  align-items: start;
}
.network__head { max-width: 460px; }
.network__head .section__title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}
.network__body p {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: var(--space-lg);
}
.network__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.network__pills li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.45rem 0.85rem;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 999px;
  transition: all var(--transition);
}
.network__pills li:hover {
  border-color: var(--warm);
  color: var(--navy-deep);
  background: var(--warm-soft);
}

/* ========== MANIFESTO ========== */
.manifesto {
  background: var(--paper-alt);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  padding: var(--space-2xl) 0;
}
.manifesto__inner {
  max-width: 880px;
  text-align: center;
  margin: 0 auto;
}
.manifesto__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  line-height: 1.45;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}
.manifesto__attr {
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
}
.manifesto__rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--warm);
}

/* ========== BRIEF / CONTACT ========== */
.brief {
  background: var(--paper);
}
.brief__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-3xl);
  align-items: start;
}
.brief__text {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}
.brief__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--slate-100);
  padding-top: var(--space-lg);
}
.brief__details strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.brief__details p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.brief__form {
  background: var(--paper-alt);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-100);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form__group {
  margin-bottom: var(--space-md);
}
.form__group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form__group--inline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form__group--inline input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--navy);
}
.form__group--inline label {
  margin: 0;
  text-transform: none;
  letter-spacing: 0.01em;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 400;
}
.form__disclaimer {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: var(--space-sm);
  line-height: 1.6;
}
.form__disclaimer a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(20, 38, 78, 0.35);
  transition: text-decoration-color var(--transition);
}
.form__disclaimer a:hover {
  text-decoration-color: var(--navy);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  padding: var(--space-2xl) 0 var(--space-md);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__logo {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: var(--space-sm);
}
.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 360px;
}
.footer__links h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.footer__links li {
  margin-bottom: 0.55rem;
  font-size: 0.875rem;
}
.footer__links a {
  transition: color var(--transition);
}
.footer__links a:hover {
  color: var(--warm);
}
.footer__bottom {
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer__bottom p:first-child {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer__disclaimer {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
  max-width: 880px;
}

/* ========== LEGAL PAGES ========== */
.legal-hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  padding: 9rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(111, 182, 232, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(200, 166, 114, 0.06) 0%, transparent 50%);
  z-index: -1;
}
.legal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 30%, transparent 80%);
  z-index: -1;
}

.legal-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-md);
  transition: color var(--transition);
}
.legal-hero__back:hover { color: var(--warm); }
.legal-hero__back-arrow { transition: transform var(--transition); }
.legal-hero__back:hover .legal-hero__back-arrow { transform: translateX(-3px); }

.legal-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.018em;
  color: #fff;
  margin-bottom: var(--space-md);
  line-height: 1.1;
  text-wrap: balance;
}

.legal-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.legal-hero__meta-rule {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--warm);
}

.legal-body {
  background: var(--paper);
  padding: var(--space-3xl) 0;
}
.legal-body__inner {
  max-width: 760px;
}

.legal-body__lede {
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--slate-100);
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: var(--space-lg);
  margin-bottom: 0.45rem;
}

.legal-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
}
.legal-body strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-body ul,
.legal-body ol {
  list-style-position: outside;
  padding-left: 1.4rem;
  margin-bottom: var(--space-md);
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li {
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}
.legal-body li::marker { color: var(--warm); }

.legal-body a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(20, 38, 78, 0.35);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}
.legal-body a:hover { text-decoration-color: var(--navy); }

.legal-body__contact {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--slate-100);
}
.legal-body__contact strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* ========== ANIMATIONS / SCROLL REVEAL ========== */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero__visual {
    display: none;
  }
  .nav__brand-tag {
    display: none;
  }
  .disciplines__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .method__list,
  .engagement__grid {
    grid-template-columns: 1fr;
  }
  .network__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .brief__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
  .container { padding: 0 1.25rem; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(251, 252, 254, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--slate-100);
    flex-direction: column;
    padding: var(--space-md) var(--space-md) var(--space-lg);
    gap: 0;
    box-shadow: var(--shadow-lg);
  }
  .nav__links.active { display: flex; }
  .nav__links a {
    display: block;
    padding: 0.75rem 0;
    color: var(--ink) !important;
    font-size: 1rem;
    border-bottom: 1px solid var(--slate-050);
  }
  .nav__toggle { display: flex; }
  .nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero__content { padding-top: 8rem; padding-bottom: 1rem; }

  .disciplines__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .brief__details { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__underline-path {
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
  }
}
