/* drinkshou.ch, sensory design (founder, 01.12.2026): appetite before education.
   Loaded after site.css, only on sites with design: 'sensory' (config/sites.js). The palette comes from the can:
   cream body, blood red, coffee, deep ink; on screen as dark ripe tea with an amber light. */

:root {
  --bg: #140E0C;           /* dark ripe tea */
  --bg-2: #1B1310;
  --bg-3: #0E0A08;
  --cream: #F2EADC;        /* the can's cream, lifted for text: 15.6:1 on --bg */
  --cream-2: #D0C2B0;      /* 10.6:1 */
  --cream-3: #A89684;      /* 6.3:1 */
  --line: #3B2C24;
  --leaf: #DDA56B;         /* amber, the colour of the tea in the glass: 9.1:1 on --bg (kept as --leaf: site.css uses it) */
  --blood: #6E0F12;        /* the can's red */
  --coffee: #5A2618;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
html { background: var(--bg); }
/* The fixed can belongs to the hero: lift the hero above the later (positioned) sections so the can floats over them. */
.design-sensory.page-home .hero { z-index: 4; }
body.design-sensory { background: var(--bg); }
/* A fine grain over everything: the page reads as a surface, not a flat screen. */
body.design-sensory::before {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url('/assets/art/grain.svg?h=2ed1ac9439');
}
.design-sensory a:hover { text-decoration-color: var(--leaf); }

/* Buttons: cream and blood red, like the can. */
.design-sensory .btn { background: var(--cream); color: var(--blood); border-color: var(--cream); border-radius: 999px; font-weight: 700; letter-spacing: 0.03em; transition: background-color 0.3s ease, box-shadow 0.4s ease, transform 0.3s var(--ease); }
.design-sensory .btn:hover { background: #fff; border-color: #fff; color: var(--blood); transform: translateY(-1px); box-shadow: 0 14px 44px -14px rgba(221, 165, 107, 0.7); }
.design-sensory .btn-lg { padding: 1.25rem 3rem; box-shadow: 0 18px 60px -22px rgba(221, 165, 107, 0.65); }
.design-sensory .btn:disabled { background: transparent; color: var(--cream-2); border-color: var(--line); box-shadow: none; }
.design-sensory .more a { color: var(--cream); font-weight: 600; text-decoration-color: var(--leaf); }

/* ---------- Header: the SHOU lockup, a discreet way for businesses, the early-access button ---------- */
.s-header { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease; }
.s-header.s-scrolled { background: rgba(20, 14, 12, 0.82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(242, 234, 220, 0.06); }
.s-row { padding: 0 var(--gutter); min-height: 4.5rem; flex-wrap: nowrap; }
.s-lockup { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; flex: 0 0 auto; }
.s-lockup .s-word { height: 1.15rem; width: auto; }
.s-end { display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.5rem); }
.s-biz { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--cream-2); text-decoration: none; font: 500 0.78rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 0.75rem 0.25rem; }
.s-biz:hover { color: var(--cream); }
.s-cta.btn { min-height: 2.6rem; padding: 0.6rem 1.35rem; font-size: 0.875rem; white-space: nowrap; transition: opacity 0.35s ease, transform 0.35s var(--ease), background-color 0.3s ease; }
/* While the big hero button (or the signup) is on screen, the header button steps aside. */
.s-cta-quiet .s-cta.btn { opacity: 0; transform: translateY(-0.4rem); pointer-events: none; }
.s-cta-quiet .s-cta.btn:focus-visible { opacity: 1; transform: none; }
@media (max-width: 40rem) {
  .s-biz span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .s-biz svg { width: 20px; height: 20px; }
  .s-end .lang a { padding: 0.85rem 0.3rem; }
}
@media (max-width: 22.5rem) { .s-end { gap: 0.35rem; } .s-end .lang a { padding: 0.85rem 0.22rem; letter-spacing: 0.1em; } .s-cta.btn { padding: 0.55rem 0.9rem; } }
/* Pages other than the home start below the fixed header. */
.design-sensory:not(.page-home) main { padding-top: 4.5rem; }

/* ---------- Hero: plain dark tea-brown, nothing behind the can (founder, 01.12.2026: trustworthy, no gradients) ---------- */
.design-sensory .hero::after { background: linear-gradient(to bottom, rgba(20, 14, 12, 0), var(--bg)); }
.s-hero-art { background: var(--bg); }
.design-sensory .can-stage::before { display: none; }
.design-sensory .hero .kicker { color: var(--leaf); }
@media (max-width: 63.99rem) {
  .design-sensory.page-home .hero-inner { padding-top: 5.5rem; }
  .design-sensory.page-home::after { background: linear-gradient(to top, var(--bg-3) 62%, rgba(14, 10, 8, 0)); }
}

/* ---------- Full-width photo sections (taste, origin) ---------- */
.s-full { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 62rem); display: flex; align-items: center; padding: clamp(7rem, 14vw, 11rem) 0; }
.s-bg { position: absolute; inset: 0; z-index: -2; }
.s-bg img { width: 100%; height: 100%; object-fit: cover; }
/* The photo melts into the page above and below, and darkens towards the text. */
.s-bg { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent); }
.s-full::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 14, 12, 0.94) 0%, rgba(20, 14, 12, 0.7) 34%, rgba(20, 14, 12, 0.1) 64%, rgba(20, 14, 12, 0) 100%); }
.s-txt { position: relative; }
.s-txt > * { max-width: 32rem; }
.s-full h2, .s-split h2 { font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 1; margin: 0 0 1.5rem; }
.design-sensory .story .kicker { color: var(--leaf); }
.s-full p:not(.kicker):not(.more) { font-size: 1.1875rem; line-height: 1.7; color: var(--cream-2); }
.s-taste .s-bg img { object-position: 62% 58%; filter: saturate(1.12) contrast(1.05); }
.s-lead { margin: 0 0 1.75rem; }
.s-notes { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; font: italic 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.25 var(--serif); color: var(--cream); }
.s-notes li + li::before { content: "·"; margin-right: 1.1rem; color: var(--cream-3); font-style: normal; }
.s-sip { font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--serif); color: var(--cream) !important; margin: 0; }
.s-full .more, .s-split .more { margin: 2.25rem 0 0; }
.s-origin .s-bg img { object-position: 50% 62%; filter: saturate(0.9) brightness(0.85); }
.s-origin::after { background: linear-gradient(90deg, rgba(20, 14, 12, 0.92) 0%, rgba(20, 14, 12, 0.62) 38%, rgba(20, 14, 12, 0.05) 70%); }
@media (max-width: 47.99rem) {
  .s-full { align-items: flex-end; min-height: 92svh; padding-bottom: 4rem; }
  .s-full::after { background: linear-gradient(to top, rgba(20, 14, 12, 0.97) 0%, rgba(20, 14, 12, 0.8) 42%, rgba(20, 14, 12, 0.1) 75%); }
  .s-taste .s-bg img { object-position: 58% 30%; }
}

