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

:root {
  --color-bg: #F8F7F7;
  --color-text: #0B0A0A;
  --color-muted: #403A3A;
  --color-link: #0B0A0A;
  --color-link-hover: #403A3A;
  --color-divider: rgba(0,0,0,0.08);
  --font: 'Geist', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(248, 247, 247, 0.86);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  opacity: 0;
  transform: translateY(-8px);
  animation: fadeUp 0.7s var(--ease-out) 0.1s forwards;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled { background: rgba(248, 247, 247, 0.96); }
.header__brand { display: flex; align-items: center; gap: 10px; }
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-link);
  text-decoration: none;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  position: relative;
  transition: gap 0.3s var(--ease-out), color 0.2s;
}
.header__cta::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width 0.35s var(--ease-out);
}
.header__cta:hover::after { width: 100%; }
.header__cta:hover { gap: 14px; color: var(--color-link-hover); }
.header__cta:hover .header__arrow { transform: translateX(4px); }
.header__arrow { width: 16px; height: 16px; stroke-width: 1.5; transition: transform 0.3s var(--ease-out); }

/* ── Hero ── */
.hero {
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 36px 56px;
  text-align: left;
}

.hero__content {
  width: 100%;
  max-width: 980px;
}

.hero__headline {
  max-width: 980px;
  font-family: var(--font);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}
.hero__headline.visible { animation: fadeUp 0.9s var(--ease-out) forwards; }
.hero__line { display: inline; }
.hero__line--muted { color: var(--color-muted); }
.hero__line--bold { color: var(--color-text); }

/* ── Services ── */
.services { padding: 0 36px 100px; }
.services__header {
  padding: 40px 0 0;
  border-top: 1px solid var(--color-divider);
  margin-bottom: 0;
}
.services__title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.services__list { display: flex; flex-direction: column; }
.service {
  display: grid;
  grid-template-columns: 2fr 5fr;
  gap: 0 60px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-divider);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.service.visible { opacity: 1; transform: translateY(0); }
.service__number { font-size: 11px; color: var(--color-muted); font-weight: 300; letter-spacing: 0.04em; padding-top: 4px; }
.service__name { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; color: var(--color-text); margin-bottom: 10px; line-height: 1.2; }
.service__desc { font-size: 13.5px; font-weight: 300; color: var(--color-muted); line-height: 1.65; max-width: 520px; }

/* ── Contact Section ── */
.contact {
  padding: 0 36px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.contact.visible { opacity: 1; transform: translateY(0); }
.contact__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.contact__heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--color-text);
}
.contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-link);
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.01em;
  position: relative;
  transition: gap 0.3s var(--ease-out), color 0.2s;
  align-self: center;
}
.contact__cta::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width 0.35s var(--ease-out);
}
.contact__cta:hover::after { width: 100%; }
.contact__cta:hover { gap: 16px; color: var(--color-link-hover); }
.contact__cta:hover .contact__arrow { transform: translateX(4px); }
.contact__arrow { width: 18px; height: 18px; stroke-width: 1.5; transition: transform 0.3s var(--ease-out); }

/* ── Footer ── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 36px;
  border-top: 1px solid var(--color-divider);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 1.2s forwards;
}
.footer__copy { font-size: 12px; color: var(--color-muted); font-weight: 300; letter-spacing: 0.04em; }
.footer__nav { display: flex; gap: 32px; }
.footer__link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width 0.3s var(--ease-out);
}
.footer__link:hover::after { width: 100%; }
.footer__link:hover { color: var(--color-link-hover); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
  .header { padding: 16px 24px; }
  .header__brand svg { width: 120px; height: auto; }
  .hero {
    min-height: 70vh;
    padding: 0 24px 40px;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .hero__content { max-width: 100%; }
  .hero__headline {
    font-size: clamp(2.4rem, 11vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
  }
  .services { padding: 0 24px 72px; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .contact { padding: 0 24px 60px; }
  .footer { padding: 20px 24px; flex-direction: column; gap: 16px; align-items: flex-start; }
}
