:root {
  --magenta: #a62b59;
  --magenta-deep: #7e1f43;
  --cream: #feebbe;
  --paper: #fbf7ef;
  --ink: #22121a;
  --ink-soft: #5e4a53;
  --line: rgba(34, 18, 26, 0.14);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

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

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

.hero {
  position: relative;
  min-height: min(100svh, 1000px);
  display: flex;
  flex-direction: column;
  background: var(--magenta);
  color: #fff;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
}

.nav__logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.nav__links {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  font-size: 15px;
  font-weight: 500;
}

.nav__links a {
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav__links a:hover { opacity: 1; }

.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 40px 120px;
}

.hero__title {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.18em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 17vw, 236px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.hero__title > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.25em);
  animation: rise 1s var(--ease) forwards;
}

.hero__num {
  position: relative;
  animation-delay: 0.12s !important;
}

.hero__star {
  position: absolute;
  width: 0.62em;
  height: 0.62em;
  left: -0.42em;
  top: -0.52em;
  fill: var(--cream);
  opacity: 0;
  animation: star-in 1.1s var(--ease) 0.55s forwards, twinkle 6s ease-in-out 2s infinite;
}

.hero__claim {
  max-width: 22ch;
  margin-top: clamp(28px, 4vw, 48px);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--cream);
  opacity: 0;
  animation: fade 1s var(--ease) 0.7s forwards;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 1px;
  height: 56px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.hero__scroll span {
  position: absolute;
  inset: 0;
  background: #fff;
  animation: scroll-line 2.2s var(--ease) infinite;
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes star-in {
  from { opacity: 0; transform: scale(0.2) rotate(-90deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); }
  50%      { transform: scale(0.88) rotate(45deg); }
}
@keyframes scroll-line {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}

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

.section {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  gap: 32px clamp(32px, 6vw, 96px);
  padding-block: clamp(80px, 12vw, 160px);
  border-bottom: 1px solid var(--line);
}

.label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
}

.label span {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.label--light,
.label--light span { color: var(--cream); }

.lead {
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.lead strong {
  font-weight: 800;
  color: var(--magenta);
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 72px);
}

.service {
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.service__star {
  width: 22px;
  height: 22px;
  margin-bottom: 28px;
  fill: var(--magenta);
  transition: transform 0.6s var(--ease);
}

.service:hover .service__star { transform: rotate(90deg) scale(1.15); }

.service h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service p {
  max-width: 34ch;
  color: var(--ink-soft);
}

/* Contact */

.contact {
  background: var(--ink);
  color: #fff;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  gap: 32px clamp(32px, 6vw, 96px);
  padding-block: clamp(80px, 12vw, 160px);
}

.contact__intro {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.contact__mail {
  display: inline-block;
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.4;
  text-decoration: none;
  background: linear-gradient(var(--cream), var(--cream)) left bottom / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease), color 0.3s;
}

.contact__mail:hover {
  color: var(--cream);
  background-size: 100% 3px;
}

/* Footer */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover { color: #fff; }

/* Reveal on scroll */

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.services .reveal:nth-child(2) { transition-delay: 0.12s; }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .section,
  .contact__inner { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { padding-block: 16px; }
  .nav__links { gap: 12px; font-size: 13px; }
  .nav__links a { padding-block: 10px; }
  .hero__title { flex-direction: column; font-size: 23vw; }
  .hero__num { align-self: flex-start; }
  .hero__star { left: auto; right: -0.75em; top: 0.02em; width: 0.5em; height: 0.5em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
