@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/LibreCaslonText-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/LibreCaslonText-Italic-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #1F2A44;
  --navy-deep: #161E33;
  --brown: #8A5A3B;
  --brown-light: #E6D3BC;
  --cream: #F3ECDC;
  --cream-light: #F8F3E8;
  --rule: 1.5px solid var(--navy);
  --serif: "Libre Caslon Text", Georgia, serif;
  --wrap: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  font-variant-ligatures: common-ligatures;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration-color: var(--brown); text-underline-offset: 3px; }
a:hover { color: var(--brown); }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown);
}
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0; }
h2.title {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: 0.04em;
}
.script { font-style: italic; font-weight: 400; color: var(--brown); }

.ornament { display: flex; align-items: center; gap: 18px; margin: 0 auto; max-width: 520px; }
.ornament::before, .ornament::after { content: ""; flex: 1; border-top: 1px solid var(--navy); }
.ornament img { width: 64px; }

.site-header { border-bottom: 1px solid rgba(31, 42, 68, 0.25); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; }
.brand span { font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.nav a { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brown); color: var(--navy); }

.frame { position: relative; border: 2px solid var(--navy); padding: 6px; }
.frame-inner { border: 1px solid var(--navy); }

.hero { padding: 48px 0 56px; text-align: center; }
.hero .frame-inner { padding: clamp(28px, 6vw, 64px) clamp(16px, 5vw, 56px); background: var(--cream-light); }
.hero .logo { width: min(620px, 100%); margin: 0 auto; }
.hero .lede { max-width: 640px; margin: 28px auto 0; font-size: clamp(19px, 2.4vw, 22px); }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--serif); font-size: 15px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--navy); cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }

.photo-band { margin: 0; }
.photo-band img { width: 100%; height: clamp(220px, 38vw, 460px); object-fit: cover; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }

.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 40px; display: grid; gap: 12px; justify-items: center; }
.section-head p { max-width: 680px; margin: 0; }

.what { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.what article { text-align: center; padding: 0 8px; }
.what h3 { font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }
.what p { margin: 0; font-size: 17px; }

.shop { background: var(--cream-light); border-top: 1px solid rgba(31, 42, 68, 0.2); border-bottom: 1px solid rgba(31, 42, 68, 0.2); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.product { display: flex; flex-direction: column; background: var(--cream); }
.product .frame-inner { display: flex; flex-direction: column; height: 100%; }
.product img { aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--navy); }
.product-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 24px; }
.product-body .price { font-size: 22px; font-weight: 700; color: var(--brown); }
.product-body ul { margin: 4px 0 8px; padding-left: 20px; font-size: 16px; }
.product-body ul li::marker { color: var(--brown); }
.product-body .btn { margin-top: auto; align-self: flex-start; }
.note { text-align: center; font-style: italic; color: var(--brown); margin: 32px auto 0; max-width: 640px; font-size: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split img { border: 2px solid var(--navy); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; position: relative; padding-left: 58px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--cream);
  font-weight: 700; font-size: 17px; line-height: 38px; text-align: center;
}
.steps b { display: block; font-size: 19px; }

.callout { border-left: none; text-align: center; font-style: italic; color: var(--brown); font-size: 20px; max-width: 680px; margin: 44px auto 0; }
.callout b { color: var(--navy); }

.page-head { padding: 56px 0 8px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.page-head h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: 0.03em; }
.page-head p { max-width: 640px; margin: 0; font-size: 20px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase; margin: 40px 0 12px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--brown); }

.todo { background: #F5C77E; color: var(--navy); font-weight: 700; padding: 0 4px; }

.site-footer { background: var(--navy); color: var(--cream); padding: 56px 0 40px; margin-top: 24px; }
.site-footer a { color: var(--cream); text-decoration-color: var(--brown-light); }
.site-footer a:hover { color: var(--brown-light); }
.footer-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.footer-grid .badge { width: 150px; }
.footer-grid .script { color: var(--brown-light); font-size: 22px; display: block; margin-bottom: 6px; }
.footer-grid p { margin: 0; }
.footer-nav { display: grid; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-nav a { text-decoration: none; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(243, 236, 220, 0.25); font-size: 14px; color: var(--brown-light); }

@media (max-width: 860px) {
  .what, .products, .split { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .brand span { font-size: 15px; letter-spacing: 0.1em; }
  .nav { gap: 4px 16px; }
  .nav a { font-size: 13px; }
  .btn { width: 100%; }
  .product-body .btn { align-self: stretch; }
}
.split h2.title { margin: 10px 0 18px; }
.split .actions { justify-content: flex-start; }
.steps-continue { counter-reset: step 3; }
.video { margin: 0 0 12px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border: 2px solid var(--navy); padding: 4px; background: var(--cream-light); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video figcaption { margin-top: 10px; font-size: 16px; font-style: italic; color: var(--brown); }
.video figcaption b { font-style: normal; color: var(--navy); }
.maker { margin: 0; }
.maker img { border: 2px solid var(--navy); padding: 6px; background: var(--cream-light); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.maker figcaption { margin-top: 10px; text-align: center; font-style: italic; color: var(--brown); font-size: 16px; }
.split .prose h2:first-child { margin-top: 0; }
.shipping { text-align: center; margin: 32px auto 0; font-size: 18px; }
.note-tight { margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid rgba(31, 42, 68, 0.25); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 2px solid var(--navy); }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose img { border: 2px solid var(--navy); padding: 4px; background: var(--cream-light); margin: 12px 0; }
.prose blockquote { margin: 16px 0; padding: 12px 18px; background: var(--cream-light); border-left: 3px solid var(--brown); font-style: italic; }
.admin-prose { max-width: 900px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.admin-bar a { text-decoration: none; border-bottom: 2px solid transparent; }
.admin-bar a[aria-current="page"] { border-bottom-color: var(--brown); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { overflow-wrap: anywhere; }
.prose table { max-width: 100%; }
.prose pre { white-space: pre-wrap; }
