/* ============================================================
   Upgrade layer — editorial bands, photography, two-tone heads
   Builds on site.css (Luminous Ground tokens)
   ============================================================ */

.up {
  --mist: #eceef3;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-lift: 0 2px 4px rgba(27, 33, 64, 0.05), 0 30px 60px -32px rgba(27, 33, 64, 0.42);
  --shadow-photo: 0 40px 80px -40px rgba(40, 30, 15, 0.55), 0 8px 20px -12px rgba(40, 30, 15, 0.25);
  background: var(--porcelain);
}

/* ---------- header ---------- */

.up .site-header { background: color-mix(in srgb, var(--paper) 86%, transparent); }
.up .site-nav a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ink-soft);
}
.up .nav-cta {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--ink) !important;
  padding: 9px 18px !important;
}
.up .nav-cta svg { width: 15px; height: 15px; }
.up .nav-cta:hover { background: var(--ink); color: var(--porcelain) !important; }

/* ---------- shared type ---------- */

.u-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.u-eyebrow i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}
.u-eyebrow--light { color: rgba(247, 243, 235, 0.78); justify-content: center; }
.u-eyebrow--light i { background: var(--brass-light); }

.u-display {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.6vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
  font-weight: 600;
  margin: 0 0 30px;
}
.u-display em, .u-h2 em, .u-h3 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--brass);
  letter-spacing: -0.03em;
}

.u-h2 {
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.034em;
}
.u-h3 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.u-h2--light { color: var(--porcelain); }
.u-h2--light em { color: var(--brass-light); display: inline; }

.u-kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.u-kicker b { color: var(--brass); font-weight: 600; letter-spacing: 0.06em; }

.u-lead {
  font-size: clamp(1.25rem, 1.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 34ch;
}
.u-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 44ch;
}
.u-note {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 40ch;
}

/* ---------- buttons ---------- */

.u-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.u-actions--center { justify-content: center; }
.u-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--porcelain);
  border: 1.5px solid var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 28px -16px rgba(27, 33, 64, 0.6);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.u-btn svg { width: 16px; height: 16px; }
.u-btn:hover { transform: translateY(-2px); background: #2b3358; box-shadow: 0 20px 34px -18px rgba(27, 33, 64, 0.7); }
.u-btn--ghost { background: transparent; color: var(--ink); box-shadow: none; }
.u-btn--ghost:hover { background: var(--paper); }
.u-btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.u-btn--light:hover { background: #fff; }
.u-btn--outline-light { background: transparent; color: var(--porcelain); border-color: rgba(247, 243, 235, 0.45); box-shadow: none; }
.u-btn--outline-light:hover { background: rgba(247, 243, 235, 0.08); }

/* ---------- hero ---------- */

.u-hero {
  position: relative;
  padding: clamp(56px, 7vw, 104px) 0 0;
  background:
    radial-gradient(60% 70% at 92% 0%, rgba(198, 164, 100, 0.16), rgba(198, 164, 100, 0) 70%),
    var(--porcelain);
}
.u-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.u-cover {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  box-shadow: var(--shadow-photo);
  background: #1d1810;
}
.u-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.u-cover figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 52px);
  background: linear-gradient(90deg, rgba(18, 15, 10, 0.78) 0%, rgba(18, 15, 10, 0.45) 46%, rgba(18, 15, 10, 0) 72%);
  color: #fbf7ef;
}
.u-cover-kicker {
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.u-cover-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 9ch;
}
.u-cover-title b { display: block; color: var(--brass-light); font-weight: 800; }
.u-cover-sub {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.125rem, 1.7vw, 1.45rem);
  color: rgba(251, 247, 239, 0.92);
  max-width: 18ch;
  line-height: 1.25;
}
.u-cover-foot {
  margin-top: clamp(18px, 2.4vw, 28px);
  padding-top: 14px;
  border-top: 1px solid rgba(251, 247, 239, 0.28);
  align-self: flex-start;
  font-size: 1.125rem;
  color: rgba(251, 247, 239, 0.72);
}

