:root {
  --paper: #f3efe8;
  --ink: #1a1814;
  --muted: #6a635b;
  --line: #ddd4c8;
  --bronze: #8c4e2f;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "PingFang SC", sans-serif;
  --pad: clamp(20px, 4.5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 380;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px var(--pad);
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(14px);
}
.brand {
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.nav nav { display: flex; gap: 26px; font-size: 14px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: calc(100vh - 58px);
  padding: 28px var(--pad) 36px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
h1 em { font-style: italic; font-weight: 460; }
.lede {
  max-width: 36rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { display: flex; gap: 22px; align-items: center; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  background: var(--ink);
  color: #f6f3ee;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.btn:hover { background: #2c2823; }
.link {
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.hero figure { margin: 0; }
.hero img {
  width: 100%;
  height: min(76vh, 780px);
  object-fit: cover;
  object-position: center 68%;
}
.cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promises article {
  padding: 22px 22px 26px;
  border-right: 1px solid var(--line);
}
.promises article:first-child { padding-left: var(--pad); }
.promises article:last-child { border-right: 0; padding-right: var(--pad); }
.promises strong { display: block; font-weight: 500; font-size: 16px; }
.promises p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

section { padding: clamp(64px, 9vh, 108px) var(--pad); scroll-margin-top: 72px; }
.intro { max-width: 40rem; margin-bottom: 36px; }
.kicker {
  margin: 0 0 10px;
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.intro p { margin: 14px 0 0; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 18px;
}
.card { margin: 0; }
.frame { overflow: hidden; background: #e7e0d6; aspect-ratio: 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.025); }
.card figcaption { padding-top: 12px; }
.card h3 { margin: 0; font-size: 18px; font-weight: 500; }
.card p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }

.grades {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.grade { padding: 26px 28px 8px 0; }
.grade + .grade { padding-left: 28px; border-left: 1px solid var(--line); }
.grade h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 460;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.grade p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; }
.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks span { color: var(--bronze); font-family: var(--serif); font-style: italic; }

.ways {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.way {
  min-height: 240px;
  padding: 28px 24px;
  background: #faf7f2;
  display: flex;
  flex-direction: column;
}
.way.main { background: var(--ink); color: #f6f3ee; }
.way.main p { color: #cfc6ba; }
.way h3 {
  margin: 12px 0;
  font-family: var(--serif);
  font-weight: 460;
  font-size: 34px;
  letter-spacing: -0.03em;
}
.way p { margin: 0; }
.way .tag {
  margin-top: auto;
  padding-top: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:after { content: "+"; color: var(--muted); font-family: var(--serif); font-size: 24px; }
.qa details[open] summary:after { content: "–"; }
.qa details p { margin: 0 0 18px; max-width: 40rem; color: var(--muted); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--pad) 40px;
  color: var(--muted);
  font-size: 13px;
}
footer strong { color: var(--ink); font-weight: 500; letter-spacing: 0.16em; font-size: 12px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(20, 17, 14, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1080px, 92vw); max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #f6f3ee;
  letter-spacing: 0.14em;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero, .promises, .grid, .grades, .split, .ways { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero img { height: 58vh; }
  .promises article, .promises article:first-child, .promises article:last-child {
    padding: 18px var(--pad);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .grade + .grade { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .ways { gap: 12px; }
}
@media (max-width: 640px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav nav { gap: 16px; }
  h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame img { transition: none; }
}