/* Slow, gentle movement as each section arrives (never with reduced motion). */
.s-motion [data-reveal] { opacity: 0; transform: translateY(1.75rem); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.s-motion [data-reveal].in { opacity: 1; transform: none; }
.s-motion .s-full .s-bg img { transform: scale(1.09); transition: transform 3.2s var(--ease); }
.s-motion .s-full.in .s-bg img { transform: scale(1); }

/* ---------- The tasting words, drifting ---------- */
.s-words { overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.s-track { display: flex; width: max-content; align-items: center; gap: 0 clamp(1.5rem, 3vw, 3rem); font: 500 clamp(3rem, 8vw, 7rem)/1 var(--serif); white-space: nowrap; }
.s-track span { color: #806F61; } /* muted, matte; 3.7:1 on the page (large text) */
.s-track i { font-style: normal; color: var(--blood); font-size: 0.6em; }
@media (prefers-reduced-motion: no-preference) { .s-track { animation: s-drift 70s linear infinite; } }
@keyframes s-drift { to { transform: translateX(-50%); } }

/* ---------- Split sections (cold, ripe) ---------- */
.s-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.s-split .txt p:not(.kicker):not(.more) { font-size: 1.1875rem; line-height: 1.7; color: var(--cream-2); margin: 0; }
@media (max-width: 47.99rem) { .s-split { grid-template-columns: 1fr; } .s-split-r .s-leaf { order: -1; } }

/* Cold and sparkling: the glass dissolves into the dark. */
.s-cold { background: radial-gradient(ellipse 60% 70% at 25% 50%, #1E1714, var(--bg) 70%); padding: clamp(5rem, 12vw, 9rem) 0; }
.s-cold-art { position: relative; }
.s-cold-art img { width: 100%; height: auto; display: block; filter: sepia(0.22) saturate(1.15) brightness(0.92);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 38%, rgba(0, 0, 0, 0.6) 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 38%, rgba(0, 0, 0, 0.6) 62%, transparent 100%); }
/* Ripe: the 熟 of the can, tone on tone behind the text; the one clear look at the leaf beside it. */
.s-ripe { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(to bottom, var(--bg), var(--bg-2) 22%, var(--bg-2) 78%, var(--bg)); padding: clamp(6rem, 14vw, 11rem) 0; }
.s-glyph { position: absolute; z-index: -1; top: 50%; left: -4%; transform: translateY(-52%); font: 900 clamp(22rem, 62vw, 50rem)/0.9 "Noto Serif SC", "Songti SC", "SimSun", "Noto Sans SC", "Microsoft YaHei", serif;
  color: rgba(242, 234, 220, 0.035); user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 70%, transparent 96%); mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 70%, transparent 96%); }
.s-ripe .txt { text-shadow: 0 2px 24px rgba(20, 14, 12, 0.85); }
.s-leaf { width: 100%; max-width: 36rem; justify-self: center; }
.s-leaf img { width: 100%; height: auto; display: block; filter: brightness(0.88) contrast(1.04) sepia(0.16);
  -webkit-mask-image: radial-gradient(ellipse 46% 46% at 50% 50%, #000 48%, rgba(0, 0, 0, 0.45) 74%, transparent 100%); mask-image: radial-gradient(ellipse 46% 46% at 50% 50%, #000 48%, rgba(0, 0, 0, 0.45) 74%, transparent 100%); }
@media (max-width: 47.99rem) { .s-glyph { left: auto; right: -12%; top: 6%; transform: none; font-size: 80vw; } .s-leaf { margin-right: 0; } }

/* ---------- Signup: over the teapot in the dark ---------- */
.s-join { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(to bottom, var(--bg), #0B0807 30%); padding: clamp(6rem, 14vw, 11rem) 0; }
.s-join-art { position: absolute; z-index: -1; right: 0; bottom: 0; width: min(64rem, 68%); }
.s-join-art img { width: 100%; height: auto; display: block; opacity: 0.85;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50%), linear-gradient(to bottom, transparent, #000 25%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 50%), linear-gradient(to bottom, transparent, #000 25%); mask-composite: intersect; }
.s-join .join-inner { max-width: calc(30rem + 2 * var(--gutter)); margin-left: 0; }
.s-join h2, .s-join .lead { text-align: left; margin-left: 0; }
@media (min-width: 64rem) { .s-join .join-inner { margin-left: max(0px, calc((100vw - var(--wrap) - var(--can-col)) / 2)); padding-right: var(--gutter); } }
.s-join h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; }
@media (max-width: 47.99rem) { .s-join-art { width: 140%; right: -30%; opacity: 0.5; } }
/* The can steps aside for the teapot at the signup, at every width. */
.design-sensory.can-near-form .can-stage { opacity: 0; visibility: hidden; }

/* ---------- Legal: the photographers, quietly ---------- */
.s-credits { margin-top: 2.5rem; font-size: 0.875rem; color: var(--cream-3); }
.s-credits h2 { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-3); margin: 0 0 0.75rem; }

/* Other pages (business, ad landings): the shared contour art, warmed to the can's palette. */
.design-sensory .contours { filter: sepia(1) saturate(1.6) hue-rotate(-18deg) brightness(0.8); opacity: 0.5; }
.design-sensory .glow { background: radial-gradient(ellipse 52% 46% at 50% 50%, rgba(20, 14, 12, 0.96) 0%, rgba(20, 14, 12, 0.72) 45%, rgba(20, 14, 12, 0) 100%); }
.design-sensory .can-art::before { background: radial-gradient(closest-side, rgba(221, 165, 107, 0.16), rgba(20, 14, 12, 0)); }
.design-sensory .page-art .glow, .design-sensory .message .glow { background: radial-gradient(ellipse 60% 55% at 60% 45%, rgba(20, 14, 12, 0.92) 0%, rgba(20, 14, 12, 0.6) 50%, rgba(20, 14, 12, 0) 100%); }

/* The market banner (visitors from the other market) sits above the header; the header then follows it in the page
   and sticks to the top once scrolled, instead of covering it. */
.market-banner:not([hidden]) + .s-header { position: sticky; top: 0; }

/* ---------- Key words (build.js tone()): at most two per paragraph, matte, one warm family ---------- */
/* On the dark page: warm tea tones. "dark" is the deepest of them, as the word says. */
.t-dark, .t-red, .t-gold { font-weight: 500; }
.t-dark { color: #C08A68; }
.t-red { color: #D9946E; }
.t-gold { color: #E6C493; }
/* Over a photo that is already amber and brown, the key words are lighter instead: plain bright cream. */
.s-full .t-dark, .s-full .t-red, .s-full .t-gold { color: #FFF8EC; }

/* ---------- Hero: smaller and quieter (founder, 01.12.2026: "too big", "minimalistic") ---------- */
.design-sensory.page-home .hero h1 .wordmark { width: clamp(11rem, 21vw, 17rem); margin-bottom: 1.75rem; }
.design-sensory.page-home .hero h1 .line { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 400; }
.design-sensory.page-home .hero .sub { font-size: clamp(1rem, 1.3vw, 1.125rem); margin-bottom: 2.25rem; }
.design-sensory .btn { font-weight: 600; letter-spacing: 0.02em; }
.design-sensory .btn:hover { transform: none; box-shadow: none; }
.design-sensory .btn-lg { padding: 0.9rem 2rem; font-size: 0.95rem; box-shadow: none; }
@media (max-width: 47.99rem) {
  .design-sensory.page-home .hero h1 .wordmark { width: min(100%, 9.5rem); margin-bottom: 1rem; }
  }

/* ---------- First screen: one calm field that runs straight into the next (founder, 01.12.2026) ----------
   Same flat dark tea-brown as the page; text on the same left edge as every section below; the can already where it
   stays while you scroll. Nothing to cross between the first and the second screen. */
.design-sensory.page-home .hero { background: var(--bg); }
.design-sensory.page-home .hero::after { display: none; }
.design-sensory.page-home .s-hero-art { background: transparent; }
@media (min-width: 64rem) {
  .design-sensory.page-home .hero { min-height: 86svh; display: flex; align-items: center; }
  .design-sensory.page-home .hero-inner { width: 100%; text-align: left; padding-top: 8rem; padding-bottom: 6rem; }
  .design-sensory.page-home .hero h1 .wordmark { width: clamp(12rem, 19vw, 16rem); margin: 0 0 2rem; }
  .design-sensory.page-home .hero h1 .line { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.05; max-width: 11em; }
  .design-sensory.page-home .hero .sub { margin: 1.5rem 0 2.5rem; max-width: 26em; }
  .design-sensory.page-home .hero .kicker { margin-bottom: 1.75rem; }
}

/* ---------- Region dialog (js/market.js; founder, 01.12.2026). Functional: the site's own colours, type and buttons. ---------- */
.region { padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); color: var(--cream); width: min(32rem, calc(100vw - 2.5rem)); max-height: calc(100svh - 2.5rem); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9); }
.region::backdrop { background: rgba(10, 7, 6, 0.72); }
.region-box { position: relative; padding: clamp(2rem, 6vw, 3rem) clamp(1.5rem, 5vw, 2.75rem) clamp(1.75rem, 5vw, 2.5rem); }
.region-x { position: absolute; top: 0.5rem; right: 0.5rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: var(--cream-2); font: 400 1.75rem/1 var(--serif); cursor: pointer; }
.region-x:hover, .region-x:focus-visible { color: var(--cream); background: rgba(242, 234, 220, 0.08); }
.region-h { font: 500 clamp(1.6rem, 4.5vw, 2.1rem)/1.15 var(--serif); margin: 0 2rem 0.75rem 0; }
.region-p { color: var(--cream-2); font-size: 1.0625rem; line-height: 1.55; margin: 0 0 1.75rem; }
.region-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.region-btns .btn { min-height: 3rem; padding: 0.8rem 1.5rem; font-size: 0.95rem; }
.design-sensory .region-go { background: transparent; color: var(--cream); border: 1px solid var(--cream-3); }
.design-sensory .region-go:hover { background: rgba(242, 234, 220, 0.08); color: var(--cream); border-color: var(--cream); }
@media (max-width: 30rem) { .region-btns .btn { flex: 1 1 100%; } }
