:root {
  --ink: #0f141b;
  --muted: #64717d;
  --paper: #f4f0e8;
  --cream: #fffaf0;
  --gold: #e3bf74;
  --blue: #1477d4;
  --cyan: #63d8ff;
  --deep: #07101b;
  --navy: #0b2847;
  --steel: #313b45;
  --line: rgba(15, 20, 27, .14);
  --shadow: 0 30px 90px rgba(7, 16, 27, .24);
  --radius: 34px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.hero {
  min-height: 100vh;
  color: white;
  padding: 26px clamp(18px, 5vw, 72px) 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 16%, rgba(99,216,255,.34), transparent 28%),
    radial-gradient(circle at 14% 82%, rgba(227,191,116,.24), transparent 26%),
    linear-gradient(135deg, #07101b 0%, #111a24 52%, #0b2847 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 78px 78px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
}
.hero:after {
  content: "";
  position: absolute;
  width: 820px;
  height: 820px;
  right: -420px;
  bottom: -420px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(227,191,116,.28), rgba(99,216,255,.08));
}

.nav, .hero-grid, .section, .footer { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 950; text-decoration: none; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: linear-gradient(135deg, #fff8e8, var(--gold)); color: var(--deep); box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: rgba(255,255,255,.82); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: white; }

.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) 520px; gap: clamp(34px, 6vw, 84px); align-items: center; padding-top: clamp(58px, 8vw, 112px); }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .15em; font-weight: 950; font-size: 12px; color: var(--cyan); }
h1 { font-size: clamp(58px, 8.2vw, 108px); line-height: .86; letter-spacing: -.09em; margin: 0 0 26px; max-width: 920px; }
.lead { font-size: clamp(18px, 2.05vw, 23px); line-height: 1.55; color: rgba(255,255,255,.82); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 950; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: white; color: var(--navy); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.secondary { border: 1px solid rgba(255,255,255,.34); color: white; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }

.hero-card { position: relative; border-radius: 38px; overflow: hidden; min-height: 620px; border: 1px solid rgba(255,255,255,.22); box-shadow: var(--shadow); transform: rotate(1.2deg); background: #111; }
.hero-card img { width: 100%; height: 620px; object-fit: cover; }
.hero-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,27,.02), rgba(7,16,27,.12) 42%, rgba(7,16,27,.82)); }
.hero-card-caption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; padding: 22px; border-radius: 24px; border: 1px solid rgba(255,255,255,.24); background: rgba(7,16,27,.44); backdrop-filter: blur(16px); }
.hero-card-caption span { display: block; color: var(--cyan); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 950; }
.hero-card-caption strong { display: block; font-size: 34px; letter-spacing: -.06em; margin-top: 6px; }

.section { padding: clamp(62px, 8vw, 108px) clamp(20px, 5vw, 0); }
.intro { text-align: center; max-width: 990px; }
.section-kicker { color: var(--blue); }
h2 { font-size: clamp(34px, 5.4vw, 62px); line-height: .98; letter-spacing: -.075em; margin: 0 0 22px; }
.intro p:last-child, .fit-list, .footer p, .proof-copy p { color: var(--muted); font-size: 18px; line-height: 1.65; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 0; }
.metric-card { background: white; border: 1px solid var(--line); border-radius: 30px; padding: 28px; box-shadow: 0 16px 45px rgba(7,16,27,.07); position: relative; overflow: hidden; }
.metric-card:before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--gold), var(--cyan)); }
.metric-card span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: var(--navy); background: var(--paper); font-weight: 950; margin-bottom: 22px; }
.metric-card strong { display: block; font-size: 25px; letter-spacing: -.05em; margin-bottom: 9px; }
.metric-card p { color: var(--muted); line-height: 1.5; margin: 0; }

.service-section { padding-top: 0; }
.service-heading, .work-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: end; margin-bottom: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: 0 18px 46px rgba(7,16,27,.075); }
.card h3 { font-size: 22px; letter-spacing: -.04em; margin: 0 0 12px; }
.card p { color: var(--muted); line-height: 1.6; margin: 0; }

