/* frame.css · the site's own top bar, menu, closing threshold and footer, for pages that keep their own design.
 *
 * Those pages carry their own stylesheet, so this file is sealed in both directions. Every rule is held inside .cf, so
 * nothing here can touch them. The reset below clears anything their element rules (a, footer, section, nav) would
 * otherwise hand to the frame. The values are the computed values of the site's own stack: change them there first.
 */
/* the site's own font files, under names of their own, so the frame reads the same whatever a page declares */
@font-face { font-family: 'CF Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'CF Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'CF Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'CF Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'CF Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(../fonts/dm-sans-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'CF Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(../fonts/dm-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'CF Kick'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'CF Kick'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/space-grotesk-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
.cf {
  --ink: #1B0C20; --ink-2: #241029; --deep: #150919;
  --gold: #A57626; --gold-lit: #D9A648; --ankh: #A57626;
  --mirror: #E7E7E7; --soft: #C9BECF; --dim: #A898B0;
  --line: rgba(231, 231, 231, .12); --line-2: rgba(231, 231, 231, .22); --gold-line: rgba(217, 166, 72, .45);
  --serif: "CF Serif", "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "CF Sans", "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --kick: "CF Kick", "Space Grotesk", "DM Sans", Arial, sans-serif;
  --breath: cubic-bezier(.22, .61, .36, 1);
  --r: 2px;
  --lb-gutter: clamp(1rem, 4vw, 5.5rem); --lb-col: 44rem; --lb-wide: 76rem;
  --sc-gutter: clamp(1rem, 5vw, 5.5rem);
  --gl-metal: linear-gradient(178deg, #F4D892 0%, #DFB05A 48%, #BB8A35 100%);
  --gl-edge: inset 0 1px 0 rgba(246, 227, 176, .2);
  --gl-line: rgba(246, 227, 176, .14);
}
/* warm paper: as on the site, the top bar turns to paper, and the threshold, menu and footer stay dark bands */
:root[data-theme="paper"] .cf.lb-head, :root[data-theme="paper"] .cf.rv-mark {
  --ink: #FBF8F4; --ink-2: #F4EEE6; --gold-lit: #7A5410; --mirror: #1B0C20; --soft: #45344E; --dim: #5F4E67;
  --line: rgba(27, 12, 32, .13); --line-2: rgba(27, 12, 32, .24); --gold-line: rgba(122, 84, 16, .5); --gl-line: rgba(122, 84, 16, .2);
}

/* ---------------------------------------------------------------- the seal --- */
.cf, .cf *, .cf *::before, .cf *::after { all: revert; box-sizing: border-box; }
.cf { font-family: var(--sans); font-size: clamp(1.125rem, 1.08rem + .2vw, 1.25rem); line-height: 1.75; font-weight: 400; color: var(--mirror); text-align: left; letter-spacing: .004em; text-transform: none; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; }
.cf p { margin: 0; }
.cf img { display: block; max-width: 100%; }
.cf a { color: inherit; }
.cf button { font: inherit; color: inherit; }
.cf :focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 4px; border-radius: var(--r); }
html.rv-locked { overflow: hidden; }

/* ---------------------------------------------------------------- the skip link --- */
.cf.rv-skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink-2); color: var(--mirror); padding: .6rem 1rem; border-radius: var(--r); border: 1px solid var(--gold-line); }
.cf.rv-skip:focus { top: 1rem; }

/* ---------------------------------------------------------------- the glyphs --- */
.cf .rv-glyph { display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.cf .g-ankh { --m: url(../icons/ankh.png); }
.cf .g-crescent { --m: url(../icons/crescent.png); }
.cf .g-horus { --m: url(../icons/horus.png); }
.cf .g-ibis { --m: url(../icons/ibis.png); }
.cf .g-scarab { --m: url(../icons/scarab.png); }
.cf .g-sun { --m: url(../icons/sun.png); }
.cf .g-water { --m: url(../icons/water.png); }
.cf .v4-lock { position: relative; display: inline-block; width: 11px; height: 9px; margin-right: .5em; border-radius: 1.5px; background: currentColor; vertical-align: -.05em; flex: none; }
.cf .v4-lock::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 7px; height: 6px; translate: -50% 1px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }

