:root {
  --sea: #2f5d78;
  --navy: #14374e;
  --navy-2: #1d425c;
  --ink: #1e3a52;
  --ink-soft: #33526b;
  --cream: #eae0c8;
  --cream-2: #f2ebd9;
  --cream-dim: rgba(234, 224, 200, 0.85);
  --rust: #a8492b;
  --rust-dark: #7e3520;
  --gold: #c9b990;
  --line: rgba(30, 58, 82, 0.65);
  --serif: "EB Garamond", Georgia, serif;
  --display: "Playfair Display", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  color: var(--ink);
  background-color: var(--sea);
  background-image: url("../assets/img/chart-bg.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }

.sprite { display: none; }

.notch {
  clip-path: polygon(
    var(--c, 14px) 0, calc(100% - var(--c, 14px)) 0,
    100% var(--c, 14px), 100% calc(100% - var(--c, 14px)),
    calc(100% - var(--c, 14px)) 100%, var(--c, 14px) 100%,
    0 calc(100% - var(--c, 14px)), 0 var(--c, 14px)
  );
}

/* ---------- rulers ---------- */
.ruler {
  position: relative;
  color: var(--cream-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 8px 0 6px;
}
.ruler .ticks {
  position: absolute; left: 0; right: 0; height: 12px;
  background-image:
    repeating-linear-gradient(to right, rgba(234,224,200,0.75) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(to right, rgba(234,224,200,0.45) 0 1px, transparent 1px 12px);
  background-size: 100% 12px, 100% 6px;
  background-repeat: no-repeat;
}
.ruler-top .ticks { top: 0; }
.ruler-bottom .ticks { bottom: 0; transform: scaleY(-1); }
.ruler .labels {
  display: flex; justify-content: space-around; align-items: center;
  gap: 24px; padding: 4px 4% 0;
}
.ruler-bottom .labels { padding: 0 4% 4px; }
.ruler .labels .center-note { letter-spacing: 0.3em; }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; gap: 34px;
  max-width: 1480px; margin: 0 auto;
  padding: 10px 44px 26px;
}
.logo-plaque {
  --c: 12px;
  background: rgba(30, 58, 82, 0.9);
  padding: 2px;
  flex: 0 0 auto;
}
.logo-plaque .in {
  --c: 11px;
  background: var(--cream);
  background-image: url("../assets/img/paper-texture.webp");
  background-size: 420px;
  text-align: center;
  padding: 12px 30px 10px;
  position: relative;
  color: var(--ink);
}
.logo-plaque .in::before {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid rgba(30, 58, 82, 0.55);
  pointer-events: none;
}
.logo-anchor { width: 22px; height: 22px; margin: 0 auto 2px; color: var(--ink); }
.logo-name {
  display: block;
  font-variant-caps: small-caps;
  font-weight: 600;
  font-size: 31px;
  letter-spacing: 0.05em;
  line-height: 1;
}
.logo-tag {
  display: block; margin-top: 5px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
}
.logo-est {
  display: block; margin-top: 4px;
  font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav { display: flex; gap: 44px; }
.main-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--cream);
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  padding-bottom: 4px;
}
.main-nav a .nav-ico { height: 26px; display: grid; place-items: center; }
.main-nav a .nav-ico svg, .main-nav a .nav-ico img { height: 24px; width: auto; }
.main-nav a:hover, .main-nav a[aria-current="page"] {
  border-bottom: 1px solid var(--cream);
}

.search {
  margin-left: auto;
  position: relative;
  flex: 0 1 280px;
}
.search svg {
  position: absolute; left: 12px; top: 50%; translate: 0 -50%;
  width: 16px; height: 16px; color: var(--ink);
}
.search input {
  width: 100%;
  --c: 8px;
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  border: none;
  background: var(--cream);
  padding: 11px 14px 11px 38px;
  font-size: 14px;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(30,58,82,0.7);
}
.search input::placeholder { color: rgba(30, 58, 82, 0.65); }

.account-btn {
  --c: 8px;
  background: rgba(234, 224, 200, 0.9);
  padding: 2px;
  flex: 0 0 auto;
}
.account-btn .in {
  --c: 7px;
  display: flex; align-items: center; gap: 10px;
  background: var(--navy-2);
  color: var(--cream);
  padding: 10px 24px;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
}
.account-btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  text-align: center;
  color: var(--cream);
  padding: 34px 24px 58px;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
}
.hero .eyebrow::before, .hero .eyebrow::after {
  content: ""; width: 52px; height: 1px; background: rgba(234,224,200,0.8);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 1.06;
  margin: 20px auto 24px;
  max-width: 900px;
}
.hero h1.caps { letter-spacing: 0.06em; }
.hero .sub {
  font-size: 21px; line-height: 1.55; max-width: 640px; margin: 0 auto;
}
.hero .sub em { font-style: italic; }

.deco { position: absolute; pointer-events: none; }
.deco-rose { right: 2.5%; top: -6px; width: clamp(180px, 24vw, 330px); color: var(--cream); }
.deco-ship { left: 15%; top: 118px; width: 88px; opacity: 0.95; }
.deco-coords {
  left: 17.5%; top: 258px;
  font-size: 11.5px; letter-spacing: 0.14em; line-height: 1.7;
  text-align: left; color: rgba(234,224,200,0.9);
}
.deco-bay {
  left: 2.4%; top: 42%;
  font-style: italic; font-size: 12px; letter-spacing: 0.18em;
  color: rgba(30, 58, 82, 0.75);
  writing-mode: horizontal-tb;
}
.deco-discover {
  right: 15%; top: 47%;
  font-style: italic; font-size: 12.5px; letter-spacing: 0.16em;
  color: rgba(234,224,200,0.9);
  text-align: left;
}
.deco-route { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-title-icons { display: inline-flex; align-items: center; gap: 26px; }
.hero-title-icons svg { width: 40px; height: 40px; }
.hero-title-icons svg.red { color: var(--rust); }
.hero-title-icons svg.cream { color: var(--cream); }

.anchor-divider {
  display: flex; align-items: center; gap: 14px;
  justify-content: center;
  margin: 18px auto 0;
  color: inherit;
}
.anchor-divider::before, .anchor-divider::after {
  content: ""; height: 1px; width: 92px; background: currentColor; opacity: 0.6;
}
.anchor-divider svg { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; }
.btn .in {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14.5px; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 14px 30px;
}
.btn svg { width: 18px; height: 18px; }
.btn-cream { --c: 10px; background: rgba(30,58,82,0.9); padding: 2px; }
.btn-cream .in { --c: 9px; background: var(--cream); color: var(--ink); position: relative; }
.btn-cream .in::before {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgba(30,58,82,0.6); pointer-events: none;
}
.btn-rust { --c: 10px; background: var(--rust-dark); padding: 2px; border: none; display: inline-block; }
.btn-rust .in { --c: 9px; background: var(--rust); color: var(--cream-2); position: relative; width: 100%; justify-content: center; }
.btn-rust .in::before {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgba(242,235,217,0.65); pointer-events: none;
}
.btn:hover .in { filter: brightness(1.04); }

/* ---------- panels ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; position: relative; }

.panel { --c: 18px; background: rgba(30, 58, 82, 0.85); padding: 2px; position: relative; }
.panel .in {
  --c: 17px;
  position: relative;
  background-color: var(--cream);
  background-image: url("../assets/img/paper-texture.webp");
  background-size: 480px;
  padding: 34px 38px;
  height: 100%;
}
.panel .in::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(30, 58, 82, 0.5);
  pointer-events: none;
}
.panel.navy { background: rgba(201, 185, 144, 0.75); }
.panel.navy .in {
  background-color: var(--navy);
  background-blend-mode: soft-light;
  color: var(--cream);
}
.panel.navy .in::before { border-color: rgba(201, 185, 144, 0.55); }

.panel-title {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: 0.14em;
  font-variant-caps: small-caps;
  font-weight: 600;
  color: var(--ink);
}
.panel-title svg { width: 26px; height: 26px; color: var(--rust); flex: 0 0 auto; }
.panel-sub {
  text-align: center; font-style: italic; font-size: 17px;
  margin-top: 6px; color: inherit; opacity: 0.85;
}

/* ---------- landing columns ---------- */
.landing-cols {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.stamp-round {
  position: absolute; top: 22px; right: 30px;
  width: 96px; height: 96px;
  color: var(--rust);
  transform: rotate(10deg);
  opacity: 0.9;
}
.stamp-manifest {
  position: absolute; top: 20px; right: 26px;
  width: 120px; color: var(--cream);
  transform: rotate(-8deg);
  opacity: 0.85;
}

.book-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 28px;
}
.book-card {
  background: rgba(242, 235, 217, 0.6);
  border: 1px solid rgba(30, 58, 82, 0.45);
  padding: 14px 16px 18px;
  text-align: center;
  position: relative;
}
.book-card .cover {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  box-shadow: 3px 4px 10px rgba(20, 30, 40, 0.35);
  margin: 0 auto 16px;
}
.book-card h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.book-card .author { font-style: italic; font-size: 15.5px; margin: 3px 0 10px; color: var(--ink-soft); }
.book-card .desc { font-size: 14.5px; line-height: 1.5; }
.book-card .stars { margin-top: 12px; }

.stars {
  position: relative; display: inline-block;
  font-size: 19px; letter-spacing: 3px; line-height: 1;
  color: rgba(168, 73, 43, 0.55);
}
.stars .fill {
  position: absolute; inset: 0; overflow: hidden;
  color: var(--rust); white-space: nowrap;
}
.stars .count { font-size: 14px; letter-spacing: 0.05em; color: var(--ink-soft); margin-left: 6px; }

.panel-link {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-top: 26px;
  font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink);
}
.panel-link svg { width: 26px; height: 12px; }
.panel.navy .panel-link, .navy .panel-link { color: var(--cream); }

/* best sellers list (landing sidebar + page) */
.bs-list { margin-top: 22px; }
.bs-row {
  display: grid;
  grid-template-columns: 40px 92px 1fr;
  gap: 16px;
  padding: 18px 4px;
  align-items: start;
  border-bottom: 1px dashed rgba(201, 185, 144, 0.5);
}
.bs-row:last-of-type { border-bottom: none; }
.rank {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--rust); color: var(--cream-2);
  display: grid; place-items: center;
  font-size: 19px; font-weight: 600;
  position: relative; margin-top: 6px;
}
.rank::after {
  content: ""; position: absolute; inset: -5px;
  border: 1px dashed rgba(168, 73, 43, 0.65); border-radius: 50%;
}
.rank.navy-rank { background: var(--navy-2); }
.rank.navy-rank::after { border-color: rgba(30, 58, 82, 0.5); }
.bs-row .cover { width: 92px; aspect-ratio: 2/3; object-fit: cover; box-shadow: 2px 3px 8px rgba(10,20,30,0.45); }
.bs-row h3 { font-size: 19px; font-weight: 600; color: var(--cream-2); }
.bs-row .author { font-style: italic; color: var(--gold); font-size: 15px; margin: 2px 0 8px; }
.bs-row .desc { font-size: 14.5px; line-height: 1.5; color: rgba(242,235,217,0.92); }
.bs-row .genres {
  margin-top: 12px; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- reading club banner ---------- */
.club-banner { margin: 30px 0 34px; }
.club-banner .in {
  display: grid;
  grid-template-columns: 200px 1fr 460px 150px;
  gap: 26px;
  align-items: center;
  padding: 26px 20px 26px 30px;
}
.club-flag { width: 190px; }
.club-mid h2 {
  font-size: 32px; font-variant-caps: small-caps; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink);
}
.club-mid p { font-size: 16.5px; margin-top: 8px; max-width: 460px; }
.club-motto {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; color: var(--rust);
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
}
.club-motto svg { width: 18px; height: 18px; }
.club-form { display: flex; }
.club-form input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--cream-2);
  padding: 13px 16px;
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
}
.club-form input::placeholder { color: rgba(30,58,82,0.6); }
.club-note { font-style: italic; font-size: 13.5px; margin-top: 10px; text-align: center; color: var(--ink-soft); }
.club-light { width: 150px; justify-self: end; }

