:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f8;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-accent: #2b6cb0;
  --color-border: #e5e5e5;
  --max-width: 960px;
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

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

/* Hero */
.hero {
  padding: 160px 0 140px;
  text-align: center;
  background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), url("assets/hero-suzuka.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero__eyebrow {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero__title {
  font-size: 2.75rem;
  margin: 0 0 24px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 40px;
}

.button {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.button:hover {
  opacity: 0.85;
}

/* Section */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  font-size: 1.75rem;
  text-align: center;
  margin: 0 0 56px;
  letter-spacing: 0.05em;
}

/* About */
.about__text p {
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 20px;
}

.about__meta {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin: 40px 0 0;
  padding: 0;
}

.about__meta dt {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.about__meta dd {
  margin: 0;
  font-weight: 600;
}

/* Skills */
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.skill-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
}

.skill-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.skill-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Works */
.works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.work-card__thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card__thumb--top img {
  object-position: top;
}

.work-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.work-card p {
  margin: 0 0 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.work-card__link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Contact */
.contact__lead {
  text-align: center;
  color: var(--color-text-muted);
  margin: -32px 0 40px;
}

.contact__info {
  text-align: center;
}

.contact__info p {
  margin: 0 0 12px;
}

.contact__info span {
  display: inline-block;
  width: 120px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

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

/* Footer */
.footer {
  padding: 32px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 96px 0 72px;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .nav {
    gap: 16px;
    font-size: 0.85rem;
  }

  .about__meta {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
