:root {
  --bg: #f4f0ea;
  --surface: #ffffff;
  --surface-alt: #ece7de;
  --ink: #171717;
  --ink-soft: #55504a;
  --charcoal: #111315;
  --charcoal-2: #1a1d1f;
  --line: rgba(23, 23, 23, 0.12);
  --accent: #f26a00;
  --accent-deep: #c75400;
  --max-width: 1200px;
  --radius: 24px;
  --shadow: 0 24px 64px rgba(17, 19, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 13ch;
}

h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.7));
}

.section-dark {
  background: var(--charcoal);
  color: #f8f2eb;
}

.section-label,
.eyebrow,
.insight-meta,
.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.light {
  color: #f3a05b;
}

.section-copy {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 1.25rem 0;
}

.solid-header {
  position: sticky;
  background: rgba(244, 240, 234, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 19, 21, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
}

.solid-header .brand,
.solid-header .nav-toggle {
  color: var(--ink);
}

.brand-logo-shell {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.solid-header .brand-logo-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
  border-color: rgba(17, 19, 21, 0.08);
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.7rem;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.02);
}

.footer-logo-shell {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: block;
  width: min(15.5rem, 100%);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.solid-header .lang-toggle {
  background: rgba(17, 19, 21, 0.05);
  border-color: rgba(17, 19, 21, 0.08);
}

.lang-pill {
  min-width: 3.2rem;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.solid-header .lang-pill {
  color: rgba(23, 23, 23, 0.68);
}

.lang-pill.active {
  background: var(--accent);
  color: #fff;
}

.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.solid-header .site-nav a {
  color: var(--ink);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.7rem;
  height: 2px;
  margin: 0.32rem 0;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  overflow: clip;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--charcoal);
}

.hero-media,
.page-hero::before {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero-home .hero-media {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url("https://images.unsplash.com/photo-1500930287596-c1ecaa373bb2?auto=format&fit=crop&w=1800&q=80");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 11, 0.18), rgba(7, 9, 11, 0.74)), radial-gradient(circle at 20% 20%, rgba(242, 106, 0, 0.2), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 11rem 0 7rem;
}

.hero-copy {
  max-width: 44rem;
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.cta-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.intro-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

.brand-intro {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.brand-panel-logo {
  width: min(26rem, 100%);
  height: auto;
  border-radius: 20px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.intro-grid,
.section-head,
.two-column,
.editorial-feature,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head.compact {
  margin-bottom: 1.5rem;
}

.service-grid,
.stats-grid,
.article-grid,
.pillars-grid,
.trust-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.business-panel,
.article-card,
.contact-card,
.editorial-side-note,
.insight-mini-card,
.editorial-lead,
.pillars-grid article,
.trust-grid article {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 19, 21, 0.08);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 22rem;
  position: relative;
  overflow: hidden;
}

.service-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 260ms ease;
}

.service-card:hover::before {
  transform: scale(1.09);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 19, 21, 0.08), rgba(17, 19, 21, 0.8));
}

.development::before {
  background-image: url("https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=1200&q=80");
}

.investment::before {
  background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1200&q=80");
}

.operations::before {
  background-image: url("https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1200&q=80");
}

.research::before {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80");
}

.service-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  padding: 1.8rem;
  color: #fff;
}

.service-card p:last-child,
.article-card p:last-child,
.insight-mini-card p:last-child,
.business-panel p,
.contact-card p,
.editorial-lead p,
.editorial-side-note p,
.pillars-grid p,
.trust-grid p,
.rich-copy p,
.rich-copy li {
  color: var(--ink-soft);
}

.service-card .service-card-inner p:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.insights-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: stretch;
}

.featured-insight,
.insight-list {
  display: grid;
  gap: 1rem;
}

.featured-insight {
  padding: 2.3rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.insight-mini-card,
.article-card,
.editorial-side-note,
.editorial-lead,
.contact-card,
.business-panel,
.pillars-grid article,
.trust-grid article {
  padding: 1.8rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid article {
  padding: 1.8rem;
  border-top: 1px solid var(--line);
}

.stats-grid strong {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--accent);
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  justify-content: space-between;
  padding: 2rem 2.2rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-footer {
  background: var(--charcoal-2);
  color: rgba(255, 255, 255, 0.74);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 2rem;
}

.footer-grid h3 {
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 1rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand + p {
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact {
  display: grid;
  gap: 0.45rem;
}

.footer-contact a,
.footer-contact p {
  margin-bottom: 0;
  line-height: 1.55;
}

.footer-company {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero {
  color: #fff;
  padding: 8rem 0 4rem;
}

.page-hero::before {
  content: "";
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 19, 21, 0.58), rgba(17, 19, 21, 0.8));
}

.page-hero-about::before {
  background-image: url("https://images.unsplash.com/photo-1488998427799-e3362cec87c3?auto=format&fit=crop&w=1800&q=80");
}

.page-hero-business::before {
  background-image: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1800&q=80");
}

.page-hero-insights::before {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80");
}

.page-hero-contact::before {
  background-image: url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1800&q=80");
}

.page-hero .container {
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.page-hero p:last-child {
  max-width: 44rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.business-stack {
  display: grid;
  gap: 1.25rem;
}

.business-panel {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 2rem;
}

.article-grid,
.pillars-grid,
.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.86);
}

.form-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.contact-list {
  display: grid;
  gap: 0.7rem;
}

.rich-copy {
  display: grid;
  gap: 1rem;
}

@media (max-width: 980px) {
  .service-grid,
  .stats-grid,
  .article-grid,
  .pillars-grid,
  .trust-grid,
  .insights-layout,
  .footer-grid,
  .business-panel,
  .intro-grid,
  .section-head,
  .two-column,
  .editorial-feature,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid article {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
  }

  .site-nav {
    position: fixed;
    top: 5rem;
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(17, 19, 21, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .solid-header .site-nav {
    background: rgba(17, 19, 21, 0.96);
  }

  .header-actions {
    margin-left: auto;
  }

  .site-nav a,
  .solid-header .site-nav a {
    color: #fff;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 9rem 0 5rem;
  }
}

@media (max-width: 640px) {
  body {
    background: #f6f2ec;
  }

  .section {
    padding: 4.5rem 0;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .brand-logo {
    height: 2.35rem;
  }

  .cta-panel,
  .hero-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
