@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #161616;
  --fg: #ffffff;
  --accent: #c8ff82;
  --fg-50: rgba(255, 255, 255, 0.5);
  --fg-20: rgba(255, 255, 255, 0.2);
  --fg-10: rgba(255, 255, 255, 0.1);
  --fg-05: rgba(255, 255, 255, 0.05);
  --cream-bg: #F5F0EB;
  --font-display: 'Funnel Display', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --size-display-hero: clamp(80px, 12vw, 200px);
  --size-display-xl: clamp(48px, 7vw, 96px);
  --size-display-lg: clamp(36px, 5vw, 72px);
  --size-display-md: clamp(24px, 3vw, 48px);
  --size-display-sm: clamp(18px, 1.8vw, 28px);
  --size-body: clamp(14px, 1.1vw, 17px);
  --size-body-lg: clamp(15px, 1.3vw, 20px);
  --size-label: 11px;
  --size-mono: 11px;
  --page-padding: clamp(32px, 4vw, 80px);
  --topbar-padding: 20px;
  --radius-ui: 8px;
}

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

/* === View Transitions === */
@view-transition { navigation: auto }

::view-transition-old(root) {
  animation: slide-out 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
::view-transition-new(root) {
  animation: slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes slide-out {
  to { opacity: 0; transform: translateX(-3%); }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(3%); }
}

/* Reverse direction when going back */
.nav-back::view-transition-old(root) {
  animation-name: slide-in-reverse;
}
.nav-back::view-transition-new(root) {
  animation-name: slide-out-reverse;
}
@keyframes slide-out-reverse {
  from { opacity: 0; transform: translateX(-3%); }
}
@keyframes slide-in-reverse {
  to { opacity: 0; transform: translateX(3%); }
}

/* GSAP entrance — elements start hidden */
.gsap-reveal {
  opacity: 0;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body)
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}


/* === Page structure === */
.page {
  --nav-safe-bottom: 84px;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative
}

.page-inner {
  padding: 0 clamp(32px, 4vw, 80px) max(clamp(32px, 4vh, 80px), var(--nav-safe-bottom));
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: visible
}

/* === Flex utilities === */
.flex { display: flex }
.col { flex-direction: column }
.wrap { flex-wrap: wrap }
.f1 { flex: 1 }
.aic { align-items: center }
.aifs { align-items: flex-start }
.aife { align-items: flex-end }
.jcb { justify-content: space-between }
.jcc { justify-content: center }
.jce { justify-content: flex-end }

/* === Gap utilities === */
.gap-4 { gap: 4px }
.gap-8 { gap: 8px }
.gap-12 { gap: 12px }
.gap-16 { gap: 16px }
.gap-24 { gap: 24px }
.gap-32 { gap: 32px }
.gap-40 { gap: 40px }
.gap-60 { gap: 60px }
.gap-80 { gap: 80px }

/* === Margin utilities === */
.mt-auto { margin-top: auto }
.mt-8 { margin-top: 8px }
.mt-16 { margin-top: 16px }
.mt-24 { margin-top: 24px }
.mt-40 { margin-top: 40px }
.mb-4 { margin-bottom: 4px }
.mb-8 { margin-bottom: 8px }
.mb-16 { margin-bottom: 16px }
.mb-24 { margin-bottom: 24px }
.mb-40 { margin-bottom: 40px }
.mb-60 { margin-bottom: 60px }

/* === Grid utilities === */
.g2 { display: grid; grid-template-columns: 1fr 1fr }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr }
.g4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr }

/* === Two-column content layout === */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  width: 100%;
}

.content-grid__title {
  font-size: clamp(72px, 12vw, 200px);
  line-height: .9;
  margin: 0;
}

.content-grid__body {
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--fg-50);
  line-height: 1.6;
  max-width: 480px;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .g3 { grid-template-columns: 1fr }
  .g4 { grid-template-columns: 1fr 1fr }
}


/* === Headings === */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .95
}

.display-hero { font-size: var(--size-display-hero) }
.display-xl { font-size: var(--size-display-xl) }
.display-lg { font-size: var(--size-display-lg) }
.display-md { font-size: var(--size-display-md) }
.display-sm { font-size: var(--size-display-sm) }

/* === Body === */
.label {
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-50)
}

.body {
  font-size: var(--size-body);
  line-height: 1.65;
  color: var(--fg-50);
  max-width: 600px
}

.body-lg {
  font-size: var(--size-body-lg);
  line-height: 1.55;
  color: var(--fg-50)
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--size-mono);
  letter-spacing: .05em;
  color: var(--fg-50)
}