.work-section { padding-top: 0; }
.work-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: stretch; }
.work-tile { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); min-height: 360px; background: #111; box-shadow: 0 22px 58px rgba(7,16,27,.14); border: 1px solid rgba(15,20,27,.10); }
.work-tile.wide { grid-row: span 2; min-height: 740px; }
.work-tile.result { min-height: 340px; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .65s ease; }
.work-tile:hover img { transform: scale(1.04); }
.work-tile:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7,16,27,.82)); }
.work-tile figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; color: white; }
.work-tile strong { display: block; font-size: 28px; letter-spacing: -.05em; margin-bottom: 6px; }
.work-tile span { color: rgba(255,255,255,.78); line-height: 1.45; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 0; }
.process-card { min-height: 270px; border-radius: 32px; padding: 30px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 46px rgba(7,16,27,.075); }
.process-card span { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--paper); font-weight: 950; color: var(--navy); margin-bottom: 30px; }
.process-card h3 { font-size: 28px; letter-spacing: -.05em; margin: 0 0 12px; }
.process-card p { color: var(--muted); line-height: 1.62; margin: 0; }
.process-card.dark { color: white; background: linear-gradient(135deg, var(--deep), var(--steel)); }
.process-card.dark p { color: rgba(255,255,255,.78); }
.process-card.dark span { color: var(--deep); background: white; }
.process-card.blue { color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.process-card.blue p { color: rgba(255,255,255,.82); }
.process-card.blue span { color: var(--navy); background: white; }

.proof-section { display: grid; grid-template-columns: .86fr 1.14fr; gap: 40px; align-items: center; padding-top: 0; }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.proof-grid div { background: white; border: 1px solid var(--line); border-radius: 26px; padding: 24px; box-shadow: 0 18px 46px rgba(7,16,27,.07); }
.proof-grid strong { display: block; font-size: 22px; letter-spacing: -.04em; margin-bottom: 8px; }
.proof-grid span { color: var(--muted); line-height: 1.5; }

.footer { display: grid; grid-template-columns: 1fr 430px; gap: 40px; align-items: center; padding: 72px clamp(20px, 5vw, 0); border-top: 1px solid var(--line); }
.contact-box { background: white; border: 1px solid var(--line); border-radius: 30px; padding: 30px; box-shadow: 0 18px 46px rgba(7,16,27,.075); }
.phone { display: block; font-size: 30px; font-weight: 950; text-decoration: none; letter-spacing: -.05em; color: var(--navy); }
.contact-box p { font-size: 15px; margin: 12px 0 0; }
.prototype-note { color: var(--blue) !important; font-weight: 850; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .metrics, .service-heading, .work-heading, .cards, .work-grid, .process, .proof-section, .proof-grid, .footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { min-height: 460px; transform: none; }
  .hero-card img { height: 460px; }
  .work-tile, .work-tile.wide, .work-tile.result { min-height: 390px; }
}

@media (max-width: 520px) {
  .hero { padding-bottom: 54px; }
  .brand span:last-child { font-size: 14px; }
  h1 { font-size: 58px; }
  .button { width: 100%; }
  .hero-card { min-height: 420px; border-radius: 28px; }
  .hero-card img { height: 420px; }
  .work-tile, .work-tile.wide, .work-tile.result { min-height: 330px; }
  .phone { font-size: 25px; }
}

.trust-section { padding-top: 0; }
.trust-heading { max-width: 900px; margin-bottom: 24px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-grid article { min-height: 250px; border-radius: 30px; padding: 26px; color: white; background: linear-gradient(135deg, var(--deep), var(--steel)); box-shadow: 0 20px 52px rgba(7,16,27,.16); position: relative; overflow: hidden; }
.trust-grid article:before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--gold), var(--cyan)); }
.trust-grid strong { display: block; font-size: 24px; letter-spacing: -.05em; line-height: 1.05; margin-bottom: 14px; }
.trust-grid span { color: rgba(255,255,255,.78); line-height: 1.55; }

.who-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; padding-top: 0; }
.audience-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.audience-list li { padding: 14px 18px; border-radius: 999px; background: white; border: 1px solid var(--line); color: var(--navy); font-weight: 900; box-shadow: 0 12px 30px rgba(7,16,27,.06); }

.service-image-grid .work-tile.wide { min-height: 760px; }
.service-image-grid .work-tile img { filter: saturate(1.02) contrast(1.03); }

@media (max-width: 980px) {
  .trust-grid, .who-section { grid-template-columns: 1fr; }
  .trust-grid article { min-height: auto; }
}