/* section strip — five sections, four suits */
.u-strip {
  margin-top: clamp(56px, 7vw, 92px);
  border-top: 1px solid var(--line);
}
.u-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
  padding: 24px 0;
}
.u-strip a {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.u-strip a:hover { color: var(--ink); }
.u-suit { color: var(--brass); font-size: 1.25rem; line-height: 1; }

/* ---------- bands ---------- */

.u-band { padding: clamp(72px, 9vw, 128px) 0; }
.u-band--paper { background: var(--paper); }
.u-band--porcelain { background: var(--porcelain); }
.u-band--mist { background: var(--mist); }
.u-band--sand { background: var(--sand-soft); }

.u-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 64px);
}

/* photo feature */
.u-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.u-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
  aspect-ratio: 5 / 4;
}
.u-photo img { width: 100%; height: 100%; object-fit: cover; }
.u-feature-copy p { font-size: 1.2rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 26px; max-width: 42ch; }

.u-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.u-ticks li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.u-ticks li div { display: flex; flex-direction: column; gap: 2px; }
.u-ticks b { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.u-ticks span:not(.u-badge) { font-size: 1.125rem; color: var(--ink-soft); }

.u-badge {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brass);
  font-size: 1.3rem;
  line-height: 1;
  flex: none;
}
.u-badge--lg { width: 58px; height: 58px; font-size: 1.6rem; background: var(--paper); box-shadow: 0 10px 24px -14px rgba(27, 33, 64, 0.35); margin-bottom: 26px; }

/* split head with photo (tools) */
.u-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.u-split .u-note { margin-top: 22px; }
.u-photo--wide { aspect-ratio: 4 / 3; }

.u-subhead { margin: clamp(64px, 7vw, 96px) 0 34px; padding-top: 40px; border-top: 1px solid var(--line); }

/* ---------- cards ---------- */

.up .u-cards { gap: clamp(26px, 3vw, 40px); }
.up .card {
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-lift);
}
.up .u-band--paper .card { background: var(--porcelain); }
.up .card-media { background: var(--sand-soft); }
.up .card-body { padding: 30px 30px 30px; }
.up .card h3 { font-size: clamp(1.6rem, 2vw, 1.9rem); }
.up .btn { border-radius: 10px; padding: 13px 22px; font-weight: 600; }

/* ---------- coming soon ---------- */

.u-soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3vw, 40px); }
.u-soon {
  position: relative;
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.6);
  border: 1px solid rgba(27, 33, 64, 0.08);
}
.u-soon p:not(.u-kicker) { font-size: 1.15rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 26px; max-width: 46ch; }
.u-soon--wide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background: rgba(255, 253, 249, 0.7);
}
.u-soon--wide .u-badge--lg { margin: 0; }
.u-soon--wide p:not(.u-kicker) { margin-bottom: 0; }
.u-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.u-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

/* ---------- closing band ---------- */

.u-close {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--porcelain);
  padding: clamp(84px, 10vw, 140px) 0;
  text-align: center;
}
.u-close-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.u-close p:not(.u-eyebrow) { font-size: 1.2rem; line-height: 1.7; color: rgba(247, 243, 235, 0.78); max-width: 46ch; margin: 26px auto 0; }
.u-arc { position: absolute; width: clamp(320px, 38vw, 560px); height: auto; fill: none; stroke: rgba(198, 164, 100, 0.28); stroke-width: 1; }
.u-arc--l { left: -14%; top: -40%; }
.u-arc--r { right: -12%; bottom: -46%; }

.u-footer { background: var(--porcelain); border-top: 1px solid var(--line-soft); padding: 30px 0; }
.u-footer p { margin: 0; font-size: 1.125rem; color: var(--ink-mute); }

/* ---------- inner pages ---------- */