/* === Lists === */
.content-list {
  list-style: none;
  padding: 0;
}

.content-list li {
  position: relative;
  padding-left: 1.2em;
  font-size: var(--size-body);
  line-height: 1.65;
  color: var(--fg-50);
}

.content-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.content-list li + li {
  margin-top: 0.4em;
}


/* === Topbar === */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(32px, 4vw, 80px);
  flex-shrink: 0
}

.topbar-brand {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase
}

.topbar-agency {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em
}

.topbar-rule {
  height: 1px;
  background: var(--fg-20);
  margin: 0 clamp(32px, 4vw, 80px);
  flex-shrink: 0
}

/* === Rules === */
.rule {
  width: 100%;
  height: 1px;
  background: var(--fg-20)
}

.rule-accent {
  width: 48px;
  height: 3px;
  background: var(--accent)
}

/* === Pills/Badges === */
.pill {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--fg-20);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase
}

.pill-accent {
  border-color: var(--accent);
  color: var(--accent)
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--fg-05);
  border: 1px solid var(--fg-10);
  border-radius: var(--radius-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--accent)
}

/* === Cards === */
.card {
  background: var(--fg-05);
  border: 1px solid var(--fg-10);
  padding: clamp(16px, 2vw, 32px);
  border-radius: var(--radius-ui)
}

/* === Tables === */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: clamp(10px, 1.2vw, 16px) clamp(12px, 1.5vw, 20px);
  text-align: left;
  font-size: var(--size-body);
  line-height: 1.5;
  border-bottom: 1px solid var(--fg-10);
  vertical-align: top;
}

.data-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-50);
  border-bottom-color: var(--fg-20);
}

.data-table td {
  color: var(--fg-50);
}

.data-table td:first-child {
  color: var(--fg);
  font-weight: 500;
}

/* === Screenshots === */
.screenshot {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--fg-05);
  border: 1px solid var(--fg-10);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-ui)
}

.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block
}

.screenshot-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  font-size: 10px;
  color: var(--fg-50)
}


/* === Cover / Hero === */
.hero-cover {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden
}

.hero-cover__border {
  position: absolute;
  inset: 0;
  border: clamp(8px, 1.2vw, 16px) solid var(--accent);
  z-index: 2;
  pointer-events: none
}

.hero-cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.8)
}

.hero-cover__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 clamp(32px, 4vw, 80px) clamp(24px, 3vw, 48px)
}

.hero-cover__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(20px, 2.5vw, 36px) clamp(40px, 5vw, 96px)
}

/* === TOC === */
.toc-item {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 32px);
  padding: clamp(16px, 2vh, 28px) 0;
  border-bottom: 1px solid var(--fg-20)
}

.toc-item:last-child {
  border-bottom: none
}

.toc-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 300;
  opacity: .4;
  min-width: clamp(40px, 5vw, 80px)
}

.toc-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.02em
}

/* === Statement (bold centered text) === */
.statement {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 6vw, 120px);
  flex: 1;
}

.statement__text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  max-width: 900px;
}

/* === Phase detail === */
.phase-header {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 1.5vw, 24px);
}

.phase-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  opacity: .3;
  line-height: 1;
}

.phase-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.phase-body {
  font-size: var(--size-body);
  line-height: 1.65;
  color: var(--fg-50);
  max-width: 640px;
}

/* === Timeline === */
.timeline-phases {
  display: flex;
  gap: clamp(8px, 1vw, 16px);
  width: 100%;
}

.timeline-phase {
  flex: 1;
  background: var(--fg-05);
  border: 1px solid var(--fg-10);
  border-radius: var(--radius-ui);
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-phase__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.timeline-phase__duration {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.timeline-phase__desc {
  font-size: 12px;
  color: var(--fg-50);
  line-height: 1.5;
}

.timeline-total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -.02em;
}

/* === Pricing === */
.pricing-card {
  background: var(--fg-05);
  border: 1px solid var(--fg-10);
  border-radius: var(--radius-ui);
  padding: clamp(24px, 3vw, 48px);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent);
}

.pricing-label {
  font-size: 13px;
  color: var(--fg-50);
  margin-top: 4px;
}

/* === Numbered list (goals/objectives) === */
.numbered-item {
  display: flex;
  gap: clamp(12px, 1.5vw, 24px);
  padding: clamp(12px, 1.5vh, 20px) 0;
  border-bottom: 1px solid var(--fg-10);
}

.numbered-item:last-child {
  border-bottom: none;
}

.numbered-item__num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  opacity: .3;
  min-width: clamp(32px, 3vw, 48px);
  line-height: 1;
}

