:root {
  --bg: #fbf0eb;
  --bg-strong: #f3d7cf;
  --paper: rgba(255, 248, 244, 0.78);
  --ink: #2c1715;
  --muted: #714e48;
  --line: rgba(72, 28, 24, 0.13);
  --accent: #bf3b2b;
  --accent-soft: #dd7059;
  --shadow: 0 24px 70px rgba(80, 29, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(191, 59, 43, 0.2), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(224, 105, 78, 0.17), transparent 26%),
    linear-gradient(180deg, #fff7f3 0%, var(--bg) 52%, #f5ddd4 100%);
  animation: page-fade 0.9s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 29, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 29, 26, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 40px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 26px;
}

.site-mark,
.site-nav a,
.button {
  text-decoration: none;
}

.site-mark {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.site-nav a::after,
.site-footer a::after,
.section-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-footer a:hover::after,
.section-link a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero,
.section {
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.82fr);
  gap: 28px;
  padding: 48px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.hero-card h2,
.work-card h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
}

.hero h1 {
  margin: 0;
  max-width: 8.2em;
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  font-weight: 600;
  line-height: 1.02;
}

.lead {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.button {
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #ae2f24, #d55238);
  color: #fff6f1;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 250, 247, 0.7);
}

.hero-card {
  align-self: end;
  max-width: 100%;
  padding: 20px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(114, 23, 20, 0.94), rgba(162, 49, 37, 0.96));
  color: #fff2eb;
  transform: translateY(6px);
}

.card-label,
.card-note,
.work-kicker,
.author-meta dt {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-label,
.work-kicker,
.author-meta dt {
  font-size: 0.76rem;
}

.hero-card h2 {
  margin: 8px 0 10px;
  font-size: 2.1rem;
}

.hero-card p,
.hero-card span,
.work-card p,
.author-copy,
.news-list p {
  line-height: 1.85;
}

.card-note {
  display: inline-block;
  margin-top: 10px;
  color: rgba(246, 239, 228, 0.72);
  font-size: 0.78rem;
}

.page-hero {
  padding-top: 42px;
  padding-bottom: 42px;
}

.page-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  font-weight: 600;
}

.section {
  margin-top: 26px;
  padding: 34px;
  border-radius: 30px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
}

.author-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 22px;
}

.author-panel {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 249, 0.82);
}

.author-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.author-avatar {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(191, 59, 43, 0.18);
  background: #fff;
  box-shadow: 0 10px 24px rgba(80, 29, 23, 0.1);
}

.author-name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.author-tag {
  margin: 6px 0 0;
  color: var(--accent);
  font-size: 0.92rem;
}

.accent-panel {
  background: linear-gradient(180deg, rgba(246, 216, 208, 0.92), rgba(255, 244, 239, 0.86));
}

.author-meta {
  display: grid;
  gap: 20px;
  margin: 0;
}

.author-meta div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.author-meta div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.author-meta dt {
  margin-bottom: 8px;
  color: var(--accent);
}

.author-meta dd {
  margin: 0;
  line-height: 1.7;
}

.works-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.work-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 249, 0.82);
}

.work-card.featured {
  background: linear-gradient(180deg, rgba(191, 59, 43, 0.95), rgba(137, 34, 25, 0.95));
  color: #fff7f3;
}

.work-card h3 {
  margin: 12px 0 14px;
  font-size: 2rem;
}

.work-card span {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 29, 26, 0.08);
  font-size: 0.82rem;
}

.work-card span a {
  color: inherit;
  text-decoration: none;
}

.work-card.featured span {
  background: rgba(255, 247, 238, 0.2);
}

.section-link {
  margin: 24px 2px 0;
}

.section-link a,
.site-footer a {
  position: relative;
  color: var(--accent);
  text-decoration: none;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-list article:last-child {
  border-bottom: 0;
}

.news-list time {
  color: var(--accent);
  font-weight: 700;
}

.essay-grid,
.stacked-works {
  display: grid;
  gap: 18px;
}

.essay-grid {
  grid-template-columns: repeat(2, 1fr);
}

.essay-card,
.work-row {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 249, 0.82);
}

.essay-card h3,
.work-row h3 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.essay-card p,
.work-row p {
  margin: 0;
  line-height: 1.85;
}

.work-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.featured-row {
  background: linear-gradient(180deg, rgba(191, 59, 43, 0.95), rgba(137, 34, 25, 0.95));
  color: #fff7f3;
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@keyframes page-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .author-layout,
  .works-grid,
  .essay-grid,
  .work-row {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    margin: 12px auto 24px;
  }

  .site-header,
  .hero-actions,
  .section-heading,
  .news-list article {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero,
  .section {
    padding: 24px;
    border-radius: 24px;
  }

  .author-identity {
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    text-align: center;
  }

  .section-heading {
    display: block;
  }

  .news-list article {
    display: block;
  }

  .news-list time {
    display: inline-block;
    margin-bottom: 8px;
  }

  .page-title,
  .section-heading h2 {
    line-height: 1;
  }
}
