:root {
  color-scheme: light;
  --ink: #18334a;
  --ink-soft: #536777;
  --cream: #fff9ed;
  --paper: #fffdf7;
  --orange: #f28a35;
  --orange-deep: #d9632d;
  --teal: #4a9c91;
  --sky: #dff2f5;
  --line: #e8e0d1;
  font-family: 'Nunito', 'Trebuchet MS', sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 20; padding: .75rem 1rem; background: var(--paper); }
.skip-link:focus { left: 1rem; }

.site-header {
  min-height: 98px;
  padding: 16px clamp(22px, 6vw, 94px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
  border-bottom: 1px solid rgba(24, 51, 74, .08);
}
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: .92; flex-shrink: 0; }
.brand-name { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-size: clamp(25px, 2.8vw, 37px); font-weight: 800; letter-spacing: -.07em; }
.ampersand { color: var(--orange-deep); }
.brand-subtitle { margin-top: 7px; padding-left: .36em; font-size: 10px; font-weight: 900; letter-spacing: .38em; color: var(--teal); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 14px; font-weight: 800; }
.main-nav a { text-decoration: none; transition: color .2s ease; }
.main-nav a:hover { color: var(--orange-deep); }
.main-nav .nav-member { padding: 12px 18px; border: 1.5px solid var(--ink); border-radius: 999px; }
.nav-member span { margin-left: 4px; }

