/* The Core Network — Business Solutions & Consultancy */

:root {
  --navy-900: #040914;
  --navy-850: #070e1d;
  --navy-800: #0a1526;
  --navy-700: #0f1e35;
  --navy-600: #16294420;

  --gold-100: #fbf1cf;
  --gold-300: #f2dd9a;
  --gold-400: #e2c46b;
  --gold-500: #d4af37;
  --gold-600: #a8842a;

  --silver: #dbe1ea;
  --ink: #eef2f8;
  --muted: #97a3b6;
  --line: rgba(212, 175, 55, 0.18);
  --line-soft: rgba(219, 225, 234, 0.1);

  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  --shell: 1200px;
  --gut: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

.sprite { display: none; }
svg symbol { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold-500); color: var(--navy-900);
  padding: 12px 20px; font-weight: 500;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  padding-block: 14px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  transition: background-color .35s ease, border-color .35s ease, padding .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.stuck {
  background: rgba(4, 9, 20, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-block: 8px;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
}

.header-inner { display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; }
.brand img { width: 46px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 20px; font-weight: 600; letter-spacing: .02em;
  background: linear-gradient(100deg, var(--gold-300), var(--gold-500) 45%, var(--silver) 46%, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text em {
  font-style: normal; font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav a {
  text-decoration: none; font-size: 14px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--silver);
  padding-block: 6px; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold-500); transition: width .3s ease;
}
.nav a:hover::after { width: 100%; }
.nav-phone {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px !important; color: var(--gold-300) !important;
}
.nav-phone::after { display: none; }
.nav-phone:hover { background: rgba(212, 175, 55, 0.1); }

.burger {
  display: none; width: 44px; height: 44px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 0; cursor: pointer;
}
.burger span {
  display: block; width: 20px; height: 1.5px; margin: 4px auto;
  background: var(--gold-300); transition: transform .3s ease, opacity .3s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0; padding-top: 88px;
    flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(4, 9, 20, 0.98); backdrop-filter: blur(16px);
    height: 100dvh; transform: translateX(100%); transition: transform .35s ease;
    padding-inline: var(--gut); border-left: 1px solid var(--line);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 17px; padding-block: 16px; border-bottom: 1px solid var(--line-soft); }
  .nav-phone { margin-top: 20px; text-align: center; border-bottom: 1px solid var(--line) !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(140px + env(safe-area-inset-top, 0px));
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 60% at 72% 8%, rgba(212, 175, 55, 0.16), transparent 62%),
    radial-gradient(70% 50% at 10% 92%, rgba(22, 55, 110, 0.5), transparent 70%),
    linear-gradient(170deg, var(--navy-800), var(--navy-900) 62%);
}
.skyline {
  position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: clamp(180px, 34vh, 320px);
  fill: rgba(212, 175, 55, 0.11);
}

.hero-inner { position: relative; padding-bottom: clamp(60px, 10vh, 120px); }

.eyebrow {
  margin: 0 0 20px; font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold-400);
}

.hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 15ch;
}
.grad {
  background: linear-gradient(95deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede { margin: 0 0 40px; max-width: 62ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }

/* ---------- Pill CTA ---------- */

.pill {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; position: relative;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); padding-left: 10px;
}
.pill-dot {
  position: absolute; left: 0; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  z-index: -1; transition: transform .35s ease, box-shadow .35s ease;
}
.pill-label { padding: 18px 8px 18px 22px; white-space: nowrap; }
.pill-arrow { width: 44px; height: 8px; fill: none; stroke: var(--gold-400); stroke-width: 1; transition: transform .35s ease; }
.pill:hover .pill-dot { transform: scaleX(1.5) scaleY(1.06); box-shadow: 0 0 34px rgba(212, 175, 55, .34); }
.pill:hover .pill-arrow { transform: translateX(8px); }
.pill-light .pill-label { color: var(--navy-900); font-weight: 500; }
.pill-light .pill-arrow { stroke: var(--gold-600); }

/* ---------- Promise strip ---------- */

.promise {
  position: relative; margin-top: auto;
  background: rgba(4, 9, 20, 0.72);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.promise-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding-block: 26px;
}
.promise-inner > div {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 18px; border-left: 1px solid var(--line);
}
.promise-inner strong { font-weight: 500; font-size: 15px; color: var(--gold-300); }
.promise-inner span { font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {
  .promise-inner { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 11vw, 140px); }

.section-head { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 84px); text-align: center; }
.section-head h2 {
  margin: 0 0 18px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12;
}
.section-head p { margin: 0; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); }

