/* ============================================
   THE ENTRY OFFICE — Global Styles
   ============================================ */

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

:root {
  --black:    #0a0a0a;
  --white:    #f5f2ee;
  --bg:       #ffffff;
  --bg-tint:  #eef3fd;
  --ink:      #0f2150;
  --blue:     #0841d4;
  --blue-dark:#0a36a6;
  --blue-mid: #3d6ce0;
  --blue-lt:  #99cee2;
  --navy:     #0f2150;
  --grey:     #6b6b6b;
  --line:     rgba(15, 33, 80, 0.12);
  --line-drk: rgba(10, 10, 10, 0.12);

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 22% at 88% 2%,  rgba(8,65,212,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 45% 20% at 45% 13%, rgba(8,65,212,0.05) 0%, transparent 68%),
    radial-gradient(ellipse 50% 22% at 10% 27%, rgba(8,65,212,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 45% 20% at 62% 41%, rgba(8,65,212,0.05) 0%, transparent 68%),
    radial-gradient(ellipse 50% 22% at 90% 55%, rgba(8,65,212,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 45% 20% at 30% 69%, rgba(8,65,212,0.05) 0%, transparent 68%),
    radial-gradient(ellipse 50% 22% at 48% 84%, rgba(8,65,212,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 45% 20% at 8% 97%,  rgba(8,65,212,0.05) 0%, transparent 68%);
}

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

/* ---- NAV ---- */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-logo {
  display: inline-flex;
  align-items: baseline;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.nav-logo span {
  margin-right: 4px;
}

.nav-logo i {
  font-style: italic;
  font-weight: 400;
  font-size: 1.02em;
}

.nav-logo .dot {
  color: var(--ink);
  font-weight: 700;
  margin-left: 0.03em;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 33, 80, 0.55);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--ink);
  padding: 10px 24px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--blue) !important;
  color: var(--bg) !important;
}

/* ---- HAMBURGER (mobile) ---- */

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- SECTIONS ---- */

section {
  padding: 120px 48px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- HEADINGS ---- */

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(48px, 7vw, 100px); }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

/* ---- DIVIDER ---- */

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---- BUTTON ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-solid,
.btn-dark {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--bg);
}

.btn-solid:hover,
.btn-dark:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.btn-invert {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--bg);
}

.btn-invert:hover {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--navy);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
}

.btn-arrow svg {
  width: 18px;
  height: 12px;
  overflow: visible;
}

/* ---- FOOTER ---- */

footer {
  background: var(--navy);
  color: var(--bg);
  padding: 64px 48px 32px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "logo navh contacth"
    "brand navbody contactbody";
  column-gap: 48px;
  row-gap: 12px;
}

.footer-nav-heading,
.footer-nav {
  margin-left: 140px;
}

.footer-contact-heading,
.footer-contact {
  margin-left: 110px;
}


.footer-logo {
  grid-area: logo;
  display: inline-flex;
  align-items: baseline;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--bg);
}

.footer-brand-body {
  grid-area: brand;
}

.footer-logo span { margin-right: 4px; }

.footer-logo i {
  font-style: italic;
  font-weight: 400;
  font-size: 1.02em;
}

.footer-logo .dot {
  color: var(--bg);
  font-weight: 700;
  margin-left: 0.03em;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: background 0.2s;
}

.social-icon svg { width: 16px; height: 16px; }

.social-icon:hover { background: rgba(255,255,255,0.16); }

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--bg);
}

.footer-nav-heading { grid-area: navh; }
.footer-contact-heading { grid-area: contacth; }

.footer-nav {
  grid-area: navbody;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav a {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--bg); }

.footer-contact {
  grid-area: contactbody;
  display: flex;
  flex-direction: column;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}

.footer-contact-row:first-child { margin-top: 0; }

.footer-subheading {
  font-size: 15px;
  font-weight: 700;
  color: var(--bg);
}

.footer-contact-row a,
.footer-contact-row .footer-value {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-contact-row a:hover { color: var(--bg); }

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  footer { padding: 48px 24px 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "brand"
      "navh"
      "navbody"
      "contacth"
      "contactbody";
    row-gap: 16px;
  }
}

/* ---- UTILS ---- */

.text-blue { color: var(--blue); }
.text-grey { color: var(--grey); }

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  section { padding: 80px 24px; }

  .nav-links, .nav-cta-wrap { display: none; }
  .nav-burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--nav-h));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px 24px;
    gap: 20px;
    z-index: 99;
  }

  .nav-links.open a {
    font-size: 20px;
    letter-spacing: 0.04em;
  }

  .nav-links.open .nav-cta {
    background: none;
    color: var(--ink) !important;
    padding: 0;
    font-weight: 400;
    text-transform: uppercase;
  }
}
