:root {
  color-scheme: light;
  --paper: #f1eee6;
  --paper-white: #f8f6f0;
  --ink: #20221e;
  --muted: #696c64;
  --forest: #25483e;
  --forest-dark: #1a332d;
  --orange: #e56e4d;
  --yellow: #e9c778;
  --line: rgba(32, 34, 30, 0.16);
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--paper-white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.masthead {
  position: relative;
  z-index: 5;
  display: flex;
  height: 79px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5.8vw, 86px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
}

.wordmark-copy {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.wordmark-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.6vw, 51px);
  font-size: 11px;
  font-weight: 600;
}

.navigation > a:not(.nav-follow):hover,
.site-footer > a:last-child:hover {
  color: var(--orange);
}

.nav-follow {
  padding: 11px 15px;
  border: 1px solid var(--line);
  transition: color 160ms ease, background 160ms ease;
}

.nav-follow:hover {
  background: var(--ink);
  color: var(--paper-white);
}

.nav-follow span {
  margin-left: 7px;
}

.menu-toggle {
  display: none;
}

.cover {
  position: relative;
  display: grid;
  min-height: 680px;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 6%;
  overflow: hidden;
  padding: 64px clamp(22px, 9.2vw, 138px) 80px;
}

.cover-backdrop {
  position: absolute;
  top: 24%;
  left: -3.1%;
  color: rgba(37, 72, 62, 0.035);
  font-family: var(--display);
  font-size: clamp(180px, 29vw, 420px);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

.cover-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 23px;
}

.kicker,
.section-kicker,
.daily-index,
.reading-topline,
.plan-label,
.translation-label,
.portrait-marker,
.portrait-caption > span,
.portrait-caption > small,
.portrait-edge,
.photo-chip,
.image-index,
.cover-scroll,
.closing-link,
.site-footer {
  font-family: var(--mono);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--forest);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(229, 110, 77, 0.12);
}

.cover h1 {
  position: relative;
  max-width: 730px;
  margin: 0 0 24px -5px;
  font-family: var(--display);
  font-size: clamp(62px, 8vw, 111px);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.95;
}

.cover h1 em,
.daily-copy h2 em,
.reading-heading h2 em,
.pathway-copy h2 em,
.closing h2 em {
  font-family: var(--serif);
  font-weight: 500;
}

.cover h1 em {
  color: var(--forest);
}

