@font-face {
  font-family: Text;
  src: url("fonts/text-regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: Text;
  src: url("fonts/text-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Display;
  src: url("fonts/display-regular.woff") format("woff");
  font-display: swap;
}
:root {
  --ink: #173d35;
  --paper: #f7f5ed;
  --line: #d6d9ce;
  --gold: #c8a969;
  --muted: #596960;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Text, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #b77b26;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0 0 22px;
}
h1,
h2 {
  font-family: Display, Georgia, serif;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -1.8px;
}
h1 {
  font-size: clamp(38px, 4.05vw, 62px);
}
h2 {
  font-size: clamp(29px, 3vw, 43px);
}
h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
small,
.fine {
  font-size: 12px;
  line-height: 1.7;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.65px;
  font-weight: 700;
  display: block;
  margin-bottom: 24px;
}
.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
header {
  max-width: 1440px;
  margin: auto;
  padding: 27px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 1.7px;
  line-height: 1.3;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  margin-top: 4px;
}
.monogram {
  font-family: Display, serif;
  font-size: 41px;
  letter-spacing: -7px;
  width: 50px;
  height: 53px;
  border-right: 1px solid var(--line);
  line-height: 1.2;
}
.monogram span {
  color: #ab8140;
}
nav {
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 12px;
}
nav a {
  text-decoration: none;
}
nav a:hover,
.text-link:hover {
  text-decoration: underline;
}
.nav-cta {
  border: 1px solid var(--ink);
  padding: 12px 20px;
}
#menu-toggle {
  display: none;
}
.skip {
  position: absolute;
  top: -100px;
  left: 10px;
  background: white;
  z-index: 50;
  padding: 15px;
}
.skip:focus {
  top: 10px;
}
main {
  max-width: 1296px;
  margin: auto;
  padding: 0 32px 80px;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 75px 0 60px;
}
.hero-copy h1 em {
  font-style: normal;
  color: #8c6b33;
}
.hero-copy .lead {
  max-width: 560px;
}
.hero-note {
  font-size: 11px;
  margin-top: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 24px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #29584b;
  transform: translateY(-2px);
}
.calculator {
  background: #e8edde;
  border: 1px solid #d0d8c7;
  padding: 30px;
  position: relative;
  box-shadow: 12px 12px 0 #eee9dc;
}
.calc-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
}
.calc-heading .eyebrow {
  font-size: 8px;
  margin: 0;
  letter-spacing: 1px;
}
.pill {
  font-size: 9px;
  border: 1px solid #aab89b;
  padding: 4px 8px;
  border-radius: 15px;
  white-space: nowrap;
}
.calculator h2 {
  font-size: 37px;
}
.calc-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 700;
}
input:not([type="radio"]) {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #b9c4b5;
  background: #fbfcf7;
  color: var(--ink);
  padding: 13px 10px;
  margin: 8px 0 15px;
  border-radius: 0;
}
.calc-button {
  border: 0;
  border-bottom: 1px solid #becbb6;
  width: 100%;
  background: transparent;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 12px;
}
.calc-result {
  padding: 25px 0 10px;
}
.calc-result small {
  font-size: 9px;
  letter-spacing: 1px;
}
output {
  font-family: Display, serif;
  display: block;
  font-size: 48px;
  line-height: 1.4;
  letter-spacing: -2px;
}
.calc-result p {
  font-size: 11px;
  margin: 0;
}
.calculator > .fine {
  color: #56644d;
  margin: 10px 0 0;
  font-size: 10px;
}
.ribbon {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 1px;
}
.section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 85px;
  padding: 85px 0;
}
.section-grid > div > h2 {
  max-width: 370px;
}
.chapter {
  display: flex;
  align-items: flex-start;
  gap: 23px;
  text-decoration: none;
  padding: 27px 0;
  border-top: 1px solid var(--line);
  transition: padding 0.2s;
}
.chapter:hover {
  padding-left: 10px;
}
.chapter .number {
  font-family: Display, serif;
  color: #91723d;
  font-size: 26px;
}
.chapter small {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.chapter h3 {
  margin: 6px 0 10px;
}
.chapter p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}
.arrow {
  margin-left: auto;
  font-size: 24px;
}
.text-link {
  font-size: 12px;
  font-weight: 700;
}
.dark-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--paper);
  padding: 55px;
  gap: 80px;
  margin: 0 0 80px;
}
.dark-panel p {
  font-size: 14px;
  max-width: 440px;
  color: #d4dfd5;
}
.dark-panel .eyebrow {
  color: #d9bc7e;
}
.concept {
  border: 1px solid #638070;
  padding: 35px;
  align-self: center;
  transform: rotate(2deg);
}
.concept > span {
  font-size: 10px;
  letter-spacing: 2px;
}
.tokens {
  display: flex;
  gap: 8px;
  margin: 10px 0 25px;
}
.tokens b {
  border: 1px solid #8aa18c;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 400;
}
.tokens b:nth-child(-n + 2) {
  background: #d2ddb8;
  color: #173d35;
}
.concept small {
  font-size: 10px;
  color: #c5d2c4;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 20px 0 70px;
}
.card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: #efeee4;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.card:nth-child(2) {
  background: #e9eddf;
}
.card:nth-child(3) {
  background: #eee5d6;
}
.card:hover {
  background: #dedfcb;
}
.card small {
  font-size: 9px;
  letter-spacing: 1.3px;
  margin-bottom: 40px;
}
.card p {
  font-size: 13px;
  color: var(--muted);
}
.card > span {
  font-size: 11px;
  margin-top: auto;
  font-weight: 700;
}
.pale {
  border-top: 1px solid var(--line);
  padding-bottom: 0;
}
.closing {
  background: #e4e8da;
  padding: 55px max(5%, calc((100vw - 1232px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.closing h2 {
  font-size: 34px;
  margin: 0;
}
.closing .eyebrow {
  margin-bottom: 14px;
}
.light {
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
}
.light:hover {
  color: white;
}
footer {
  background: #173d35;
  color: #edf0e6;
  padding: 55px max(5%, calc((100vw - 1232px) / 2)) 25px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 25px;
}
.footer-top p {
  font-size: 12px;
}
.footer-top .brand {
  align-self: start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding: 25px 0;
  border-top: 1px solid #486559;
  font-size: 11px;
}
footer > .fine {
  max-width: 750px;
  color: #c2cfc2;
}
footer > small {
  font-size: 10px;
  color: #becbbe;
}
.page-intro {
  padding: 70px 0 50px;
  max-width: 900px;
}
.page-intro h1 {
  max-width: 900px;
}
.page-intro + .section-grid {
  padding-top: 0;
}
.page-intro ~ section {
  padding: 35px 0;
  max-width: 900px;
  border-top: 1px solid var(--line);
}
.prose {
  max-width: 790px;
  margin: 0 auto;
}
.prose section,
article section {
  margin-bottom: 45px;
}
.prose h2,
article h2 {
  font-size: 30px;
}
.reading-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 85px;
}
.reading-layout aside {
  align-self: start;
  position: sticky;
  top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.reading-layout aside p {
  font-size: 10px;
  letter-spacing: 1px;
}
.reading-layout aside a {
  display: block;
  font-size: 12px;
  margin: 20px 0;
}
.reading-layout article {
  max-width: 740px;
}
.exercise {
  background: #e8edde;
  padding: 30px;
}
fieldset {
  border: 1px solid var(--line);
  padding: 25px;
  margin: 0 0 35px;
}
legend {
  font-weight: 700;
  padding: 0 8px;
  font-size: 16px;
}
legend span {
  color: #9b7c3f;
  margin-right: 10px;
}
.choice {
  font-weight: 400;
  font-size: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  margin: 10px 0;
  cursor: pointer;
}
.choice:has(input:checked) {
  background: #e4e8da;
  border-color: var(--ink);
}
input[type="radio"] {
  accent-color: var(--ink);
  margin-right: 10px;
}
.feedback {
  font-size: 13px;
  margin: 15px 0 0;
}
.secondary {
  padding: 16px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
#enquiry {
  padding: 30px;
  background: #e8edde;
}
#enquiry .button {
  width: 100%;
}
#form-status {
  font-size: 13px;
  margin: 15px 0 0;
}
main > section > p {
  max-width: 800px;
}
a {
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  header {
    padding: 20px 25px;
  }
  nav {
    gap: 16px;
  }
  .hero {
    gap: 35px;
  }
  .calc-heading {
    flex-wrap: wrap;
  }
  .section-grid {
    gap: 40px;
  }
  .dark-panel {
    gap: 35px;
    padding: 35px;
  }
  h1 {
    font-size: 43px;
  }
  .calculator {
    padding: 24px;
  }
  .calculator h2 {
    font-size: 30px;
  }
  .calc-fields {
    gap: 7px;
  }
  .reading-layout {
    gap: 35px;
    grid-template-columns: 210px 1fr;
  }
}
@media (max-width: 760px) {
  header {
    position: relative;
    padding: 20px;
  }
  .brand {
    font-size: 14px;
  }
  .brand small {
    font-size: 8px;
  }
  .monogram {
    font-size: 35px;
    height: 45px;
    width: 44px;
  }
  #menu-toggle {
    display: block;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    padding: 8px 14px;
    font-size: 12px;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 25px;
    z-index: 10;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  main {
    padding: 0 20px 50px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 42px 0;
    gap: 35px;
  }
  h1 {
    font-size: 39px;
    letter-spacing: -1.7px;
  }
  .lead {
    font-size: 15px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-note {
    font-size: 10px;
  }
  .calculator {
    box-shadow: 6px 6px 0 #eee9dc;
    padding: 22px;
  }
  .calc-heading {
    flex-wrap: nowrap;
    gap: 5px;
  }
  .calc-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .pill {
    font-size: 8px;
  }
  .calc-fields label {
    font-size: 9px;
  }
  output {
    font-size: 44px;
  }
  .ribbon {
    font-size: 8px;
    letter-spacing: 0;
    gap: 12px;
  }
  .ribbon span {
    flex: 1;
  }
  .section-grid {
    grid-template-columns: 1fr;
    padding: 50px 0;
    gap: 30px;
  }
  .dark-panel {
    grid-template-columns: 1fr;
    padding: 27px;
    margin-bottom: 50px;
    gap: 20px;
  }
  .concept {
    padding: 25px;
    transform: rotate(1deg);
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 45px;
  }
  .card small {
    margin-bottom: 25px;
  }
  .section-head {
    display: block;
  }
  .section-head .text-link {
    display: inline-block;
    margin-bottom: 10px;
  }
  .closing {
    display: block;
    padding: 35px 20px;
  }
  .closing h2 {
    font-size: 30px;
    margin-bottom: 25px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-top .brand {
    margin-bottom: 20px;
  }
  .footer-links {
    gap: 16px;
  }
  footer {
    padding: 40px 20px 25px;
  }
  .page-intro {
    padding: 45px 0 35px;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .reading-layout aside {
    position: static;
  }
  .reading-layout aside a {
    margin: 12px 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #enquiry {
    padding: 22px;
  }
  legend {
    font-size: 14px;
  }
  fieldset {
    padding: 15px;
  }
  .choice {
    font-size: 12px;
  }
  .prose h2,
  article h2 {
    font-size: 27px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .chapter {
    gap: 16px;
  }
  .chapter h3 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
.chapter .number {
  flex: 0 0 36px;
  white-space: nowrap;
}
.footer-top > p:last-child {
  grid-column: 3;
}
@media (max-width: 760px) {
  .footer-top > p:last-child {
    grid-column: auto;
  }
}
