:root {
  --navy: #003a82;
  --navy-deep: #001f4d;
  --ink: #0b1526;
  --orange: #f36c00;
  --orange-hot: #ff8a1f;
  --mist: #eef3f9;
  --line: rgba(0, 58, 130, 0.12);
  --text: #1c2738;
  --muted: #5b6b7f;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 31, 77, 0.12);
  --font-display: "Sora", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(243, 108, 0, 0.10), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(0, 58, 130, 0.10), transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 40%, #f5f8fc 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  margin-right: auto;
}

.logo,
.logo.custom-logo-link,
a.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  line-height: 0;
  text-align: left;
}

.logo img,
.logo .custom-logo,
img.custom-logo {
  display: block;
  height: 52px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  margin: 0;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  background: rgba(0, 58, 130, 0.08);
}

.nav-cta {
  margin-left: 8px !important;
  background: var(--orange) !important;
  color: #fff !important;
  padding: 10px 16px !important;
}

.nav-cta:hover { filter: brightness(1.05); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

/* Hero â brand first, one composition */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(0, 31, 77, 0.88) 0%, rgba(0, 58, 130, 0.55) 48%, rgba(243, 108, 0, 0.45) 100%),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2000&q=80") center/cover;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  animation: gridDrift 18s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

.hero-content {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 120px 0 72px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  animation: rise 0.8s ease both;
}

.brand-mark img {
  height: 46px;
  width: auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 6px 10px;
}

.brand-mark span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffd7b0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  max-width: 14ch;
  font-weight: 700;
  letter-spacing: -0.03em;
  animation: rise 0.9s ease 0.08s both;
}

.hero p {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.9s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 0.9s ease 0.24s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff;
  box-shadow: 0 12px 30px rgba(243, 108, 0, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover { background: var(--navy-deep); }

/* Sections */
.section { padding: 88px 0; }

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 720px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-head h2,
.page-banner h1,
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-panel {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(0, 31, 77, 0.2), rgba(243, 108, 0, 0.35)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: var(--shadow);
}

.about-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 140px;
  height: 140px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy), var(--orange));
  opacity: 0.9;
  animation: pulseSoft 3.5s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(0, 58, 130, 0.05);
  border: 1px solid var(--line);
}

.stat strong {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.stat strong .counter {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
  line-height: inherit;
}

.stat > span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* Service rails â not Tokyo card clones */
.service-rail {
  display: grid;
  gap: 14px;
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  transition: 0.25s ease;
}

.service-row:hover {
  transform: translateX(6px);
  border-color: rgba(243, 108, 0, 0.35);
  box-shadow: var(--shadow);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.service-row p {
  font-size: 0.95rem;
  color: var(--muted);
}

.service-row .arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--navy);
  font-weight: 700;
}

/* Capability mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.mosaic-item {
  position: relative;
  min-height: 180px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background-size: cover;
  background-position: center;
}

.mosaic-item:first-child {
  grid-row: span 2;
  min-height: 380px;
}

.mosaic-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 20, 50, 0.85));
}

.mosaic-item > * { position: relative; z-index: 1; }

.mosaic-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.mosaic-item p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }

/* Why band */
.why-band {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.why-band::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 108, 0, 0.45), transparent 70%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
  position: relative;
}

.why-item h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.why-item p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }

/* Projects strip */
.project-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.project-tile {
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.25s ease;
}

.project-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.project-tile .tag {
  align-self: flex-start;
  margin-bottom: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(243, 108, 0, 0.1);
  padding: 6px 10px;
  border-radius: 999px;
}

.project-tile h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.project-tile p { color: var(--muted); font-size: 0.92rem; }

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote {
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border-left: 4px solid var(--orange);
  box-shadow: 0 10px 30px rgba(0, 31, 77, 0.06);
}

.quote p { margin-bottom: 14px; color: var(--text); }
.quote strong { color: var(--navy); font-family: var(--font-display); font-size: 0.92rem; }

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.client-chip {
  min-height: 88px;
  border-radius: 16px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}

/* Page banner */
.page-banner {
  position: relative;
  padding: 92px 0 70px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(0, 31, 77, 0.92), rgba(0, 58, 130, 0.75) 55%, rgba(243, 108, 0, 0.55)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-banner p { margin-top: 10px; color: rgba(255, 255, 255, 0.85); max-width: 52ch; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.info-stack { display: grid; gap: 14px; }

.info-card {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.info-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f7faff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid #d7e0ec;
  font: inherit;
  background: #fff;
}

.contact-form textarea { min-height: 130px; resize: vertical; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-grid a {
  grid-column: span 4;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: 0.3s ease;
}

.gallery-grid a:nth-child(1),
.gallery-grid a:nth-child(6) { grid-column: span 8; min-height: 280px; }

.gallery-grid a:hover { transform: scale(1.015); }

/* Jobs */
.job {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.job .meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.job h3 { font-family: var(--font-display); color: var(--navy); margin-bottom: 8px; }

.prose { max-width: 820px; }
.prose p, .prose li { margin-bottom: 12px; color: var(--muted); }
.prose ul { padding-left: 18px; list-style: disc; }
.prose h2 { margin: 28px 0 10px; }

/* CTA */
.cta-band {
  margin: 20px auto 0;
  width: min(1180px, 92%);
  border-radius: 28px;
  padding: 42px;
  background: linear-gradient(120deg, var(--orange), #ff9a3c 40%, var(--navy));
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-band h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  max-width: 18ch;
}

/* Footer */
.site-footer {
  margin-top: 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 28px;
}

.site-footer h4,
.site-footer h5 {
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: 14px;
}

.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: var(--orange-hot); }
.site-footer li { margin-bottom: 8px; font-size: 14px; }

.copy {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
}

/* Float dock */
.float-actions {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-actions a {
  min-width: 52px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 31, 77, 0.25);
}

.float-actions a:nth-child(2) { background: #18a045; }
.float-actions a:nth-child(3) { background: var(--orange); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 4%;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .about-split,
  .why-grid,
  .quotes,
  .contact-layout,
  .footer-grid,
  .mosaic { grid-template-columns: 1fr; }
  .mosaic-item:first-child { grid-row: auto; min-height: 240px; }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-row .arrow { display: none; }
  .stats-row { grid-template-columns: 1fr; }
  .gallery-grid a,
  .gallery-grid a:nth-child(1),
  .gallery-grid a:nth-child(6) { grid-column: span 12; }
  .hero-content { padding-top: 100px; }
}
