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

:root {
  --white:   #ffffff;
  --ink:     #1a1a1a;
  --accent:  #e85d26;
  --muted:   #888;
  --light:   #f4f2ef;
}

html, body {
  height: 100%;
  background: var(--white);
  color: var(--ink);
  font-family: 'Geist', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  pointer-events: none;
  z-index: 100;
  opacity: .55;
}

/* ── LAYOUT ── */
.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ── HEADER ── */
header {
  padding: 2.8rem 4rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  animation: fadeDown .9s ease both;
}

.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.badge {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: .25em .65em;
  border-radius: 2px;
  margin-left: auto;
  opacity: .85;
  animation: fadeDown .9s .15s ease both;
}

/* ── HERO ── */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 5rem;
  position: relative;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  animation: fadeUp .9s .2s ease both;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(3.8rem, 8vw, 8rem);
  font-weight: 200;
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 14ch;
  animation: fadeUp .9s .35s ease both;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.subtitle {
  margin-top: 2.8rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: #555;
  max-width: 44ch;
  animation: fadeUp .9s .5s ease both;
}

/* ── PROGRESS BAR ── */
.progress-wrap {
  margin-top: 3.5rem;
  animation: fadeUp .9s .6s ease both;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .65rem;
}

.progress-labels strong {
  color: var(--accent);
  font-weight: 500;
}

.progress-track {
  width: min(38rem, 100%);
  height: 2px;
  background: #e8e5e0;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 68%;
  background: var(--accent);
  transform-origin: left;
  animation: growBar 1.4s .9s cubic-bezier(.16,1,.3,1) both;
}

/* ── DECORATIVE CIRCLE ── */
.deco {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(14rem, 25vw, 26rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #e8e5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s .7s ease both;
}

.deco::before {
  content: '';
  position: absolute;
  inset: 1.4rem;
  border-radius: 50%;
  border: 1px solid #ede9e3;
}

.deco-inner {
  text-align: center;
}

.deco-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}

.deco-number span {
  color: var(--accent);
}

.deco-label {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .4rem;
}

/* ── FOOTER ── */
footer {
  padding: 2.5rem 4rem;
  border-top: 1px solid #ede9e3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeUp .9s .75s ease both;
}

.contact-line {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .03em;
}

.contact-line a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: .05em;
  transition: color .2s;
}

.contact-line a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 1.8rem;
}

.social-links a {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}

.social-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right .3s ease;
}

.social-links a:hover { color: var(--ink); }
.social-links a:hover::after { right: 0; }

/* ── DOT BLINK ── */
.blink {
  display: inline-block;
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: var(--accent);
  margin-right: .4em;
  animation: blink 1.6s ease infinite;
  vertical-align: middle;
  margin-bottom: .1em;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes growBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header { padding: 2rem 1.8rem; }
  main   { padding: 3rem 1.8rem 4rem; }
  footer { padding: 2rem 1.8rem; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .deco  { display: none; }
  h1     { font-size: clamp(3.2rem, 12vw, 5rem); }
}
