/* ── Tokens (Sarbids blue palette) ── */
:root {
  --blue-50: #eef6fc;
  --blue-100: #d4e8f7;
  --blue-300: #5ba3e8;
  --blue-500: #2b7fd4;
  --blue-700: #1a5a9e;
  --navy: #0a1f3d;
  --gray-bg: #f5f5f7;
  --cream: #f8f7f4;
  --gray-text: #6e6e73;
  --gray-text-dark: #1d1d1f;
  --white: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-height: 52px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--gray-text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ── Navigation (Apple-style global nav) ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav__inner {
  max-width: 980px;
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray-text-dark);
  opacity: 0.8;
  transition: opacity 0.3s var(--ease);
}

.nav__links a:hover { opacity: 1; }

/* ── Links (Apple chevron style) ── */
.link {
  font-size: 17px;
  line-height: 1.23536;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--blue-500);
  transition: opacity 0.3s var(--ease);
}

.link span {
  font-size: 21px;
  line-height: 1;
  vertical-align: middle;
}

.link:hover { opacity: 0.75; }

.link--muted { color: var(--gray-text); }

.link--large {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.011em;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 48px) 22px 80px;
  background: var(--white);
}

.hero__content {
  max-width: 980px;
}

.hero__logo-wrap {
  position: relative;
  width: min(480px, 90vw);
  margin: 0 auto 44px;
}

.hero__logo-wrap::before {
  content: '';
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(
    ellipse at center,
    rgba(43, 127, 212, 0.14) 0%,
    rgba(43, 127, 212, 0.04) 45%,
    transparent 72%
  );
  pointer-events: none;
}

.hero__logo {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}

.hero__title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero__lead {
  font-size: clamp(19px, 2.5vw, 24px);
  line-height: 1.33341;
  font-weight: 400;
  letter-spacing: 0.009em;
  color: var(--gray-text);
  max-width: 680px;
  margin: 0 auto 24px;
}

.hero__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ── Feature sections (Apple product blocks) ── */
.feature {
  padding: 72px 22px 80px;
  text-align: center;
}

.feature__inner {
  max-width: 680px;
  margin: 0 auto;
}

.feature__headline {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.07143;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}

.feature__copy {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.381;
  font-weight: 400;
  letter-spacing: 0.011em;
  max-width: 580px;
  margin: 0 auto;
}

.feature--light {
  background: var(--gray-bg);
  color: var(--navy);
}

.feature--light .feature__copy { color: var(--gray-text); }

.feature--blue {
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  color: var(--navy);
}

.feature--blue .feature__copy { color: var(--gray-text); }

.feature--dark {
  background: var(--navy);
  color: var(--white);
}

.feature--dark .feature__copy {
  color: rgba(255, 255, 255, 0.72);
}

/* ── Section shared ── */
.section {
  padding: 88px 22px 96px;
}

.section__inner {
  max-width: 980px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08349;
  font-weight: 600;
  letter-spacing: -0.003em;
  color: var(--navy);
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.381;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: var(--gray-text);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Approach ── */
.approach {
  background: var(--white);
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.approach__item {
  background: var(--white);
  padding: 40px 36px;
}

.approach__num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-500);
  margin-bottom: 12px;
}

.approach__item h3 {
  font-size: 21px;
  line-height: 1.19048;
  font-weight: 600;
  letter-spacing: 0.011em;
  color: var(--navy);
  margin-bottom: 8px;
}

.approach__item p {
  font-size: 14px;
  line-height: 1.42859;
  font-weight: 400;
  letter-spacing: -0.016em;
  color: var(--gray-text);
}

/* ── Statement ── */
.statement {
  padding: 88px 22px;
  background: var(--gray-bg);
  text-align: center;
}

.statement__inner p {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.003em;
  color: var(--navy);
}

/* ── Projects showcase ── */
.projects {
  background: var(--white);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.projects__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-text);
  font-size: 17px;
  padding: 24px 0;
}

.project-card {
  background: var(--gray-bg);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 31, 61, 0.1);
}

.project-card__image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__body {
  padding: 24px;
}

.project-card__title {
  font-size: 21px;
  line-height: 1.19048;
  font-weight: 600;
  letter-spacing: 0.011em;
  color: var(--navy);
  margin-bottom: 8px;
}

.project-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-text);
}

/* ── Contact ── */
.contact {
  background: var(--white);
  text-align: center;
}

.contact__inner .section__subtitle {
  margin-bottom: 40px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact__logo {
  width: min(260px, 65vw);
  height: auto;
  margin-bottom: 16px;
}

.contact__address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.42859;
  letter-spacing: -0.016em;
  color: var(--gray-text);
  margin-bottom: 8px;
}

/* ── Footer (Apple mini footer) ── */
.footer {
  padding: 17px 22px 21px;
  background: var(--gray-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__inner {
  max-width: 980px;
  margin: 0 auto;
}

.footer__col {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__logo {
  width: 140px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.footer__meta {
  font-size: 12px;
  line-height: 1.33337;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray-text);
}

.footer__meta:hover { color: var(--blue-500); }

.footer__legal {
  font-size: 12px;
  line-height: 1.33337;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray-text);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ── Responsive ── */
@media (max-width: 734px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 11px; }
  .nav__logo { height: 34px; }

  .hero { padding-top: calc(var(--nav-height) + 32px); }

  .hero__logo-wrap {
    width: min(360px, 94vw);
    margin-bottom: 36px;
  }

  .hero__links {
    flex-direction: column;
    gap: 12px;
  }

  .feature { padding: 56px 22px 64px; }
  .section { padding: 64px 22px 72px; }

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

  .approach__item {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .nav__links a:not([href="#contact"]) { display: none; }
}