/* ---------- Intro cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.card {
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card-media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.card-media[data-shade="a"] { background: linear-gradient(145deg, #12233f, #0a1526 60%, #1d3358); }
.card-media[data-shade="b"] { background: linear-gradient(145deg, #1a2a3c, #0a1526 55%, #2a3a24); }
.card-media[data-shade="c"] { background: linear-gradient(145deg, #241f3d, #0a1526 58%, #3a2c1a); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 30%, rgba(212, 175, 55, .22), transparent 70%);
}
.card-media { display: grid; place-items: center; }
.card-icon {
  position: relative; z-index: 1;
  width: 64px; height: 64px; color: var(--gold-400); opacity: .9;
  fill: none; stroke: currentColor; stroke-width: 1;
  stroke-linecap: round; stroke-linejoin: round;
}

.card-body { padding: 30px 28px 34px; }
.card-body h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--gold-300); }
.card-body p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Services grid ---------- */

.services { background: var(--navy-850); border-block: 1px solid var(--line-soft); }

.grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

.svc {
  background: var(--navy-850);
  padding: 32px 26px 34px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .3s ease;
}
.svc:hover { background: var(--navy-800); }
.svc-icon {
  width: 34px; height: 34px; color: var(--gold-500);
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 18px;
}
.svc h3 {
  margin: 0 0 14px; font-size: 16px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--gold-300);
  line-height: 1.35;
}
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.svc li { font-size: 14.5px; color: var(--muted); padding-left: 16px; position: relative; }
.svc li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-600);
}

/* ---------- Statement band ---------- */

.statement {
  position: relative; text-align: center; overflow: hidden;
  padding-block: clamp(64px, 9vw, 120px);
  background:
    radial-gradient(75% 90% at 50% 0%, rgba(212, 175, 55, .22), transparent 68%),
    linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
}
.ghost {
  margin: 0; font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 7.6vw, 104px); line-height: 1;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: rgba(4, 9, 20, .13);
}
.ghost-2 { color: rgba(4, 9, 20, .82); }
.statement-sub {
  margin: 28px auto 38px; max-width: 54ch;
  color: rgba(4, 9, 20, .76); font-size: clamp(15px, 1.6vw, 19px);
}
.statement .pill-dot { background: var(--navy-900); }
.statement .pill:hover .pill-dot { box-shadow: 0 0 30px rgba(4, 9, 20, .3); }

/* ---------- Split section ---------- */

.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
@media (max-width: 900px) { .split-inner { grid-template-columns: 1fr; } }

.split-media img { width: 100%; max-width: 420px; }
.split-media {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
  display: grid; place-items: center;
}
.split-body h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; }
.split-kicker { margin: 0 0 30px; color: var(--gold-400); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }

.ticks { margin: 0 0 38px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); font-size: 15.5px; }
.ticks strong { color: var(--ink); font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 9px; border-left: 1.5px solid var(--gold-500);
  border-bottom: 1.5px solid var(--gold-500); transform: rotate(-45deg);
}

/* ---------- Contact ---------- */

.contact { background: var(--navy-850); border-top: 1px solid var(--line-soft); }
.contact-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }

.contact-aside h2 { margin: 0 0 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; }
.contact-kicker { margin: 0 0 40px; color: var(--gold-300); font-size: 16px; }

.contact-list { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-list div { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 1px solid var(--line); }
.contact-list dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 16px; }
.contact-list a { text-decoration: none; color: var(--gold-300); word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }

.form { background: var(--navy-800); border: 1px solid var(--line-soft); padding: clamp(26px, 4vw, 44px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field label span { color: var(--gold-500); }

.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--navy-900);
  border: 1px solid var(--line-soft);
  border-radius: 0; padding: 14px 16px; width: 100%;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-500) 50%), linear-gradient(135deg, var(--gold-500) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field select option { background: var(--navy-800); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .14);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e2725b; }

.err { margin: 0; font-size: 13px; color: #f0907c; min-height: 0; }
.err:empty { display: none; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.submit {
  display: inline-flex; align-items: center; gap: 16px;
  font: inherit; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy-900); cursor: pointer;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border: 0; padding: 19px 34px; margin-top: 6px;
  transition: box-shadow .3s ease, opacity .3s ease;
}
.submit .pill-arrow { stroke: var(--navy-900); transition: transform .3s ease; }
.submit:hover { box-shadow: 0 0 32px rgba(212, 175, 55, .3); }
.submit:hover .pill-arrow { transform: translateX(6px); }
.submit[disabled] { opacity: .55; cursor: progress; }

.status { margin: 20px 0 0; font-size: 15px; }
.status:empty { display: none; }
.status[data-state="ok"] { color: var(--gold-300); }
.status[data-state="bad"] { color: #f0907c; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 8vw, 90px) 0;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 56px;
}
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h3 {
  margin: 0 0 6px; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-400); font-weight: 500;
}
.foot-col a, .foot-col span { text-decoration: none; color: var(--muted); font-size: 15px; word-break: break-word; }
.foot-col a:hover { color: var(--gold-300); }

.foot-brand img { width: 62px; margin-bottom: 4px; }
.foot-brand p { margin: 0; color: var(--muted); font-size: 15px; }

.foot-base {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding-block: 26px;
  padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
}
.foot-base p { margin: 0; font-size: 13.5px; color: var(--muted); letter-spacing: .04em; }
