:root {
  --bg: #fffdfa;
  --ink: #15110f;
  --muted: #6f6a66;
  --soft: #f7f2ea;
  --paper: #fff8ee;
  --line: #ded7ce;
  --line-strong: #9f988f;
  --accent: #7d2440;
  --accent-green: #355442;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 17, 15, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 17, 15, .014) 1px, transparent 1px);
  background-size: 34px 34px, 46px 46px;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 52px);
  border-bottom: 1px solid rgba(222, 215, 206, .82);
  background: rgba(255, 253, 250, .92);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(21, 17, 15, .05);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a.is-active {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 62px) 0 34px;
}

.hero-copy {
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.03;
  word-break: normal;
}

h1 {
  max-width: 640px;
  font-size: clamp(56px, 7.2vw, 94px);
}

h2 {
  font-size: clamp(31px, 4.2vw, 58px);
}

h3 {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.hero-highlights li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 42px;
  padding: 10px 0;
}

.hero-highlights strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
}

.hero-highlights span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: rgba(255, 253, 250, .72);
  border-left: 7px solid var(--accent);
}

.button.quiet {
  color: var(--muted);
  border-color: var(--line-strong);
  background: transparent;
}

.button:hover {
  color: var(--ink);
  background: var(--paper);
}

.button.disabled {
  pointer-events: none;
  opacity: .58;
}

.hero-visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--soft);
  box-shadow: 12px 12px 0 rgba(125, 36, 64, .08);
  transform: rotate(-.35deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: repeating-linear-gradient(135deg, rgba(21, 17, 15, .035) 0 1px, transparent 1px 7px);
  opacity: .24;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .5);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(.12) contrast(.96) brightness(1.02);
}

.hero-visual figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  max-width: calc(100% - 28px);
  padding: 6px 8px;
  color: rgba(21, 17, 15, .78);
  background: rgba(255, 253, 250, .78);
  font-size: 11px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(230px, .46fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.section-heading.compact {
  max-width: 860px;
}

.section-heading.compact h2 {
  grid-column: 2;
}

.text-columns,
.ethos-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 52px);
  margin-top: 42px;
  margin-left: min(33vw, 390px);
  color: var(--muted);
  font-size: 17px;
}

.ethos-notes {
  padding: 26px 0 0;
  border-top: 1px solid var(--line-strong);
}

.text-columns p,
.ethos-notes p,
.apply-copy p,
.review-grid p,
.archive-grid p,
.faq-list p {
  margin: 0;
}

.details-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-block {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-left: 7px solid rgba(125, 36, 64, .42);
  background: rgba(255, 248, 238, .62);
}

.detail-block h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.clean-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.review-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.review-grid article,
.archive-grid article {
  min-height: 240px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, .74);
}

.review-grid article:nth-child(2),
.archive-grid article:nth-child(2) {
  background: rgba(247, 242, 234, .78);
}

.review-number,
.archive-grid span {
  color: var(--accent-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.review-grid p,
.archive-grid p {
  margin-top: 18px;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 840px;
  margin: 44px 0 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.timeline li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--accent-green);
  font-weight: 700;
}

.timeline span {
  color: var(--muted);
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 6vw, 72px);
  align-items: stretch;
}

.apply-copy p {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.apply-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-top: 7px solid rgba(53, 84, 66, .44);
  background: var(--paper);
}

.status-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-value {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.1;
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 840px;
  margin: 44px 0 0 auto;
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 700;
}

.faq-list p {
  max-width: 690px;
  padding: 0 0 24px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 4vw, 52px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .section-heading,
  .details-section,
  .apply-section,
  .text-columns,
  .ethos-notes {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .review-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .text-columns,
  .ethos-notes,
  .section-heading.compact h2 {
    margin-left: 0;
    grid-column: auto;
  }

  .timeline,
  .faq-list {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 20px;
  }

  nav {
    gap: 12px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(48px, 17vw, 70px);
  }

  .hero,
  .section {
    width: min(100% - 28px, var(--max));
  }

  .hero-visual {
    transform: none;
    box-shadow: 7px 7px 0 rgba(125, 36, 64, .08);
  }

  .hero-visual figcaption {
    position: static;
    max-width: none;
    background: transparent;
    border-top: 1px solid var(--line);
  }

  .review-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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