.cover-description {
  max-width: 385px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.cover-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.pill {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.pill:hover {
  transform: translateY(-2px);
}

.pill span {
  margin-left: 18px;
  font-size: 15px;
}

.pill-dark {
  background: var(--forest);
  color: #fff;
}

.pill-dark:hover {
  background: var(--forest-dark);
}

.quiet-link {
  font-size: 11px;
  font-weight: 700;
}

.quiet-link span {
  margin-left: 6px;
  color: var(--orange);
}

.cover-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 52px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.byline-rule {
  width: 26px;
  height: 1px;
  background: var(--orange);
}

.byline-dot {
  padding-inline: 5px;
  color: var(--orange);
}

.cover-portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 510px;
  justify-self: end;
  background: var(--forest);
}

.cover-portrait::before {
  position: absolute;
  z-index: 1;
  inset: 11px -11px -11px 11px;
  border: 1px solid rgba(37, 72, 62, 0.38);
  content: "";
  pointer-events: none;
}

.cover-portrait > img {
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.portrait-marker {
  position: absolute;
  top: 16px;
  left: -14px;
  padding: 10px 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.portrait-marker span {
  margin-left: 10px;
}

.portrait-caption {
  position: absolute;
  right: 16px;
  bottom: 17px;
  left: 16px;
  display: grid;
  gap: 4px;
  padding: 15px 17px;
  background: var(--paper-white);
}

.portrait-caption > span {
  color: var(--orange);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.portrait-caption strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.portrait-caption > small {
  color: var(--muted);
  font-size: 8px;
}

.portrait-edge {
  position: absolute;
  right: -27px;
  top: 20px;
  color: var(--forest);
  font-size: 8px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.cover-scroll {
  position: absolute;
  right: clamp(22px, 5.8vw, 86px);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.cover-scroll > span {
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.daily-word {
  padding: 0 clamp(22px, 9.2vw, 138px) 108px;
}

.daily-index,
.reading-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.daily-index > span,
.reading-topline > span:first-child {
  color: var(--orange);
}

.daily-index i,
.reading-topline i {
  width: 27px;
  height: 1px;
  background: var(--orange);
}

.daily-content {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 10%;
  margin-top: 29px;
  padding: 48px clamp(28px, 6.7vw, 96px);
  background: var(--forest);
  color: var(--paper-white);
}

.daily-photo {
  position: relative;
  height: 365px;
  background: #1b2924;
}

.daily-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  filter: saturate(0.75);
}

.photo-chip {
  position: absolute;
  bottom: -10px;
  left: 14px;
  padding: 10px 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.section-kicker {
  margin: 0 0 17px;
  color: var(--orange);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.section-kicker > span {
  padding-inline: 5px;
  color: var(--yellow);
}

.daily-copy h2,
.reading-heading h2,
.pathway-copy h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(39px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.06;
}

.daily-copy h2 {
  max-width: 570px;
}

.daily-copy h2 em {
  color: var(--yellow);
}

.daily-copy > p:not(.section-kicker) {
  max-width: 465px;
  margin: 20px 0 23px;
  color: rgba(248, 246, 240, 0.72);
  font-size: 12px;
  line-height: 1.85;
}

.pill-orange {
  background: var(--orange);
  color: #fff;
}

.pill-orange:hover {
  background: #cc5b3c;
}

.daily-social {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: rgba(248, 246, 240, 0.7);
  font-family: var(--mono);
  font-size: 9px;
}

.social-mark {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(248, 246, 240, 0.38);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 11px;
}

.reading-room {
  padding: 83px clamp(22px, 9.2vw, 138px) 92px;
  background: var(--paper-white);
}

.reading-topline {
  justify-content: space-between;
}

.reading-topline > span:last-child {
  color: var(--muted);
}

.reading-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 43px;
}

.reading-heading h2 {
  font-size: clamp(51px, 7.3vw, 91px);
  line-height: 0.99;
}

.reading-heading h2 em {
  color: var(--forest);
}

.reading-heading > p {
  max-width: 270px;
  margin: 0 1% 7px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.reader-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 18px;
  margin-top: 45px;
}

.reading-plan {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 28px 28px 25px;
  background: var(--yellow);
}

.plan-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.plan-spark {
  color: var(--forest);
  font-size: 16px;
}

.reading-plan h3 {
  margin: 22px 0 9px;
  font-family: var(--display);
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.99;
}

.reading-plan > p {
  max-width: 235px;
  margin: 0 0 17px;
  color: rgba(32, 34, 30, 0.72);
  font-size: 10px;
  line-height: 1.65;
}

.reading-plan > .plan-instructions {
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(248, 246, 240, 0.55);
  color: var(--ink);
}

.reading-plan > .plan-feedback {
  margin-bottom: 12px;
  color: var(--forest-dark);
  font-size: 9px;
  font-weight: 700;
}

.plan-list {
  display: grid;
  width: 100%;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-list button {
  display: grid;
  width: 100%;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(32, 34, 30, 0.15);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.plan-day-number {
  color: rgba(32, 34, 30, 0.64);
  font-family: var(--mono);
  font-size: 8px;
}

.plan-reference {
  font-size: 10px;
  font-weight: 700;
}

.plan-theme {
  color: rgba(32, 34, 30, 0.68);
  font-size: 8px;
}

.plan-list button:hover .plan-reference,
.plan-list button[aria-current="true"] .plan-reference {
  color: var(--forest);
}

.plan-list button.is-complete .plan-reference::after {
  margin-left: 7px;
  color: var(--forest);
  content: "✓";
}

.plan-list button.is-complete {
  padding-inline: 7px;
  border-bottom-color: transparent;
  border-radius: 2px;
  background: #d9ead8;
  color: #1d513b;
}

.plan-list button.is-complete .plan-day-number,
.plan-list button.is-complete .plan-theme {
  color: #1d513b;
}

.plan-progress {
  display: grid;
  width: 100%;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 8px;
}

.progress-track {
  height: 3px;
  background: rgba(32, 34, 30, 0.17);
}

.progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--forest);
  transition: width 180ms ease;
}

.reset-progress {
  margin-top: 13px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(32, 34, 30, 0.72);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reading-plan > .plan-storage-note {
  margin: 10px 0 0;
  font-size: 8px;
  line-height: 1.5;
}

.reader-card {
  display: flex;
  min-width: 0;
  min-height: 606px;
  flex-direction: column;
  padding: 28px clamp(20px, 3.2vw, 44px) 0;
  border: 1px solid rgba(32, 34, 30, 0.14);
  background: #fffefa;
}

.reader-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.reader-header .section-kicker {
  margin-bottom: 8px;
}

.translation-label {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.translation-label > span {
  color: var(--orange);
}

.passage-form {
  margin-top: 22px;
  padding: 16px 0 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.passage-form > label {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 600;
}

.search-row {
  display: flex;
  min-width: 0;
  gap: 8px;
}

.search-row input {
  width: 100%;
  min-width: 0;
  min-height: 41px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-white);
  color: var(--ink);
  font-size: 10px;
}

.search-row input::placeholder {
  color: #888b82;
}

.search-button {
  flex: 0 0 auto;
  min-width: 82px;
  border: 0;
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.search-button:hover {
  background: var(--forest-dark);
}

.search-button > span {
  margin-left: 6px;
}

.quick-passages {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.quick-passages button {
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 8px;
  transition: border-color 150ms ease, color 150ms ease;
}

.quick-passages button:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.passage-result {
  flex: 1;
  min-height: 195px;
  padding: 21px 0;
}

.reader-welcome {
  display: grid;
  min-height: 155px;
  align-content: center;
  justify-items: center;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.welcome-flower {
  color: var(--orange);
  font-size: 23px;
}

.reader-welcome p {
  max-width: 270px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

.passage-result h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.verse-list {
  display: grid;
  max-height: 260px;
  gap: 8px;
  overflow-y: auto;
  padding-right: 5px;
}

.verse {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  margin: 0;
}

.verse-number {
  padding-top: 3px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 8px;
}

.verse p {
  margin: 0;
  color: #43463f;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.7;
}

.mark-read {
  margin-top: 15px;
  padding: 9px 12px;
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
}

.mark-read:hover,
.mark-read.is-complete {
  background: var(--forest);
  color: white;
}

.challenge-complete-note {
  margin: 15px 0 0;
  padding: 12px;
  background: #d9ead8;
  color: #1d513b;
  font-size: 10px;
  line-height: 1.6;
}

.reader-error {
  display: flex;
  min-height: 155px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.reader-error strong {
  color: var(--ink);
  font-size: 12px;
}

.reader-error span {
  font-size: 10px;
  line-height: 1.6;
}

.reader-footer {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.copy-passage {
  padding: 7px 0 7px 8px;
  border: 0;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 8px;
}

.copy-passage:disabled {
  color: #aaa99f;
  cursor: not-allowed;
}

.copy-passage > span {
  margin-left: 5px;
}

.reading-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.pathway {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 10%;
  padding: 106px clamp(22px, 15vw, 220px);
}

.pathway-photo {
  position: relative;
  height: 410px;
  background: var(--forest);
}

.pathway-photo img {
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}

.image-index {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: var(--paper-white);
  font-size: 8px;
}

.pathway-copy {
  max-width: 500px;
}

.pathway-copy h2 {
  font-size: clamp(42px, 5vw, 65px);
}

.pathway-copy h2 em {
  color: var(--forest);
}

.pathway-copy > p:not(.section-kicker) {
  margin: 17px 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.pathway-list {
  border-top: 1px solid var(--line);
}

.pathway-list a {
  display: grid;
  grid-template-columns: 33px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  transition: color 150ms ease;
}

.pathway-list a:hover {
  color: var(--orange);
}

.pathway-list a > span:first-child {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 8px;
}

.path-arrow {
  font-size: 13px;
}

.books-section {
  padding: 90px clamp(22px, 9.2vw, 138px) 96px;
}

.books-heading h2 {
  max-width: 690px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.books-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 36px;
}

.books-heading > p {
  max-width: 285px;
  margin: 0 1% 6px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.book-card {
  min-width: 0;
  padding: 11px;
  background: var(--paper-white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(32, 34, 30, 0.09);
}

.book-art {
  overflow: hidden;
  aspect-ratio: 0.66;
  background: var(--paper-deep);
}

.book-art--identity {
  background: #d8c9a7;
}

.service-art {
  background: #d9cda9;
}

.business-art {
  background: #06172c;
}

.service-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-cover-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-info {
  padding: 15px 3px 2px;
}

.book-format {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.book-info h3 {
  min-height: 48px;
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.service-description {
  min-height: 32px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.service-buy {
  width: 100%;
}

.book-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.book-price {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.book-buy {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: var(--forest);
  color: white;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 150ms ease;
}

.book-buy:hover {
  background: var(--forest-dark);
}

.book-buy span {
  margin-left: 7px;
}

.add-to-cart {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  white-space: normal;
}

.book-buy:disabled,
.book-buy:disabled:hover {
  background: #74847d;
  cursor: default;
}

.floating-cart {
  position: fixed;
  z-index: 20;
  right: clamp(16px, 4vw, 58px);
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 13px;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(233, 199, 120, 0.5);
  border-radius: 999px;
  background: var(--forest-dark);
  box-shadow: 0 12px 32px rgba(20, 31, 26, 0.22);
  color: var(--paper-white);
  cursor: pointer;
  text-align: left;
}

.floating-cart[hidden] {
  display: none;
}

.cart-icon-wrap {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(233, 199, 120, 0.42);
  border-radius: 50%;
  color: var(--yellow);
}

.cart-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.cart-summary {
  display: grid;
  gap: 3px;
  min-width: 84px;
}

.cart-summary-label {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.cart-summary-count {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.cart-open-label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(248, 246, 240, 0.22);
  border-radius: 999px;
  background: rgba(248, 246, 240, 0.1);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 150ms ease;
}

.floating-cart:hover .cart-open-label {
  background: rgba(248, 246, 240, 0.2);
}

.cart-dialog {
  position: fixed;
  inset: auto 24px calc(108px + env(safe-area-inset-bottom, 0px)) auto;
  width: min(440px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  margin: 0;
  padding: 24px;
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--paper-white);
  box-shadow: 0 20px 60px rgba(20, 31, 26, 0.24);
  color: var(--ink);
}

.cart-dialog[open] {
  display: grid;
  gap: 16px;
}

.cart-dialog::backdrop {
  background: rgba(25, 31, 27, 0.4);
  backdrop-filter: blur(2px);
}

.cart-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.cart-heading .section-kicker {
  margin: 0;
}

.cart-heading h2 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.cart-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cart-status {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.cart-items {
  display: grid;
  max-height: min(38vh, 270px);
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.cart-remove {
  flex: 0 0 auto;
  padding: 6px 0 6px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-checkout {
  width: 100%;
  min-height: 44px;
  font-size: 10px;
}

.cart-checkout[aria-disabled="true"] {
  background: #74847d;
  cursor: default;
  pointer-events: none;
}

.online-service-section {
  padding: 0 clamp(22px, 9.2vw, 138px) 90px;
}

.online-service {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(22px, 4vw, 48px);
  background: #e7dfd0;
  color: var(--ink);
}

.online-service-art {
  overflow: hidden;
  max-height: 410px;
  background: #10131a;
}

.online-service-art img {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
}

.online-service-copy {
  max-width: 480px;
  padding: 24px 0;
}

.online-service-copy h2 {
  margin: 12px 0 16px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.online-service-copy > p:not(.section-kicker) {
  max-width: 390px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.closing {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 65px 22px;
  background: var(--forest-dark);
  color: var(--paper-white);
  text-align: center;
}

.closing-star {
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 25px;
}

.closing .section-kicker {
  color: var(--yellow);
}

.closing h2 {
  font-size: clamp(45px, 7vw, 79px);
}

.closing h2 em {
  color: var(--yellow);
}

.closing-link {
  margin-top: 29px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(248, 246, 240, 0.4);
  font-size: 8px;
  letter-spacing: 0.08em;
  transition: color 150ms ease;
}

.closing-link:hover {
  color: var(--yellow);
}

.closing-link span {
  margin-left: 8px;
  color: var(--yellow);
}

.site-footer {
  display: flex;
  min-height: 83px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px clamp(22px, 5.8vw, 86px);
  color: var(--muted);
  font-size: 8px;
}

.footer-wordmark .wordmark-copy {
  color: var(--ink);
  font-size: 11px;
}

.footer-wordmark .wordmark-copy small {
  font-size: 7px;
}

.footer-slash {
  margin-inline: 5px;
  color: var(--orange);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .cover {
    min-height: 610px;
    grid-template-columns: 1fr 0.8fr;
    gap: 4%;
    padding-inline: 6%;
  }

  .cover h1 {
    font-size: clamp(58px, 8vw, 84px);
  }

  .cover-portrait {
    height: 430px;
  }

  .daily-word,
  .reading-room {
    padding-inline: 6%;
  }

  .daily-content {
    gap: 7%;
    padding-inline: 5%;
  }

  .daily-photo {
    height: 330px;
  }

  .reader-layout {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .reading-plan {
    padding-inline: 20px;
  }

  .pathway {
    gap: 7%;
    padding-inline: 9%;
  }

  .books-section {
    padding-inline: 6%;
  }

  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

}

@media (max-width: 760px) {
  .masthead {
    height: 70px;
    padding-inline: 20px;
  }

  .menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    background: var(--ink);
  }

  .navigation {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 19px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .navigation > a:not(.nav-follow) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-follow {
    align-self: flex-start;
    margin-top: 14px;
  }

  .cover {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 53px 23px 67px;
  }

  .cover-backdrop {
    top: 9%;
    left: -2%;
    font-size: 49vw;
  }

  .cover-copy {
    padding-bottom: 0;
  }

  .kicker {
    margin-bottom: 19px;
  }

  .cover h1 {
    font-size: clamp(48px, 13vw, 78px);
  }

  .cover-description {
    max-width: 370px;
    font-size: 12px;
  }

  .cover-byline {
    margin-top: 29px;
  }

  .cover-portrait {
    width: calc(100% - 10px);
    max-width: 440px;
    height: min(112vw, 460px);
    justify-self: center;
  }

  .cover-scroll {
    right: 22px;
    bottom: 18px;
    font-size: 7px;
  }

  .search-row input {
    font-size: 16px;
  }

  .search-button {
    min-height: 44px;
  }

  .quick-passages button {
    min-height: 36px;
    padding-inline: 10px;
  }

  .plan-list button {
    min-height: 40px;
  }

  .daily-word {
    padding: 0 20px 74px;
  }

  .daily-content {
    grid-template-columns: 1fr;
    gap: 31px;
    padding: 25px;
  }

  .daily-photo {
    height: 320px;
  }

  .daily-copy h2 {
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .daily-copy > p:not(.section-kicker) {
    font-size: 11px;
  }

  .reading-room {
    padding: 67px 20px 72px;
  }

  .reading-topline {
    align-items: start;
    gap: 8px;
  }

  .reading-topline > span:last-child {
    max-width: 105px;
    font-size: 7px;
    text-align: right;
  }

  .reading-heading {
    align-items: start;
    flex-direction: column;
    gap: 17px;
    margin-top: 34px;
  }

  .reading-heading h2 {
    font-size: clamp(63px, 15vw, 84px);
  }

  .reading-heading > p {
    max-width: 300px;
    font-size: 11px;
  }

  .reader-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .reading-plan {
    padding: 23px;
  }

  .reading-plan h3 {
    font-size: 32px;
  }

  .plan-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }

  .plan-list button {
    grid-template-columns: 19px 1fr auto;
    gap: 5px;
  }

  .plan-reference {
    font-size: 9px;
  }

  .plan-theme {
    font-size: 7px;
  }

  .reader-card {
    min-height: 590px;
    padding-inline: 17px;
  }

  .translation-label {
    font-size: 6px;
  }

  .search-button {
    min-width: 68px;
  }

  .pathway {
    grid-template-columns: 1fr;
    gap: 33px;
    padding: 75px 22px;
  }

  .pathway-photo {
    width: calc(100% - 10px);
    height: 360px;
  }

  .pathway-copy h2 {
    font-size: clamp(38px, 11vw, 55px);
  }

  .books-section {
    padding: 70px 20px 73px;
  }

  .online-service-section {
    padding: 0 20px 70px;
  }

  .online-service {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }

  .online-service-art,
  .online-service-art img {
    max-height: 360px;
  }

  .online-service-copy {
    padding: 4px 2px 8px;
  }

  .online-service-copy h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .online-service-copy > p:not(.section-kicker) {
    font-size: 12px;
  }

  .books-heading h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .books-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .books-heading > p {
    max-width: 350px;
  }

  .books-grid {
    gap: 10px;
  }

  .service-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(90px, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 14px;
  }

  .service-card .book-art {
    aspect-ratio: 0.72;
  }

  .book-card {
    padding: 7px;
  }

  .service-card .book-info {
    min-width: 0;
    padding: 8px 2px;
  }

  .book-info {
    padding-top: 11px;
  }

  .service-card .book-info h3 {
    min-height: 0;
  }

  .service-description {
    min-height: 0;
  }

  .book-info h3 {
    min-height: 58px;
    font-size: 11px;
  }

  .book-price {
    font-size: 12px;
  }

  .book-buy {
    min-height: 34px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .floating-cart {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    min-height: 64px;
    justify-content: space-between;
    gap: 9px;
    padding: 7px 8px;
  }

  .cart-icon-wrap {
    width: 44px;
    height: 44px;
  }

  .cart-summary {
    min-width: 0;
    flex: 1 1 auto;
  }

  .cart-summary-count {
    font-size: 15px;
  }

  .cart-open-label {
    min-height: 40px;
    gap: 5px;
    padding-inline: 11px;
    font-size: 8px;
  }

  .cart-dialog {
    inset: auto 12px calc(88px + env(safe-area-inset-bottom, 0px)) 12px;
    width: auto;
    max-height: calc(100dvh - 112px);
    padding: 20px;
  }

  .cart-item {
    align-items: start;
    font-size: 11px;
  }

  .cart-checkout {
    width: 100%;
    font-size: 9px;
  }

  .closing {
    min-height: 350px;
  }

  .closing h2 {
    font-size: clamp(48px, 12vw, 67px);
  }

  .closing-link {
    font-size: 7px;
  }

  .site-footer {
    min-height: 118px;
    flex-wrap: wrap;
    padding: 21px 20px;
  }

  .site-footer > span {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .cover h1 {
    font-size: clamp(46px, 14vw, 56px);
  }

  .cover-actions {
    gap: 15px;
  }

  .pill {
    padding-inline: 13px;
    font-size: 10px;
  }

  .daily-content {
    padding: 18px;
  }

  .daily-photo {
    height: 285px;
  }

  .photo-chip {
    font-size: 6px;
  }

  .daily-copy h2 {
    font-size: clamp(32px, 10.5vw, 39px);
  }

  .pathway-copy h2 {
    font-size: clamp(35px, 11vw, 43px);
  }

  .plan-list {
    grid-template-columns: 1fr;
  }

  .reader-footer {
    font-size: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
