:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #17241f;
  --muted: #657069;
  --line: #c9cec7;
  --accent: #b85035;
  --wash: #e5e9df;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 4%, rgba(184, 80, 53, .09), transparent 26rem),
    linear-gradient(90deg, transparent 49.9%, rgba(23, 36, 31, .035) 50%, transparent 50.1%),
    var(--paper);
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.header-note, footer, .section-heading span { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

main { flex: 1; }

.intro {
  padding: clamp(72px, 12vw, 150px) 0 clamp(72px, 10vw, 120px);
  display: grid;
  grid-template-columns: minmax(140px, .55fr) 2fr;
  align-items: start;
}

.eyebrow { margin: .7rem 0 0; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }

.intro h1 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}

.intro h1 em { color: var(--accent); font-weight: 400; }

.lede {
  grid-column: 2;
  max-width: 570px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.applications { padding-bottom: 100px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
}

.section-heading h2 { margin: 0; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }

.app-list { border-top: 1px solid var(--ink); }

.app-link {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s ease, padding .3s ease;
}

.app-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}

.app-link:hover, .app-link:focus-visible { color: var(--paper); padding-inline: 22px; outline: none; }
.app-link:hover::before, .app-link:focus-visible::before { transform: translateY(0); }
.app-number { color: var(--accent); font-size: .78rem; font-weight: 700; }
.app-content { display: flex; flex-direction: column; gap: 7px; }
.app-content strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.7vw, 2rem); font-weight: 400; }
.app-content small { color: var(--muted); font-size: .84rem; }
.app-link:hover small, .app-link:focus-visible small { color: #bfc7c1; }
.arrow { font-size: 1.6rem; transition: transform .3s ease; }
.app-link:hover .arrow, .app-link:focus-visible .arrow { transform: translate(4px, -4px); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0 30px;
  border-top: 1px solid var(--line);
}

footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 700px) {
  .page-shell { width: min(100% - 32px, 1180px); }
  .header-note { display: none; }
  .intro { grid-template-columns: 1fr; padding: 72px 0 80px; }
  .eyebrow { margin: 0 0 26px; }
  .intro h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .lede { grid-column: 1; margin-top: 28px; }
  .applications { padding-bottom: 70px; }
  .app-link { grid-template-columns: 38px 1fr auto; gap: 10px; padding: 25px 4px; }
  .app-content small { max-width: 250px; line-height: 1.4; }
  footer { flex-direction: column; }
}
