:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-soft: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.06);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --container: 1080px;
  --font: "Posterama", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

/*
  Posterama font note:
  The page is set to use the Posterama font family.
  Add licensed Posterama webfont files here if the font is not installed on the visitor's device.

  Example:
  @font-face {
    font-family: "Posterama";
    src: url("assets/fonts/Posterama.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.95), transparent 34rem),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 56%, #eeeeef 100%);
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(100% - 44px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -90px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(245, 245, 247, 0.94);
  border-bottom-color: var(--line);
}

.nav {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 138px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  align-items: center;
  padding: 18px 38px 0 38px;
  text-align: center;
  overflow: hidden;
}

/* Hero background shape 
.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  width: min(770px, 82vw);
  height: min(240px, 28vw);
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-11deg);
  pointer-events: none;
}*/

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-logo {
  width: min(500px, 82vw);
  margin: 0 auto 26px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin: 0 auto 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.048em;
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 680;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 670;
}

.hero-text {
  max-width: 470px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  letter-spacing: -0.016em;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 650;
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-dark {
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #000;
}


.section {
  padding-top: 38px;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 20px;
  text-align: center;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.expertise-card {
  min-height: 160px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}

.expertise-card:hover,
.expertise-card:focus-within {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.expertise-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.expertise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-section {
  padding-bottom: 54px;
}

.cta-card {
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 50% -18%, rgba(29, 29, 31, 0.08), transparent 22rem);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-card h2 {
  margin-bottom: 22px;
}

.site-footer {
  padding: 30px 0 34px;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  /*grid-template-columns: 1fr auto 1fr; */
  margin: 0 auto;

  gap: 22px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 132px;
  height: auto;
}

.footer-meta {
  display: grid;
  gap: 4px;
  justify-self: center;
  text-align: center;
}

.footer-meta small,
.copyright {
  font-size: 0.76rem;
  line-height: 1.45;
}


.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 940px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 128px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: #f5f5f7;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 30px;
  }

  .hero::before {
    width: 92vw;
    height: 34vw;
  }

  .hero-logo {
    width: min(420px, 88vw);
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.5rem, 7.6vw, 2.15rem);
  }

  .section {
    padding: 32px 0;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: 132px;
  }

  .expertise-card span {
    margin-bottom: 28px;
  }

  .cta-card {
    min-height: 210px;
  }

  
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-meta,
  .copyright {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .btn {
    width: 100%;
  }

  .cta-card .btn {
    width: auto;
    min-width: 132px;
  }
}

.brand-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}

.brand-text span {
  line-height: 1;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}


.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.copyright {
  justify-self: auto;
}


::selection {
  background: #444;
  color: #fff;
}

::-moz-selection {
  background: #444;
  color: #fff;
}