/* home 2: the previous home hero, restored (23 Nov 2026). Ported from the old live home (A:/Backups/gravenreachmedia-live-
   2026-11-23/out: assets/site.css ".hero", ".wall", ".strip", ".heatlight", ".pill", ".reel", ".wallcap", ".beam" and
   assets/backdrop.js, which drew the same CSS wall in WebGL). The wall is back to the CSS it was first written in: six
   tilted columns (three on phones) under perspective 1400px, rotateX(24deg) rotateZ(-9deg), each column drifting by
   transform only; one piece steps into the light every 2.4 s. Values are the old ones unless a comment says otherwise. */
.hero.oh { --g-deep: #1c0c07; --dimx: #a39d93; position: relative; display: flex; align-items: flex-end; height: 100vh; height: 100svh; min-height: 640px;
  margin-top: calc(-1 * var(--n5h, 0px)); padding: 0 40px 64px; overflow: hidden; isolation: isolate; contain: paint;
  background: radial-gradient(60% 70% at 72% 44%, #5a2310 0%, #2a0f07 55%, #140907 100%); }
.hero.oh .ohw { position: absolute; inset: 0; z-index: -3; perspective: 1400px; overflow: hidden; }
.hero.oh .ohp { position: absolute; left: -18%; top: -30%; width: 136%; height: 160%; display: flex; gap: 18px;
  transform: rotateX(24deg) rotateZ(-9deg); transform-origin: 50% 40%; }
.hero.oh .ohc { flex: 1; min-width: 0; }
.hero.oh .ohs { display: flex; flex-direction: column; gap: 18px; animation: oh-drift var(--dur, 90s) linear infinite; will-change: transform; }
.hero.oh .ohc:nth-child(1) { --dur: 70s; } .hero.oh .ohc:nth-child(2) { --dur: 107s; } .hero.oh .ohc:nth-child(3) { --dur: 94s; }
.hero.oh .ohc:nth-child(4) { --dur: 81s; } .hero.oh .ohc:nth-child(5) { --dur: 118s; } .hero.oh .ohc:nth-child(6) { --dur: 105s; }
.hero.oh .ohc:nth-child(even) .ohs { animation-direction: reverse; }
@keyframes oh-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(-50% - 9px), 0); } }
.hero.oh .ohs a { position: relative; display: block; border-radius: 10px; overflow: hidden; transform-origin: center; background: #241009;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35); transition: transform 1.4s ease; }
/* the lit piece: the old box-shadow change is drawn as a second shadow layer that fades in (opacity, no repaint per frame) */
.hero.oh .ohs a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: opacity 1.4s ease; }
/* speed (gate 23 Nov, frames over 100 ms at rest on HOME 1440): the lit piece only scales and rings; the old deeper shadow was a
   large blurred repaint every 2.4 s, so it goes */
.hero.oh .ohs a.lit, .hero.oh .ohs a:hover { transform: scale(1.06); z-index: 1; }
.hero.oh .ohs a.lit::after, .hero.oh .ohs a:hover::after { opacity: 1; }
.hero.oh .ohs img { display: block; width: 100%; height: auto; }
.hero.oh.off .ohs, .still .hero.oh .ohs { animation-play-state: paused; }
/* the light over the wall: the raking band (old .beam, drawn in the same gradient) and the deep pool under the words (old .heatlight) */
.hero.oh .beam { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, transparent 40%, rgba(8,3,2,.12) 100%),
    linear-gradient(174deg, rgba(8,3,2,.34) 0%, rgba(8,3,2,.2) 34%, rgba(255,196,140,.10) 46%, rgba(255,204,150,.12) 52%, rgba(8,3,2,.2) 64%, rgba(8,3,2,.34) 100%); }
