/* =====================================================================
   METAFRACTALS — 3Dfractals.com  ·  site stylesheet (v3)
   Dark "deep space" theme with the gold of Claude's Cat and the
   turquoise of Claude's Castle as accents.
   Written without CSS custom properties so that it degrades gracefully
   in Internet Explorer 11; modern browsers get the full animated version.
   ===================================================================== */

/* ---------- Reset & base ---------- */
*, *:before, *:after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0b0b12;
  color: #e8e6f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body:before { /* subtle nebula */
  content: "";
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(245,185,66,0.10), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(79,209,197,0.10), transparent 36%),
    radial-gradient(circle at 60% 30%, rgba(190,120,220,0.06), transparent 30%),
    #0b0b12;
}
img, video { max-width: 100%; height: auto; }
a { color: #f5b942; text-decoration: none; }
a:hover, a:focus { color: #ffd37a; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #4fd1c5; outline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 2.5rem 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: #4fd1c5; margin-bottom: .6rem;
}
.lead { font-size: 1.2rem; color: #cfcbe0; }
.muted { color: #a9a5bd; }
.small { font-size: .9rem; }
.text-center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 0; background: #f5b942; color: #000; padding: .5rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }
.ext { font-size: .8em; opacity: .7; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }
.section { padding: 4.5rem 0; }
.section--tight { padding: 2.5rem 0; }
.section--alt { background: rgba(255,255,255,.025); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid #f5b942;
  background: #f5b942;
  color: #0b0b12 !important;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none !important;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover, .btn:focus { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,185,66,.35); background: #ffd37a; }
.btn--ghost { background: transparent; color: #f5b942 !important; }
.btn--ghost:hover, .btn--ghost:focus { background: rgba(245,185,66,.12); box-shadow: none; }
.btn--teal { background: #4fd1c5; border-color: #4fd1c5; }
.btn--teal:hover, .btn--teal:focus { background: #7fe3da; box-shadow: 0 10px 30px rgba(79,209,197,.35); }
.btn--sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-row { margin-top: 1.5rem; }
.btn-row .btn { margin: 0 .6rem .6rem 0; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,18,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header__inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px;
  display: -ms-flexbox; display: flex;
  -ms-flex-align: center; align-items: center;
  -ms-flex-pack: justify; justify-content: space-between;
  min-height: 70px;
  position: relative;
}
.brand { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; text-decoration: none !important; color: #fff; }
.brand__logo { width: 40px; height: 40px; margin-right: 12px; border-radius: 8px; }
.brand__text { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-size: 1.25rem; letter-spacing: .14em; }
.brand__tag { font-size: .68rem; letter-spacing: .08em; color: #a9a5bd; text-transform: uppercase; margin-top: 3px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; }
.site-nav__item { margin-left: 4px; }
.site-nav__link {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  color: #d9d6e6; font-size: .95rem; text-decoration: none !important;
  transition: background .18s, color .18s;
}
.site-nav__link:hover, .site-nav__link:focus { background: rgba(255,255,255,.08); color: #fff; }
.site-nav__link.is-active { color: #f5b942; background: rgba(245,185,66,.12); }
.site-nav__item--feature .site-nav__link { color: #ffd37a; font-weight: 600; }
.site-nav__item--feature .site-nav__link:before { content: "\2726"; margin-right: .35em; font-size: .85em; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle__bar { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #10101a; border-bottom: 1px solid rgba(255,255,255,.1); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__list { -ms-flex-direction: column; flex-direction: column; -ms-flex-align: stretch; align-items: stretch; padding: .5rem 12px 1rem; }
  .site-nav__item { margin: 2px 0; }
  .site-nav__link { padding: .9rem 1rem; font-size: 1.05rem; }
  .brand__tag { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4rem 0 3rem; }
.hero__inner {
  display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-wrap: wrap; flex-wrap: wrap;
}
.hero__copy { -ms-flex: 1 1 420px; flex: 1 1 420px; padding-right: 2rem; position: relative; z-index: 1; }
.hero__visual { -ms-flex: 1 1 380px; flex: 1 1 380px; position: relative; text-align: center; }
.hero__title { font-size: 3.4rem; margin-bottom: .4em; }
.hero__title .glow { color: #ffd37a; text-shadow: 0 0 30px rgba(245,185,66,.45); }
.hero__visual img, .hero__visual video { width: 100%; max-width: 520px; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); display: block; margin: 0 auto; }
.hero__halo {
  position: absolute; left: 50%; top: 50%; width: 120%; height: 120%;
  margin-left: -60%; margin-top: -60%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(245,185,66,.28) 0%, rgba(245,185,66,0) 60%);
  animation: halo 8s ease-in-out infinite;
}
.hero__stats { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-top: 2rem; }
.stat { margin: 0 2.2rem 1rem 0; }
.stat__n { display: block; font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-size: 2rem; color: #fff; line-height: 1; }
.stat__l { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #a9a5bd; margin-top: .3rem; }
@keyframes halo { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }

/* floating orbs (decorative) */
.orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; opacity: .55; animation: drift 14s ease-in-out infinite; }
.orb--1 { width: 14px; height: 14px; background: #f5b942; top: 12%; left: 6%; box-shadow: 0 0 18px #f5b942; }
.orb--2 { width: 8px; height: 8px; background: #4fd1c5; top: 70%; left: 14%; animation-duration: 18s; box-shadow: 0 0 14px #4fd1c5; }
.orb--3 { width: 10px; height: 10px; background: #e8a0c8; top: 25%; right: 8%; animation-duration: 16s; box-shadow: 0 0 14px #e8a0c8; }
.orb--4 { width: 6px; height: 6px; background: #fff; top: 80%; right: 20%; animation-duration: 22s; box-shadow: 0 0 10px #fff; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 33% { transform: translate(18px,-26px); } 66% { transform: translate(-14px,14px); } }

/* ---------- Cards / grids ---------- */
.grid { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -12px; }
.grid > * { padding: 12px; width: 100%; }
.grid--2 > * { width: 50%; }
.grid--3 > * { width: 33.333%; }
.grid--4 > * { width: 25%; }
@media (max-width: 900px) { .grid--3 > *, .grid--4 > * { width: 50%; } }
@media (max-width: 560px) { .grid--2 > *, .grid--3 > *, .grid--4 > * { width: 100%; } }

.card {
  display: block; height: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; overflow: hidden;
  color: inherit; text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.card:hover, a.card:focus { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.5); border-color: rgba(245,185,66,.45); }
.card__media { position: relative; overflow: hidden; background: #000; }
.card__media img { display: block; width: 100%; transition: transform .6s ease; }
a.card:hover .card__media img { transform: scale(1.05); }
.card__media--square { height: 0; padding-bottom: 100%; }
.card__media--square img, .card__media--square video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.card__body { padding: 1.1rem 1.2rem 1.3rem; }
.card__title { font-size: 1.15rem; margin-bottom: .35rem; color: #fff; }
.card__text { font-size: .95rem; color: #bdb9cf; margin: 0; }
.card__meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #4fd1c5; margin-bottom: .4rem; }

/* feature band (Claude's Cat on home) */
.feature {
  position: relative; overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(245,185,66,.14), rgba(79,209,197,.08) 60%, rgba(190,120,220,.10));
  border: 1px solid rgba(245,185,66,.25);
  padding: 2.5rem;
  display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: center; align-items: center;
}
.feature__media { -ms-flex: 1 1 340px; flex: 1 1 340px; padding-right: 2.5rem; }
.feature__media img, .feature__media video { width: 100%; border-radius: 18px; display: block; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.feature__copy { -ms-flex: 1 1 320px; flex: 1 1 320px; }
@media (max-width: 760px) { .feature { padding: 1.4rem; } .feature__media { padding-right: 0; margin-bottom: 1.5rem; } }

/* ---------- Publication lists ---------- */
.pub-list { list-style: none; margin: 0; padding: 0; counter-reset: pub; }
.pub-list li {
  position: relative; padding: 1rem 1rem 1rem 3.4rem; margin-bottom: .6rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 12px;
  font-size: 1rem; line-height: 1.55;
  transition: border-color .2s, background .2s;
}
.pub-list li:hover { border-color: rgba(245,185,66,.35); background: rgba(255,255,255,.05); }
.pub-list li:before {
  counter-increment: pub; content: counter(pub);
  position: absolute; left: 1rem; top: 1rem;
  width: 1.7rem; height: 1.7rem; line-height: 1.7rem; text-align: center;
  border-radius: 50%; background: rgba(245,185,66,.15); color: #ffd37a; font-size: .8rem; font-weight: 600;
}
.pub-list strong { color: #fff; }
.pub-list em { color: #cfcbe0; }
.pub-list a { text-decoration: underline; }
.pub-list--highlight li { border-color: rgba(245,185,66,.4); background: linear-gradient(90deg, rgba(245,185,66,.10), rgba(255,255,255,.03)); }
.badge { display: inline-block; padding: .15em .6em; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(79,209,197,.15); color: #7fe3da; vertical-align: middle; margin-left: .4em; }
.badge--gold { background: rgba(245,185,66,.18); color: #ffd37a; }

/* ---------- Gallery ---------- */
.gallery-item { cursor: zoom-in; }
.thumb-grid { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: -6px; }
.thumb-grid a { display: block; width: 16.666%; padding: 6px; }
.thumb-grid img { display: block; width: 100%; border-radius: 10px; transition: transform .3s, box-shadow .3s; }
.thumb-grid a:hover img { transform: scale(1.06); box-shadow: 0 10px 30px rgba(0,0,0,.6); }
@media (max-width: 900px) { .thumb-grid a { width: 25%; } }
@media (max-width: 520px) { .thumb-grid a { width: 33.333%; } }
.gallery-tabs { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 2rem; }
.gallery-tabs a { display: block; padding: .5rem 1rem; margin: 0 .4rem .4rem 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #d9d6e6; font-size: .9rem; text-decoration: none !important; }
.gallery-tabs a:hover, .gallery-tabs a.is-active { border-color: #f5b942; color: #ffd37a; background: rgba(245,185,66,.1); }

/* ---------- Video ---------- */
.video-frame { position: relative; height: 0; padding-bottom: 56.25%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.video-frame iframe, .video-frame video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-frame--portrait { padding-bottom: 133.33%; }
.video-frame--square { padding-bottom: 100%; }

/* tap-to-play overlay (shown when the browser blocks autoplay, e.g. Brave, iOS Low Power Mode) */
.tap-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; padding: 0 0 0 6px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: rgba(11,11,18,.65);
  color: #ffd37a; font-size: 2rem; line-height: 1; cursor: pointer; z-index: 5;
  box-shadow: 0 0 0 10px rgba(245,185,66,.18), 0 20px 50px rgba(0,0,0,.6);
  animation: pulse 2.2s ease-in-out infinite;
}
.tap-play:hover { background: rgba(245,185,66,.9); color: #0b0b12; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 10px rgba(245,185,66,.18), 0 20px 50px rgba(0,0,0,.6); } 50% { box-shadow: 0 0 0 22px rgba(245,185,66,0), 0 20px 50px rgba(0,0,0,.6); } }

/* ---------- Quotes (Liturgies) ---------- */
.quote-list { max-width: 720px; margin: 0 auto; }
.quote { text-align: center; padding: 1.8rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.quote__text { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-size: 1.35rem; line-height: 1.5; color: #fff; margin: 0 0 .6rem; }
.quote__who { color: #4fd1c5; font-size: .95rem; margin: 0; }
.quote__who:before { content: "\2014\00a0"; }

/* ---------- Contact ---------- */
.contact-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 2rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #a9a5bd; margin-bottom: .35rem; }
.form-row input, .form-row textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 10px; font: inherit; color: #fff;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: #f5b942; box-shadow: 0 0 0 3px rgba(245,185,66,.2); }
.form-row textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.5rem; border: 1px solid; }
.alert--ok { background: rgba(79,209,197,.12); border-color: rgba(79,209,197,.5); color: #bff2ec; }
.alert--err { background: rgba(255,90,90,.12); border-color: rgba(255,90,90,.5); color: #ffc7c7; }

/* ---------- Tetrabrot (legacy wiki-style content) ---------- */
.wiki { max-width: 900px; margin: 0 auto; overflow-x: hidden; word-wrap: break-word; }
.wiki table, .wiki .mwe-math-fallback-image-display { display: block; max-width: 100%; overflow-x: auto; }
.wiki img { max-width: 100%; height: auto; }
.wiki table { border-collapse: collapse; max-width: 100%; }
.wiki .thumb { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 8px; margin: 0 0 1rem 1.5rem; float: right; max-width: 240px; }
.wiki .thumb.tleft { float: left; margin: 0 1.5rem 1rem 0; }
.wiki .thumbinner { width: auto !important; }
.wiki .thumbcaption { font-size: .85rem; color: #bdb9cf; }
.wiki .magnify { display: none; }
.wiki .toc { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 1rem 1.4rem; display: inline-block; margin-bottom: 1.5rem; }
.wiki .toc ul { margin: 0; padding-left: 1.2rem; }
.wiki .toctitle h2 { font-size: 1.1rem; margin: 0 0 .4rem; border: 0; }
.wiki .tocnumber { color: #4fd1c5; margin-right: .3em; }
.wiki h2 { clear: both; margin-top: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .3rem; }
.wiki .mwe-math-fallback-image-inline, .wiki .mwe-math-fallback-image-display { background: #fff; border-radius: 4px; padding: 2px 4px; }
.wiki .mwe-math-element { display: inline-block; }
.wiki .reference { font-size: .75em; vertical-align: super; }
.wiki .reflist, .wiki .references { font-size: .9rem; }
.wiki sup a, .wiki .reference a { text-decoration: none; }
@media (max-width: 640px) { .wiki .thumb, .wiki .thumb.tleft { float: none; margin: 0 auto 1.2rem; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,.08); margin-top: 4rem; padding: 3rem 0 2rem; background: rgba(0,0,0,.35); }
.site-footer__inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.site-footer__col { -ms-flex: 1 1 220px; flex: 1 1 220px; padding-right: 2rem; margin-bottom: 1.5rem; font-size: .95rem; color: #bdb9cf; }
.site-footer__col strong { display: block; color: #fff; margin-bottom: .6rem; letter-spacing: .06em; }
.site-footer__brand { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; letter-spacing: .14em !important; font-size: 1.1rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: .35rem; }
.site-footer__links a { color: #d9d6e6; }
.site-footer__copy { font-size: .82rem; color: #8d899f; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; line-height: 42px;
  text-align: center; border-radius: 50%; background: rgba(245,185,66,.9); color: #0b0b12 !important;
  text-decoration: none !important; font-size: 1.3rem; opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s, transform .25s; z-index: 90; box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 500; background: rgba(5,5,10,.94); display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 92vw; max-height: 92vh; text-align: center; }
.lightbox__img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.8); animation: pop .25s ease; }
.lightbox__caption { color: #d9d6e6; font-size: .95rem; margin-top: .8rem; padding: 0 1rem; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(245,185,66,.8); color: #000; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}
.figure { margin: 0 0 1.5rem; }
.figure img { border-radius: 14px; display: block; width: 100%; }
.figure figcaption { font-size: .88rem; color: #a9a5bd; margin-top: .6rem; }
.logo-row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: center; align-items: center; }
.logo-row a { display: inline-block; margin: 0 1.4rem 1rem 0; opacity: .85; transition: opacity .2s, transform .2s; }
.logo-row a:hover { opacity: 1; transform: translateY(-2px); }
.logo-row img { height: 48px; width: auto; border-radius: 8px; }
.prose { max-width: 760px; }
.prose p { color: #d9d6e6; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  h1, .hero__title { font-size: 2.3rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 3rem 0; }
  .hero { padding-top: 2.5rem; }
  .hero__copy { padding-right: 0; margin-bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .to-top, .orb, .nav-toggle { display: none !important; }
  a { color: #000; }
}