.up.tool-page main.wrap { padding-bottom: 40px; }
.u-pagehead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 64px);
}
.u-pagehead .u-note { margin-top: 22px; }
.u-photo--thumb { aspect-ratio: 8 / 5; }
.up .sheet { border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.up .progress-wrap { margin-bottom: 26px; }
.up .howto { border-radius: var(--radius-sm); border-left: 0; background: var(--sand-soft); padding: 28px 32px; }

/* ---------- featured resource (Start here) ---------- */

.up .card--feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(28px, 3.4vw, 48px);
  padding: clamp(20px, 2.2vw, 28px);
  margin-bottom: clamp(56px, 7vw, 96px);
}
.up .card--feature .card-media {
  order: 2;
  aspect-ratio: 8 / 5;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 48px -30px rgba(40, 30, 15, 0.5);
}
.up .card--feature .card-body { padding: clamp(12px, 2vw, 28px) 0 clamp(12px, 2vw, 28px) clamp(10px, 1.6vw, 24px); }
.up .card--feature .card-kicker { display: flex; align-items: center; gap: 12px; }
.up .card--feature .card-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.up .card--feature h3 {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.032em;
  margin-bottom: 18px;
}
.up .card--feature h3 em { display: block; font-style: italic; font-weight: 400; color: var(--brass); }
.up .card--feature p { font-size: 1.2rem; line-height: 1.65; }
.u-steps {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.u-steps li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}
.u-steps span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; color: var(--brass); }

/* ---------- next steps ---------- */

.u-next {
  margin-top: 0;
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}
.u-next-head { margin-bottom: clamp(30px, 3.4vw, 44px); }
.u-next-head .u-h3 { margin: 0; }
.u-next-head .u-h3 em { display: inline; }
.u-next-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.u-next-grid a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: clamp(26px, 2.6vw, 34px);
  border-radius: var(--radius);
  background: var(--porcelain);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.u-next-grid a:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27, 33, 64, 0.06), 0 36px 64px -30px rgba(27, 33, 64, 0.5); }
