:root {
  --paper: #f7f8f7;
  --ink: #1d292b;
  --muted: #667275;
  --line: #dce3e1;
  --teal: #147d7a;
  --coral: #c66e58;
  --gold: #c29b54;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}
a { color: inherit; }
.site-header {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .04em;
}
.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}
nav { display: flex; gap: 28px; }
nav a, .text-link, .contact-link, .footer-bottom a {
  text-decoration: none;
  transition: color .2s ease;
}
nav a { color: var(--muted); font-size: 14px; }
nav a:hover, .text-link:hover, .contact-link:hover, .footer-bottom a:hover { color: var(--teal); }
main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
  gap: 80px;
  align-items: center;
  padding: 84px 0 92px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: .02em;
}
h1 em { color: var(--coral); font-style: normal; }
.hero-text { max-width: 480px; margin-bottom: 26px; color: var(--muted); font-size: 17px; }
.text-link { color: var(--ink); font-size: 15px; font-weight: 650; }
.text-link span, .contact-link span { display: inline-block; margin-left: 7px; color: var(--coral); }
.hero-note {
  max-width: 285px;
  padding: 28px 0 24px 27px;
  border-left: 2px solid var(--gold);
}
.note-number, .card-index { color: var(--gold); font-family: Georgia, serif; font-size: 14px; }
.hero-note p { margin: 14px 0 22px; font-family: var(--serif); font-size: 20px; line-height: 1.65; }
.note-rule { display: block; width: 44px; height: 1px; margin-bottom: 13px; background: var(--line); }
.hero-note .note-caption { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 12px; }
.section { padding: 86px 0; border-top: 1px solid var(--line); }
.section-heading h2, .contact h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: .03em;
}
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 96px; margin-top: 40px; }
.lead { margin: 0; font-family: var(--serif); font-size: 27px; line-height: 1.65; }
.about-details { color: var(--muted); font-size: 15px; }
.about-details p + p { margin-top: 20px; }
.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.heading-caption { margin: 0; color: var(--muted); font-size: 13px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.note-card { min-height: 220px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.note-card-accent { border-color: #dfc8c0; background: #fffaf8; }
.note-card h3 { margin: 30px 0 10px; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.note-card p { min-height: 72px; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.card-tag { display: inline-block; color: var(--teal); font-size: 12px; letter-spacing: .1em; }
.contact { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; align-items: end; }
.contact > p { max-width: 240px; margin: 0; color: var(--muted); font-size: 14px; }
.contact-link { justify-self: end; color: var(--ink); font-size: 15px; font-weight: 600; }
.site-footer { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; gap: 20px; }
.footer-main { color: var(--ink); font-size: 13px; }
.footer-bottom { margin-top: 28px; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 760px) {
  .site-header, main, .site-footer { width: min(100% - 36px, 560px); }
  .site-header { padding: 20px 0; }
  nav { gap: 17px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding: 72px 0 76px; }
  h1 { font-size: clamp(40px, 12vw, 62px); }
  .hero-text { font-size: 16px; }
  .hero-note { max-width: none; padding-left: 21px; }
  .section { padding: 66px 0; }
  .section-heading h2, .contact h2 { font-size: 31px; }
  .about-grid, .notes-grid, .contact { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { margin-top: 28px; }
  .lead { font-size: 24px; }
  .heading-row { align-items: start; flex-direction: column; gap: 10px; }
  .note-card { min-height: 0; }
  .note-card p { min-height: 0; }
  .contact-link { justify-self: start; }
  .footer-main, .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