/* ---------- staff picks page ---------- */
.catalog { margin-top: 6px; }
.catalog .in { display: grid; grid-template-columns: 230px 1fr; gap: 34px; padding: 30px 34px 40px; }
.catalog-top {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
}
.catalog-top .count { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }
.sort { display: flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; }
.sort select {
  background: var(--cream-2); border: 1px solid var(--line);
  padding: 8px 34px 8px 14px; font-size: 14px; letter-spacing: 0.04em;
  text-transform: none; color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231e3a52'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}

.filters { display: flex; flex-direction: column; gap: 22px; }
.filter-box {
  border: 1px solid rgba(30,58,82,0.45);
  background: rgba(242,235,217,0.5);
  padding: 16px 18px 18px;
  position: relative;
}
.filter-box h4 {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.filter-box h4::after { content: "—"; color: var(--ink-soft); }
.filter-box ul { list-style: none; }
.filter-box li { padding: 4px 0; font-size: 15px; }
.filter-box li a:hover { color: var(--rust); }
.filter-box em { font-style: italic; }

.side-art { margin-top: 8px; position: relative; }
.side-art img { width: 200px; }
.side-art .rose-wm { position: absolute; right: -30px; bottom: 0; width: 170px; color: var(--ink); opacity: 0.35; }

.grid-books {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-books .book-card { display: flex; flex-direction: column; }
.grid-books .book-card .desc { font-size: 13.5px; }
.tag {
  margin-top: auto;
  align-self: center;
  margin-top: 14px;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid rgba(30,58,82,0.5);
  background: rgba(234,224,200,0.7);
  padding: 4px 12px;
  color: var(--ink-soft);
}

.pager {
  grid-column: 1 / -1;
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin-top: 26px; font-size: 17px;
}
.pager a, .pager span { padding: 4px 11px; color: var(--ink); }
.pager .active { background: var(--rust); color: var(--cream-2); }
.pager .arrow { font-size: 15px; }

/* ---------- best sellers page ---------- */
.bs-panel { max-width: 1020px; margin: 0 auto; }
.bs-full .bs-row {
  grid-template-columns: 52px 150px 1fr 120px;
  gap: 26px;
  padding: 30px 10px;
  border-bottom: 1px dashed rgba(30,58,82,0.4);
  position: relative;
}
.bs-full .rank { width: 50px; height: 50px; font-size: 24px; margin-top: 12px; }
.bs-full .cover { width: 150px; }
.bs-full h3 { font-size: 30px; color: var(--ink); }
.bs-full .author { color: var(--rust); font-size: 17px; }
.bs-full .desc { color: var(--ink); font-size: 16px; }
.bs-full .postmark { width: 110px; color: var(--ink); opacity: 0.45; justify-self: end; margin-top: 8px; }
.bs-foot {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  padding-top: 26px;
  font-size: 16px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink);
}
.bs-foot svg { width: 26px; height: 26px; }

/* ---------- reading club page ---------- */
.club-cols {
  display: grid; grid-template-columns: 1fr 0.92fr 1.08fr;
  gap: 26px; align-items: stretch;
}
.club-cols .panel .in { padding: 30px 30px 26px; }
.form-label {
  display: block;
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  margin: 18px 0 8px;
}
.field input, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream-2);
  padding: 12px 14px;
  font-size: 15px;
  font-style: italic;
  color: var(--ink);
}
.field select { font-style: italic; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231e3a52'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.checks { display: flex; gap: 22px; align-items: center; }
.checks label { display: flex; gap: 9px; align-items: center; font-size: 15.5px; font-style: italic; }
.checks input {
  appearance: none; width: 19px; height: 19px;
  border: 1.5px solid var(--ink); background: var(--cream-2);
  display: inline-grid; place-items: center;
}
.checks input:checked { background: var(--navy-2); }
.checks input:checked::after { content: "✓"; color: var(--cream-2); font-size: 13px; }
.club-cta { width: 100%; margin-top: 26px; }
.rope-divider { width: 120px; margin: 22px auto 0; opacity: 0.8; }

.benefit {
  display: grid; grid-template-columns: 62px 1fr; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(201,185,144,0.35);
  align-items: center;
}
.benefit:last-of-type { border-bottom: none; }
.benefit .ico {
  width: 62px; height: 62px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold);
}
.benefit .ico svg { width: 30px; height: 30px; }
.benefit h4 { font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.benefit p { font-size: 14.5px; margin-top: 5px; color: rgba(242,235,217,0.92); }

.event {
  display: grid; grid-template-columns: 56px 96px 1fr; gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(30,58,82,0.25);
  align-items: start;
}
.event:last-of-type { border-bottom: none; }
.date-badge {
  --c: 8px;
  background: var(--navy-2); color: var(--cream-2);
  text-align: center; padding: 8px 4px 10px;
  position: relative;
}
.date-badge .m { display: block; font-size: 12px; letter-spacing: 0.18em; }
.date-badge .d { display: block; font-size: 24px; font-weight: 600; }
.event .cover { width: 96px; aspect-ratio: 2/3; object-fit: cover; box-shadow: 2px 3px 8px rgba(10,20,30,0.35); }
.event h4 { font-size: 19px; font-weight: 600; color: var(--ink); }
.event .by { font-style: italic; font-size: 14.5px; margin: 2px 0 6px; color: var(--ink-soft); }
.event .when { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 7px; }
.event p { font-size: 14px; line-height: 1.5; }
.events-foot { text-align: center; margin-top: 14px; }
.events-foot .all { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.events-foot .rsvp { font-style: italic; font-size: 13.5px; margin-top: 8px; color: var(--ink-soft); }

.club-hero-banner { margin-top: 30px; }
.club-hero-banner .in {
  display: grid; grid-template-columns: 220px 1fr 220px;
  align-items: center; gap: 20px;
  padding: 22px 26px;
}
.club-hero-banner h2 {
  text-align: center;
  font-size: 27px; font-variant-caps: small-caps; letter-spacing: 0.08em;
  font-weight: 600; color: var(--ink);
}
.club-hero-banner .tag-line { text-align: center; font-style: italic; font-size: 16.5px; margin-top: 8px; }

/* ---------- sign in ---------- */
.signin-panel { max-width: 660px; margin: 10px auto 60px; }
.signin-panel .in { padding: 44px 56px 40px; }
.signin-title {
  display: flex; justify-content: center; align-items: center; gap: 24px;
  font-size: 36px; letter-spacing: 0.16em; font-variant-caps: small-caps;
  font-weight: 600; color: var(--ink);
  margin-bottom: 30px;
}
.signin-title svg { width: 30px; height: 30px; color: var(--rust); }
.signin-panel .form-label { font-size: 17px; letter-spacing: 0.02em; text-transform: none; font-style: normal; margin: 20px 0 10px; }
.input-ico { position: relative; }
.input-ico > svg.lead {
  position: absolute; left: 14px; top: 50%; translate: 0 -50%;
  width: 20px; height: 20px; color: var(--ink);
}
.input-ico input { padding-left: 48px; }
.input-ico button.trail {
  position: absolute; right: 12px; top: 50%; translate: 0 -50%;
  background: none; border: none; color: var(--ink);
  width: 26px; height: 26px;
}
.input-ico button.trail svg { width: 22px; height: 22px; }
.signin-row {
  display: flex; justify-content: space-between; align-items: center;
  margin: 20px 0 26px;
}
.signin-row label { display: flex; gap: 10px; align-items: center; font-size: 16.5px; }
.link-underline { text-decoration: underline; text-underline-offset: 4px; color: var(--navy-2); font-size: 16.5px; }
.link-underline:hover { color: var(--rust); }
.signin-panel .btn-rust { display: block; width: 100%; }
.signin-panel .btn-rust .in { font-size: 17px; padding: 16px; }
.new-account { text-align: center; margin-top: 26px; font-size: 17px; }
.new-account a { margin-left: 14px; }

.signin-deco-light { position: absolute; right: 2%; bottom: 40px; width: 240px; pointer-events: none; }
.signin-deco-rose { position: absolute; left: 3%; bottom: 70px; width: 170px; color: var(--cream); pointer-events: none; }

/* ---------- footer spacing ---------- */
.page-end { height: 30px; }

@media (max-width: 1180px) {
  .landing-cols { grid-template-columns: 1fr; }
  .club-cols { grid-template-columns: 1fr; }
  .grid-books { grid-template-columns: repeat(3, 1fr); }
  .catalog .in { grid-template-columns: 1fr; }
  .club-banner .in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .club-mid p { margin-inline: auto; }
  .club-motto { justify-content: center; }
  .bs-full .bs-row { grid-template-columns: 52px 120px 1fr; }
  .bs-full .postmark { display: none; }
}
@media (max-width: 820px) {
  .site-header { flex-wrap: wrap; gap: 18px; padding: 10px 20px 20px; }
  .main-nav { gap: 22px; order: 3; width: 100%; justify-content: center; }
  .search { flex: 1 1 200px; }
  .grid-books { grid-template-columns: repeat(2, 1fr); }
  .book-cards { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .deco-rose { opacity: 0.4; }
  .club-hero-banner .in { grid-template-columns: 1fr; }
  .signin-panel .in { padding: 34px 26px; }
}
