/* GUB Group Ltd — site styles. No external resources. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b1626;
  --ink-2: #14243a;
  --ink-3: #1d3150;
  --paper: #ffffff;
  --mist: #f4f5f7;
  --line: #e3e6eb;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #1a2433;
  --muted: #5b6676;
  --muted-dark: #9aa6b8;
  --accent: #2f6fde;
  --accent-soft: #8fb3ff;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 4px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

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

.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  color: #fff;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  border-bottom: 1px solid var(--line-dark);
}
.site-header.light { position: static; color: var(--ink); background: var(--paper); }
.site-header.light .wrap { border-bottom-color: var(--line); }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-size: 15px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1;
}
.brand-name span { font-weight: 400; opacity: 0.7; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14.5px; font-weight: 500; text-decoration: none; opacity: 0.82;
  transition: opacity .15s ease;
}
.nav a:hover { opacity: 1; }
.nav .nav-cta {
  opacity: 1;
  padding: 9px 18px; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
  transition: background .15s ease, border-color .15s ease;
}
.nav .nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.site-header.light .nav .nav-cta { border-color: var(--line); }
.site-header.light .nav .nav-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
}
.site-header.light .menu summary { border-color: var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(11, 22, 38, 0.18);
  padding: 8px; display: grid;
}
.menu-panel a { padding: 11px 14px; text-decoration: none; font-weight: 500; border-radius: 6px; }
.menu-panel a:hover { background: var(--mist); }

@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header .wrap { height: 72px; }
}

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

.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 196px 0 0;
  isolation: isolate;
}
.hero::before {
  /* fine architectural grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 80%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(closest-side, rgba(47, 111, 222, 0.28), transparent 70%);
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px; align-items: end;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero .eyebrow { color: var(--accent-soft); }

.hero h1 {
  color: #fff;
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-top: 28px;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--muted-dark); }
.hero-lead {
  margin-top: 30px; max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6;
  color: rgba(255,255,255,0.74);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: #fff; color: var(--ink); }
.btn-primary:hover { background: var(--accent-soft); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }

.hero-art { align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.hero-art svg { width: 100%; max-width: 460px; height: auto; }

.hero-facts {
  margin-top: 110px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.hero-facts div { padding: 28px 28px 34px 0; }
.hero-facts div + div { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.hero-facts dt {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-dark);
}
.hero-facts dd { margin: 10px 0 0; font-size: 17px; font-weight: 500; color: #fff; }

@media (max-width: 960px) {
  .hero { padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { justify-content: flex-start; }
  .hero-art svg { max-width: 340px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 72px; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 520px) {
  .hero-art { display: none; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 20px 0; border-left: 0; }
  .hero-facts div + div { border-top: 1px solid var(--line-dark); }
}

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

.section { padding: clamp(88px, 11vw, 144px) 0; }
.section.alt { background: var(--mist); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px; align-items: start;
}
.section-head h2 { font-size: clamp(32px, 4vw, 50px); margin-top: 22px; max-width: 14ch; }
.section-head .intro { font-size: 19px; color: var(--muted); line-height: 1.65; padding-top: 48px; max-width: 36em; }
.section-head .intro p + p { margin-top: 18px; }
.section-head .intro strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 0; }
  .section-head .intro { padding-top: 24px; }
}

/* About figures */
.figures {
  margin-top: 88px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.figure { padding: 36px 36px 0 0; }
.figure + .figure { padding-left: 36px; border-left: 1px solid var(--line); }
.figure .num {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent);
}
.figure h3 { font-size: 21px; margin-top: 18px; }
.figure p { margin-top: 12px; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) {
  .figures { grid-template-columns: 1fr; margin-top: 56px; }
  .figure, .figure + .figure { padding: 28px 0; border-left: 0; }
  .figure + .figure { border-top: 1px solid var(--line); }
}

/* Services */
.services { margin-top: 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  background: var(--paper); padding: 44px 44px 48px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 0;
  transition: background .2s ease;
}
.service:hover { background: #fbfcfd; }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
}
.service-icon svg { width: 24px; height: 24px; }
.service-index { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.service h3 { font-size: 24px; margin-top: 34px; }
.service p { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 32em; }
.service ul {
  list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service li {
  font-size: 13px; font-weight: 500; color: var(--ink-3);
  padding: 6px 12px; border-radius: 999px; background: var(--mist);
}
@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; margin-top: 56px; }
  .service { padding: 34px 28px 38px; }
}

/* Approach (dark band) */
.band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -380px;
  background: radial-gradient(closest-side, rgba(47, 111, 222, 0.22), transparent 70%);
}
.band .section-head h2 { color: #fff; }
.band .section-head .intro { color: rgba(255,255,255,0.68); }
.band .eyebrow { color: var(--accent-soft); }
.principles {
  position: relative;
  margin-top: 80px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.principle { padding: 36px 32px 8px 0; }
.principle + .principle { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.principle .num { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent-soft); }
.principle h3 { color: #fff; font-size: 20px; margin-top: 18px; }
.principle p { margin-top: 12px; font-size: 15.5px; color: rgba(255,255,255,0.64); }
@media (max-width: 1000px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid var(--line-dark); margin-top: 28px; }
}
@media (max-width: 600px) {
  .principles { grid-template-columns: 1fr; margin-top: 56px; }
  .principle, .principle + .principle { padding: 28px 0; border-left: 0; margin-top: 0; }
  .principle + .principle { border-top: 1px solid var(--line-dark); }
}

/* Contact */
.contact {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: end;
}
.contact h2 { font-size: clamp(36px, 4.6vw, 58px); margin-top: 22px; max-width: 12ch; }
.contact-lead { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 30em; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.contact-card:hover { border-color: var(--ink); box-shadow: 0 14px 34px -22px rgba(11,22,38,0.4); }
.contact-card .label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-card .value { margin-top: 6px; font-size: 19px; font-weight: 550; color: var(--ink); }
.contact-card svg { width: 22px; height: 22px; color: var(--ink); flex: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 48px; } }

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

.site-footer { background: var(--ink); color: rgba(255,255,255,0.66); font-size: 14.5px; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px;
  padding: 80px 0 56px;
}
.site-footer .brand { color: #fff; }
.footer-about { margin-top: 20px; max-width: 30em; line-height: 1.6; }
.site-footer h4 {
  margin: 0 0 16px; color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 26px 0 34px;
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

/* ---------- Legal pages ---------- */

.page-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 88px 0 64px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 22px; }
.page-head p { margin-top: 18px; color: var(--muted); }
.legal { padding: 72px 0 120px; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 24px; margin: 56px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #344052; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { padding-left: 20px; margin: 14px 0 0; display: grid; gap: 8px; }
.legal-body a { color: var(--accent); text-underline-offset: 3px; }
