:root {
  --bg: #f4efe6;
  --bg-strong: #d8c7ac;
  --surface: rgba(255, 252, 247, 0.7);
  --surface-strong: #f8f4ee;
  --text: #1f1b19;
  --text-soft: #685f57;
  --line: rgba(31, 27, 25, 0.12);
  --accent: #9a3f2d;
  --accent-strong: #6f231a;
  --accent-soft: #efe0d8;
  --shadow: 0 24px 80px rgba(43, 28, 20, 0.14);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --content: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(159, 65, 45, 0.16), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(104, 95, 87, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f4ed 0%, #f2eadf 48%, #ece2d5 100%);
  font-family: "Noto Serif JP", serif;
  line-height: 1.75;
}

body.drawer-open {
  overflow: hidden;
}

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

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

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 46vw;
  height: 46vw;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(24px);
  opacity: 0.3;
  z-index: -1;
}

.site-shell::before {
  top: -18vw;
  right: -8vw;
  background: rgba(154, 63, 45, 0.22);
}

.site-shell::after {
  bottom: -20vw;
  left: -12vw;
  background: rgba(96, 84, 73, 0.18);
}

.site-header,
.site-main,
.site-footer {
  width: var(--content);
  margin: 0 auto;
}

.site-header {
  padding: 24px 0 16px;
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 251, 247, 0.5);
  box-shadow: var(--shadow);
  border-radius: 28px;
  backdrop-filter: blur(20px);
}

.site-branding__eyebrow,
.section-kicker,
.site-footer__label {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-branding__title {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 600;
  line-height: 0.95;
}

.site-branding__tagline {
  max-width: 36ch;
  margin: 10px 0 0;
  color: var(--text-soft);
}

.site-header__right {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.main-navigation ul,
.footer-navigation__list,
.drawer-navigation__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a,
.footer-navigation a,
.drawer-navigation a {
  display: inline-flex;
  padding: 10px 0;
  color: var(--text-soft);
  transition: color 180ms ease, transform 180ms ease;
}

.main-navigation a:hover,
.footer-navigation a:hover,
.drawer-navigation a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--accent);
  color: #fff7f3;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  cursor: pointer;
}

.site-drawer {
  width: var(--content);
  margin: 0 auto;
  padding: 0 0 16px;
}

.drawer-navigation {
  padding: 18px 24px 26px;
  background: rgba(255, 250, 245, 0.92);
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow);
}

.site-main {
  padding: 12px 0 96px;
}

.hero-panel,
.page-intro,
.front-grid,
.post-stream,
.entry,
.site-footer__inner {
  position: relative;
}

.hero-panel {
  padding: 28px 0 72px;
}

.hero-panel__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.hero-panel__copy,
.hero-panel__visual,
.page-intro,
.front-grid__feature,
.front-grid__notes,
.entry {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.76), rgba(247, 239, 230, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel__copy {
  padding: clamp(32px, 5vw, 72px);
}

.hero-panel__copy h1,
.page-intro h1,
.section-heading h2,
.front-grid__feature h2,
.site-footer__lead h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.hero-panel__lede,
.page-intro__summary,
.front-grid__feature p,
.site-footer__lead p {
  max-width: 34ch;
  color: var(--text-soft);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--primary {
  color: #fff9f5;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

.button--ghost {
  background: rgba(255, 252, 247, 0.45);
}

.hero-panel__visual {
  min-height: 100%;
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  background:
    linear-gradient(160deg, rgba(154, 63, 45, 0.84), rgba(67, 39, 29, 0.92)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 28%);
  color: #fff7f3;
}

.hero-panel__card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 248, 242, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel__card span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-panel__card strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.95;
  font-weight: 600;
}

.hero-panel__card--secondary {
  margin-left: auto;
  max-width: 85%;
}

.front-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 80px;
}

.front-grid__feature,
.front-grid__notes {
  padding: clamp(28px, 4vw, 44px);
}

.front-grid__notes {
  display: grid;
  gap: 18px;
}

.info-tile {
  padding: 22px 22px 20px;
  background: rgba(255, 252, 247, 0.52);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.info-tile h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

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

.post-stream__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-card__inner {
  display: block;
  height: 100%;
  padding: 24px;
  background: rgba(255, 250, 245, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.post-card__inner:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 63, 45, 0.28);
  background: rgba(255, 252, 247, 0.88);
}

.post-card__meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.post-card__title {
  margin: 16px 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  line-height: 0.94;
}

.post-card__excerpt {
  color: var(--text-soft);
}

.post-card__link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 700;
}

.page-intro,
.entry {
  padding: clamp(28px, 4vw, 52px);
  margin-bottom: 24px;
}

.entry {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.prose {
  font-size: 1.04rem;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  max-width: 44em;
}

.prose h2,
.prose h3,
.prose h4 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  margin-top: 1.4em;
  margin-bottom: 0.5em;
}

.prose h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.prose h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.prose blockquote {
  margin: 2rem 0;
  padding: 1.6rem 1.8rem;
  border-left: 3px solid var(--accent);
  background: rgba(154, 63, 45, 0.08);
  border-radius: 0 18px 18px 0;
}

.site-footer {
  padding-bottom: 40px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(248, 242, 234, 0.68);
  box-shadow: var(--shadow);
}

.site-footer__lead h2 {
  font-size: clamp(2.6rem, 4vw, 4.6rem);
}

.site-footer__meta {
  color: var(--text-soft);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-panel__inner,
  .front-grid,
  .site-footer__inner,
  .post-stream__grid {
    grid-template-columns: 1fr;
  }

  .hero-panel__card--secondary {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --content: min(100vw - 24px, 100vw - 24px);
  }

  .site-header {
    padding-top: 12px;
  }

  .site-header__inner,
  .hero-panel__copy,
  .hero-panel__visual,
  .front-grid__feature,
  .front-grid__notes,
  .entry,
  .page-intro,
  .site-footer__inner {
    padding: 22px;
  }

  .hero-panel__copy h1,
  .page-intro h1,
  .section-heading h2,
  .front-grid__feature h2 {
    font-size: clamp(2.8rem, 18vw, 4.8rem);
  }

  .site-branding__title {
    font-size: 2.4rem;
  }

  .site-header__inner,
  .site-header__right {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
