@font-face {
  font-family: "Euclid";
  src: url("./src/fonts/euclid/EuclidCircularB-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Euclid";
  src: url("./src/fonts/euclid/EuclidCircularB-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "AntonLocal";
  src: url("./src/fonts/anton/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
}

:root {
  --paper: #f4ecdf;
  --ink: #181511;
  --muted: rgba(24, 21, 17, 0.72);
  --line: rgba(24, 21, 17, 0.12);
  --accent: #b65a32;
  --panel: rgba(255, 251, 245, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Euclid", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(182, 90, 50, 0.18), transparent 28rem),
    radial-gradient(circle at left center, rgba(90, 72, 50, 0.08), transparent 22rem),
    linear-gradient(180deg, #f7f0e4 0%, var(--paper) 48%, #eadcc8 100%);
}

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

.page {
  min-height: 100vh;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 20px 20px 0;
}

.header-inner,
.main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(24, 21, 17, 0.78);
  backdrop-filter: blur(24px);
  box-shadow: 0 22px 70px rgba(24, 21, 17, 0.12);
}

.brand,
.section-label,
.eyebrow,
.timeline-card span,
.hero-meta span,
.floating-note span {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand,
.nav a {
  color: rgba(255, 255, 255, 0.82);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a:hover,
.back-link:hover {
  opacity: 0.7;
}

.main {
  padding: 36px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 38px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding: 24px 0 44px;
}

.hero-copy h1,
.section-intro h2,
.now-copy h2 {
  margin: 0;
  font-family: "AntonLocal", "Euclid", sans-serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 6.4vw, 5.6rem);
  line-height: 0.98;
}

.hero-copy h1 span {
  display: block;
  color: var(--accent);
}

.lead,
.story-card p,
.timeline-card p,
.closing-section p,
.focus-panel li {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.eyebrow {
  margin-bottom: 18px;
  color: rgba(24, 21, 17, 0.62);
}

.lead {
  max-width: 40rem;
  margin-top: 24px;
  font-size: 1.18rem;
  line-height: 1.85;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero-meta div,
.floating-note,
.story-card,
.timeline-card,
.focus-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(24, 21, 17, 0.07);
}

.hero-meta div {
  padding: 20px;
  border-radius: 24px;
}

.hero-meta strong,
.floating-note strong,
.timeline-card h3 {
  display: block;
  margin-top: 10px;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  padding: 36px 0 0 36px;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(180deg, #c5805b 0%, #efe5d7 100%);
  box-shadow: 0 42px 100px rgba(24, 21, 17, 0.18);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-note {
  position: absolute;
  left: 0;
  bottom: 28px;
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 22px;
}

.story-section,
.journey-section,
.now-section,
.closing-section {
  padding: 40px 0;
}

.section-intro {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.section-label {
  color: var(--accent);
}

.section-intro h2,
.now-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 3.8vw, 3.35rem);
  line-height: 0.98;
}

.story-section .section-intro h2 {
  max-width: 100%;
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
  line-height: 1.02;
  white-space: nowrap;
}

.journey-section .section-intro h2 {
  max-width: 100%;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.02;
}

.now-section .now-copy h2 {
  max-width: 24ch;
  font-size: clamp(1.55rem, 1.85vw, 1.95rem);
  line-height: 1.04;
  white-space: normal;
}

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

.story-card,
.timeline-card {
  border-radius: 28px;
  padding: 24px;
}

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

.timeline-card span,
.floating-note span {
  color: var(--accent);
}

.timeline-card h3 {
  margin: 12px 0;
  font-size: 1.38rem;
}

.now-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.focus-panel {
  border-radius: 32px;
  padding: 24px 24px 24px 48px;
}

.focus-panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.focus-panel li::marker {
  color: var(--accent);
}

.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.closing-section p {
  max-width: 34rem;
  font-size: 1.05rem;
}

.back-link {
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero,
  .now-section,
  .story-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 8px;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-visual {
    max-width: 560px;
    padding: 18px 0 0;
  }

  .floating-note {
    left: 18px;
  }
}

@media (max-width: 720px) {
  .header {
    padding: 14px 14px 0;
  }

  .header-inner,
  .main {
    width: min(100%, calc(100% - 28px));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .main {
    padding-bottom: 48px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 14vw, 4.3rem);
    line-height: 0.98;
  }

  .lead {
    font-size: 1.04rem;
    line-height: 1.75;
  }

  .section-intro h2,
  .now-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .story-section .section-intro h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.45rem);
    white-space: normal;
  }

  .journey-section .section-intro h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .now-section .now-copy h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    white-space: normal;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .story-card,
  .timeline-card,
  .focus-panel {
    border-radius: 24px;
  }

  .focus-panel {
    padding-left: 36px;
  }

  .closing-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