.hero.oh .heatlight { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(58% 62% at 10% 92%, rgba(28,12,7,.86) 0%, rgba(28,12,7,.5) 42%, transparent 72%), linear-gradient(180deg, rgba(0,0,0,.42) 0%, transparent 14%); }
/* the knot: the new page's live knot (a/knot.js) where the old one stood, right of centre, over the wall */
.hero.oh canvas.knot { position: absolute; z-index: -1; top: 4%; left: 38%; width: 62%; height: 86%; display: block; }
.hero.oh .hero-copy { position: relative; max-width: 620px; z-index: 2; }
.hero.oh h1 { font-family: var(--sans); font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin: 18px 0 28px; max-width: 16ch;
  color: var(--ink); text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.hero.oh .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero.oh .cta a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 13px 20px; border-radius: 999px; font: 600 16px/1.2 var(--sans); text-decoration: none;
  background: var(--ink); color: #111; border: 1px solid var(--ink); transition: background .2s, border-color .2s, color .2s; }
.hero.oh .cta a:hover { background: var(--magma); border-color: var(--magma); color: #111; }
.hero.oh .cta a.ghost { background: transparent; color: var(--ink); border-color: rgba(241, 237, 230, .35); }
.hero.oh .cta a.ghost:hover { border-color: var(--ink); background: rgba(241, 237, 230, .08); }
.hero.oh .pill { display: inline-flex; align-items: center; gap: .5em; margin: 0; padding: 10px 18px; border-radius: 999px; text-decoration: none;
  background: rgba(20, 10, 8, .78); border: 1px solid rgba(241, 237, 230, .18); font-size: 17px; color: var(--dimx); }
.hero.oh .pill:hover { border-color: var(--magma); }
.hero.oh .reel { position: relative; display: inline-grid; overflow: hidden; height: 1.5em; line-height: 1.5em; color: var(--ink); font-weight: 600; }
.hero.oh .reel > span { grid-area: 1 / 1; white-space: nowrap; }
.hero.oh .reel > span.in { animation: oh-rin .6s cubic-bezier(.2, .8, .2, 1) both; }
.hero.oh .reel > span.out { animation: oh-rout .6s cubic-bezier(.6, 0, .8, .2) both; }
@keyframes oh-rin { from { transform: translateY(105%); } to { transform: none; } }
@keyframes oh-rout { to { transform: translateY(-105%); } }
.hero.oh .reel.b { color: var(--magma); }
.hero.oh .wallcap { position: absolute; z-index: 3; right: 40px; bottom: 64px; margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(20, 10, 8, .82);
  font: 15px/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--dimx); text-align: right; max-width: 34ch; text-decoration: none; }
.hero.oh .wallcap b { display: block; color: var(--ink); font: 700 18px/1.3 var(--sans); }
.hero.oh .wallcap:empty { display: none; }
@media (max-width: 820px) {
  .hero.oh { padding: 0 20px calc(40px + 64px + env(safe-area-inset-bottom)); }   /* clear of the fixed WhatsApp bar (h1.css .pbar, about 64 px) */
  .hero.oh .heatlight { background: linear-gradient(0deg, rgba(28,12,7,.96) 0%, rgba(28,12,7,.86) 34%, rgba(28,12,7,.55) 52%, transparent 70%); }   /* review: the headline sat on a poster's lettering */
  .hero.oh .ohp { left: -30%; width: 160%; }
  .hero.oh .wallcap { display: none; }
  .hero.oh .pill { font-size: 16px; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; border-radius: 18px; }
  .hero.oh .pill .reel { justify-self: start; }
  .hero.oh canvas.knot { left: 8%; width: 84%; top: 8%; height: 40%; }
  .hero.oh h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .hero.oh .ohs { animation: none; } .hero.oh .ohs a, .hero.oh .ohs a::after { transition: none; } }

/* home 2: the home page's prices section (his word of 14:09): the starting prices from /prices/, in the visitor's currency,
   each over a piece of our work that drifts slowly (transform only; paused off screen by the browser's own layer culling). */
.hp .head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hp-cur { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20, 10, 8, .55); border: 1px solid rgba(241, 237, 230, .16); }
.hp-cur button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; }
.hp-cur button[aria-pressed="true"] { background: var(--ink); color: #111; }
.hp-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 34px; }
.hp-t { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 18px; border-radius: 18px; overflow: hidden; isolation: isolate;
  color: var(--ink); text-decoration: none; border: 1px solid rgba(241, 237, 230, .14); background: #2a110a; transition: border-color .25s, transform .4s var(--settle, ease); }
.hp-t:hover { border-color: var(--magma); transform: translateY(-4px); }
.hp-img { position: absolute; inset: -6%; z-index: -2; }
.hp-img img { width: 100%; height: 100%; object-fit: cover; animation: hp-pan 16s ease-in-out infinite alternate; will-change: transform; }
.hp-t:nth-child(2) .hp-img img { animation-duration: 19s; animation-delay: -4s; } .hp-t:nth-child(3) .hp-img img { animation-duration: 17s; animation-delay: -8s; }
.hp-t:nth-child(4) .hp-img img { animation-duration: 21s; animation-delay: -2s; } .hp-t:nth-child(5) .hp-img img { animation-duration: 18s; animation-delay: -11s; }
@keyframes hp-pan { from { transform: scale(1.04) translate3d(-2%, 1%, 0); } to { transform: scale(1.14) translate3d(2%, -2%, 0); } }
.hp-t::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 9, 6, .1) 0%, rgba(20, 9, 6, .55) 45%, rgba(20, 9, 6, .94) 100%); }
.hp-n { font: 600 16px/1.3 var(--sans); color: var(--soft, #ddd6cc); }
.hp-p { margin-top: 4px; font: 600 clamp(30px, 2.6vw, 40px)/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.hp-per { margin-top: 8px; font-size: 13px; color: var(--dim); }
.hp-go { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 1100px) { .hp-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .hp-row { grid-template-columns: 1fr 1fr; gap: 10px; } .hp-t { min-height: 210px; padding: 14px; } .hp-t:last-child { grid-column: 1 / -1; min-height: 170px; } .hp-p { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .hp-img img { animation: none; } }