.u-next-n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--brass); }
.u-next-grid b { font-family: var(--serif); font-size: clamp(1.4rem, 1.8vw, 1.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
.u-next-t { font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); }
.u-next-go {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
}
.u-next-go svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.u-next-grid a:hover .u-next-go svg { transform: translateX(3px); }

/* checklist completion */
.u-done {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 26px;
  padding: 20px 26px;
  border-radius: var(--radius-sm);
  background: var(--sand-soft);
  box-shadow: inset 0 0 0 1px rgba(168, 130, 62, 0.25);
}
.u-done[hidden] { display: none; }
.u-done div { display: flex; flex-direction: column; gap: 2px; }
.u-done b { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.u-done span:not(.u-badge) { font-size: 1.125rem; color: var(--ink-soft); line-height: 1.55; }
.u-done .u-badge { background: var(--brass); color: var(--paper); font-size: 1.2rem; }

/* page-specific fit */
.up .sheet-head { padding-top: 0; }
.up .sheet + .howto { margin-top: 26px; }
.up .howto + .howto { margin-top: -38px; }
.up .reader-foot { padding-bottom: clamp(40px, 5vw, 64px); }
.up .howto h2 { font-size: 1.35rem; }
.up.reader-page .u-pagehead { padding-bottom: clamp(32px, 4vw, 52px); }
.up .reader-foot { margin-bottom: 0; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .u-hero-grid, .u-feature, .u-split, .u-head, .u-pagehead { grid-template-columns: 1fr; }
  .u-head { align-items: start; gap: 18px; }
  .u-soon-grid, .u-next-grid { grid-template-columns: 1fr; }
  .up .card--feature { grid-template-columns: 1fr; }
  .up .card--feature .card-media { order: 0; }
  .up .card--feature .card-body { padding: 4px 6px 10px; }
  .u-soon--wide { grid-template-columns: 1fr; gap: 18px; }
  .u-soon--wide .u-pill { justify-self: start; }
}
@media (max-width: 720px) {
  .u-steps { grid-template-columns: 1fr; }
  .u-strip .wrap { justify-content: flex-start; gap: 8px 14px; }
  .u-strip a { font-size: 1.125rem; letter-spacing: 0.08em; }
  .u-cover { aspect-ratio: 4 / 3.4; }
}

/* ---------- course videos login ---------- */
.site-nav .nav-login,
.up .site-nav .nav-login {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--porcelain) !important;
  border: 1.5px solid var(--ink) !important;
  border-radius: 999px;
  padding: 9px 18px 9px 14px !important;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.site-nav .nav-login svg { width: 18px; height: 18px; flex: none; color: var(--brass-soft, #d9b77a); }
.site-nav .nav-login:hover { background: #2b3358; color: var(--porcelain) !important; transform: translateY(-1px); }

.u-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.u-login svg { width: 20px; height: 20px; flex: none; color: var(--brass); }
.u-login .u-login-arrow { width: 14px; height: 14px; color: currentColor; transition: transform 0.2s var(--ease); }
.u-login:hover { color: var(--brass); }
.u-login:hover .u-login-arrow { transform: translate(2px, -2px); }
.u-login--inline { margin: 4px 0 22px; }

.task-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brass);
}
.task-link:hover { color: var(--brass); }

@media (max-width: 1080px) {
  .site-nav { gap: 20px; }
  .up .site-nav a[href$="#coming-soon"],
  .up .site-nav a[href$="-week/"], .up .site-nav a[href$="birth-card/"],
  .up .site-nav a[href$="worksheet/"], .up .site-nav a[href$="nine-frequencies/"]:not(.nav-cta) { display: none; }
}
.up .site-nav a { white-space: nowrap; }
@media (max-width: 1100px) {
  .up .site-nav .nav-cta { display: none; }
}
@media (max-width: 900px) {
  .up .site-nav a:not(.nav-login) { display: none; }
}
@media (max-width: 720px) {
  .site-nav .nav-login, .up .site-nav .nav-login { display: inline-flex !important; padding: 8px 14px 8px 11px !important; }
}
@media (max-width: 420px) {
  .site-nav .nav-login span { font-size: 1.125rem; }
}
@media print {
  .nav-login, .u-login, .task-link { display: none !important; }
}

/* ---------- orientation call note ---------- */
.u-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 26px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 4px;
}
.u-callout-icon { flex: none; color: var(--brass); padding-top: 2px; }
.u-callout-icon svg { width: 26px; height: 26px; display: block; }
.up .card--feature .u-callout p { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); }
.u-callout b { display: block; font-weight: 700; color: var(--ink); margin-bottom: 2px; }

/* ---------- Mercury / Neptune day result ---------- */
.neptune-day {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 28px 0 0;
  padding: 24px 26px;
  background: var(--sand-soft, #f3ece0);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 6px;
}
.neptune-day .glyph {
  font-family: "DejaVu Sans", var(--sans);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--brass);
  padding-top: 4px;
}
.neptune-day p { margin: 0; }
.neptune-day .nd-label {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.neptune-day .nd-day {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 4px 0 6px;
}
.neptune-day .nd-text { font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); }

.pweek { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.pweek-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.pweek-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  min-width: 0;
}
.pweek-list .pw-n { font-size: 1.125rem; color: var(--ink-mute); }
.pweek-list b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.pweek-list .pw-d { font-size: 1.125rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.pweek-list li.is-mercury, .pweek-list li.is-neptune { background: var(--ink); border-color: var(--ink); }
.pweek-list li.is-mercury b, .pweek-list li.is-neptune b { color: var(--porcelain); }
.pweek-list li.is-mercury .pw-n, .pweek-list li.is-neptune .pw-n,
.pweek-list li.is-mercury .pw-d, .pweek-list li.is-neptune .pw-d { color: #d9c7a3; }
.howto p + p { margin-top: 14px; }

@media (max-width: 1080px) {
  .pweek-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pweek-list { grid-template-columns: 1fr; gap: 6px; }
  .pweek-list li { flex-direction: row; align-items: baseline; gap: 14px; padding: 10px 14px; }
  .pweek-list .pw-n { width: 4.2em; flex: none; }
  .pweek-list .pw-d { margin-left: auto; }
  .neptune-day { padding: 20px; gap: 14px; }
  .u-callout { padding: 16px; }
}

/* ---------- section header banner (ink) + back-to-hub link ---------- */

/* shared section-header banner */
.u-sechead {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: clamp(56px, 7vw, 96px);
  padding: clamp(44px, 5.4vw, 76px) clamp(32px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  isolation: isolate;
}
.u-sechead .u-h2 { margin: 0; }
.u-sechead .u-kicker { margin-bottom: 18px; }

.u-sechead--ink {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(198, 164, 100, 0.16) 0%, rgba(198, 164, 100, 0) 46%),
    var(--ink);
  color: var(--porcelain);
  box-shadow: 0 40px 70px -46px rgba(27, 33, 64, 0.75);
}
.u-sechead--ink .u-kicker { color: rgba(247, 243, 235, 0.74); }
.u-sechead--ink .u-kicker b { color: var(--brass-light); }
.u-sechead--ink .u-h2 { color: var(--porcelain); font-size: clamp(2.8rem, 5.2vw, 4.6rem); }
.u-sechead--ink .u-h2 em { color: var(--brass-light); }
.u-sechead--ink .u-sechead-side {
  position: relative;
  padding-left: clamp(22px, 2.6vw, 36px);
  border-left: 1px solid rgba(198, 164, 100, 0.55);
}
.u-sechead--ink .u-note { color: rgba(247, 243, 235, 0.84); font-size: 1.3rem; line-height: 1.6; max-width: 34ch; }
.u-sechead-suits {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  font-family: "DejaVu Sans", var(--sans);
  font-size: 1.25rem;
  color: var(--brass-light);
  letter-spacing: 0;
}
.u-sechead-suits span { opacity: 0.9; }
.u-sechead-num {
  position: absolute;
  right: clamp(-12px, -1vw, 0px);
  bottom: -0.2em;
  z-index: -1;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(14rem, 24vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(198, 164, 100, 0.26);
  user-select: none;
}
.u-sechead .u-arc { z-index: -1; stroke: rgba(198, 164, 100, 0.22); }
.u-sechead .u-arc--l { left: -16%; top: -70%; width: clamp(320px, 34vw, 520px); }

@media (max-width: 900px) {
  .u-sechead { grid-template-columns: 1fr; }
  .u-sechead--ink .u-sechead-side { padding-left: 0; border-left: 0; padding-top: 22px; border-top: 1px solid rgba(198, 164, 100, 0.45); }
  .u-sechead-num { font-size: 11rem; }
}

/* ---------- back to the hub (inner pages) ---------- */
.u-back {
  padding-top: clamp(26px, 3vw, 40px);
}
.u-back a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px -18px rgba(27, 33, 64, 0.5);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}
.u-back a svg { width: 18px; height: 18px; color: var(--brass); transition: transform 0.2s var(--ease); }
.u-back a:hover { border-color: var(--brass); color: var(--brass); }
.u-back a:hover svg { transform: translateX(-3px); }
.up .u-back + .u-pagehead { padding-top: clamp(28px, 3.4vw, 48px); }

.u-back--end { display: flex; justify-content: center; padding-top: clamp(40px, 5vw, 64px); }
.u-back--end a { padding: 14px 26px 14px 20px; background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.u-back--end a svg { color: var(--brass-light); }
.u-back--end a:hover { background: #2b3358; color: var(--porcelain); border-color: #2b3358; }

@media print { .u-back { display: none !important; } }
