@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* ===== Reset & Variables ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F9F7F4;
  --text: #2D2D2D;
  --text-muted: #7A7A7A;
  --accent: #C1714F;
  --accent-hover: #A85C3C;
  --border: #E0DBD5;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --max-width: 960px;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
}

img {
  max-width: 100%;
  display: block;
}

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

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

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s;
}

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

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 32px;
  border: 3px solid var(--border);
}

.hero__name {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero__name-en {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hero__tagline {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  color: var(--text);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  margin: 0 8px;
}

.btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--filled {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--filled:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ===== Section Base ===== */
.section {
  padding: 80px 0;
}

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

.section__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.section__lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}

/* ===== About Section ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

.about__list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.about__list .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 72px;
  padding-top: 2px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ===== CTA Section ===== */
.cta {
  padding: 80px 0;
  text-align: center;
}

/* ===== Works Grid ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.work-card {
  overflow: hidden;
}

.work-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-card__image {
  transform: scale(1.03);
}

.work-card__body {
  padding: 16px 0;
}

.work-card__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.work-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.work-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Hobbies ===== */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.hobby-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border);
}

.hobby-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.hobby-card__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hobby-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.contact-info__item {
  margin-bottom: 28px;
}

.contact-info__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 15px;
}

.contact-info__value a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form__input,
.form__textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--accent);
}

.form__textarea {
  min-height: 140px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.footer__text {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav__links {
    gap: 20px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hobbies-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .btn {
    display: block;
    margin: 8px auto;
    max-width: 200px;
    text-align: center;
  }
}
