:root {
  --bg: #f5f3ef;
  --text: #151515;
  --muted: #7a746d;
  --line: #ddd6cc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

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

.page {
  width: min(1280px, calc(100% - 88px));
  margin: 0 auto;
}

/* NAV */
nav,
.nav-links a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 241, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}


.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2.6rem;
}

.main-nav a {
  text-decoration: none;
  color: #111;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}


.main-nav a:hover {
  opacity: 0.58;
}

/* GENERAL */
.content-section,
.hero-section {
  min-height: 100vh;
  padding: 3rem 0 3rem;
}

.section-title {
  margin: 0 0 64px;
  text-align: center;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* HOME */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding-top: 2.5rem;
  padding-bottom: 1.2rem;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.45fr 0.72fr 0.88fr;
  gap: 2.2rem;
  align-items: center;
}

.hero-title-wrap {
  grid-column: 1 / 2;
}

.hero-title {
  font-size: clamp(4.9rem, 10.2vw, 8.3rem);
  line-height: 0.86;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero-subtitle-wrap {
  grid-column: 2 / 3;
  align-self: center;
  justify-self: end;
  padding-right: 0.8rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
  max-width: 16rem;
  margin: 0 auto;
}

.hero-text-wrap {
  grid-column: 3 / 4;
  align-self: start;
}

.hero-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 17.5rem;
  margin: 0;
}

.hero-image-wrap img {
  width: 100%;
  max-width: 360px;
}

/* ABOUT */
#about > .section-title {
  text-align: center ;
  font-size: clamp(3.2rem, 6vw, 5.2rem) ;
  line-height: 0.95 ;
  font-weight: 500 ;
  letter-spacing: -0.03em ;
  margin: 0 0 40px ;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 4rem;
  align-items: start;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 3.5rem;
}

#about {
  padding-top: 9rem;
}
.about-summary {
  max-width: 33rem;
  font-size: 0.95rem;
  line-height: 1.72;
  color: #6a625b;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.text-block h3,
.analysis-block h3 {
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.text-block p,
.analysis-block p {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 35rem;
}

.hero-text,
.references-list li {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #1a1a1a;
}

.text-block,
.analysis-block {
  max-width: 36rem;
}

.quote {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 1.35rem;
  line-height: 1.45;
  font-style: italic;
  color: #7a746d;
  padding-bottom: 2.5rem;
}

.about-right img {
  width: 100%;
  max-width: 500px;
  display: block;
  
}

.about-right figcaption {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: #7b746d;
}

.typeface-image figcaption,
.composition-image figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.text-block em,
.analysis-block em {
  font-style: italic;
  color: #2a2a2a;
}

/* CONTRIBUTION */
#contribution .section-title {
  font-size: clamp(2.7rem, 4.7vw, 4.1rem);
  margin-bottom: 2rem;
}

#contribution .staggered-analysis {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

#contribution .contribution-block {
  max-width: 36rem;
  margin-left: 0;
}

#contribution .influence-block {
  max-width: 32rem;
  margin-left: auto;
  margin-right: 0.5rem;
  margin-top: -20rem;
}

#contribution .text-block h3 {
  font-size: 2rem;
  line-height: 1;
  margin: 0 0 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

#contribution .text-block p {
  margin: 0 0 1rem;
  font-size: 1.04rem;
  line-height: 1.82;
}

.highlight-line {
  margin-top: 3rem;
  text-align: center;
  font-size: 1.08rem;
  color: var(--muted);
  font-style: italic;
}

/* TYPEFACE */
#typeface .section-title {
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  margin-bottom: 2.2rem;
}
.typeface-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}
#typeface .text-block h3,
#typeface .analysis-block h3 {
  font-size: 1.85rem;
  line-height: 1;
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
#typeface .analysis-block {
  margin-bottom: 1.6rem;
}
#typeface {
  padding-bottom: 5rem;
}
.typeface-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.typeface-image img {
  width: 100%;
  max-width: 500px;
  display: block;
}

.typeface-right {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* COMPOSITION */
#composition .section-title {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  margin-bottom: 2.2rem;
}
#composition .analysis-block h3 {
  font-size: 1.95rem;
  line-height: 1;
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.composition-image img {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* REFERENCES */
.references-section {
  min-height: auto;
}

.references-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.references-list li {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.references-list li + li {
  margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero-grid,
  .about-grid,
  .two-column-grid,
  .typeface-grid,
  .three-column-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    text-align: center;
  }

  .hero-subtitle,
  .hero-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title-wrap,
  .hero-subtitle-wrap,
  .hero-text-wrap {
    grid-column: auto;
  }

  .hero-image-wrap img,
  .about-right img,
  .typeface-image img {
    max-width: 100%;
  }

  .content-section,
  .hero-section {
    min-height: auto;
    padding: 3.5rem 0;
  }
}
section {
  padding: 110px 0;
}
.section-title {
  margin-bottom: 64px;
}