/* Cute and simple Japanese teacher portfolio */

:root {
  --background: #fffaf8;
  --surface: #fff1f3;
  --surface-2: #fdf7ef;
  --text: #3b2f32;
  --muted: #7b6b70;
  --accent: #d96c82;
  --accent-dark: #b95268;
  --accent-soft: #f8dbe2;
  --border: #f0d9de;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(180, 97, 117, 0.12);
  --max-width: 1000px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, #ffeef2 0, transparent 30%),
    var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 700px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(240, 217, 222, 0.8);
  background: rgba(255, 250, 248, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

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

.hero,
section {
  padding: 92px 0;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 12px;
}

.hero-text {
  max-width: 630px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions,
.contact-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217, 108, 130, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.soft-link,
.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.profile-card {
  position: relative;
  padding: 38px 30px 30px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.profile-circle {
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 8px solid var(--surface);
  border-radius: 50%;
  background: linear-gradient(145deg, #f8cdd7, #ffe7ec);
  color: var(--accent-dark);
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
}

.profile-name {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
}

.profile-role {
  margin: 4px 0 22px;
  color: var(--muted);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-stats div {
  padding: 14px 10px;
  border-radius: 18px;
  background: var(--surface-2);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  color: var(--accent-dark);
  font-size: 1.1rem;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.78rem;
}

.sparkle {
  position: absolute;
  color: var(--accent);
  font-size: 1.5rem;
}

.sparkle-one {
  top: 22px;
  right: 28px;
}

.sparkle-two {
  bottom: 88px;
  left: 22px;
}

.sparkle-three {
  top: 95px;
  left: 24px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tags span {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.alt-section {
  background:
    linear-gradient(rgba(255, 241, 243, 0.94), rgba(255, 241, 243, 0.94)),
    radial-gradient(circle at bottom right, #ffdfe6, transparent 40%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(180, 97, 117, 0.08);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface);
  font-size: 1.45rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-box {
  max-width: 760px;
  padding: 50px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-box p {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  justify-content: center;
  margin-top: 26px;
}

footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 780px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .profile-card {
    max-width: 380px;
    margin: 0 auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  nav {
    gap: 16px;
  }

  .hero,
  section {
    padding: 66px 0;
  }

  .contact-box {
    padding: 34px 22px;
  }
}