.numbered-item__text {
  font-size: var(--size-body-lg);
  line-height: 1.55;
  color: var(--fg);
  padding-top: 4px;
}

/* === Columns (audience segments etc.) === */
.columns-grid {
  display: grid;
  gap: clamp(16px, 2vw, 32px);
}

.columns-grid--2 { grid-template-columns: 1fr 1fr }
.columns-grid--3 { grid-template-columns: 1fr 1fr 1fr }
.columns-grid--4 { grid-template-columns: 1fr 1fr 1fr 1fr }

@media (max-width: 900px) {
  .columns-grid--3,
  .columns-grid--4 { grid-template-columns: 1fr 1fr }
}

@media (max-width: 600px) {
  .columns-grid--2,
  .columns-grid--3,
  .columns-grid--4 { grid-template-columns: 1fr }
}

.column-card {
  background: var(--fg-05);
  border: 1px solid var(--fg-10);
  border-radius: var(--radius-ui);
  padding: clamp(16px, 2vw, 28px);
}

.column-card__title {
  font-family: var(--font-display);
  font-size: var(--size-display-sm);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}

.column-card__body {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.6;
  color: var(--fg-50);
}

/* === Quote / Testimonial === */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 32px);
}

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

.quote-card {
  background: var(--fg-05);
  border: 1px solid var(--fg-10);
  border-radius: var(--radius-ui);
  padding: clamp(20px, 2.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card__text {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--fg);
  font-style: italic;
}

.quote-card__text::before {
  content: '\201C';
  color: var(--accent);
  font-size: 1.4em;
}

.quote-card__attribution {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-50);
  margin-top: 16px;
}

/* === Portfolio === */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 32px);
}

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

.portfolio-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-item__image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--fg-05);
  border: 1px solid var(--fg-10);
  border-radius: var(--radius-ui);
  overflow: hidden;
}

.portfolio-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.portfolio-item__desc {
  font-size: 13px;
  color: var(--fg-50);
  line-height: 1.5;
}

/* === Case Study === */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

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

/* === Services grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

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

.services-category__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.services-category__items {
  list-style: none;
  padding: 0;
}

.services-category__items li {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--fg-50);
  line-height: 1.8;
}

/* === Letter === */
.letter-content {
  max-width: 640px;
}

.letter-greeting {
  font-family: var(--font-display);
  font-size: var(--size-display-sm);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}

.letter-body {
  font-size: var(--size-body-lg);
  line-height: 1.65;
  color: var(--fg-50);
}

.letter-body p + p {
  margin-top: 1em;
}

.letter-signoff {
  margin-top: 32px;
  font-size: var(--size-body);
  color: var(--fg);
}

.letter-signoff__name {
  font-weight: 600;
}

.letter-signoff__title {
  color: var(--fg-50);
  font-size: 13px;
}

/* === Closing / Thank You === */
.closing-content {
  max-width: 640px;
}

.closing-heading {
  font-family: var(--font-display);
  font-size: var(--size-display-lg);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

.closing-body {
  font-size: var(--size-body-lg);
  line-height: 1.65;
  color: var(--fg-50);
}

.closing-body p + p {
  margin-top: 1em;
}

.closing-contact {
  margin-top: 32px;
  font-size: var(--size-body);
}

.closing-contact a {
  color: var(--accent);
}

/* === Imagery full-bleed === */
.page--imagery-full {
  padding: 0;
  overflow: hidden
}

.page--imagery-full .imagery-frame {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-ui);
  margin: 0 clamp(32px, 4vw, 80px)
}

.page--imagery-full .imagery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.page--imagery-full .imagery-annotation {
  flex-shrink: 0;
  padding: 12px 0;
  margin: 0 clamp(32px, 4vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--fg-10)
}

.page--imagery-full .imagery-annotation p {
  font-size: 12px;
  color: var(--fg-50)
}

/* === Imagery 2-up === */
.imagery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 24px);
  flex: 1;
  min-height: 0
}

.imagery-cell {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-ui)
}

.imagery-cell img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  display: block;
  min-height: 0
}

.imagery-cell p {
  font-size: 11px;
  color: var(--fg-50);
  padding: 8px 0;
  flex-shrink: 0
}


/* === Light variant === */
.page--light {
  background: #fff;
  color: #161616
}

