@import url('https://fonts.googleapis.com/css2?family=Unica+One&family=PT+Sans+Narrow:wght@400&display=swap');

/* =========================================================
   TOKENS & GLOBALS
   ========================================================= */

:root {
  --max-width: 1245px;
  --page-padding: 20px;

  --bg: #1e2f3c;
  /* Tangaroa */
  --text: #b0885a;
  /* Apple Cinnamon */
  --muted: #8c6f4b;
  --line: rgba(176, 136, 90, 0.5);

  --frame: #ae895d;
  --frame-w: 20px;

  --nav-bg: #131E25;

  --font-display: 'Unica One', sans-serif;
  --font-body: 'PT Sans Narrow', sans-serif;

  --brass: #ae895d;

  /* JS can use this if needed */
  --scroll-y: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: var(--frame-w);
  /* reserves space for the frame */
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.3;
  color: var(--text);
  background: var(--bg);
}

/* Decorative frame: never blocks interaction or overlays */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  outline: var(--frame-w) solid var(--frame);
  outline-offset: calc(-1 * var(--frame-w));
  z-index: 10;
}

/* =========================================================
   BASE TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 1.8rem 0 0.6rem;
  color: white;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 50px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 25px;
}

p {
  margin: 0.9rem 0;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 180ms ease;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* =========================================
   MOBILE: remove decorative frame + inset
   ========================================= */
@media (max-width: 900px) {
  :root {
    --frame-w: 10px;
  }
}

@media (max-width: 600px) {
  :root {
    --frame-w: 0px;
  }

  body::before {
    outline: 0;
  }
}

/* =========================================================
   FRAME & PAGE SHELL
   ========================================================= */
/* (You currently reserve space via body padding + frame outline.)
   If you later move to .page-shell padding instead, this is the section to change. */

/* =========================================================
   NAV
   ========================================================= */

/* Header */
.site-header {
  background: var(--nav-bg);
  position: relative;
  z-index: 200;

  opacity: 0;
  transform: translateY(18px);
  animation: headerEnter 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes headerEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Transparent header option */
.site-header.is-transparent {
  background: transparent;
  position: fixed;
  top: var(--frame-w);
  left: var(--frame-w);
  right: var(--frame-w);
  z-index: 200;
}

/* Gradient overlay lives inside the header bounds only */
.site-header.is-transparent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(19, 30, 37, 0.75),
      rgba(19, 30, 37, 0));
  pointer-events: none;
}

/* becomes solid after scroll (JS toggles .is-solid) */
.site-header.is-transparent.is-solid {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(6px);
}

/* When solid, remove the gradient overlay */
.site-header.is-transparent.is-solid::before {
  content: none;
}

#top-sentinel {
  height: 1px;
}

