/* inyosi — off-white institutional palette (mirrors aspol.com) */

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

:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-hero: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);

  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;

  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  --color-bg:         #fbf6f1;
  --color-border:     #e0dbd5;
  --color-text:       #333638;
  --color-text-muted: #7a7672;
  --color-text-faint: #a09b96;
  --color-heart:      #c4524a;

  --field-h: clamp(150px, 32vh, 300px);
}

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

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

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-6);
  text-align: center;
  padding-bottom: var(--field-h);
}

.field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.field.is-ready { opacity: 1; }

.hero__greeting {
  font-size: var(--text-hero);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero__heart {
  color: var(--color-heart);
  display: inline-block;
  cursor: default;
}

.hero__heart.is-pulsing { animation: pulse 0.8s ease-in-out; }
.hero__heart:hover { animation: pulse 1s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.3); }
  50%      { transform: scale(1); }
  70%      { transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__heart.is-pulsing, .hero__heart:hover { animation: none; }
}

.site-footer {
  padding: var(--space-4) var(--space-6);
  text-align: center;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.site-footer__contact,
.site-footer__copy {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-faint);
  letter-spacing: 0.03em;
}

.site-footer__contact:hover { color: var(--color-text-muted); }