.page--light .topbar-brand,
.page--light .topbar-agency { color: #161616 }
.page--light .topbar-rule { background: rgba(0,0,0,.1) }
.page--light .label { color: rgba(0,0,0,.55) }
.page--light .body,
.page--light .body-lg { color: rgba(0,0,0,.5) }
.page--light .rule { background: rgba(0,0,0,.08) }
.page--light .card,
.page--light .column-card,
.page--light .quote-card,
.page--light .timeline-phase,
.page--light .pricing-card { background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.08) }
.page--light .pill { border-color: rgba(0,0,0,.15); color: #161616 }
.page--light .mono { color: rgba(0,0,0,.4) }
.page--light .data-table th { color: rgba(0,0,0,.55) }
.page--light .data-table td { color: rgba(0,0,0,.5) }
.page--light .data-table td:first-child { color: #161616 }
.page--light .data-table th,
.page--light .data-table td { border-bottom-color: rgba(0,0,0,.08) }
.page--light .numbered-item { border-bottom-color: rgba(0,0,0,.08) }
.page--light .content-list li { color: rgba(0,0,0,.5) }

.page--light .page-nav a {
  border-color: rgba(0,0,0,.15);
  color: #161616
}
.page--light .page-nav a:hover {
  background: #161616;
  color: #fff
}
.page--light .page-counter { color: rgba(0,0,0,.3) }
.page--light .page-nav::before,
.page--light .page-counter::before { background: rgba(255,255,255,.7) }

/* === Cream variant === */
.page--cream {
  background: var(--color-cream-bg, #F5F0EB);
  color: #1a1a1a
}

.page--cream .topbar-brand,
.page--cream .topbar-agency { color: #1a1a1a }
.page--cream .topbar-rule { background: rgba(0,0,0,.1) }
.page--cream .label { color: rgba(0,0,0,.55) }
.page--cream .body,
.page--cream .body-lg { color: rgba(0,0,0,.5) }
.page--cream .rule { background: rgba(0,0,0,.08) }
.page--cream .card,
.page--cream .column-card,
.page--cream .quote-card,
.page--cream .timeline-phase,
.page--cream .pricing-card { background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.08) }
.page--cream .pill { border-color: rgba(0,0,0,.15); color: #1a1a1a }
.page--cream .mono { color: rgba(0,0,0,.4) }
.page--cream .data-table th { color: rgba(0,0,0,.55) }
.page--cream .data-table td { color: rgba(0,0,0,.5) }
.page--cream .data-table td:first-child { color: #1a1a1a }
.page--cream .data-table th,
.page--cream .data-table td { border-bottom-color: rgba(0,0,0,.08) }
.page--cream .content-list li { color: rgba(0,0,0,.5) }

.page--cream .page-nav a {
  border-color: rgba(0,0,0,.15);
  color: #1a1a1a
}
.page--cream .page-nav a:hover {
  background: var(--accent);
  color: var(--bg)
}
.page--cream .page-counter { color: rgba(0,0,0,.3) }
.page--cream .page-nav::before,
.page--cream .page-counter::before { background: rgba(255,255,255,.7) }

/* === Accent variant === */
.page--accent {
  background: var(--accent);
  color: var(--bg)
}

.page--accent .topbar-brand,
.page--accent .topbar-agency { color: var(--bg) }
.page--accent .topbar-rule { background: rgba(0,0,0,.1) }
.page--accent .label { color: var(--bg); opacity: .5 }
.page--accent .body,
.page--accent .body-lg { color: rgba(0,0,0,.5) }
.page--accent .card,
.page--accent .column-card,
.page--accent .quote-card { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.1) }
.page--accent .rule { background: rgba(0,0,0,.1) }

.page--accent .page-nav a {
  border-color: rgba(0,0,0,.15);
  color: var(--bg)
}
.page--accent .page-nav a:hover {
  background: var(--bg);
  color: var(--accent)
}
.page--accent .page-counter { color: rgba(0,0,0,.3) }
.page--accent .page-nav::before,
.page--accent .page-counter::before { background: rgba(255,255,255,.4) }


/* === Navigation arrows === */
.page-nav {
  position: fixed;
  bottom: 24px;
  right: 32px;
  display: flex;
  gap: 6px;
  z-index: 100
}

.page-nav a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fg-20);
  color: var(--fg);
  text-decoration: none;
  font-size: 16px;
  transition: .15s
}

.page-nav a:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent)
}

/* === Page counter === */
.page-counter {
  position: fixed;
  bottom: 30px;
  left: 32px;
  font-size: 12px;
  color: var(--fg-50);
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
  font-family: var(--font-mono)
}

/* Glass morphism behind nav elements */
.page-nav::before,
.page-counter::before {
  content: '';
  position: absolute;
  inset: -6px -8px;
  border-radius: 6px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  z-index: -1
}
