/* Safelight product page. Loads after sl.css (tokens, header, footer). Generated page: site-src/safelight/landing.py.
   The lab after closing: ink for the room, paper for prints and slips, bone for text, and one light, the safelight
   orange, for live things only (the lamp, the counter digits, the cord, the kicker dots). Headings use the app's own
   faces (IBM Plex Sans Thai Looped, IBM Plex Mono; OFL, fonts/). Every photograph is a real Safelight print.
   Without script everything shows, lit; sl.js adds html.motion when motion is allowed. */
@font-face { font-family: "SL Sans"; src: url(fonts/plex-thai-looped.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "SL Mono"; src: url(fonts/plex-mono.woff2) format("woff2"); font-display: swap; }
.home {
  --band-mali: #E2B34E; --band-hongthaeo: #6E9A86; --band-nafon: #8C9AA8; --band-ratri: #8F72E6;
  --band-nin: #D9D3C7; --band-thale: #5DBBD8; --band-nomyen: #F2B9C8;
  --red-room: #170504; --red-glow: rgba(214, 36, 14, .55);
  --display: "SL Sans", -apple-system, BlinkMacSystemFont, "Sukhumvit Set", "Thonburi", sans-serif;
  --mono: "SL Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --shadow-print: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)) drop-shadow(0 4px 6px rgba(0, 0, 0, .35));
}
.home body { overflow-x: clip; }
.lw { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
[data-store="soon"] .store-live, [data-store="live"] .store-soon { display: none !important; }
.home .nav { background: rgba(12, 11, 10, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.home .nav .wrap { max-width: 1180px; padding: 0 28px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section[id] { scroll-margin-top: 72px; }

/* Type */
.nw { display: inline-block; white-space: nowrap; }
.home h1, .home h2, .film h3, .any-card h3, .slip h3, .trio-h {
  font-family: var(--display); font-weight: 400; -webkit-text-stroke: .012em currentColor; paint-order: stroke fill; }
.home h2 { margin: 0 0 20px; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
html[lang="th"].home h2 { line-height: 1.3; letter-spacing: 0; font-size: clamp(34px, 4.6vw, 60px); }
.home h2.h-mid { font-size: clamp(26px, 3.2vw, 40px); }
.home h3 { margin: 0; font-weight: 650; }
.copy p, .price-p, .strip-head p { font-size: clamp(17px, 1.5vw, 20px); color: var(--bone-dim); max-width: 31em; margin: 0; text-wrap: pretty; }
.copy-wide p { max-width: 42em; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
html[lang="th"] .kicker { letter-spacing: .06em; font-family: var(--mono), var(--display); }
.k-n { color: var(--bone-faint); margin-right: 4px; }
.k-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--light); box-shadow: 0 0 10px 2px rgba(255, 91, 46, .7); flex: none; }
.fine-note { margin: 18px 0 0; font-size: 13px; color: var(--bone-faint); max-width: 62em; }

/* Store */
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 34px; }
.store-center { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; }
.pill-soon { border: 1px solid #3a342e; background: rgba(23, 21, 19, .8); color: var(--bone); }
.pill-live { background: var(--bone); color: var(--ink0); }
.pill-live:hover { background: #fff; color: #000; }
.lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--light); box-shadow: 0 0 10px 2px rgba(255, 91, 46, .75); }
.store-note { font-size: 14px; color: var(--bone-faint); }
/* Apple's badge, unaltered: at least 40 px tall, clear space of a quarter of its height around it */
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; margin: 13px 13px 13px 0; transition: transform .15s ease, filter .15s ease; }
.store-center .store-badge { margin-left: 13px; }
.store-badge img { display: block; height: 54px; width: auto; }
.store-badge:hover { transform: translateY(-1px); filter: brightness(1.12); }
.store-badge:active { transform: translateY(0); filter: brightness(.95); }
.store { gap: 0 6px; }
/* the sticky header's download badge: visible at every scroll position */
.nav-get { display: inline-block; line-height: 0; border-radius: 7px; margin-left: auto; transition: filter .15s ease; }
.nav-get img { display: block; height: 40px; width: auto; }
.nav-get:hover { filter: brightness(1.12); }
.home .nav .menu { margin-left: 0; }
.home .nav .wrap { gap: 12px 20px; }

/* The phone (captures already hold the status bar and the island) */
.phone { position: relative; width: 100%; padding: 3.1%; border-radius: 15.5% / 7.2%; background: linear-gradient(150deg, #3a3631, #121110 40%, #0b0a09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 1px #2c2824, 0 44px 70px rgba(0, 0, 0, .55), 0 10px 18px rgba(0, 0, 0, .35); }
.phone-scr { border-radius: 12.6% / 5.8%; overflow: hidden; background: #000; }
.phone-scr img { display: block; width: 100%; height: auto; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.lamp-glow { position: absolute; inset: -30% -10% auto; height: 130%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 44% at 70% 0%, rgba(255, 64, 30, .36), rgba(160, 24, 8, .12) 55%, transparent 76%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.home h1 { margin: 0; font-size: clamp(46px, 6.4vw, 92px); line-height: 1.0; letter-spacing: -.035em; text-wrap: balance; }
html[lang="th"] .home h1 { font-size: clamp(40px, 4.9vw, 70px); line-height: 1.24; letter-spacing: 0; }
.hero .lead { font-size: clamp(18px, 1.8vw, 22px); margin: 26px 0 0; color: var(--bone-dim); max-width: 26em; }
.hero-stage { position: relative; aspect-ratio: 1 / 1.02; }
.hero-stage::before { content: ""; position: absolute; inset: -10% -14% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(196, 38, 16, .4), rgba(120, 18, 6, .14) 55%, transparent); }
.hs-can { position: absolute; height: auto; filter: var(--shadow-print); }
.hs-print, .trio-p img { --rb: 1; --rc: 1; }
.hs-print { position: absolute; height: auto; filter: brightness(var(--rb, 1)) contrast(var(--rc, 1)) var(--shadow-print); }
.hs-back { width: 64%; left: -2%; top: 9%; rotate: -7deg; }
.hs-phone { position: absolute; width: 41%; left: 36%; top: 1%; rotate: 2.5deg; }
.hs-front { width: 35%; right: -3%; bottom: -3%; rotate: 6deg; }
.hs-can { width: 19%; left: 9%; bottom: 7%; rotate: -18deg; }

/* The strip of real prints */
.strip { padding: clamp(30px, 4vw, 50px) 0 clamp(70px, 8vw, 110px); border-top: 1px solid var(--ink2);
  background: linear-gradient(180deg, #11100e, var(--ink0)); }
.strip-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.strip-head h2 { margin-bottom: 10px; }
.strip-view { overflow-x: auto; scrollbar-width: none; padding: 26px 0 34px; }
.strip-view::-webkit-scrollbar { display: none; }
.strip-track { display: flex; width: max-content; }
.strip-list { list-style: none; margin: 0; display: flex; align-items: flex-end; gap: clamp(22px, 3vw, 40px); padding: 0 0 0 clamp(22px, 3vw, 40px); }
.strip-dup { display: none; }
.sp { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sp-img { height: clamp(190px, 23vw, 300px); width: auto; filter: var(--shadow-print); rotate: -2deg; }
.sp:nth-child(3n+2) .sp-img { rotate: 1.6deg; }
.sp:nth-child(3n) .sp-img { rotate: -.6deg; }
.sp-cap { font: 12px/1 var(--mono); letter-spacing: .06em; color: var(--bone-dim); white-space: nowrap; }
html[lang="th"] .sp-cap { font-family: var(--display); font-size: 13px; letter-spacing: 0; }
.motion .strip-view { overflow: hidden; }
.motion .strip-dup { display: flex; }
.motion .strip-track { animation: strip 80s linear infinite; }
.motion .strip-view:hover .strip-track, .motion .strip-view:focus-within .strip-track, .motion .strip-view.paused .strip-track { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(-50%); } }

/* Chapters */
.chapter { position: relative; padding: clamp(90px, 11vw, 160px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-rev .copy { order: 2; }

/* 01 · Shoot a roll */
.roll { border-top: 1px solid var(--ink2); }
.specs { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; max-width: 34em; }
.specs li { border-top: 1px solid var(--ink2); padding-top: 14px; }
.specs h3 { font-size: 16px; }
.specs p { margin: 4px 0 0; font-size: 15px; color: var(--bone-faint); line-height: 1.5; }
.counter-card { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: clamp(28px, 4vw, 48px); border-radius: 30px; overflow: hidden;
  background: radial-gradient(90% 70% at 30% 0%, #221e1a, #0f0e0c 70%); border: 1px solid var(--ink2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 40px 80px rgba(0, 0, 0, .45); }
.counter-read { padding: clamp(20px, 3vw, 34px) clamp(22px, 3vw, 36px); border-radius: 18px; background: #070605; box-shadow: inset 0 3px 14px rgba(0, 0, 0, .9); width: fit-content; }
.seg polygon { fill: var(--light); opacity: .07; }
.seg polygon.on { opacity: 1; }
.seg .on { filter: drop-shadow(0 0 4px rgba(255, 91, 46, .85)); }
.counter-digits { display: block; height: clamp(110px, 14vw, 180px); width: auto; }
.counter-sub { display: flex; gap: 14px; margin: 18px 0 0; font: 14px/1.2 var(--mono); color: var(--bone-faint); letter-spacing: .06em; }
html[lang="th"] .counter-sub { font-family: var(--display); letter-spacing: 0; }
.counter-box { flex: 0 1 26%; min-width: 90px; height: auto; margin-bottom: -8px; rotate: 8deg; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .6)); }

/* Films */
.films-ch { padding-top: 0; }
.trio { margin: clamp(46px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.trio-h { font-size: clamp(20px, 2vw, 26px); margin: 0 0 28px !important; color: var(--bone); }
/* the three prints run off the bottom edge of the band (their files are cut above a brand sign) */
.trio-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 44px); align-items: end; overflow: hidden;
  padding: 26px clamp(8px, 1.5vw, 20px) 0; margin: 0 calc(-1 * clamp(8px, 1.5vw, 20px)); border-bottom: 1px solid var(--ink2);
  background: radial-gradient(70% 90% at 50% 100%, rgba(255, 236, 210, .05), transparent 70%); }
.trio-p { margin: 0; text-align: center; }
.trio-p img { display: block; width: 100%; height: auto; margin-bottom: -7%; filter: brightness(var(--rb, 1)) contrast(var(--rc, 1)) var(--shadow-print); rotate: -1.5deg; }
.trio-p:nth-child(2) img { rotate: 1deg; }
.trio-p:nth-child(3) img { rotate: -.4deg; }
.trio-p figcaption { margin-bottom: 18px; font: 13px/1.3 var(--mono); color: var(--bone-dim); letter-spacing: .04em; }
html[lang="th"] .trio-p figcaption { font-family: var(--display); font-size: 15px; letter-spacing: 0; }
.films { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.film { position: relative; padding: 22px 22px 24px; border-radius: 20px; background: linear-gradient(180deg, #1a1815, #121110); border: 1px solid var(--ink2); overflow: hidden; }
.film::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--band); opacity: .9; }
.film-art { position: relative; height: 150px; margin-bottom: 18px; }
.film-art::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--band) 30%, transparent), transparent); z-index: 0; }
.film-box { position: absolute; height: 100%; width: auto; left: 4px; bottom: 0; z-index: 1; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .6)); }
.film-can { position: absolute; height: 52%; width: auto; left: 52%; bottom: -2px; z-index: 2; rotate: -10deg; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .6)); }
.film h3 { font-size: 24px; line-height: 1.2; }
.film .tag { margin: 6px 0 0; font-size: 15px; color: var(--band); font-weight: 600; }
.film .use { margin: 8px 0 0; font-size: 14px; color: var(--bone-faint); line-height: 1.5; }

/* 02 · The darkroom */
.darkroom { background: #1b1916; transition: background-color .7s ease; overflow: hidden; isolation: isolate; }
.darkroom[data-lights="off"] { background: var(--red-room); }
.darkroom-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; transition: opacity .7s ease;
  background: radial-gradient(50% 60% at 50% -6%, var(--red-glow), transparent 72%), radial-gradient(80% 60% at 50% 110%, rgba(90, 10, 4, .5), transparent 70%); }
.darkroom[data-lights="off"] .darkroom-glow { opacity: 1; }
.darkroom .copy p { color: var(--bone-dim); transition: color .7s ease; }
.darkroom[data-lights="off"] .copy p { color: #d9b1a4; }
.darkroom[data-lights="off"] .kicker { color: #d9a090; }
.tray { position: relative; padding: clamp(26px, 4vw, 52px) clamp(26px, 4vw, 52px) clamp(40px, 6vw, 70px); border-radius: 26px;
  background: linear-gradient(180deg, #2a2723, #1d1b18); transition: background .7s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 18px 40px rgba(0, 0, 0, .55), 0 50px 90px rgba(0, 0, 0, .45); }
.darkroom[data-lights="off"] .tray { background: linear-gradient(180deg, #2a0a06, #1a0604); box-shadow: inset 0 0 0 1px rgba(255, 90, 60, .12), inset 0 18px 40px rgba(0, 0, 0, .7), 0 50px 90px rgba(0, 0, 0, .5); }
.tray-stage { position: relative; width: min(100%, 470px); margin: 0 auto; }
.tray-print { --g: 0; --b: 1; --c: 1; --red: 0; position: relative; width: 76%; rotate: -2deg; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)); }
.tray-photo { display: block; width: 100%; height: auto; filter: grayscale(var(--g, 0)) brightness(var(--b, 1)) contrast(var(--c, 1)); }
/* the safelight: a deep red multiplied over the print, cut to the print's own shape */
.tray-print::after { content: ""; position: absolute; inset: 0; background: #c8200a; mix-blend-mode: multiply; opacity: var(--red, 0); pointer-events: none;
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.tray-phone { position: absolute; margin: 0; width: 38%; right: -2%; bottom: -10%; rotate: 5deg; }
.cord-row { display: none; align-items: flex-start; gap: 22px; margin-top: 38px; }
.js .cord-row { display: flex; }
.cord { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 6px 6px; border: 0; background: none; color: var(--bone); font: inherit; cursor: grab; touch-action: none; min-width: 88px; }
.cord:active { cursor: grabbing; }
.cord-line { width: 2px; height: 96px; background: linear-gradient(#5a2a20, #c9b8a8); transform-origin: top; transform: scaleY(var(--stretch, 1)); }
.cord-bead { width: 24px; height: 40px; border-radius: 12px; background: linear-gradient(160deg, #f4eee1, #bfb6a6); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); transform: translateY(var(--pull, 0px)); }
.cord-text { margin-top: 12px; font-weight: 650; font-size: 17px; transform: translateY(var(--pull, 0px)); }
.darkroom[data-lights="off"] .cord-bead { box-shadow: 0 0 0 2px rgba(255, 91, 46, .35), 0 0 18px rgba(255, 60, 30, .45); }
.cord-side { padding-top: 100px; }
.cord-hint { margin: 0 0 10px !important; font-size: 14px !important; color: var(--bone-faint) !important; }
.darkroom[data-lights="off"] .cord-hint { color: #b98d80 !important; }
.sound { border: 1px solid rgba(239, 233, 221, .22); background: transparent; color: var(--bone-dim); border-radius: 999px; padding: 8px 14px; font: 500 13px var(--font); cursor: pointer; min-height: 40px; }
.sound[aria-pressed="true"] { color: var(--bone); border-color: var(--light); }

/* 03 · Prints */
.stamp-card { display: flex; align-items: center; gap: clamp(20px, 3vw, 34px); padding: clamp(24px, 3vw, 34px); border-radius: 26px; background: var(--ink1); border: 1px solid var(--ink2); }
.loupe { flex: none; width: clamp(120px, 13vw, 170px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 7px #1f1c19, 0 0 0 8px #4a423a, 0 24px 40px rgba(0, 0, 0, .55); }
.loupe img { display: block; width: 100%; height: 100%; object-fit: cover; scale: 1.06; }
.stamp-card h3 { font-size: 20px; }
.stamp-card p { margin: 8px 0 0; color: var(--bone-dim); font-size: 16px; }
.paper-row-wrap { margin-top: clamp(50px, 6vw, 84px); }
.paper-row { list-style: none; margin: 0; display: flex; gap: clamp(18px, 2.4vw, 34px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px max(28px, calc((100vw - 1180px) / 2 + 28px)) 30px; scroll-padding-inline: max(28px, calc((100vw - 1180px) / 2 + 28px)); scrollbar-width: thin; scrollbar-color: var(--ink2) transparent; }
.paper-row:focus-visible { outline-offset: -4px; }
.paper { flex: 0 0 clamp(200px, 21vw, 260px); scroll-snap-align: start; }
.paper img { width: 100%; height: auto; display: block; filter: var(--shadow-print); rotate: var(--r, -1deg); transition: rotate .4s ease, translate .4s ease; }
.paper:nth-child(3n+2) img { --r: 1.2deg; }
.paper:nth-child(3n) img { --r: -.4deg; }
.paper:hover img { rotate: 0deg; translate: 0 -6px; }
.paper-edge img { margin-top: 7%; width: 86%; margin-inline: auto; }
.paper h3 { margin-top: 22px; font-size: 17px; }
.paper p { margin: 4px 0 0; font-size: 14px; color: var(--bone-faint); line-height: 1.5; }
.row-hint { margin: 0 auto; font-size: 13px; color: var(--bone-faint); }

/* 04 · The table */
.table { padding-bottom: clamp(70px, 9vw, 130px); }
.counter-top { position: relative; margin: clamp(44px, 5vw, 70px) 0 clamp(60px, 7vw, 100px); aspect-ratio: 16 / 7.4; max-height: 760px; width: 100%; overflow: hidden;
  background: #232120 url(img/counter.webp) center / cover; box-shadow: inset 0 0 160px 40px rgba(0, 0, 0, .75); }
.counter-top::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 18%, rgba(255, 236, 210, .16), transparent 70%); pointer-events: none; }
.counter-top img { position: absolute; height: auto; filter: var(--shadow-print); }
.t-env { width: 21%; left: 7%; top: 16%; rotate: -7deg; }
.t-can { width: 9%; left: 27%; top: 58%; rotate: 18deg; }
.t-print { width: 17%; }
.t1 { left: 40%; top: 10%; rotate: 9deg; }
.t2 { left: 57%; top: 22%; rotate: -6deg; width: 15%; }
.t3 { left: 70%; top: 50%; rotate: 4deg; width: 22%; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: clamp(30px, 7vw, 110px); }
.phone-fig { margin: 0; text-align: center; }
.phone-fig figcaption { margin-top: 20px; font-size: 15px; color: var(--bone-dim); }

/* Every language, iPhone Duo */
.any { border-top: 1px solid var(--ink2); }
.any-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 26px; }
.any-card { padding: clamp(26px, 3.4vw, 40px); border-radius: 26px; background: linear-gradient(180deg, #191714, #121110); border: 1px solid var(--ink2); }
.any-card h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 18px 0 0; }
.any-card p { margin: 10px 0 0; color: var(--bone-dim); max-width: 30em; }
.lang-digits { height: 64px; width: auto; display: block; }
.langs-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.langs-list li { font-size: 14px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--ink2); color: var(--bone-dim); background: rgba(255, 255, 255, .015); }
.any-grid { grid-template-columns: 1fr; }
.any-duo { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.duo-fig { margin: 0; }
.duo-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 44px rgba(0, 0, 0, .55)) drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.duo-fig figcaption { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--bone-faint); max-width: 40em; }
.any-duo h3 { margin-top: 0; }
@media (max-width: 820px) { .any-duo { grid-template-columns: 1fr; } .any-duo h3 { margin-top: 6px; } }

/* Price: order slips */
.price { background: linear-gradient(180deg, transparent, #14120f 26%, #14120f); border-top: 1px solid var(--ink2); }
.slips { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.slip { position: relative; padding: 18px 22px 26px; border-radius: 6px; background: var(--paper); color: var(--paper-ink); rotate: -.8deg;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .55), transparent 36%), repeating-linear-gradient(0deg, transparent 0 27px, rgba(42, 38, 34, .06) 27px 28px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, .45), 0 2px 0 rgba(0, 0, 0, .2); }
.slip:nth-child(2) { rotate: .9deg; margin-top: 14px; }
.slip:nth-child(3) { rotate: -.3deg; }
.slip:nth-child(4) { rotate: 1.2deg; margin-top: 10px; }
.slip-head { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1.5px dashed rgba(42, 38, 34, .25);
  font: 11px/1.3 var(--mono); letter-spacing: .05em; color: var(--paper-ink-dim); }
html[lang="th"] .slip-head { font-family: var(--mono), var(--display); }
.slip h3 { font-size: 23px; line-height: 1.25; color: var(--paper-ink); }
.slip-kind { margin: 8px 0 0; font: 13px/1.4 var(--mono); color: #a3341a; letter-spacing: .02em; }
html[lang="th"] .slip-kind { font-family: var(--display); font-size: 15px; }
.slip-txt { margin: 12px 0 0; color: var(--paper-ink-dim); font-size: 15px; line-height: 1.6; }

/* Privacy band */
.privacy-band { padding: clamp(90px, 11vw, 150px) 0; text-align: center; background: radial-gradient(60% 80% at 50% 50%, rgba(255, 91, 46, .08), transparent 70%); }
.pv h2 { margin-bottom: 16px; }
.pv p { max-width: 34em; margin: 0 auto 10px; color: var(--bone-dim); font-size: clamp(17px, 1.6vw, 20px); }

/* End */
.end { position: relative; padding: 40px 0 clamp(90px, 11vw, 130px); text-align: center; overflow: hidden; isolation: isolate; }
.lamp-end { inset: auto -10% -40%; height: 120%; background: radial-gradient(40% 46% at 50% 100%, rgba(255, 64, 30, .22), transparent 72%); }
.end-icon { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 0 60px rgba(255, 80, 40, .25), 0 20px 40px rgba(0, 0, 0, .5); }
.end h2 { margin-top: 30px; }
.end p { color: var(--bone-dim); }
.end-links { margin-top: 26px !important; font-size: 15px; }
.end .fine-note { margin: 34px auto 0; }

.lamp { animation: lamp 3.6s ease-in-out infinite; }
@keyframes lamp { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* Japanese, Korean and Chinese pages: the app's display face has no CJK letters, so headings use the system's own
   face for each language, at a weight that holds up; no stroke, no tracking. */
.home:lang(ja) { --cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic"; }
.home:lang(ko) { --cjk: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic"; }
.home:lang(zh-Hans) { --cjk: "PingFang SC", "Noto Sans SC", "Microsoft YaHei"; }
.home:lang(zh-Hant) { --cjk: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei"; }
.home:is(:lang(ja), :lang(ko), :lang(zh)) { --display: -apple-system, BlinkMacSystemFont, var(--cjk), sans-serif; }
.home:is(:lang(ja), :lang(ko), :lang(zh)) :is(h1, h2, .film h3, .any-card h3, .slip h3, .trio-h) {
  font-weight: 600; -webkit-text-stroke: 0; letter-spacing: 0; }
.home:is(:lang(ja), :lang(ko), :lang(zh)) h1 { font-size: clamp(38px, 4.6vw, 70px); line-height: 1.22; }
.home:is(:lang(ja), :lang(ko), :lang(zh)) h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.3; }
.home:is(:lang(ja), :lang(ko), :lang(zh)) h2.h-mid { font-size: clamp(24px, 2.8vw, 36px); }
.home:is(:lang(ja), :lang(ko), :lang(zh)) .kicker { letter-spacing: .06em; }
.home:is(:lang(ja), :lang(zh)) body { line-break: strict; }
.home:lang(ko) body { word-break: keep-all; }

/* Tablet */
@media (max-width: 1040px) {
  .films { grid-template-columns: repeat(3, 1fr); }
  .slips { grid-template-columns: repeat(2, 1fr); }
  .any-grid { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 820px) {
  .lw { padding: 0 16px; }
  /* header: icon, the badge and the language switch on one row; Help and Privacy on the second */
  .home .nav .brand span { display: none; }
  .home .nav .wrap { gap: 8px 12px; }
  .nav-get { order: 1; margin-left: auto; }
  .home .nav .langs { order: 2; margin-left: 0; }
  .home .nav .menu { order: 3; }
  .home .nav .wrap { padding: 0 16px; }
  .hero { padding: 26px 0 64px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-stage { width: min(100%, 520px); margin: 18px auto 0; }
  .split-rev .copy { order: 0; }
  .darkroom .split { gap: 0; }
  .darkroom .copy { display: contents; }
  .darkroom .tray { order: 1; margin: 30px 0 0; }
  .darkroom .cord-row { order: 2; margin-top: 10px; justify-content: center; }
  .cord-side { padding-top: 64px; }
  .specs { grid-template-columns: 1fr; gap: 14px; }
  .counter-digits { height: 96px; }
  .films { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 6px 16px 26px; scroll-padding-inline: 16px; }
  .film { flex: 0 0 74%; scroll-snap-align: start; }
  .trio-row { gap: 10px; }
  .trio-p figcaption { font-size: 11px; letter-spacing: 0; }
  html[lang="th"] .trio-p figcaption { font-size: 12px; }
  .stamp-card { flex-direction: column; align-items: flex-start; }
  .paper-row { padding-inline: 16px; scroll-padding-inline: 16px; }
  .paper { flex-basis: 62%; }
  .counter-top { aspect-ratio: 4 / 5; }
  .t-env { width: 46%; left: 4%; top: 5%; }
  .t-can { width: 18%; left: 8%; top: 70%; }
  .t-print { width: 36%; }
  .t1 { left: 54%; top: 5%; }
  .t2 { left: 30%; top: 38%; width: 34%; }
  .t3 { left: 40%; top: 68%; width: 54%; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .phone-fig figcaption { font-size: 13px; }
  .slips { grid-template-columns: 1fr; }
  .slip:nth-child(n) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lamp { animation: none; }
  .darkroom, .darkroom-glow, .tray { transition-duration: .3s; }
  .paper img { transition: none; }
}
