
/* Layout: the family's cinematic design. Full-screen photo hero, huge red KENNY, alternating photo/story blocks, a stark break, case box, corner-bracket tip form. Single dark look by choice. */
:root {
  --bg: #0f110f;
  --bg-deep: #050605;
  --cream: #e8e6df;
  --red: #c82323;
  --muted: #8a8882;
  --rule: rgba(232, 230, 223, 0.14);
  --font-main: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-dense: "Oswald", "Arial Narrow", Impact, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--cream); font-family: var(--font-main); -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden; }
html[data-lang="en"] .es, html[data-lang="es"] .en { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: var(--cream); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.track { text-transform: uppercase; letter-spacing: .25em; }
.track-wide { text-transform: uppercase; letter-spacing: .5em; }
.dense { font-family: var(--font-dense); text-transform: uppercase; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1200px; margin: 0 auto; }

/* Top bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg-deep); }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(5, 6, 5, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-block: 14px; }
.brand { font-family: var(--font-dense); text-transform: uppercase; letter-spacing: .2em; font-size: .85rem; text-decoration: none; margin-right: auto; }
nav.pages { display: flex; flex-wrap: wrap; gap: 4px 20px; }
nav.pages a { text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .25em; padding: 4px 0; border-bottom: 1px solid transparent; }
nav.pages a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--red); }
.lang { display: inline-flex; gap: 2px; }
.lang button { font: inherit; font-size: .7rem; letter-spacing: .2em; border: 1px solid var(--rule); background: transparent; color: var(--muted); padding: 4px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--cream); border-color: var(--red); }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 60px); min-height: calc(100svh - 60px); display: flex; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-color: #1a1d1a; background-image: url("images/kenny.jpg"), radial-gradient(circle at 30% 30%, #2b302b, #0f110f 70%); background-size: cover; background-position: center; filter: brightness(.55) contrast(1.1) sepia(.2) hue-rotate(-10deg); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,17,15,.2), rgba(15,17,15,.4) 60%, var(--bg)); }
.hero-content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding-block: 4vh; gap: 32px; }
.hero-top { display: flex; justify-content: space-between; width: 100%; max-width: 1200px; font-size: .65rem; font-weight: 500; gap: 12px; flex-wrap: wrap; }
.hero-center { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.tagline { font-size: .78rem; font-weight: 500; }
.main-title { font-size: clamp(4rem, 15vw, 11rem); font-weight: 900; line-height: 1; letter-spacing: .3em; margin-right: -.3em; transform: scaleX(1.1); }
.hero-name { font-family: var(--font-dense); font-size: clamp(1rem, 2.4vw, 1.4rem); letter-spacing: .3em; text-transform: uppercase; }
.hero-bottom { font-size: .7rem; font-weight: 500; }

/* Witness call */
.call-section { background: var(--bg-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.call-section .wrap { padding-block: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.call-kicker { font-size: .7rem; color: var(--muted); }
.call-number { font-family: var(--font-dense); font-size: clamp(2.6rem, 9vw, 5.5rem); line-height: 1; letter-spacing: .02em; user-select: all; font-variant-numeric: tabular-nums; }
.call-detail { color: var(--muted); max-width: 34em; font-size: .95rem; }
.ghost-btn { font-family: var(--font-dense); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; background: transparent; color: var(--cream); border: 1px solid var(--cream); padding: .9rem 2.4rem; cursor: pointer; text-decoration: none; display: inline-block; transition: background .3s, color .3s; }
.ghost-btn:hover { background: var(--cream); color: var(--bg); }
.red-btn { border-color: var(--red); color: var(--red); }
.red-btn:hover { background: var(--red); color: var(--bg); }

/* Memory blocks */
.narrative { padding-block: 14vh; display: flex; flex-direction: column; gap: 16vh; }
.memory { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.memory.flip > .memory-img { order: 2; }
.memory > * { min-width: 0; }
.memory-img { aspect-ratio: 4 / 5; max-width: 100%; background-color: #1f231f; background-size: cover; background-position: center; filter: grayscale(20%) sepia(10%) contrast(1.1); display: grid; place-items: center; color: var(--muted); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; }
.memory-text { display: flex; flex-direction: column; gap: 1.4rem; max-width: 500px; }
.kicker { font-size: .65rem; font-weight: 700; color: var(--red); }
.memory-head { font-size: 1.5rem; font-weight: 400; line-height: 1.4; }
.memory-body { font-size: .95rem; color: var(--muted); }

/* Fracture break */
.fracture { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: linear-gradient(to bottom, var(--bg), var(--bg-deep)); padding-block: 12vh; }
.fracture-time { font-family: var(--font-dense); font-size: clamp(1rem, 2.6vw, 1.25rem); color: var(--red); letter-spacing: .1em; text-transform: uppercase; max-width: 40em; }
.fracture h2 { font-size: clamp(1.6rem, 5vw, 2.6rem); margin-top: 1rem; font-weight: 500; }

/* Justice */
.justice { background: var(--bg-deep); padding-block: 10vh 14vh; }
.justice-box { max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--rule); padding-top: 4rem; display: flex; flex-direction: column; gap: 4rem; }
.justice-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.justice-title { font-size: clamp(2rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; }
.justice-sub { font-size: .9rem; color: var(--muted); max-width: 600px; }
.billing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.data { display: flex; flex-direction: column; gap: .25rem; }
.data-label { font-family: var(--font-dense); font-size: .62rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.data-value { font-family: var(--font-dense); font-size: 1rem; letter-spacing: .03em; text-transform: uppercase; }
.dossier { border: 1px solid rgba(232,230,223,.2); padding: 2rem; background: rgba(232,230,223,.02); }
.dossier-row { display: flex; justify-content: space-between; gap: 16px; padding: 1rem 0; border-bottom: 1px solid var(--rule); font-family: var(--font-dense); font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; flex-wrap: wrap; }
.dossier-row:last-child { border-bottom: 0; }
.dossier-row .v { text-align: right; }
.pulse { color: var(--red); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.ask { border-top: 1px solid var(--red); padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.ask p { color: var(--muted); font-size: .92rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.timeline time { font-family: var(--font-dense); color: var(--red); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.timeline span { color: var(--cream); font-size: .95rem; }
.section-label { font-family: var(--font-dense); font-size: 1.4rem; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* Gallery */
.page-hero { padding-block: 12vh 6vh; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.page-title { font-size: clamp(3rem, 11vw, 7rem); font-weight: 900; line-height: 1; letter-spacing: .2em; margin-right: -.2em; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-bottom: 12vh; }
.gallery .tile { aspect-ratio: 1 / 1; background-color: #1f231f; background-size: cover; background-position: center; filter: grayscale(60%) contrast(1.05); transition: filter .5s; display: grid; place-items: center; color: var(--muted); font-size: .65rem; letter-spacing: .2em; }
.gallery .tile:hover { filter: none; }
.gallery .tile.big { grid-column: span 2; grid-row: span 2; }
.mother { max-width: 760px; margin: 0 auto; text-align: center; padding-block: 10vh; display: flex; flex-direction: column; gap: 1.5rem; }
.mother blockquote { margin: 0; font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.5; font-weight: 400; }

/* Instagram */
.ig { display: flex; flex-direction: column; gap: 1.4rem; }
.ig-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ig-head .ghost-btn { margin-left: auto; padding: .7rem 1.4rem; font-size: .78rem; }
.ig-avatar { width: 56px; height: 56px; border-radius: 50%; background-color: #1f231f; background-size: cover; background-position: center; border: 2px solid var(--red); flex: none; }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ig-grid > * { min-width: 0; }
.ig-slot { aspect-ratio: 4 / 5; border: 1px dashed var(--rule); display: grid; place-items: center; color: var(--muted); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 860px) { .ig-grid { grid-template-columns: 1fr; } .ig-head .ghost-btn { margin-left: 0; } }

/* Photo upload */
.upload { max-width: 820px; margin: 0 auto; }
.drop { border: 1px dashed rgba(232,230,223,.35); padding: 2.4rem 1.4rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; }

/* Tip form */
.tip-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; padding-block: 10vh; }
.tip-wrap > * { min-width: 0; }
.panel { border: 1px solid rgba(232,230,223,.2); padding: 3rem; position: relative; display: flex; flex-direction: column; gap: 1.5rem; }
.panel::before, .panel::after { content: ""; position: absolute; width: 10px; height: 10px; }
.panel::before { top: -1px; left: -1px; border-top: 1px solid var(--red); border-left: 1px solid var(--red); }
.panel::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--red); border-right: 1px solid var(--red); }
.form-head { font-family: var(--font-dense); font-size: 1.5rem; letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: 1rem; }
.form-head::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.form-note { font-size: .85rem; color: var(--muted); }
label { display: flex; flex-direction: column; gap: .3rem; font-family: var(--font-dense); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
input, textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(232,230,223,.3); padding: .75rem 0; color: var(--cream); font: inherit; font-family: var(--font-main); font-size: .92rem; text-transform: none; letter-spacing: 0; }
input[type="file"] { border-bottom: 0; font-size: .8rem; color: var(--muted); }
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--red); }
.button { margin-top: .5rem; background: transparent; border: 1px solid var(--red); color: var(--red); padding: 1rem 2rem; font-family: var(--font-dense); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; cursor: pointer; width: 100%; text-decoration: none; display: inline-block; text-align: center; transition: background .3s, color .3s; }
.button:hover { background: var(--red); color: var(--bg); }
.formmsg { border: 1px solid var(--red); padding: 1rem; font-size: .9rem; }

/* Updates feed */
.feed { display: flex; flex-direction: column; gap: 1rem; }
.post { border-left: 1px solid var(--red); padding: .2rem 0 .2rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.post-top { font-family: var(--font-dense); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.post-top strong { color: var(--cream); font-weight: 500; }
.post p { font-size: .95rem; }
.sample { color: var(--red); }
.embed-slot { border: 1px dashed var(--rule); padding: 1.4rem; font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; gap: .4rem; }

/* Share */
.share { padding-block: 14vh; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2rem; border-top: 1px solid var(--rule); }
.share-title { font-size: clamp(2rem, 6.5vw, 4.4rem); font-weight: 900; line-height: 1.05; max-width: 14ch; }
.share-lines { display: flex; flex-direction: column; gap: .5rem; font-family: var(--font-dense); text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1rem, 2.4vw, 1.3rem); }
.share-lines .last { color: var(--red); margin-top: .8rem; }
.caption { max-width: 640px; border: 1px solid rgba(232,230,223,.2); padding: 1.4rem; text-align: left; display: flex; flex-direction: column; gap: .6rem; }
.caption-label { font-family: var(--font-dense); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.caption-text { font-size: .92rem; user-select: all; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.share-row .ghost-btn { padding: .7rem 1.4rem; font-size: .78rem; }
.hint { font-size: .85rem; color: var(--muted); max-width: 40em; }

/* Support */
.support { padding-block: 10vh; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.support .button { width: auto; padding-inline: 3rem; }
.todo { outline: 1px dashed rgba(201,162,39,.7); outline-offset: 4px; }

/* Footer */
footer.site { padding-block: 4rem 5rem; }
.cinematic { text-align: justify; text-align-last: center; font-family: var(--font-dense); font-size: .62rem; line-height: 1.5; color: rgba(138,136,130,.8); max-width: 900px; margin: 0 auto; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 860px) {
  .memory, .tip-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .memory.flip > .memory-img { order: 0; }
  .memory-img { aspect-ratio: 16 / 10; }
  .billing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asks { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .panel { padding: 1.6rem; }
  .hero-top { justify-content: center; }
  .dossier { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

img.photo { object-fit: cover; width: 100%; height: auto; padding: 0; display: block; }
.hero img.photo { aspect-ratio: 4 / 5; }
.gallery img.photo { aspect-ratio: 1 / 1; height: 100%; }