.hero {
  display: grid;
  grid-template-columns: minmax(300px, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  padding: clamp(52px, 7vw, 104px) clamp(22px, 7vw, 108px);
  overflow: hidden;
  background: radial-gradient(ellipse at 10% 5%, #fffdf6 0, var(--cream) 62%);
}
.hero-copy { max-width: 540px; padding: 8px 0; }
.eyebrow, .section-label { color: var(--teal); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 900; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px #f9e3ca; }
.hero h1 { max-width: 570px; margin: 0; font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-size: clamp(42px, 5.8vw, 77px); font-weight: 700; line-height: .99; letter-spacing: -.065em; }
.hero-description { max-width: 440px; margin: 25px 0 30px; color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(24, 51, 74, .13); }
.button-primary { color: white; background: var(--orange-deep); }
.button-primary span { font-size: 18px; }
.text-link { text-decoration: none; font-size: 13px; font-weight: 900; border-bottom: 1px solid #9caaad; padding-bottom: 4px; }
.text-link span { color: var(--teal); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 36px; color: #77857f; font-size: 12px; font-weight: 700; }
.paw-mark { display: inline-grid; place-items: center; width: 25px; height: 25px; color: var(--orange-deep); border: 1px solid #e9c9a8; border-radius: 50%; font-size: 12px; }
.hero-art { position: relative; margin: 0; border-radius: 32px 32px 92px 32px; overflow: hidden; background: #cceefa; box-shadow: 0 26px 60px rgba(47, 86, 75, .19); transform: rotate(1deg); }
.hero-art img { display: block; width: 100%; aspect-ratio: 1.62 / 1; object-fit: cover; object-position: 66% center; }
.hero-art figcaption { position: absolute; right: 18px; bottom: 16px; padding: 8px 13px; color: #fff; background: rgba(24, 51, 74, .68); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }

.intro-section { padding: clamp(62px, 8vw, 112px) clamp(22px, 11vw, 168px); background: var(--paper); }
.intro-section .section-label { margin-bottom: 20px; }
.intro-grid { display: grid; grid-template-columns: 1fr minmax(260px, .7fr); align-items: end; gap: 30px; }
.intro-grid h2, .section-heading h2, .member-section h2 { margin: 0; font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-size: clamp(33px, 4.2vw, 55px); line-height: 1.05; letter-spacing: -.06em; }
.intro-grid p { max-width: 430px; margin: 0 0 4px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 55px; border-top: 1px solid var(--line); }
.values-row div { display: flex; align-items: center; gap: 14px; padding: 21px 18px 0 0; font-weight: 900; }
.values-row div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.value-number { color: var(--orange-deep); font-size: 11px; letter-spacing: .12em; }

.books-section { padding: clamp(65px, 8vw, 112px) clamp(22px, 11vw, 168px); background: #f3f0e5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading .section-label { margin-bottom: 13px; }
.section-heading p { max-width: 285px; margin: 0 0 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.book-card { display: grid; grid-template-columns: minmax(150px, .8fr) 1fr; align-items: center; gap: clamp(18px, 3vw, 36px); min-height: 240px; padding: 22px; background: var(--paper); border: 1px solid rgba(24, 51, 74, .07); border-radius: 24px; box-shadow: 0 12px 28px rgba(40, 49, 42, .05); }
.book-art { position: relative; min-height: 193px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px 20px 20px 12px; text-align: center; color: white; box-shadow: inset 7px 0 rgba(24, 51, 74, .18), 0 10px 18px rgba(24, 51, 74, .14); }
.book-art-one { background: radial-gradient(circle at 73% 21%, #ffe9a6 0 3%, transparent 4%), linear-gradient(150deg, #2b947a, #3b755c 46%, #244e47); }
.book-art-two { background: radial-gradient(circle at 25% 27%, #fbe6a9 0 3%, transparent 4%), linear-gradient(150deg, #e89b45, #c56a3d 51%, #734c57); }
.book-art::before, .book-art::after { position: absolute; content: ''; width: 145px; height: 145px; border: 1px solid rgba(255,255,255,.25); border-radius: 47% 53% 62% 38%; transform: rotate(28deg); }
.book-art::before { top: -76px; left: -45px; }
.book-art::after { bottom: -85px; right: -30px; }
.book-volume { position: relative; z-index: 1; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.book-title { position: relative; z-index: 1; margin-top: 16px; font-family: 'Quicksand', sans-serif; font-size: clamp(16px, 2vw, 22px); font-weight: 800; line-height: 1.08; }
.book-symbol { position: relative; z-index: 1; margin-top: 14px; color: #ffe2a0; font-size: 24px; }
.book-info { padding-right: 4px; }
.book-status { display: inline-block; margin-bottom: 12px; padding: 5px 9px; border-radius: 999px; color: #476f65; background: #e7f1e9; font-size: 10px; font-weight: 900; }
.status-progress { color: #8c5636; background: #fff0dc; }
.book-info h3 { margin: 0; font-family: 'Quicksand', sans-serif; font-size: 19px; line-height: 1.2; }
.book-info p { margin: 10px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }

.member-section { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 330px; padding: 60px clamp(24px, 11vw, 168px); overflow: hidden; color: white; background: #2f756f; }
.member-copy { position: relative; z-index: 1; max-width: 620px; }
.member-copy .section-label { margin-bottom: 16px; color: #bfe5cf; }
.member-section h2 { max-width: 590px; font-size: clamp(33px, 4vw, 52px); }
.member-section p { max-width: 420px; margin: 18px 0 26px; color: #e2f2e7; line-height: 1.65; }
.button-light { color: var(--ink); background: #fff8e9; }
.member-doodle { position: absolute; right: 9%; top: 50%; width: 330px; height: 260px; transform: translateY(-50%); opacity: .38; }
.doodle-star { position: absolute; color: #ffe6a7; }
.star-one { top: 7px; right: 51px; font-size: 48px; }
.star-two { top: 89px; right: 245px; font-size: 28px; }
.doodle-paw { position: absolute; right: 85px; bottom: 6px; width: 125px; height: 125px; display: grid; place-items: center; border: 3px solid #ffe6a7; border-radius: 48% 52% 44% 56%; color: #ffe6a7; font-size: 59px; transform: rotate(-12deg); }
.doodle-path { position: absolute; inset: 24px 16px 9px 18px; border: 2px dashed #ffe6a7; border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(24deg); }

.site-footer { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px clamp(22px, 7vw, 108px); color: #70808a; background: var(--paper); font-size: 11px; font-weight: 700; }
.site-footer a { text-decoration: none; }
.footer-brand { display: flex; flex-direction: column; color: var(--ink); font-family: 'Quicksand', sans-serif; font-size: 15px; font-weight: 900; line-height: 1; }
.footer-brand span { margin-top: 4px; color: var(--teal); font: 900 7px 'Nunito', sans-serif; letter-spacing: .3em; }

@media (max-width: 850px) {
  .site-header { padding-inline: 24px; }
  .hero { grid-template-columns: 1fr; padding: 56px 24px 66px; }
  .hero-copy { max-width: 680px; }
  .hero-art { width: min(100%, 720px); justify-self: center; }
  .intro-section, .books-section { padding-inline: 30px; }
  .book-grid { grid-template-columns: 1fr; }
  .member-section { padding-inline: 32px; }
  .member-doodle { right: -50px; opacity: .23; }
}
@media (max-width: 560px) {
  .site-header { align-items: flex-start; min-height: 84px; padding: 14px 18px; }
  .brand-name { font-size: 25px; }
  .brand-subtitle { font-size: 8px; }
  .main-nav { justify-content: flex-end; gap: 10px; flex-wrap: wrap; font-size: 11px; }
  .main-nav > a:first-child, .main-nav > a:nth-child(2) { display: none; }
  .main-nav .nav-member { padding: 10px 12px; }
  .hero { gap: 34px; padding: 49px 19px 54px; }
  .hero h1 { font-size: 47px; }
  .hero-description { font-size: 15px; }
  .hero-art { border-radius: 22px 22px 60px 22px; }
  .hero-art img { aspect-ratio: 1.05 / 1; object-position: 68% center; }
  .hero-art figcaption { right: 9px; bottom: 9px; font-size: 9px; }
  .intro-section, .books-section { padding: 58px 21px; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .intro-grid h2, .section-heading h2 { font-size: 38px; }
  .values-row { margin-top: 35px; }
  .values-row div { gap: 7px; padding-right: 7px; font-size: 12px; }
  .values-row div + div { padding-left: 10px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .book-card { grid-template-columns: 125px 1fr; gap: 17px; padding: 15px; }
  .book-art { min-height: 172px; }
  .book-title { font-size: 16px; }
  .book-info h3 { font-size: 16px; }
  .book-info p { font-size: 12px; }
  .member-section { min-height: 355px; padding: 48px 22px; }
  .member-section h2 { font-size: 39px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; padding: 20px; }
}
