@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/onest.woff2') format('woff2');
}

:root {
  --bg: #fafafa;
  --fg: #0a0a0a;
  --muted: #525252;
  /* Deep sapphire, pulled toward the royal blue in the logo mark but calmed down
     so it reads as a considered brand colour rather than a default link blue. */
  --accent: #1b3d87;
  --accent-deep: #122b60;
  --accent-soft: #eef2fa;
  --accent-line: #d3dff1;
  /* Footer sits on near-black, so the accent lifts and the meta text cools off. */
  --accent-on-dark: #9db9ea;
  --muted-on-dark: #7e879b;
  --paper-on-dark: #eef1f7;
  --line: #e5e5e5;
  --n50: #fafafa;
  --n100: #f5f5f5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; }
body {
  background: var(--bg); color: var(--fg);
  font-family: 'Onest', system-ui, sans-serif; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.04em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 480px) { .container { padding: 0 20px; } }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #2a2a2a, #161616); color: #fff;
  border-radius: 999px; padding: 12px 24px 12px 12px; font-size: 14.5px; font-weight: 400;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.14); }
.btn-primary .ic {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15); border-radius: 999px; padding: 7px;
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px; background: var(--n100); color: var(--fg);
  border-radius: 999px; padding: 13px 22px; font-size: 14.5px; font-weight: 400;
  transition: background 0.18s ease;
}
.btn-secondary:hover { background: #eaeaea; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.pill.bare { border: none; box-shadow: none; background: transparent; padding: 0; }
.pill .dot-wrap { position: relative; display: flex; height: 8px; width: 8px; }
.pill .dot-ping {
  position: absolute; inline-size: 100%; block-size: 100%; border-radius: 999px;
  background: #4ade80; opacity: 0.6; animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
}
.pill .dot-core { position: relative; inline-size: 8px; block-size: 8px; border-radius: 999px; background: #22c55e; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill .dot-ping { animation: none; }
  .btn-primary:hover { transform: none; }
}

/* ---------- Site nav ---------- */
.site-nav {
  background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0;
  position: sticky; top: 0; z-index: 50;
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav .logo-chip { display: flex; align-items: center; }
.site-nav .logo-chip img { height: 86px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--fg); }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; font-size: 13.5px; }
.nav-call {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 999px; padding: 9px 16px;
  font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap;
}
.nav-call:hover { background: #e2eaf7; border-color: #c2d3ec; }

@media (max-width: 940px) {
  .site-nav .logo-chip img { height: 62px; }
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 13.5px; }
}
@media (max-width: 780px) {
  .site-nav .container { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .site-nav .logo-chip img { height: 56px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 16px; padding-bottom: 4px; }
  .nav-links a { font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero-photo { position: relative; width: 100%; aspect-ratio: 2.35 / 1; min-height: 400px; max-height: 640px; overflow: hidden; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-photo-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-photo-content .container { width: 100%; }
.hero-text { max-width: 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }
.hero-text h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.14; color: var(--fg); }
.hero-text h1 span { color: var(--accent); }
.hero-text .sub { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-photo { aspect-ratio: auto; height: 560px; }
  .hero-photo > img { object-position: 80% center; }
  /* Keep the copy legible once the text column starts to reach the busy right side. */
  .hero-photo-content { background: linear-gradient(90deg, rgba(250,250,250,0.94) 0%, rgba(250,250,250,0.88) 52%, rgba(250,250,250,0) 88%); }
  .hero-text { max-width: 62%; }
}
@media (max-width: 700px) {
  .hero-photo { height: 620px; }
  .hero-photo-content { background: linear-gradient(180deg, rgba(250,250,250,0.94) 0%, rgba(250,250,250,0.88) 58%, rgba(250,250,250,0.25) 100%); }
  .hero-text { max-width: 100%; }
}

/* ---------- Stats strip ---------- */
.strip { margin-top: 76px; }
.strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; }
.strip .cell { padding: 26px 24px; border-left: 1px solid var(--line); text-align: center; }
.strip .cell:first-child { border-left: none; }
.strip .k { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.strip .v { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
@media (max-width: 700px) {
  .strip { margin-top: 48px; }
  .strip .grid { grid-template-columns: repeat(2, 1fr); }
  .strip .cell:nth-child(3) { border-left: none; }
  .strip .cell:nth-child(3), .strip .cell:nth-child(4) { border-top: 1px solid var(--line); }
}

/* ---------- Section heads ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); }
.sec-head p { margin-top: 12px; font-size: 16px; color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* ---------- Intro / about ---------- */
.intro { padding: 96px 0 0; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.intro h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.14; }
.intro .lead { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--fg); max-width: 46ch; }
.intro .body-text { margin-top: 18px; font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 52ch; }
.intro .cta-row { margin-top: 28px; }
.quote-card {
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 24px; padding: 36px 34px;
}
.quote-card .mark { color: var(--accent); margin-bottom: 16px; }
.quote-card blockquote { margin: 0; font-size: 19px; line-height: 1.5; letter-spacing: -0.02em; font-weight: 500; }
.quote-card .attr { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--accent-line); font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 860px) {
  .intro { padding-top: 64px; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro .lead, .intro .body-text { max-width: none; }
}

/* ---------- Services ---------- */
.services { padding: 96px 0; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 780px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.svc-card:hover { border-color: var(--accent-line); box-shadow: 0 4px 14px rgba(10,10,10,0.05); transform: translateY(-2px); }
.svc-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  box-shadow: 0 1px 3px rgba(18, 43, 96, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.svc-label { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.svc-foot { margin-top: 34px; text-align: center; font-size: 15.5px; color: var(--muted); }
.svc-foot a { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--accent-line); }

/* ---------- Why us ---------- */
.why { padding: 0 0 96px; }
.why-panel { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 32px; padding: 64px 56px; }
.why-panel .sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 48px; }
.why-item { display: flex; align-items: flex-start; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--accent-line); font-size: 15.5px; font-weight: 500; line-height: 1.45; }
.why-item .ico { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.why-item:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 760px) {
  .why-panel { padding: 44px 26px; border-radius: 24px; }
  .why-grid { grid-template-columns: 1fr; gap: 0; }
  .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--accent-line); }
  .why-item:last-child { border-bottom: none; }
}
.why-note { margin-top: 34px; font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 68ch; }

/* ---------- Editorial blocks ---------- */
.editorial { padding: 0 0 96px; }
.ed-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; padding: 44px 0; border-top: 1px solid var(--line); align-items: start; }
.ed-block:first-of-type { border-top: none; padding-top: 0; }
.ed-block h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.ed-block .num { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.ed-block p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.ed-block p + p { margin-top: 16px; }
@media (max-width: 860px) {
  .ed-block { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
}

/* ---------- Trust facts ---------- */
.trust { padding: 8px 0 96px; }
.trust-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
@media (max-width: 780px) { .trust-grid { grid-template-columns: 1fr; gap: 32px; } }
.trust h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; }
.trust .body-text { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 50ch; }
.facts { display: flex; flex-direction: column; gap: 18px; }
.fact { border-top: 1px solid var(--line); padding-top: 14px; }
.fact .k { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact .v { font-size: 15.5px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer-wrap { background: var(--line); padding: 4px; margin: 0 16px 16px; border-radius: 36px; }
@media (max-width: 700px) { .footer-wrap { margin: 0 8px 8px; } }
.footer-panel { background: #0a0a0a; color: var(--paper-on-dark); border-radius: 32px; padding: 60px 40px 28px; }
@media (max-width: 700px) { .footer-panel { padding: 44px 24px 24px; } }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-top h3 { color: #fff; font-size: clamp(24px, 3.4vw, 32px); max-width: 16ch; }
.footer-top h3 span { color: var(--accent-on-dark); }
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--paper-on-dark); color: #0a0a0a;
  border-radius: 999px; padding: 14px 24px; font-size: 14.5px; font-weight: 500; white-space: nowrap;
  transition: transform 0.18s ease;
}
.footer-cta-btn:hover { transform: translateY(-1px); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; margin-top: 56px; }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr; gap: 22px; } }
.footer-cols .k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 10px; }
.footer-cols .row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 7px 0; border-bottom: 1px solid rgba(238,241,247,0.08); }
.footer-cols .row span:last-child { color: var(--muted-on-dark); text-align: right; }
.footer-phone { color: var(--paper-on-dark); font-size: 20px; font-weight: 500; }
.footer-phone:hover { color: var(--accent-on-dark); }
.footer-note { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(238,241,247,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-note .lic { font-size: 11.5px; color: var(--muted-on-dark); }
.footer-note .badge { font-size: 11.5px; color: var(--muted-on-dark); display: flex; align-items: center; gap: 8px; }
.footer-note .badge b { color: var(--accent-on-dark); font-weight: 600; }
.studio-link {
  color: var(--accent-on-dark); font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(157, 185, 234, 0.35);
  text-underline-offset: 3px; transition: text-decoration-color 0.18s ease, color 0.18s ease;
}
.studio-link:hover { color: #fff; text-decoration-color: currentColor; }
.footer-logo { height: 34px; width: auto; opacity: 0.92; }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 68px; }
  .call-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    align-items: center; justify-content: center; gap: 10px;
    background: #0a0a0a; color: var(--paper-on-dark); padding: 16px; font-size: 15.5px; font-weight: 600;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
  }
  .call-bar svg { color: var(--accent-on-dark); }
}