/* ---------------------------------------------------------------- the top bar --- */
.cf.lb-head { display: block; position: relative; z-index: 40; background: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 var(--gl-line); }
.cf .lb-head__in { max-width: var(--lb-wide); margin-inline: auto; padding: 0 var(--lb-gutter); min-height: 72px; display: flex; align-items: center; gap: 1.25rem; }
.cf .lb-head__home { display: inline-flex; align-items: center; justify-content: flex-start; gap: .8rem; min-width: 44px; min-height: 44px; text-decoration: none; color: var(--mirror); margin-right: auto; }
.cf .lb-head__mark { width: 22px; height: 23px; background: currentColor; flex: none; -webkit-mask: url(../logos/mark-white-96.png) center / contain no-repeat; mask: url(../logos/mark-white-96.png) center / contain no-repeat; }
.cf .lb-head__name { font: 600 .8125rem/1 var(--kick); letter-spacing: .26em; text-transform: uppercase; }
.cf .lb-head__home:hover { color: var(--gold-lit); }
.cf .lb-nav { display: block; }
.cf .lb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.6rem; flex-wrap: wrap; }
.cf .lb-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--soft); font: 500 1rem/1 var(--sans); letter-spacing: .03em; border-bottom: 1px solid transparent; transition: color 160ms var(--breath), border-color 160ms var(--breath); }
.cf .lb-nav a:hover { color: var(--mirror); }
.cf .lb-nav a[aria-current] { color: var(--mirror); border-bottom-color: var(--gold); text-shadow: 0 0 18px rgba(217, 166, 72, .45); }
.cf .lb-nav .v4-nav__members { color: var(--gold-lit); }
.cf .lb-nav .v4-nav__members:hover { color: var(--mirror); }
:root[data-theme="paper"] .cf .lb-nav a[aria-current] { text-shadow: none; }
.cf .v3-theme { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem; background: transparent; color: var(--soft); border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; font: 600 .8125rem/1 var(--kick); letter-spacing: .12em; text-transform: uppercase; transition: color 300ms var(--breath), border-color 300ms var(--breath); }
.cf .v3-theme:hover { color: var(--mirror); border-color: var(--gold-line); }
.cf .v3-theme__dot { width: 12px; height: 12px; border-radius: 50%; background: #F4EEE6; box-shadow: inset 0 0 0 1px rgba(27, 12, 32, .3); flex: none; }
.cf .v3-theme[aria-pressed="true"] .v3-theme__dot { background: #1B0C20; box-shadow: inset 0 0 0 1px rgba(231, 231, 231, .4); }
.cf .lb-head__menu { display: none; min-height: 44px; padding: 0 1rem; background: transparent; color: var(--mirror); border: 1px solid var(--line-2); border-radius: var(--r); font: 600 .8125rem/1 var(--kick); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.cf .lb-head__menu:hover { border-color: var(--gold-line); }
@media (max-width: 1000px) {
  .cf .lb-head__in { gap: .6rem; }
  .cf .lb-nav { display: none; }
  .cf .lb-head__menu { display: inline-flex; align-items: center; }
}
@media (max-width: 760px) {
  .cf .lb-head__in { min-height: 64px; }
}
@media (max-width: 520px) {
  .cf .lb-head__name { display: none; }
  .cf .v3-theme { padding: 0 .7rem; }
}

/* ---------------------------------------------------------------- the mark, once the bar has scrolled away --- */
/* --cf-mark-top keeps it clear of a page's own sticky section bar */
.cf.rv-mark { letter-spacing: normal; position: fixed; z-index: 60; top: max(var(--cf-mark-top, 14px), env(safe-area-inset-top)); left: clamp(12px, 1.8vw, 26px); width: 48px; height: 48px; display: grid; place-items: center; background: rgba(18, 12, 23, .72); color: var(--mirror); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: color 160ms var(--breath), border-color 160ms var(--breath), opacity 320ms var(--breath), translate 320ms var(--breath); }
.cf.rv-mark:hover { color: var(--gold-lit); border-color: var(--gold-line); }
.cf.rv-mark[hidden] { display: grid !important; opacity: 0; translate: 0 -72px; pointer-events: none; }
.cf.rv-mark[hidden]:focus-visible { opacity: 1; translate: none; }
.cf .rv-mark__glyph { width: 26px; height: 27px; background: currentColor; -webkit-mask: url(../logos/mark-white-96.png) center / contain no-repeat; mask: url(../logos/mark-white-96.png) center / contain no-repeat; }
:root[data-theme="paper"] .cf.rv-mark { background: rgba(251, 248, 244, .94); color: #1B0C20; border-color: rgba(27, 12, 32, .2); }

/* ---------------------------------------------------------------- the menu --- */
.cf.rv-index { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(21, 9, 25, .985); color: var(--mirror); }
.cf.rv-index::backdrop { background: rgba(0, 0, 0, .5); }
.cf .rv-index__in { min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; padding: 5rem var(--sc-gutter); max-width: 40rem; margin-inline: auto; }
.cf .rv-index__word { width: min(260px, 70vw); height: auto; opacity: .92; }
.cf.rv-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.cf.rv-index nav { display: block; }
.cf.rv-index a { display: flex; align-items: center; gap: 1rem; min-height: 56px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.75; letter-spacing: -.005em; text-decoration: none; color: var(--mirror); }
.cf.rv-index a .rv-glyph { width: 22px; height: 22px; color: var(--gold-lit); }
.cf.rv-index a:hover { color: var(--gold-lit); }
.cf.rv-index a[aria-current] { color: #E9C27A; }
.cf.rv-index a[aria-current] .rv-glyph { filter: drop-shadow(0 0 7px rgba(217, 166, 72, .7)); }
.cf .rv-index__close { min-height: 48px; padding: 0 1.4rem; background: transparent; color: var(--mirror); border: 1px solid var(--line-2); border-radius: var(--r); font: 600 1rem var(--sans); cursor: pointer; }
.cf.rv-index[open] .rv-index__in { animation: cf-rise 520ms var(--breath) both; }
@keyframes cf-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- the threshold --- */
/* --c and --t are the colours of the step on the road, the same pair the site gives that step */
.cf.rv-close { display: block; position: relative; margin: 0; border: 0; padding-block: clamp(4.5rem, 12vh, 7.5rem); color: #E7E7E7; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 30% 40%, color-mix(in srgb, var(--c, #9B5FD0) 22%, transparent), transparent 70%), radial-gradient(ellipse 60% 60% at 75% 60%, rgba(165, 118, 38, .14), transparent 70%), #0e0511; }
.cf .lb-col { width: 100%; max-width: 46rem; padding-inline: var(--lb-gutter); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.cf .lb-col > * { max-width: 100%; text-align: center; }
.cf .lb-col > * + * { margin-top: 1.1rem; }
.cf .rv-close__mark { width: 22px; height: 32px; color: var(--t, #EBC67E); filter: drop-shadow(0 0 7px color-mix(in srgb, var(--t, #D9A648) 60%, transparent)); }
.cf .rv-close__mark + * { margin-top: 1.5rem; }
.cf .lb-statement { margin: 0; font: italic 400 clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem)/1.2 var(--serif); letter-spacing: 0; color: #F3EEF4; text-wrap: balance; max-width: 28ch; }
.cf .lb-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1rem; }
.cf .lo-btn, .cf .lo-open { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 48px; max-width: 100%; padding: 0 1.25rem; border-radius: 999px; text-decoration: none; cursor: pointer; font: 500 .875rem/1 var(--kick); letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 500ms var(--breath), border-color 500ms var(--breath), box-shadow 600ms var(--breath); }
.cf .lo-btn { background: var(--gl-metal); color: #1B0C20; border: 1px solid #C9973F; font-weight: 600; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 246, 222, .7), inset 0 -1px 0 rgba(96, 62, 14, .4), 0 10px 26px -12px rgba(217, 166, 72, .6); }
.cf .lo-btn:hover, .cf .lo-btn:focus-visible { background: linear-gradient(178deg, #F9E4AE 0%, #E7BB68 48%, #C7963F 100%); box-shadow: 0 0 36px rgba(217, 166, 72, .4); }
.cf .lo-open { --t: #D9A648; --c: #A57626; color: var(--mirror); white-space: normal; line-height: 1.25; padding-block: .55rem; text-align: center; border: 1px solid color-mix(in srgb, var(--t) 72%, transparent); background: linear-gradient(180deg, rgba(246, 227, 176, .12), rgba(246, 227, 176, .02) 60%), rgba(17, 7, 20, .4); box-shadow: var(--gl-edge), 0 0 26px -10px color-mix(in srgb, var(--t) 60%, transparent); }
.cf .lo-open:hover, .cf .lo-open:focus-visible { background: color-mix(in srgb, var(--c) 30%, rgba(17, 7, 20, .5)); border-color: var(--t); box-shadow: 0 0 34px color-mix(in srgb, var(--c) 45%, transparent); }
.cf .lo-open__plus { position: relative; display: block; width: 12px; height: 12px; }
.cf .lo-open__plus::before, .cf .lo-open__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.4px; translate: -50% -50%; background: currentColor; transition: rotate 600ms var(--breath); }
.cf .lo-open__plus::after { rotate: 90deg; }
.cf .lo-open:hover .lo-open__plus::after { rotate: 180deg; }
@media (max-width: 430px) { .cf .lo-btn, .cf .lo-open { letter-spacing: .1em; } }
@media (max-width: 359px) { .cf .lo-btn, .cf .lo-open { white-space: normal; line-height: 1.25; padding-block: .5rem; text-align: center; } }

/* ---------------------------------------------------------------- the footer --- */
.cf.rv-foot { display: block; position: relative; z-index: 1; margin: 0; background: var(--ink); border-top: 1px solid var(--line); padding-block: 3.5rem calc(3rem + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 var(--gl-line); }
.cf .rv-wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--sc-gutter); }
.cf .rv-foot__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: center; }
.cf .rv-foot__word { width: 190px; height: auto; opacity: .9; }
.cf .rv-foot__tag { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--soft); }
.cf .rv-foot__links { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.75rem; flex-wrap: wrap; justify-content: flex-end; }
.cf .rv-foot__links { max-width: 30rem; }
.cf .rv-foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--gold); text-underline-offset: .35em; }
.cf .lb-foot__map { display: block; grid-column: 1 / -1; }
.cf .lb-foot__map ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; }
.cf .lb-foot__map a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: none; font-size: 1rem; }
.cf .lb-foot__map a:hover { color: var(--mirror); }
.cf .lb-foot__map a[aria-current] { color: var(--gold-lit); }
.cf .lb-foot__map a[href$="work-with-me.html"]:not([aria-current]) { padding: 0 1rem; margin-inline: -.1rem; border: 1px solid rgba(217, 166, 72, .55); border-radius: 999px; color: var(--mirror); }
.cf .lb-foot__map a[href$="work-with-me.html"]:not([aria-current]):hover { border-color: var(--gold-lit); }
.cf .rv-foot__small { grid-column: 1 / -1; color: rgba(231, 231, 231, .78); font-size: 1rem; line-height: 1.7; }
.cf .rv-foot__small a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; vertical-align: middle; text-decoration-color: var(--line-2); text-underline-offset: .3em; }
@media (max-width: 900px) {
  .cf .rv-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .cf .rv-foot__links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .cf.rv-mark, .cf .lb-nav a, .cf .v3-theme, .cf .lo-btn, .cf .lo-open { transition: none; }
  .cf.rv-index[open] .rv-index__in { animation: none; }
}

/* Echoes of Love in the top bar and the braid glyph in the menu (Christopher, 2026-11-12) */
.cf a.v3-theme { text-decoration: none; }
.cf .g-braid { --m: url(../icons/braid.png); }
