/* Light-only palette (prevents dark mode) */
:root {
  color-scheme: light;            /* tell browsers we are light only */
  --bg: #faf9f8;                  /* soft paper white */
  --ink: #222222;                 /* body text */
  --muted: #666666;               /* secondary text */
  --accent: #b8161b;              /* email link (close to your red) */
  --maxw: 640px;                  /* comfy measure */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Center stack */
main.shell {
  min-height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8vh 24px 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadein 400ms ease-out both;
}

/* Logo: hero size, scales down on small screens */
.logo {
  width: min(75vw, 480px);   /* wider on smaller screens */
  height: auto;
  margin-bottom: 2rem;
}

/* On larger screens, keep the original proportions */
@media (min-width: 768px) {
  .logo {
    width: min(56vw, 420px);
    margin-bottom: 2.25rem;
  }
}


/* Brand title */
h1 {
  margin: 0 0 0.75rem;
  font-weight: 350;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: 0.04em;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}

/* Tagline */
.tagline {
  margin: 0 0 2.25rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

/* Email link */
.email {
  display: inline-block;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  font-weight: 450;
  letter-spacing: 0.01em;
  transition: opacity .2s ease, transform .2s ease;
}
.email:hover { opacity: .88; transform: translateY(-1px); }
.email:focus { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Motion-respectful entrance */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
