/* everything.html: the whole shop on one plain page (PLAN-alex-feedback.md 2.4). A SHOW page: no motion at all.
   LIGHT since the redesign (Chat 6): the shop's tokens, copied from styles.css (that file brings the stage, so it is not
   loaded here). Roles: ground 60 = limewash plaster / structure 30 = espresso ink + hairlines / action 10 = brass (the
   button) + deep brass text links and focus rings. Back = the plaster wall + a coffee-ring stain; middle = the words;
   front = the Florence polaroid, the one lifted thing; the ring stain breaks the intro's bottom edge. */

:root {
  color-scheme: light;
  --ground: #F1E9DC;
  --surface: #FBF6EC;
  --ink: #2A2520;
  --ink-soft: #66574A;
  --line: rgb(42 37 32 / 0.16);
  --action: #7A5716;
  --action-hover: #5E420E;
  --brass: linear-gradient(#f0dcaa, #d4b067 38%, #b48d46 62%, #dcbd7a);
  --brass-mid: #c9a45c;
  --brass-ink: #2b2110;
  --font-display: "Schibsted Grotesk", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif; /* Ethan 2026-11-26: the serif looked AI; his ref = Squarespace cards */
  --font-body: "Schibsted Grotesk", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace; /* thermal print only: the receipt's facts, ticket dates */
  --step-2: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
/* the shop's wall: plaster (CC0) multiplied into the warm ground, lit from the left like the rooms */
body {
  margin: 0; color: var(--ink); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased;
  background-color: var(--ground);
  background-image: linear-gradient(100deg, #fff4dc80, transparent 45%, #6b4a2a14), linear-gradient(#f1e9dc8c 0 0), url("assets/tex/plaster.jpg");
  background-size: auto, auto, 512px;
  background-blend-mode: normal, normal, multiply;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
cite { font-style: normal; }

.ev-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: 64rem; margin: 0 auto; padding: 0.75rem var(--gutter); }
.ev-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.ev-walk { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; }
.ev-note { max-width: 64rem; margin: 2rem auto; padding: 0 var(--gutter); }

main { max-width: 64rem; margin: 0 auto; padding: 0 var(--gutter) 3rem; overflow-x: clip; } /* clip: the ring stain hangs past the right edge (a phone scrolled 16 px sideways) */
section + section { margin-top: 4rem; }
h2 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; padding-top: 1.25rem; border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
h3 { font-family: var(--font-display); font-size: 1.625rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.ev-tag { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.ev-chips li { padding: 0.15rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; color: var(--ink-soft); }
.ev-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.25rem; }

/* ---- intro: polaroid + bio + the receipt's facts + the one action ---- */
.ev-intro { position: relative; display: grid; gap: 2rem; padding: 2rem 0 0; }
/* the street's motto + who he is (GATE Mirror test, everything.mjs EV12): first, across the whole intro */
.ev-intro .street-words { grid-column: 1 / -1; }
.ev-intro .motto { font: 600 clamp(1.6rem, 6vw, 2.6rem)/1.08 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.ev-intro .motto em { font-style: normal; }
.ev-intro::before { /* the coffee-ring stain behind it all, crossing the line under the intro */
  content: ""; position: absolute; z-index: -1; right: -2rem; bottom: -9rem; width: min(26rem, 80vw); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, transparent 58%, #6b4a2a14 60%, #6b4a2a26 63%, #6b4a2a0d 66%, transparent 68%);
}
.ev-photos { position: relative; width: min(17rem, 80%); margin-bottom: 0.75rem; }
.ev-photos img { padding: 0.6rem 0.6rem 2.2rem; background: var(--surface); rotate: -3deg; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 1px 2px #4a300c40, 0 0 0 1px #4a300c14; } /* lies flat: only the button lifts (GATE, everything.mjs EV11) */
.ev-photos img.two { position: absolute; width: 55%; right: -30%; bottom: -1rem; rotate: 5deg; box-shadow: none; }
/* phones: a small polaroid on the right, the bio wraps round it, so the button is on the first screen */
@media (max-width: 759px) {
  .ev-intro { display: block; padding-top: 1rem; }
  .ev-intro .street-words { margin-bottom: 1.25rem; }
  .ev-intro::after { content: ""; display: table; clear: both; }
  .ev-photos { float: right; width: 9.5rem; margin: 0.5rem 0 1rem 1.25rem; }
  .ev-photos img { padding: 0.35rem 0.35rem 1.4rem; }
  .ev-photos img.two { position: static; width: 80%; margin: -0.5rem 0 0 auto; }
}
.ev-bio h2 { border: 0; padding: 0; margin-bottom: 0.75rem; font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); }
.ev-bio p { max-width: 38rem; margin-bottom: 0.9rem; font-size: 1.0625rem; color: var(--ink); }
.ev-facts { margin: 1rem 0 1.25rem; font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.8; color: var(--ink-soft); }
.ev-act { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.ev-act .links { display: flex; }
.ev-mail { flex-basis: 100%; font-size: 0.9375rem; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.ev-act .links a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.ev-act .links a:hover { color: var(--action); }
.ev-act .links svg { width: 22px; height: 22px; }
/* the shop's brushed brass button (styles.css .button), standing still */
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 0;
  background: repeating-linear-gradient(0deg, #ffffff14 0 1px, transparent 1px 3px), var(--brass);
  background-color: var(--brass-mid);
  box-shadow: inset 0 1px 0 #fff6dccc, inset 0 -1px 0 #6e501e99, 0 1px 0 #6e501e;
  color: var(--brass-ink); font-weight: 600; text-decoration: none;
}
.button:hover { color: var(--brass-ink); filter: brightness(1.08) saturate(1.05); }
/* no phone shop yet (index.html sends phones here), so no way "back" into it */
.ev-shop-note { display: none; margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 600px) { .ev-walk { display: none; } .ev-shop-note { display: block; } }
@media (min-width: 760px) {
  .ev-intro { grid-template-columns: 17rem 1fr; align-items: start; gap: 3rem; padding-top: 3rem; }
  .ev-photos { width: 100%; margin-bottom: 0; }
}

/* ---- My Builds ---- */
.ev-builds { display: grid; gap: 2.5rem 2rem; }
.ev-build h3 { margin: 0.1rem 0 0.4rem; }
.ev-shot { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 0.9rem; }
.ev-roasting { padding: 1.25rem; border: 1px dashed var(--line); border-radius: 10px; align-self: start; }
@media (min-width: 760px) { .ev-builds { grid-template-columns: 1fr 1fr; } }

/* ---- Experience ---- */
.ev-job { display: grid; gap: 0.75rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.ev-job:first-child { padding-top: 0; }
.ev-role, .ev-dates { font-size: 0.9375rem; color: var(--ink-soft); }
.ev-dates { font-family: var(--font-mono); font-size: 0.8125rem; margin-top: 0.2rem; }
.ev-items { display: grid; gap: 0.5rem; }
.ev-items li { position: relative; padding-left: 1.1em; }
.ev-items li::before { content: "•"; position: absolute; left: 0; color: var(--ink-soft); }
.ev-items b { font-weight: 600; }
.ev-stub { font-size: 0.9375rem; color: var(--ink-soft); }
.ev-stub span { font-family: var(--font-mono); font-size: 0.8125rem; margin-right: 0.4rem; color: var(--ink); }
.ev-hand { width: min(14rem, 70%); padding: 0.4rem; background: var(--surface); border-radius: 4px; }
@media (min-width: 760px) { .ev-job { grid-template-columns: 17rem 1fr; } .ev-job > :not(.ev-job-head) { grid-column: 2; } }

/* ---- About me ---- */
.ev-cards { display: grid; gap: 2.5rem 2rem; }
.ev-card h3 { margin: 0.1rem 0 0.5rem; }
.ev-photo { margin-top: 1rem; border-radius: 10px; max-height: 26rem; width: auto; }
.ev-holo { max-height: 22rem; }
.ev-fig figcaption { margin-top: 0.4rem; font-size: 0.875rem; color: var(--ink-soft); }
.ev-lattes { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1rem; }
.ev-lattes li { display: grid; justify-items: center; gap: 0.3rem; width: 5rem; }
.ev-lattes img { width: 4.5rem; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--surface); object-fit: cover; }
.ev-lattes span { font-size: 0.8125rem; color: var(--ink-soft); white-space: nowrap; }
@media (min-width: 760px) { .ev-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .ev-cards { gap: 1.5rem; }
  .ev-photo { max-height: 10rem; max-width: 100%; width: auto; object-fit: contain; margin-top: 0.5rem; }
  .ev-lattes { display: grid; grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr)); gap: 0.5rem; margin-top: 0.5rem; }
  .ev-lattes li { width: auto; }
  .ev-lattes img { width: 3.5rem; }
}

/* ---- books ---- */
.ev-shelf { display: grid; gap: 1rem; }
.ev-shelf li { display: flex; gap: 1rem; align-items: center; }
.ev-shelf cite { display: block; font-family: var(--font-display); font-size: 1.125rem; }
.ev-by { display: block; font-size: 0.9375rem; color: var(--ink-soft); }
.ev-now { display: inline-block; margin-top: 0.2rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink-soft); }
.ev-cover { width: 3.5rem; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; }
.ev-cover.big { width: 9rem; }
.ev-wrote { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ev-wrote > div { flex: 1 1 16rem; }
.ev-wrote h3 { margin: 0.1rem 0 0.4rem; }
@media (min-width: 760px) { .ev-shelf { grid-template-columns: 1fr 1fr; } }

/* ---- the end ---- */
.ev-end { max-width: 64rem; margin: 0 auto; padding: 2rem var(--gutter) 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }

/* ---- crema.html: the Crema case study (2026-12-02, verify/case.mjs). Same wall, ink and brass as above.
   Back = the plaster + a coffee-ring stain crossing the hero's bottom line (the edge-break); middle = the words;
   front = the demo film, the one lifted thing. The brass button = this page's one action (Open Crema). ---- */
.cs { max-width: 46rem; }
.cs-hero { position: relative; padding: 1.5rem 0 0.5rem; }
.cs-hero::before { content: ""; position: absolute; z-index: -1; right: -6rem; bottom: -8rem; width: min(24rem, 80vw); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, transparent 58%, #6b4a2a14 60%, #6b4a2a26 63%, #6b4a2a0d 66%, transparent 68%); }
.cs-hero h1 { margin: 0.1rem 0 0.4rem; font: 600 clamp(2.5rem, 1.8rem + 3.5vw, 4rem)/1.02 var(--font-display); letter-spacing: -0.035em; }
.cs-lede { max-width: 34rem; font-size: 1.1875rem; line-height: 1.5; }
.cs-film { margin: 1.5rem 0 0; }
.cs-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #1b1511;
  box-shadow: 0 1px 0 #4a300c26, 0 18px 40px -12px #3a24104d, 0 0 0 1px #4a300c1f; }
.cs-list .cs-list { margin-top: 0.5rem; gap: 0.3rem; font-size: 1rem; color: var(--ink-soft); }
.cs-act { margin-top: 1.25rem; }
.cs section { margin-top: 3rem; }
.cs section p, .cs-list { font-size: 1.0625rem; }
.cs-list { display: grid; gap: 0.75rem; }
.cs-list li { position: relative; padding-left: 1.1em; }
.cs-list li::before { content: "•"; position: absolute; left: 0; color: var(--ink-soft); }
.cs-pull { font: 500 clamp(1.35rem, 1.1rem + 1vw, 1.75rem)/1.3 var(--font-display); letter-spacing: -0.02em; text-wrap: pretty; }
/* laptops: the film runs 6rem past the words each side, so main stops clipping (a 1000px+ window has 8rem+ to spare
   round the 46rem column, the ring stain included); phones keep the clip (case.mjs C9 + C10) */
@media (min-width: 1000px) { .cs { overflow-x: visible; } .cs-film { margin-inline: -6rem; } }