.logo-brand { gap: 0; padding: 6px 9px; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.logo-brand img { width: clamp(92px, 8.5vw, 108px); height: auto; }
.brand-mark { display: none; }

@media (max-width: 520px) {
  .logo-brand { padding: 6px 9px; }
  .logo-brand img { width: 88px; }
}

.logo-brand { display: inline-flex; align-items: center; gap: 14px; padding: 8px 14px 8px 10px; }
.logo-brand img { width: clamp(78px, 7.5vw, 96px); height: auto; flex: 0 0 auto; }
.brand-name { color: var(--deep); font-size: clamp(17px, 1.45vw, 23px); line-height: .98; font-weight: 950; letter-spacing: -.055em; max-width: 265px; }

@media (max-width: 720px) {
  .logo-brand { gap: 10px; padding: 7px 10px 7px 8px; }
  .logo-brand img { width: 72px; }
  .brand-name { font-size: 16px; max-width: 190px; }
}

@media (max-width: 430px) {
  .logo-brand img { width: 62px; }
  .brand-name { font-size: 14px; max-width: 160px; }
}


/* Final header lockup: real logo mark + readable company name */
.logo-brand { background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.5); border-radius: 18px; box-shadow: 0 14px 34px rgba(0,0,0,.16); gap: 16px; padding: 9px 16px 9px 12px; }
.logo-brand img { width: clamp(54px, 5.2vw, 68px); height: auto; }
.brand-name { color: var(--deep); font-size: clamp(18px, 1.45vw, 24px); line-height: .96; font-weight: 950; letter-spacing: -.055em; max-width: 285px; }
@media (max-width: 720px) {
  .logo-brand { gap: 11px; padding: 8px 11px 8px 9px; }
  .logo-brand img { width: 48px; }
  .brand-name { font-size: 16px; max-width: 200px; }
}
@media (max-width: 430px) {
  .logo-brand img { width: 42px; }
  .brand-name { font-size: 14px; max-width: 170px; }
}

.logo-brand { padding: 7px 14px 7px 10px; min-height: 54px; }
.logo-brand img { width: clamp(48px, 4.7vw, 60px); }
@media (max-width: 720px) {
  .logo-brand { padding: 7px 10px 7px 8px; min-height: 48px; }
  .logo-brand img { width: 44px; }
}
@media (max-width: 430px) {
  .logo-brand img { width: 40px; }
}

/* Mobile/header polish pass */
@media (max-width: 980px) {
  .hero { padding-top: 18px; }
  .hero:before { opacity: .72; }
  .nav { align-items: flex-start; }
  .logo-brand {
    width: auto;
    max-width: calc(100vw - 40px);
    border-radius: 16px;
    padding: 6px 11px 6px 8px;
    gap: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
  }
  .logo-brand img { width: 46px; }
  .brand-name {
    font-size: 15.5px;
    line-height: 1.03;
    letter-spacing: -.045em;
    max-width: 190px;
  }
  .hero-grid { padding-top: clamp(48px, 11vw, 72px); }
  .eyebrow { font-size: 12px; letter-spacing: .105em; line-height: 1.35; }
  h1 { font-size: clamp(51px, 15vw, 68px); line-height: .89; letter-spacing: -.083em; margin-bottom: 20px; }
  .lead { font-size: 17px; line-height: 1.48; max-width: 660px; }
  .hero-actions { gap: 12px; margin-top: 28px; }
  .secondary { background: rgba(255,255,255,.045); }
}

@media (max-width: 520px) {
  .hero { padding-left: 24px; padding-right: 24px; padding-bottom: 48px; }
  .nav { margin-left: -4px; }
  .logo-brand img { width: 42px; }
  .brand-name { font-size: 14px; max-width: 164px; }
  .hero-grid { padding-top: 44px; }
  h1 { font-size: clamp(49px, 14.2vw, 58px); }
  .lead { font-size: 16.5px; }
  .button { min-height: 50px; }
}

@media (max-width: 980px) {
  .hero-card { margin-top: -8px; }
}
@media (max-width: 520px) {
  .hero-actions { margin-bottom: -6px; }
  .hero-card { margin-top: -14px; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: white !important;
  font-weight: 950;
  letter-spacing: .04em;
}
.lang-switch:hover { background: rgba(255,255,255,.16); }
@media (max-width: 980px) {
  .nav-links { display: flex; margin-left: auto; }
  .nav-links a:not(.lang-switch) { display: none; }
  .lang-switch { height: 32px; min-width: 40px; font-size: 13px; }
}

.proof-grid div { display: flex; flex-direction: column; gap: 8px; }
.proof-grid strong { margin-bottom: 0; }
.credibility-line { margin-top: 14px; font-size: 15px !important; line-height: 1.55 !important; color: rgba(255,255,255,.72) !important; max-width: 760px; }
@media (max-width: 980px) { .credibility-line { font-size: 14px !important; } }