.site-nav {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.site-logo img {
  height: 60px;
  /* fits comfortably inside an 80px header */
  width: auto;
  max-width: 100%;
}

/* Nav links (desktop) */
.site-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-links a {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.12rem;
}

.site-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.site-links a:hover::after,
.site-links a.active::after {
  transform: scaleX(1);
}

/* Ensure nav hover never turns white */
.site-links a:hover {
  color: var(--text);
}

/* Transparent header link colour behaviour */
.site-header.is-transparent .site-links a {
  color: white;
}

.site-header.is-transparent .site-links a::after {
  background: white;
}

.site-header.is-transparent.is-solid .site-links a {
  color: var(--text);
}

.site-header.is-transparent.is-solid .site-links a::after {
  background: #ffffff;
}

/* Dropdowns (desktop hover) */
.nav-item {
  position: relative;
}

.has-dropdown>a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Chevron (note: this replaces the underline ::after on this link only) */
.has-dropdown>a::after {
  content: "▾";
  font-size: 0.85em;
  opacity: 0.8;
}

.dropdown {
  position: absolute;
  top: 100%;
  margin-top: 10px;
  right: 0;
  min-width: 220px;

  background: var(--nav-bg);
  border: 1px solid var(--line);
  padding: 0.6rem;
  border-radius: 6px;

  display: grid;
  gap: 0.35rem;

  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 300;
}

/* Hover bridge */
.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

/* Desktop hover/focus open */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown a {
  padding: 0.45rem 0.6rem;
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  text-transform: none;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: #fff;
}

.dropdown a::after {
  content: none;
}

.site-header.is-transparent .dropdown {
  background: rgba(19, 30, 37, 0.88);
  backdrop-filter: blur(6px);
}

.nav-toggle {
  display: none;
}

/* =========================================================
   MOBILE NAV (stacked, burger toggle)
   ========================================================= */
@media (max-width: 700px) {

  /* 1) Disable transparent header behaviour on mobile (hard override) */
  .site-header.is-transparent,
  .site-header.is-transparent.is-solid {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    background: var(--nav-bg) !important;
    backdrop-filter: none !important;
  }

  .site-header.is-transparent::before,
  .site-header.is-transparent.is-solid::before {
    content: none !important;
  }

  /* 2) Layout: logo left, burger right, menu below */
  .site-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.9rem;
  }

  .site-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;

    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(176, 136, 90, 0.45);
    background: rgba(19, 30, 37, 0.55);
    cursor: pointer;
  }

  .nav-toggle__bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    transition: none;
  }

  /* Burger -> X (instant) */
  body.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* 3) Menu: stacked under header */
  .site-links {
    grid-column: 1 / -1;
    grid-row: 2;

    display: none;
    margin-top: 1rem;

    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  body.nav-open .site-links {
    display: flex;
  }

  /* Default mobile link colour baseline */
  .site-header.is-transparent .site-links a,
  .site-links a {
    color: var(--text);
  }

  /* Links sizing/tap targets */
  .site-links>a,
  .site-links .nav-item>a {
    display: block;
    padding: 0.5rem 0.2rem;
    font-size: 18px;
  }

  /* Active page styling */
  .site-header.is-transparent .site-links a.active,
  .site-links a.active {
    color: #ffffff;
    padding-left: 0.6rem;
    opacity: 1;
  }

  /* Keep underline consistent if your desktop underline system exists */
  .site-header.is-transparent .site-links a::after {
    background: #ffffff;
  }

  /* 4) Dropdowns: always visible, in flow on mobile */
  .nav-item.has-dropdown .dropdown {
    position: static;
    display: grid;
    gap: 0.5rem;
    margin-top: 0.35rem;
    padding-left: 0.9rem;

    opacity: 1;
    transform: none;
    pointer-events: auto;

    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .dropdown a {
    padding: 0;
    line-height: 1.4;
  }

  /* Remove chevrons on mobile (saves space) */
  .has-dropdown>a::after {
    content: none;
  }
}


/* =========================================================
   LAYOUT & UTILITIES
   ========================================================= */

.site-main {
  padding: 2.5rem var(--page-padding) 4rem;
}

.site-main.has-hero {
  padding-top: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.full-bleed {
  margin-left: calc(var(--page-padding) * -1);
  margin-right: calc(var(--page-padding) * -1);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  margin-left: calc(var(--page-padding) * -1);
  margin-right: calc(var(--page-padding) * -1);
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Hero underline */
.hero-underline {
  width: 250px;
  height: 2px;
  background: #ffffff;
  margin: 0.9rem auto 1.1rem;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  animation: heroUnderlineIn 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 200ms;
}

@keyframes heroUnderlineIn {
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* FULLSCREEN HERO (SERVICES) */
.hero--fullscreen {
  position: relative;
  min-height: 100vh;
}

.hero--fullscreen img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.hero--fullscreen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(19, 30, 37, 0.78),
      rgba(19, 30, 37, 0.48) 55%,
      rgba(19, 30, 37, 0.20));
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-overlay__inner {
  padding: 2.5rem 0;
  max-width: 80ch;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 0.8rem;
  color: var(--text);
}

.hero-lede {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  color: white;
  max-width: 75ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.hero-link {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: white;
  opacity: 0.9;
  padding-bottom: 0.15rem;
  position: relative;
}

.hero-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.hero-link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .hero-overlay__inner {
    padding: 0 0 3rem;
    max-width: 100%;
  }

  .hero-lede {
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }
}

/* Digital publishing hero only */
.hero--publishing img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   BUTTONS & DIVIDERS
   ========================================================= */

.brass-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: #ae895d;
  color: #131E25;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  transition: background 180ms ease;
}

.brass-btn:hover {
  background: #c9a36f;
  text-decoration: none;
}

.section-divider {
  width: 100%;
  height: 2px;
  background: var(--frame);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms ease;
  margin: 1.2rem 0;
}

.section-divider.is-visible {
  transform: scaleX(1);
}

/* =========================================================
   SECTIONS & LAYOUT PATTERNS
   ========================================================= */

.section {
  padding: 1rem 0 1rem;
}

.section--spaced {
  padding-bottom: 4rem;
}

@media (max-width: 900px) {
  .section--spaced {
    padding-bottom: 3rem;
  }
}

.section--no-bottom {
  padding-bottom: 0 !important;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.2rem;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   COMPONENTS
   ========================================================= */

/* Panels */
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1.4rem 1.2rem;
  background: rgba(19, 30, 37, 0.45);
}

.panel h4 {
  margin-top: 0;
}

.two-col .panel {
  align-self: center;
}

.panel-note {
  font-size: 16px;
  color: rgba(176, 136, 90, 0.85);
  line-height: 1.6;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.2rem 1.2rem 1rem;
  background: rgba(19, 30, 37, 0.25);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card h3 {
  margin-top: 0;
}

.card p {
  margin: 0.6rem 0 0;
  color: rgba(176, 136, 90, 0.9);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(19, 30, 37, 0.35);
  text-decoration: none;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-box {
  background: rgba(19, 30, 37, 0.65);
  border: 1px solid var(--frame);
  border-radius: 10px;
  padding: 1.6rem 1.6rem 1.5rem;

  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.feature-box h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: white;
}

.feature-box p {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  color: var(--text);
}

.feature-grid.is-visible .feature-box {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid.is-visible .feature-box:nth-child(1) {
  transition-delay: 0ms;
}

.feature-grid.is-visible .feature-box:nth-child(2) {
  transition-delay: 120ms;
}

.feature-grid.is-visible .feature-box:nth-child(3) {
  transition-delay: 240ms;
}

/* Overlap */
.feature-overlap {
  position: relative;
  z-index: 3;
  margin-top: -12vh;
  padding-top: 0;
}

.feature-overlap+.section {
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .feature-overlap {
    margin-top: -7vh;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  .feature-box,
  .feature-grid.is-visible .feature-box {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Process accordion */
.process-accordion {
  border-top: 1px solid rgba(176, 136, 90, 0.35);
}

.acc-item {
  border-bottom: 1px solid rgba(176, 136, 90, 0.35);
  padding: 0;
  margin: 0;
}

.acc-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.55rem 0;
  user-select: none;
}

.acc-summary::-webkit-details-marker {
  display: none;
}

.acc-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 26px;
  color: #fff;
}

.acc-icon {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  position: relative;
  flex: 0 0 auto;
  opacity: 0.9;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
}

.acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.acc-item[open] .acc-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.acc-content {
  padding: 0 0 1.3rem;
  max-width: 70ch;
}

.acc-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
  font-size: 18px;
}

.acc-summary:hover .acc-title {
  color: var(--text);
}

.process-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.8rem 0 1.9rem;
  border-radius: 6px;
}

.two-col>div:last-child {
  align-self: center;
}

/* Digital publishing format band */
.epub-band {
  background: #24292d;
  border-top: 3px solid var(--frame);
  border-bottom: 3px solid var(--frame);
  padding: 3.2rem 0 2.8rem;
}

.epub-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

.epub-previews {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 1.6rem;
  justify-content: center;
  align-items: center;
}

.epub-previews img {
  max-width: 140px;
  height: auto;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.epub-formats {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  align-items: center;
}

.epub-formats img {
  height: 36px;
  width: auto;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .epub-previews {
    grid-template-columns: repeat(2, auto);
    gap: 1.2rem;
  }

  .epub-previews img {
    max-width: 120px;
  }
}

/* =========================================================
   BLOG
   ========================================================= */

/* Blog index */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  display: block;
  background: rgba(19, 30, 37, 0.55);
  border: 1px solid rgba(176, 136, 90, 0.5);
  border-radius: 10px;
  padding: 1.6rem 1.6rem 1.4rem;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.blog-card__title {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #fff;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(176, 136, 90, 0.9);
  margin-bottom: 0.9rem;
}

.blog-card__excerpt {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.4;
}

.blog-card__cta {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  font-size: 18px;
}

/* Blog post */
.blog-post__header h1 {
  margin-top: 0.6rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(176, 136, 90, 0.9);
  margin: 0.6rem 0 1.6rem;
}

.key-takeaways {
  margin-top: 1.4rem;
  padding: 1.2rem 1.2rem 1.1rem;
  border: 1px solid rgba(176, 136, 90, 0.45);
  border-radius: 10px;
  background: rgba(19, 30, 37, 0.45);
}

.key-takeaways h3 {
  margin-top: 0;
}

.blog-post__content {
  max-width: none;
  margin: 0;
}

.blog-post__content h2 {
  margin-top: 2.2rem;
}

.blog-post__content p {
  color: var(--brass);
  line-height: 1.5;
}

.blog-post__footer {
  margin-top: 3rem;
}

.blog-post__tagline {
  margin: 1rem 0 0;
  opacity: 0.85;
}

.blog-post__content h2 {
  margin-top: 3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.blog-post__content h3 {
  margin-top: 2rem;
  font-weight: 500;
}

.blog-post__content h2,
.blog-post__content h3 {
  position: relative;
}

.blog-post__content h2::after,
.blog-post__content h3::after {
  content: "";
  display: block;
  margin-top: 12.5px;
  width: 20%;
  height: 2px;
  margin-bottom: 12.5px;
  background-color: var(--brass);
  opacity: 0.8;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: #131E25;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.2rem 2rem 3.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
}

.footer-mark {
  max-width: 140px;
  height: auto;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social img {
  display: block;
  width: 56px;
  height: 56px;
  margin: 6px;
  margin-top: 20px;
}

.footer-note {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(176, 136, 90, 0.85);
  letter-spacing: 0.02em;
  margin: 0.4rem 0 0.6rem;
}

.footer-colophon {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0.4rem 0 0;
}

/* ============================
   GLOBAL SIDE GLOW (disabled by default)
============================ */

.sideglow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  opacity: 0;
  transition: opacity 0.4s ease;

  /* scroll modulation hook */
  --glow-strength: clamp(0.7, calc(0.7 + var(--glow-scroll, 0)), 1.05);

  background:
    radial-gradient(80% 140% at -10% 50%,
      rgba(60, 145, 220, calc(0.25 * var(--glow-strength))),
      rgba(45, 127, 198, 0.00) 62%);

  filter: blur(calc(18px * var(--glow-strength)));
  mix-blend-mode: screen;
}

/* Page opt-in */
.has-sideglow .sideglow {
  opacity: 0.85;
}

/* Safety */
@supports not (mix-blend-mode: screen) {
  .has-sideglow .sideglow {
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sideglow {
    filter: blur(16px);
  }
}