/* ============================================================================
   theme.css — Tondo palette + the "Specimen" brand redesign (2026-06-23).
   The site is a letterpress specimen sheet: one well-made object, catalogued on
   the cloth itself. Warm paper, system-serif display, terracotta thread.
   tokens.css supplies structure; this supplies colour + every Specimen component.
   Per-brand, NOT sync-checked — Tondo owns this look. Light + dark; dark follows
   prefers-color-scheme by default. System fonts only (brand axiom A3).
   ============================================================================ */

/* ---- light (linen, per the 2026-07-24 design handoff: true brand madder on EBE3D4) ---- */
:root,
[data-theme="light"] {
  --bg:#EBE3D4; --bg-2:#E4DAC7; --surface:#FCFAF4;
  --text:#2B2722; --text-soft:#877B67; --faint:#A3917F;
  --accent:#A8412B; --accent-2:#94371F; --accent-ink:#FCFAF4;
  --accent-text:#94371F;        /* AA for small text/links on linen */
  --line:#DBCFB8; --line-2:#CDBEA2; --sage:#7C8A5E;
  --verified:#7C8A5E; --caution:#b98a2f; --caution-text:#8a6418;
  --indigo:#3E5C6E; --blush:#F0E6DA; --chip-bg:#FCFAF4;
  --display: var(--serif);      /* Tondo = system-serif display (brand) */
  --gap:22px;                   /* rhythm unit, inherited by the older Specimen sections */
  --halo: radial-gradient(55% 55% at 80% -8%, #A8412B14, transparent 70%);
  /* The page's texture: scattered running stitches, the same object the brand mark draws.
     It REPLACED a 22px counted grid (2026-08-15). That grid literally drew aida cloth, which
     stopped being true twice over — the app is no longer named after that cloth, and it now
     serves hand embroidery, a craft with no grid at all. A tiled SVG rather than the two
     repeating-linear-gradients it replaces, because a linear gradient cannot break a line into
     stitches ALONG its own direction; dashes need a real path. The stitches sit inside the tile
     (never on an edge), so the 64px repeat has no seam to see. */
  --stitch-field:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g stroke='%23A8412B' stroke-opacity='.17' stroke-width='2.6' stroke-linecap='round'><path d='M8 22 L18 12'/><path d='M38 16 L48 6'/><path d='M18 52 L28 42'/><path d='M44 46 L54 36'/></g></svg>");
}

/* ---- dark (brand-doc dark column, handoff values) ---- */
[data-theme="dark"] {
  --bg:#1E1B17; --bg-2:#26211B; --surface:#2A231C;
  --text:#E8E1D4; --text-soft:#A99B85; --faint:#8C7E6C;
  --accent:#D2765E; --accent-2:#E19A82; --accent-ink:#1E1B17;
  --accent-text:#E19A82;
  --line:#3A322A; --line-2:#4A3E30; --sage:#9DAB7E;
  --verified:#9DAB7E; --caution:#d9b36a; --caution-text:#d9b36a;
  --indigo:#8FB0C2; --blush:#463A30; --chip-bg:#2A231C;
  --display: var(--serif);
  --halo: radial-gradient(55% 55% at 80% -8%, #D2765E18, transparent 70%);
  /* The stitch tile bakes its own colour (a data URI cannot read a CSS variable), so dark mode
     re-declares it in the dark accent rather than tinting the light one. */
  --stitch-field:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'><g stroke='%23D2765E' stroke-opacity='.20' stroke-width='2.6' stroke-linecap='round'><path d='M8 22 L18 12'/><path d='M38 16 L48 6'/><path d='M18 52 L28 42'/><path d='M44 46 L54 36'/></g></svg>");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg:#1E1B17; --bg-2:#26211B; --surface:#2A231C;
    --text:#E8E1D4; --text-soft:#A99B85; --faint:#8C7E6C;
    --accent:#D2765E; --accent-2:#E19A82; --accent-ink:#1E1B17;
    --accent-text:#E19A82;
    --line:#3A322A; --line-2:#4A3E30; --sage:#9DAB7E;
    --verified:#9DAB7E; --caution:#d9b36a; --caution-text:#d9b36a;
    --indigo:#8FB0C2; --blush:#463A30; --chip-bg:#2A231C;
    --display: var(--serif);
    --halo: radial-gradient(55% 55% at 80% -8%, #D2765E18, transparent 70%);
  }
}

/* The Specimen CSS below uses a few local aliases; map them onto the tokens so
   light + dark both track the palette (the colorset is upstream — tokens mirror). */
:root,[data-theme]{ --paper:var(--bg); --thread:var(--accent-text); --thread-2:var(--accent);
  --ink:var(--text); --soft:var(--text-soft); }

/* ============================================================================
   SPECIMEN COMPONENTS  (the redesign — homepage + shared shell)
   ============================================================================ */

/* ============================================================================
   SPECIMEN v2 COMPONENTS (Claude Design redesign 2026-06-23, owner-iterated)
   Adds the .reel video section, step-shots, and the flag langswitcher.
   ============================================================================ */

/* v2 component CSS — local color aliases (--paper/--thread/--ink/--soft/--faint/
   --line) are mapped onto the palette tokens in the header above, so light+dark track. */
*{box-sizing:border-box}
  html{-webkit-text-size-adjust:100%}
  body{
    margin:0;background:var(--paper);color:var(--ink);
    font-family:var(--sans);font-size:18px;line-height:1.68;
    -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
    position:relative;overflow-x:hidden;
  }
  /* the page is worked cloth — faint running stitches, masked to stay calm */
  body::before{
    content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.5;
    background-image:var(--stitch-field);
    -webkit-mask-image:radial-gradient(120% 80% at 78% -4%, #000 0%, transparent 62%);
            mask-image:radial-gradient(120% 80% at 78% -4%, #000 0%, transparent 62%);
  }
  .shell{position:relative;z-index:1;max-width:1180px;margin-inline:auto;padding-inline:clamp(1.4rem,5vw,3.6rem)}

  h1,h2,h3{font-family:var(--serif);font-weight:500;margin:0;line-height:1.06;letter-spacing:-.01em;text-wrap:balance}
  p{margin:0}
  a{color:inherit}

  /* tiny tracked specimen labels */
  .label{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.16em;
    text-transform:uppercase;color:var(--soft)}
  .num{font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--soft)}

  /* a real counted stitch, drawn — the recurring mark */
  .stitch{width:1em;height:1em;color:var(--thread);flex:0 0 auto;display:inline-block;vertical-align:-.12em}
  .stitch path{stroke:currentColor;stroke-width:3.4;stroke-linecap:round;fill:none}

  /* brand logo — the real Tondo app icon (the hoop and the running stitch) */
  .brandmark{width:40px;height:40px;border-radius:11px;overflow:hidden;flex:0 0 auto;display:block;
    box-shadow:0 2px 5px -2px rgba(58,47,37,.3),inset 0 0 0 1px rgba(58,47,37,.10)}
  .brandmark svg{display:block;width:100%;height:100%}

  /* hairline ledger row at very top */
  .ledger{display:flex;justify-content:space-between;align-items:center;
    padding:1.5rem 0 1.1rem;border-bottom:1px solid var(--line)}
  .ledger .mark{display:flex;align-items:center;gap:.7rem;font-family:var(--serif);
    font-size:1.55rem;font-weight:600;letter-spacing:-.01em;
    color:var(--ink);text-decoration:none}
  .ledger .right{display:flex;flex-direction:column;align-items:flex-end;gap:9px}
  .right-words{display:flex;gap:1.3rem;align-items:baseline}

  /* Language navigation uses the shared header picker in site.css. */

  /* supported-languages note */
  .langs-note{text-align:center;margin:-1.4rem 0 2.4rem;font-family:var(--sans);
    font-size:13.5px;color:var(--faint);letter-spacing:.005em;line-height:1.5}
  .langs-note .stitch{width:.82em;height:.82em;vertical-align:-.08em;margin-right:.3rem;color:var(--thread)}
  .langs-note b{color:var(--soft);font-weight:600}

  /* ---------- hero / catalogue cover ---------- */
  .cover{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(2rem,6vw,5.5rem);
    align-items:end;padding:clamp(3.2rem,7vw,6rem) 0 clamp(2.4rem,5vw,4rem)}
  .cover .lead{max-width:30rem}
  .eyebrow{display:flex;align-items:center;gap:.6rem;margin-bottom:1.7rem}
  .cover h1{font-size:clamp(2.7rem,5.4vw,4.4rem);margin-bottom:1.5rem;font-weight:500}
  .cover h1 em{font-style:italic;color:var(--thread)}
  .cover .desc{font-size:1.2rem;line-height:1.62;color:var(--soft);max-width:27rem;
    font-family:var(--serif)}
  .meta{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;margin-top:2.2rem;
    font-size:13px;color:var(--soft);align-items:center}
  .meta .dot{color:var(--line-2)}
  .cta{display:inline-flex;align-items:center;gap:.7rem;margin-top:2.4rem;
    font-family:var(--serif);font-size:1.16rem;color:var(--ink);text-decoration:none;
    padding-bottom:.32rem;border-bottom:1.5px solid var(--ink);transition:gap .35s cubic-bezier(.16,.84,.44,1),color .25s,border-color .25s}
  .cta:hover{gap:1.1rem;color:var(--thread);border-color:var(--thread)}
  .cta .arr{transition:transform .35s cubic-bezier(.16,.84,.44,1)}
  .cta:hover .arr{transform:translateX(3px)}
  .price-tag{margin-top:1.1rem;font-size:13px;color:var(--faint)}
  .price-tag b{color:var(--soft);font-weight:600}

  /* plate — a captioned figure holding a shared .device frame on warm paper. The bespoke .mat
     plate (a chrome-less screen mounted on paper) was replaced by the shared titanium .dv-iphone
     frame so tondo renders screenshots through the portfolio's one ratio-derived, never-cropping
     system; .plate is now just the figure wrapper + its serif figcaption + the cover tilt. */
  .plate{flex:0 0 auto}
  figure.plate{margin:0}
  .plate .device{margin-inline:auto}
  .showcase>.plate .device.dv-iphone,.plate .device.dv-iphone{--dv-scale:.6}
  .plate figcaption{margin-top:.95rem;display:flex;justify-content:space-between;
    align-items:baseline;gap:1rem}
  .plate figcaption .t{font-family:var(--serif);font-style:italic;font-size:.95rem;color:var(--soft);line-height:1.4}
  .plate.cover-plate{transform:rotate(.5deg)}

  /* ---------- motion reel ---------- */
  .reel{padding:clamp(1.6rem,4vw,3rem) 0 clamp(2rem,5vw,3.6rem)}
  .reel-figure{margin:0}
  .reel-frame{background:var(--surface);border-radius:18px;padding:18px;
    box-shadow:0 0 0 1px color-mix(in srgb,var(--line) 60%,transparent),
               0 44px 76px -50px rgba(58,47,37,.45),
               0 14px 30px -20px rgba(58,47,37,.2)}
  .reel-clip{overflow:hidden;border-radius:12px;background:var(--bg);aspect-ratio:2.05/1;
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line-2) 50%,transparent)}
  .reel-clip video{display:block;width:100%;height:100%;object-fit:cover;object-position:100% 50%}
  .reel figcaption{margin-top:1rem;display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
  .reel figcaption .t{font-family:var(--serif);font-style:italic;font-size:.98rem;color:var(--soft)}

  /* ---------- the count line ---------- */
  .count{border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    padding:clamp(3rem,6vw,5rem) 0;display:grid;grid-template-columns:auto 1fr;
    gap:clamp(2rem,5vw,4rem);align-items:center}
  .count .big{font-family:var(--serif);font-size:clamp(4rem,11vw,8.5rem);line-height:.9;
    font-weight:500;letter-spacing:-.03em}
  .count .big .pct{color:var(--thread)}
  .count .said{max-width:30rem}
  .count .said h2{font-size:clamp(1.7rem,3vw,2.3rem);margin-bottom:1rem;font-weight:500}
  .count .said p{color:var(--soft);font-family:var(--serif);font-size:1.12rem}
  .progress{margin-top:1.6rem;height:2px;background:var(--line);position:relative}
  .progress::after{content:"";position:absolute;inset:0 43% 0 0;background:var(--thread)}
  .progress-row{display:flex;justify-content:space-between;margin-top:.55rem;
    font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--faint)}

  /* ---------- how it works ---------- */
  section.block{padding:clamp(3.4rem,7vw,6rem) 0}
  .sec-head{display:flex;align-items:baseline;gap:1rem;margin-bottom:2.8rem}
  .sec-head h2{font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:500}
  .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;
    border-top:1px solid var(--line)}
  .step{padding:1.8rem 1.7rem 2.1rem;border-bottom:1px solid var(--line);position:relative}
  .step+.step{border-left:1px solid var(--line)}
  .step-shot{margin:0 0 1.5rem;border:1px solid var(--line-2);border-radius:7px;overflow:hidden;
    background:var(--paper);box-shadow:0 12px 24px -20px rgba(58,47,37,.45)}
  .step-shot img{display:block;width:100%;height:auto}
  .step .rn{font-family:var(--serif);font-style:italic;font-size:1.25rem;color:var(--thread);margin-bottom:.7rem}
  .step h3{font-size:1.32rem;font-weight:500;margin-bottom:.7rem;font-family:var(--serif)}
  .step p{font-size:.98rem;color:var(--soft);line-height:1.6}

  /* ---------- gallery + benefits split ---------- */
  .split{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(2.5rem,6vw,5rem);align-items:center}

  /* iPhone + iPad pairing — the bespoke .devs/.dev mats were replaced by the shared .device-duo
     (site.css): a landscape iPad behind + a portrait iPhone overlapping front-right, both shared
     titanium frames. .device-stage stays as the captioned figure wrapper. */
  .device-stage{margin:0}
  .device-stage figcaption{margin-top:1.1rem;display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
  .device-stage figcaption .t{font-family:var(--serif);font-style:italic;font-size:.95rem;color:var(--soft)}
  /* one stacked column. site.css loads AFTER theme.css and sets
     .benefits{grid-template-columns:repeat(3,1fr)} + .benefit{card border/bg} — at equal
     specificity site.css would win on order, so scope these under [data-brand="tondo"]
     (specificity 0,2,0 > site.css 0,1,0) to win regardless of load order. */
  [data-brand="tondo"] .benefits{display:grid;grid-template-columns:1fr;gap:2.4rem}
  [data-brand="tondo"] .benefit{background:none;border:0;border-radius:0;box-shadow:none;
    padding:0 0 2.2rem;border-bottom:1px solid var(--line)}
  [data-brand="tondo"] .benefit:last-child{border-bottom:0;padding-bottom:0}

  /* Plaat II duo: the shared .device-duo is capped at 460px and scaled .58/.42 — fine in a hero
     slot, but Plaat II sits in a HALF-WIDTH .split column, so 460px × half = a 195px iPad / 51px
     iPhone, unreadable. Give the duo its own full-width row (split → single column) + a wider stage
     + a scale bump, so the iPad reads ~669px and the iPhone ~257px. [data-brand=tondo] (0,2,0) wins
     over the shared .device-duo (0,1,0) regardless of load order. */
  [data-brand="tondo"] .split{grid-template-columns:1fr;gap:clamp(2.4rem,5vw,4rem)}
  [data-brand="tondo"] .device-stage{max-width:none}
  [data-brand="tondo"] .device-stage .device-duo{width:min(720px,100%)}
  [data-brand="tondo"] .device-duo .dv-ipad{--dv-scale:.86}
  [data-brand="tondo"] .device-duo .dv-iphone{--dv-scale:.6}

  /* Feature tiles: the 3-column .steps grid renders each feat-*.png at ~146px (tiny). Stack the
     steps as full-width rows (image beside copy) so each shot reads ~520px and legible. */
  [data-brand="tondo"] .steps{grid-template-columns:1fr;border-top:0}
  [data-brand="tondo"] .step{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
    gap:clamp(1.5rem,4vw,3rem);align-items:center;padding:clamp(1.8rem,4vw,2.6rem) 0;
    border-left:0;border-bottom:1px solid var(--line)}
  [data-brand="tondo"] .step+.step{border-left:0}
  [data-brand="tondo"] .step .step-shot{margin:0;max-width:520px}

  /* Gallery: Kestrove's screenshot principle — BIG, STILL frames. Bump the shared .gallery scale
     (.5 → .82) and run two-up so each iPhone is large rather than three tiny ones. The scale-hover
     shrink is now killed in the SHARED site.css (scale() removed from the gallery + device-duo hover
     rules portfolio-wide), so the former per-app hover overrides here are dead and removed — only
     the SIZING bumps remain (those are tondo-specific and load-bearing). */
  [data-brand="tondo"] .gallery{grid-template-columns:repeat(2,1fr);gap:clamp(2rem,5vw,4rem)}
  [data-brand="tondo"] .gallery .device{--dv-scale:.82}

  .benefit h3{font-size:1.4rem;font-weight:500;margin-bottom:.7rem;display:flex;align-items:center;gap:.65rem}
  .benefit h3 .stitch{width:.62em;height:.62em}
  .benefit p{color:var(--soft);font-size:1.04rem}
  .benefit em{font-style:italic;color:var(--ink)}

  /* ---------- own vs rent ---------- */
  .own{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);background:var(--surface)}
  .own .c{padding:clamp(1.8rem,4vw,2.8rem)}
  .own .c+.c{border-left:1px solid var(--line)}
  .own .lbl{display:flex;align-items:center;gap:.55rem;margin-bottom:1.3rem}
  .own .amt{font-family:var(--serif);font-size:clamp(1.7rem,3vw,2.3rem);font-weight:500;margin-bottom:.8rem}
  .own .c.rent .amt{color:var(--faint)}
  .own .c.rent .label{color:var(--faint)}
  .own p{color:var(--soft);font-size:.98rem;line-height:1.58}
  .own .c.rent p{color:var(--faint)}

  /* ---------- price ---------- */
  /* container-type makes the figure scale to the price CARD (site.css gives .price
     width:min(30rem,100%)), NOT the viewport — a viewport-based clamp let "€15.99"
     overflow the 30rem card on wide screens. cqi = 1% of the card's inline size. */
  .price{text-align:center;padding:clamp(3.6rem,8vw,7rem) 0;border-top:1px solid var(--line);
    container-type:inline-size}
  .price .once{margin-bottom:1.1rem}
  .price .figure{font-family:var(--serif);font-size:clamp(3rem,15.5cqi,5.25rem);line-height:.9;
    font-weight:500;letter-spacing:-.03em;margin-bottom:.6rem}
  .price .sub{color:var(--soft);font-family:var(--serif);font-size:1.12rem;margin-bottom:2.2rem}
  .price .incl{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem 1.6rem;
    margin-bottom:2.6rem;font-size:13px;color:var(--soft)}
  .price .incl span{display:flex;align-items:center;gap:.5rem}
  .price .incl .stitch{width:.7em;height:.7em}

  /* ---------- faq ---------- */
  .faq details{border-bottom:1px solid var(--line);padding:1.4rem 0}
  .faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;
    align-items:center;gap:1.5rem;font-family:var(--serif);font-size:1.22rem;color:var(--ink)}
  .faq summary::-webkit-details-marker{display:none}
  .faq summary .pl{font-family:var(--sans);font-size:1.3rem;color:var(--thread);transition:transform .3s}
  .faq details[open] summary .pl{transform:rotate(45deg)}
  .faq details p{margin-top:1rem;color:var(--soft);font-size:1.02rem;max-width:46rem;line-height:1.62}

  /* ---------- footer ---------- */
  footer{border-top:1px solid var(--line);padding:2.6rem 0 3.4rem;margin-top:1rem}
  .foot-row{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap;
    font-size:13px;color:var(--soft)}
  .foot-row .cloud,
  .foot-row .cloud-mark{width:20px;height:20px;flex:0 0 auto;color:var(--thread);vertical-align:-4px;margin-right:.3rem}
  .foot-row strong{color:var(--ink);font-weight:600}
  .foot-row a{color:var(--thread);text-decoration:none}
  .foot-row a:hover{text-decoration:underline}
  .foot-links{display:flex;gap:1.3rem;flex-wrap:wrap}

  /* gentle hover only — no entrance fade (preview iframes pause anims at frame 0). The cover plate
     untilts and lifts on hover; the tilt now lives on the shared .device, so the hover targets it. */
  @media (prefers-reduced-motion:no-preference){
    .plate.cover-plate .device{transition:transform .6s cubic-bezier(.16,.84,.44,1)}
    .plate.cover-plate:hover .device{transform:rotate(0deg) translateY(-4px)}
  }

  @media (max-width:860px){
    .cover{grid-template-columns:1fr;align-items:start}
    .cover .lead{max-width:none}
    .count{grid-template-columns:1fr}
    .steps{grid-template-columns:1fr}
    .step+.step{border-left:0}
    .split{grid-template-columns:1fr}
    .own,.foot-row{grid-template-columns:1fr}
    .own{grid-template-columns:1fr}
    .own .c+.c{border-left:0;border-top:1px solid var(--line)}
  }
  @media (max-width:560px){
    .ledger{padding:1.2rem 0 .9rem}
    .right-words .num:first-child{display:none}
    .cover{padding-top:2.4rem}
    .count{padding:2.4rem 0}
    .sec-head{flex-wrap:wrap;gap:.4rem}
    /* still card-relative (cqi) so €15.99 can't overflow the narrowed card */
    .price .figure{font-size:clamp(2.6rem,15.5cqi,5rem)}
    /* narrow phones: dial the enlarged duo back so it fits, and stack the feature rows */
    [data-brand="tondo"] .device-duo .dv-ipad{--dv-scale:.62}
    [data-brand="tondo"] .device-duo .dv-iphone{--dv-scale:.42}
    [data-brand="tondo"] .step{grid-template-columns:1fr}
    [data-brand="tondo"] .step .step-shot{max-width:none}
    /* gallery: the shared swipe-row already kicks in <820px; keep our larger scale on it */
    [data-brand="tondo"] .gallery .device{--dv-scale:.66}
  }

/* ============================================================================
   LINEN LAYER (design handoff 2026-07-24) — the redesigned shell + homepage.
   Additive: the Specimen components above keep styling support/features/404.
   Naming: lin-* only; nothing here reaches into shared site.css selectors.
   ============================================================================ */

/* ---- page = worked cloth: running stitches + halo, calm below the hero ---- */
[data-brand="tondo"] body, body[data-brand="tondo"]{ font-size:18px; line-height:1.65; }
body[data-brand="tondo"]{ position:relative; overflow-x:hidden; }
body[data-brand="tondo"]::before{ content:""; position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.5;
  background-image:var(--stitch-field);
  -webkit-mask-image:radial-gradient(120% 80% at 78% -4%, #000 0%, transparent 62%);
          mask-image:radial-gradient(120% 80% at 78% -4%, #000 0%, transparent 62%); }
.lin-shell{ position:relative; z-index:1; max-width:1160px; margin:0 auto;
  padding:0 clamp(1.3rem,5vw,3.4rem); }

/* ---- shared shell: header + footer ---- */
.lin-header{ display:flex; align-items:center; gap:1.1rem; padding:1.4rem 0 1.1rem;
  border-bottom:1px solid var(--line); }
.lin-mark{ display:inline-flex; align-items:center; gap:.65rem; text-decoration:none; color:var(--text); }
.lin-mark img{ width:38px; height:38px; border-radius:10px; box-shadow:0 2px 5px -2px rgba(43,39,34,.3); }
.lin-mark span{ font-family:var(--display); font-size:1.5rem; font-weight:600; letter-spacing:-.01em; }
.lin-nav{ margin-left:auto; display:flex; align-items:center; gap:1.4rem; font-size:.92rem; font-weight:560; }
.lin-nav a{ text-decoration:none; color:var(--text-soft); }
.lin-nav a:hover{ color:var(--accent-text); }
.lin-cta-pill{ display:inline-flex; align-items:center; padding:.5rem 1.05rem; border-radius:999px;
  background:var(--accent); color:var(--accent-ink); font-size:.92rem; font-weight:650;
  text-decoration:none; transition:transform .15s ease; }
.lin-cta-pill:hover{ color:var(--accent-ink); transform:translateY(-1px); }
/* Footer = the selvage. The stitching returns at the hem (full-bleed ::before, fading in
   toward the bottom edge — the mirror of the hero's fade-out), a woven-label main row, then a
   stitched (dashed) hairline over the base row. */
.lin-footer{ position:relative; border-top:1px solid var(--line); padding:3rem 0 3.4rem;
  background:transparent; /* shared site.css paints footer --bg-2; the selvage sits ON the linen */ }
.lin-footer::before{ content:""; position:absolute; top:0; bottom:0; left:50%; width:100vw;
  transform:translateX(-50%); z-index:-1; pointer-events:none; opacity:.55;
  background-image:var(--stitch-field);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 88%);
          mask-image:linear-gradient(180deg, transparent 0%, #000 88%); }
.lin-foot-main{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:2.2rem clamp(2.4rem,6vw,5.5rem); align-items:start; }
.lin-foot-mark{ display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--text); }
.lin-foot-mark img{ width:30px; height:30px; border-radius:8px; box-shadow:0 1px 3px -1px rgba(43,39,34,.35); }
.lin-foot-mark span{ font-family:var(--display); font-size:1.3rem; font-weight:600; letter-spacing:-.01em; }
.lin-foot-tag{ margin:.8rem 0 0; font-size:14.5px; line-height:1.6; color:var(--text-soft); max-width:36ch; }
.lin-foot-oomny{ display:flex; align-items:flex-start; gap:.6rem; margin:1.5rem 0 0;
  font-size:13.5px; line-height:1.65; color:var(--text-soft); max-width:42ch; }
.lin-cloud{ width:21px; height:16px; flex:none; margin-top:.2em; color:var(--accent-text); }
.lin-foot-oomny strong{ color:var(--text); font-weight:650; }
.lin-foot-oomny a{ color:var(--accent-text); font-weight:600; text-decoration:none; }
.lin-foot-oomny a:hover{ color:var(--accent); }
.lin-foot-all{ white-space:nowrap; }
/* languages column: restyle the shared .app-langs block (markup owned by build.mjs — byte-synced,
   so the look is applied here, never there). Lead becomes the section eyebrow, note goes mono. */
.lin-foot-speaks .app-langs{ margin-top:.35rem; gap:.7rem; }
.lin-foot-speaks .app-langs-lead{ display:inline-flex; align-items:center; gap:.7rem; font-size:11px;
  font-weight:750; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-text); }
.lin-foot-speaks .app-langs-lead::before{ content:""; width:1.6rem; height:2px; background:var(--accent);
  border-radius:2px; }
.lin-foot-speaks .app-langs-note{ font-family:var(--mono); font-size:12px; letter-spacing:.06em;
  color:var(--faint); }
.lin-foot-note{ margin:.9rem 0 0; font-size:13.5px; line-height:1.65; color:var(--text-soft); max-width:46ch; }
.lin-foot-base{ display:flex; justify-content:space-between; align-items:center; gap:1rem 1.6rem;
  flex-wrap:wrap; margin-top:2.6rem; padding-top:1.4rem; border-top:1px dashed var(--line-2);
  font-size:13px; color:var(--text-soft); }
.lin-foot-fine a{ color:var(--accent-text); font-weight:600; text-decoration:none; }
.lin-foot-fine a:hover{ color:var(--accent); }
.lin-foot-links{ display:flex; gap:1.4rem; flex-wrap:wrap; }
.lin-foot-links a{ color:var(--accent-text); font-weight:600; text-decoration:none; font-size:13.5px; }
.lin-foot-links a:hover{ color:var(--accent); }
@media (max-width:760px){
  .lin-foot-main{ grid-template-columns:1fr; gap:2rem; }
  .lin-footer{ padding-top:2.4rem; }
}

/* ---- shared atoms ---- */
.lin-eyebrow{ display:inline-flex; align-items:center; gap:.7rem; font-size:11px; font-weight:750;
  letter-spacing:.08em; text-transform:uppercase; color:var(--accent-text); }
.lin-eyebrow::before{ content:""; width:1.6rem; height:2px; background:var(--accent); border-radius:2px; }
.lin-x{ flex:none; }
.lin-x path{ stroke:var(--accent); stroke-width:3.4; stroke-linecap:round; fill:none; }
.lin-head{ display:flex; align-items:baseline; gap:1.2rem; margin-bottom:2.6rem; }
/* Section index inside a thin ring — the hoop, the brand's organising circle (docs/brand.md
   §"The circle is the system"): the recurring mark a reader meets at every section head. */
.lin-head .lin-idx{ font-family:var(--mono); font-size:12px; letter-spacing:.06em; color:var(--faint);
  display:inline-flex; align-items:center; justify-content:center;
  width:2.6em; height:2.6em; border:1.5px solid var(--line); border-radius:50%; }
.lin-head h2{ font-family:var(--display); font-size:clamp(1.9rem,3.4vw,2.6rem); font-weight:560;
  line-height:1.1; letter-spacing:-.01em; margin:0; }

/* ---- device presentation: the SHARED .device dv-iphone/dv-ipad frame (site.css) ----
   Tondo shipped a bespoke .lin-phone plate (a uniform 11px padding on a rounded rect, no side
   buttons, no titanium rail) — the hand-tuned shape site.css retired after the 2026-06-22
   failures. It is replaced by the shared frame every other site already uses, so the whole
   portfolio renders screenshots through ONE calibrated geometry: bezels measured off the real
   iPhone 16 Pro Max / iPad Pro 13, and a screen window DERIVED from the asset's own pixels
   (--shot-w/--shot-h, injected by build.mjs) so nothing ever crops. Tondo only tunes the
   per-slot SIZE here via --dv-scale, plus the hero's tilt via the frame's own --rot.
   The films carry the true Apple status bar (9:41 simctl override) and the island in their own
   pixels, so the frame draws no chrome of its own — site.css only draws a status bar on a BARE
   asset, and a frame holding a <video> is never tagged .dv-bare. */
/* Hero: .70 puts the frame footprint at 301px (430px native × .70) — the same width the bespoke
   300px plate had, so the chip anchored to its bottom-left corner below still lands. */
.lin-hero-figure .device.dv-iphone{ --dv-scale:.70; --rot:.6deg; }

/* ---- hero ---- */
.lin-hero{ position:relative; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(2rem,6vw,5rem); align-items:center; padding:clamp(3rem,7vw,5.5rem) 0 clamp(2.6rem,5vw,4rem); }
.lin-hero::before{ content:""; position:absolute; inset:0; background:var(--halo); pointer-events:none; }
.lin-hero > div{ position:relative; }
.lin-hero h1{ font-family:var(--display); font-size:clamp(2.8rem,5.2vw,4.3rem); font-weight:560;
  line-height:1.05; letter-spacing:-.015em; margin:1.3rem 0 1.4rem; max-width:13ch; text-wrap:balance; }
.lin-lede{ font-family:var(--serif); font-size:1.22rem; line-height:1.6; color:var(--text-soft);
  max-width:29rem; margin:0 0 2.1rem; }
.lin-hero-cta{ display:flex; gap:1rem; flex-wrap:wrap; align-items:center; }
.lin-coming{ font-family:var(--serif); font-style:italic; font-size:1.12rem; color:var(--text); }
.lin-ghost{ display:inline-flex; align-items:center; padding:.6rem 1.25rem; border-radius:999px;
  border:1px solid var(--line-2); color:var(--text); font-size:.95rem; font-weight:600;
  text-decoration:none; transition:transform .15s ease; }
.lin-ghost:hover{ color:var(--accent-text); transform:translateY(-1px); }
.lin-store{ display:inline-flex; align-items:center; gap:.7rem; text-align:left; padding:.6rem 1.15rem;
  border-radius:12px; background:var(--text); color:var(--bg); text-decoration:none; }
.lin-store:hover{ color:var(--bg); transform:translateY(-1px); }
.lin-store small{ display:block; font-size:10px; font-weight:500; letter-spacing:.03em; line-height:1.15; }
.lin-store b{ display:block; font-size:16px; font-weight:650; line-height:1.15; }
/* ---- launch swap ----
   Every block that says anything about availability carries data-launch="{{launchState}}",
   which build.mjs resolves from app.toml [store] app_store_url + play_store_url — the same
   facts that resolve {{appStoreAttr}} / {{playStoreAttr}}. Wording and link therefore flip
   TOGETHER at launch and cannot disagree; nothing is hand-flipped per page. These rules live
   HERE rather than in a page's own <style> block so every page gets them (features.html could
   not see index.html's inline copy), and they are container-agnostic so a hero badge row and a
   plain CTA button swap alike.

   The badge rule is the CROSS-PLATFORM half: {{launchState}} goes live as soon as ANY targeted
   store is, so on a one-store launch the block renders and each badge hides itself until its
   OWN store is live. Without it, publishing Tondo on Google Play while Apple still reviewed
   would have shown a dead "Download on the App Store" button beside the working Play one. */
.lin-hero-cta .launch-live, .lin-hero-cta .launch-prelaunch{ display:flex; gap:.9rem;
  flex-wrap:wrap; align-items:center; }
[data-launch="prelaunch"] .launch-live{ display:none; }
[data-launch="live"] .launch-prelaunch{ display:none; }
[data-store-badge="prelaunch"], [data-store-badge="absent"]{ display:none; }
.lin-pending{ color:var(--faint); }
.lin-hero-note{ font-size:.92rem; color:var(--text-soft); margin:1.6rem 0 0; }
.lin-hero-note b{ color:var(--text); }
/* The honest "what 1.1 adds" note. It used to be a boxed card between the H1 and the lede, which
   split the hero into three competing blocks (owner, 2026-09-07: "rommelig"). Now a quiet aside:
   an accent hairline, soft text, no surface. The words are unchanged (they carry a QE stamp). */
.tondo-version-note{ margin:.2rem 0 .9rem; padding:.15rem 0 .15rem .9rem;
  border-left:2px solid var(--accent); color:var(--text-soft); font-size:.88rem; line-height:1.5; }
.tondo-version-note strong{ color:var(--text); font-weight:650; }
.prose .tondo-version-note{ color:var(--text-soft); }
.lin-hero-figure{ display:grid; justify-items:center; }
/* ---- pricing ---- */
.lin-pricing{ border-top:1px solid var(--line); padding:clamp(3.6rem,8vw,6rem) 0; display:grid;
  justify-items:center; gap:1.6rem; text-align:center; }
.lin-price-card{ position:relative; width:min(30rem,100%); background:var(--surface);
  border:1px solid var(--line); border-radius:22px; padding:clamp(2rem,5vw,2.8rem);
  box-shadow:0 30px 60px -40px rgba(20,17,13,.5); overflow:hidden; }
.lin-price-card::before{ content:""; position:absolute; inset:0; background:var(--halo); pointer-events:none; }
.lin-price-card > *{ position:relative; }
.lin-badge{ display:inline-flex; padding:.35rem .8rem; border-radius:999px; font-size:11px;
  font-weight:750; letter-spacing:.08em; background:color-mix(in srgb,var(--accent) 10%,transparent);
  color:var(--accent-text); }
.lin-price{ font-family:var(--display); font-size:3.4rem; font-weight:560; margin:.9rem 0 .1rem; }
.lin-cadence{ color:var(--text-soft); margin:0 0 1.4rem; }
.lin-price-card ul{ list-style:none; padding:0; margin:0 auto 1.6rem; display:grid; gap:.6rem;
  font-size:.96rem; color:var(--text-soft); text-align:left; max-width:24rem; }
.lin-price-card li{ display:flex; gap:.6rem; align-items:baseline; }
.lin-check{ color:var(--verified); font-weight:800; flex:none; }
.lin-price-cta{ display:inline-flex; padding:.8rem 1.7rem; border-radius:999px; background:var(--accent);
  color:var(--accent-ink); font-weight:650; text-decoration:none; transition:transform .15s ease; }
.lin-price-cta:hover{ color:var(--accent-ink); transform:translateY(-1px); }
.lin-price-note{ font-size:.88rem; color:var(--text-soft); line-height:1.6; margin:1.1rem 0 0; }

/* ---- faq ---- */
.lin-faq{ padding:0 0 clamp(3.6rem,8vw,6rem); }
.lin-faq-inner{ width:min(46rem,100%); margin:0 auto; }
.lin-faq-inner .lin-head{ margin-bottom:2rem; }
.lin-faq details{ background:var(--surface); border:1px solid var(--line); border-radius:12px;
  margin:0 0 .7rem; }
.lin-faq summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between;
  align-items:baseline; gap:1rem; padding:1rem 1.2rem; font-weight:620; }
.lin-faq summary::-webkit-details-marker{ display:none; }
.lin-faq summary .pl{ color:var(--accent-text); font-weight:700; transition:transform .2s ease; }
.lin-faq details[open] summary .pl{ transform:rotate(45deg); }
.lin-faq details p{ padding:0 1.2rem 1.1rem; margin:0; color:var(--text-soft); line-height:1.65;
  font-size:.97rem; }

/* ---- what it does: four benefits, no devices ---- */
.lin-benefits{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(1.6rem,3vw,2.6rem);
  border-top:1px solid var(--line); padding:clamp(3rem,6vw,4.4rem) 0; }
.lin-benefit{ display:grid; gap:.7rem; align-content:start; }
.lin-glyph{ color:var(--indigo); fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round;
  stroke-linejoin:round; }
.lin-benefit h3{ font-family:var(--display); font-size:1.28rem; font-weight:560; line-height:1.2;
  letter-spacing:-.01em; margin:.2rem 0 0; }
.lin-benefit p{ margin:0; font-size:.97rem; line-height:1.6; color:var(--text-soft); }
.lin-benefit-more{ color:var(--text); }

/* ---- hand embroidery + every device: one still beside one column of text ---- */
.lin-craft, .lin-devices{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(2rem,6vw,5rem); align-items:center; border-top:1px solid var(--line);
  padding:clamp(3rem,7vw,5rem) 0; }
.lin-devices, .lin-craft.lin-flip{ grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); }
.lin-craft h2, .lin-devices h2{ font-family:var(--display); font-size:clamp(1.9rem,3.4vw,2.6rem);
  font-weight:560; line-height:1.1; letter-spacing:-.01em; margin:.9rem 0 1.1rem; text-wrap:balance; }
.lin-craft p, .lin-devices p{ color:var(--text-soft); line-height:1.65; margin:0 0 1rem; max-width:34rem; }
.lin-craft-figure, .lin-devices-figure{ display:grid; justify-items:center; margin:0; }
.lin-craft-figure .device.dv-iphone{ --dv-scale:.62; --rot:0deg; }
.lin-devices-figure .device.dv-ipad{ --dv-scale:.72; --rot:0deg; }

/* ---- responsive + motion ---- */
@media (max-width:1100px){
  .lin-benefits{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px){
  /* minmax(0,1fr), not 1fr: a bare 1fr floors at min-content, and the Dutch hero's longest
     word pushed the column 7px past a 320px viewport. */
  .lin-hero, .lin-craft, .lin-craft.lin-flip, .lin-devices{ grid-template-columns:minmax(0,1fr); }
  .lin-craft-figure, .lin-devices-figure{ order:-1; }
  /* No hamburger on this site: below 860px the nav used to vanish, which left Features,
     Pricing and Support unreachable from a phone (owner report 2026-09-07). It wraps to its
     own row instead, scrolling sideways when the words do not fit. */
  .lin-header{ flex-wrap:wrap; }
  .lin-nav{ order:3; flex:1 0 100%; margin:.4rem 0 0; gap:1.1rem; overflow-x:auto;
    -webkit-overflow-scrolling:touch; white-space:nowrap; scrollbar-width:none; }
  .lin-nav::-webkit-scrollbar{ display:none; }
  .lin-cta-pill{ margin-left:auto; }
}
/* ---- per-band frame scales ----
   The shared frame's footprint is FIXED px (--dv-fw x --dv-scale, 430px native iPhone / 546px
   iPad) while the columns around it are fluid, so each band narrower than the base footprint
   gets its own scale, measured at the band's tightest width. */
@media (min-width:861px) and (max-width:1152px){
  .lin-hero-figure .device.dv-iphone{ --dv-scale:.62; }
  .lin-craft-figure .device.dv-iphone{ --dv-scale:.56; }
  .lin-devices-figure .device.dv-ipad{ --dv-scale:.56; }
}
@media (max-width:560px){
  .lin-benefits{ grid-template-columns:1fr; }
  .lin-hero-figure .device.dv-iphone, .lin-craft-figure .device.dv-iphone{ --dv-scale:.62; }
  .lin-devices-figure .device.dv-ipad{ --dv-scale:.5; }
}
@media (max-width:440px){
  /* 'borduurwerk.' at the fluid floor (2.8rem) is wider than a 320px column. */
  .lin-hero h1{ font-size:2.35rem; }
  .lin-hero-figure .device.dv-iphone, .lin-craft-figure .device.dv-iphone{ --dv-scale:.56; }
  .lin-devices-figure .device.dv-ipad{ --dv-scale:.42; }
}
@media (prefers-reduced-motion: reduce){
  .lin-cta-pill, .lin-ghost, .lin-store, .lin-price-cta{ transition:none; }
}

/* Account entry uses the existing linen shell, pill shape and terracotta accent. */
.lin-account-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line-2);
  border-radius: 999px; color: var(--accent-text); font-size: .92rem;
  font-weight: 650; text-decoration: none; text-align: center;
}
.lin-account-link:hover { border-color: var(--accent-text); }
.lin-account-link:focus-visible { outline: 3px solid var(--indigo); outline-offset: 4px; }
.lin-header > .lin-account-link, .lin-header > .lin-cta-pill { flex-shrink: 0; }
.lin-foot-links .lin-account-link { padding: 0; border: 0; }
.lin-web-purchase {
  display: flex; gap: 2rem; align-items: center; justify-content: space-between;
  padding: 2rem 0; margin: -1rem 0 3rem; border-block: 1px dashed var(--line-2);
}
.lin-web-purchase h2 { font-size: 1.7rem; line-height: 1.25; margin-bottom: .75rem; }
.lin-web-purchase p { max-width: 42rem; font-size: 1rem; }
.lin-web-purchase > a { flex-shrink: 0; }
@media (max-width: 1150px) {
  .lin-header { flex-wrap: wrap; }
  .lin-header > .lin-account-link { margin-left: auto; }
  .lin-nav { order: 3; flex: 1 0 100%; margin: .4rem 0 0; gap: 1.1rem; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 600px) {
  .lin-header > .lin-cta-pill { display: none; }
  .lin-header > .lin-account-link { max-width: 64%; }
  .lin-web-purchase { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
}

/* Quiet handwork homepage, owner-selected concept, September 2026.
   Keep the shared builder and component sheet intact; this skin belongs to Tondo. */
body.quiet-site {
  --bg: #fcfaf4;
  --text: #2b2722;
  --text-soft: #655c50;
  --accent-text: #94371f;
  --paper: var(--bg);
  --ink: var(--text);
  --soft: var(--text-soft);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}
.quiet-site::before, .quiet-site::after { display: none; }
.quiet-site .lin-shell{
  width: min(100% - 64px, 1280px);
  max-width: 1280px;
  padding-inline: 0;
  margin-inline: auto;
}
.quiet-site .lin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border: 0;
}
.quiet-site .lin-mark { display: inline-flex; align-items: center; gap: 10px; }
.quiet-site .lin-mark span, .quiet-wordmark {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}
.quiet-header-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.quiet-header-links a, .quiet-footer a { text-decoration: none; }
.quiet-site a:hover { color: var(--accent-text); }
.quiet-site a:focus-visible, .quiet-site button:focus-visible, .quiet-site summary:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 5px;
}
.quiet-skip { position: absolute; top: -100px; left: 24px; z-index: 10; background: var(--bg); }
.quiet-skip:focus { top: 8px; padding: 12px; }
.quiet-hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 24px;
  padding-block: clamp(40px, 6vw, 88px) 44px;
}
.quiet-hero h1, .quiet-detail h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -.025em;
  max-width: 10ch;
  text-wrap: balance;
}
.quiet-lead { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; margin-top: 26px; }
.quiet-hero-copy { position: relative; z-index: 1; }
.quiet-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 13px 32px;
  margin-top: 36px;
  background: var(--accent-text);
  color: #fcfaf4;
  border: 1px solid var(--accent-text);
  border-radius: 9px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
}
.quiet-site .quiet-primary:hover { background: #792c1a; color: #fcfaf4; }
.quiet-price { margin-top: 12px; color: var(--text-soft); font-size: 14px; line-height: 1.6; }
.quiet-hero-art { display: block; width: 100%; height: auto; }
.quiet-crafts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: 30px 50px;
}
.quiet-crafts a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 52px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
}
.quiet-crafts a span, .quiet-account a, .quiet-text-link { color: var(--accent-text); }
.quiet-account {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: baseline;
  gap: 24px;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  font-size: 15px;
}
.quiet-account h2 { font: inherit; font-weight: 500; }
.quiet-account p { color: var(--text-soft); }
.quiet-account a { text-decoration: none; }
/* What Tondo does (the home-page standard, venture/templates/standards.toml website-home): four
   quiet columns under a hairline, serif titles like the craft links, soft text like the price. */
.quiet-features { padding-block: 34px 46px; border-top: 1px solid var(--line); }
.quiet-features h2 { font: inherit; font-size: 15px; font-weight: 500; color: var(--text-soft); }
.quiet-features ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.quiet-features h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}
.quiet-features p { margin-top: 10px; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.quiet-features .quiet-text-link { width: fit-content; }
@media (max-width: 1150px) {
  .quiet-features ul { grid-template-columns: repeat(2, 1fr); }
}
.quiet-footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 30px; }
.quiet-footer nav:not([data-language-picker]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
}
.quiet-footer nav:not([data-language-picker]) a { color: var(--text-soft); padding-block: 10px; }
.quiet-detail { max-width: 800px; margin-inline: auto; padding: 40px 0 70px; }
.quiet-back {
  display: inline-block;
  color: var(--text-soft);
  margin-bottom: 36px;
  font-size: 15px;
}
.quiet-detail h1 { max-width: 18ch; }
.quiet-detail .quiet-primary, .quiet-detail .quiet-text-link { width: fit-content; }
.quiet-detail > p { margin-top: 24px; }
.quiet-text-link { display: block; margin-top: 28px; text-underline-offset: 5px; }
.quiet-notice {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 16px;
}
.quiet-detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 56px;
  font-size: 16px;
}
.quiet-detail-nav [aria-current] { font-weight: 600; text-decoration-thickness: 2px; }
.quiet-stores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-block: 32px;
}
.quiet-store {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
}
.quiet-store strong { font-size: 24px; }
.quiet-store span { font-size: 16px; }
.quiet-store[aria-disabled="true"] { opacity: .6; }
@media (prefers-color-scheme: dark) {
  body.quiet-site {
    --bg: #1e1b17; --text: #e8e1d4; --text-soft: #c1b6a4; --accent-text: #e19a82;
  }
  .quiet-site .quiet-primary { color: #1e1b17; }
  .quiet-site .quiet-primary:hover { background: #efb7a4; color: #1e1b17; }
  .quiet-hero-art { border-radius: 16px; }
}
@media (max-width: 760px) {
  .quiet-site .lin-shell{ width: calc(100% - 40px); }
  .quiet-site .lin-header { padding-block: 20px; }
  .quiet-header-links { gap: 18px; font-size: 14px; }
  .quiet-hero { grid-template-columns: 1fr; gap: 12px; padding-block: 26px 8px; }
  .quiet-hero h1 { max-width: 13ch; }
  .quiet-lead { margin-top: 22px; }
  .quiet-primary { margin-top: 26px; }
  .quiet-hero-art { max-width: 520px; margin-inline: auto; }
  .quiet-crafts { grid-template-columns: 1fr; gap: 0; padding-block: 12px 24px; }
  .quiet-crafts a { justify-content: space-between; padding-block: 10px; }
  .quiet-account { grid-template-columns: 1fr; gap: 8px; }
  .quiet-features ul { grid-template-columns: 1fr; gap: 22px; }
  .quiet-footer { flex-direction: column; gap: 8px; }
  .quiet-detail { padding-top: 28px; }
}
@media (max-width: 420px) {
  .quiet-site .lin-mark img { width: 28px; height: 28px; }
  .quiet-site .lin-mark span { font-size: 26px; }
  .quiet-header-links { gap: 12px; font-size: 13px; }
  .quiet-stores { grid-template-columns: 1fr; }
}
.quiet-disclosure {
  max-width: 66ch;
  margin: 0 auto 48px;
  color: var(--text-soft);
  font-size: 16px;
}
.quiet-site main { max-width: none; width: 100%; padding: 0; margin: 0; }
.quiet-hero h1 { max-width: 13ch; }
.quiet-site .quiet-footer { background: none; border: 0; margin: 0; }
.quiet-header-links { flex-wrap: wrap; max-width: 100%; }

/* Comfortable touch targets for the compact navigation, including narrow phones. */
.quiet-header-links a, .quiet-footer nav:not([data-language-picker]) a, .quiet-detail-nav a, .quiet-back,
.quiet-account > a, .quiet-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ============================================================================
   "Op stof" (owner brief 2026-09-29: unique, audience-built sites).
   Tondo's people read a page the way they read a chart: slowly, by the detail. The page is worked on
   aida cloth: a weave for a ground, a running stitch that carries the eye from the headline to the work,
   the photograph as a piece of linen whose three crafts are also its links, each craft a small stitched
   sample, and every language a woven label. Scoped to .tq-* and the .quiet-site chrome; the craft, help
   and account pages keep their quiet rules above.
   ============================================================================ */
body.quiet-site{
  background-color:#fcfaf4;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M3 3l8 8M11 3l-8 8' stroke='%232b2722' stroke-opacity='.055' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme:dark){ body.quiet-site{ background-color:#1e1b17;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M3 3l8 8M11 3l-8 8' stroke='%23f4e8d4' stroke-opacity='.05' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); } }
.quiet-site .app-langs{ margin-top:1.6rem; }

/* ---- hero: the headline, a thread, the cloth ---- */
.tq-hero{ position:relative; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(1rem,3vw,3rem); padding-block:clamp(34px,5vw,64px) 30px; }
.tq-hero h1{ font-family:var(--serif); font-weight:500; font-size:clamp(3rem,7vw,6.6rem); line-height:.98; letter-spacing:-.035em; max-width:9ch; position:relative; padding-bottom:.28em; }
.tq-hero h1::after{ content:""; position:absolute; left:.05em; bottom:0; width:min(100%,6.5em); height:0; border-bottom:.075em dashed var(--accent-text); opacity:.85; }
.tq-hero .quiet-lead{ font-family:var(--serif); font-style:italic; color:var(--text-soft); }
.quiet-site .quiet-primary{ border-radius:999px; box-shadow:0 12px 24px -14px var(--accent-text); transition:transform .2s, box-shadow .2s, background .2s; }
.quiet-site .quiet-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 28px -14px var(--accent-text); }
.tq-cloth{ position:relative; justify-self:end; width:100%; max-width:46rem; transform:rotate(1.4deg); filter:drop-shadow(0 24px 30px rgba(60,40,20,.16)); }
.tq-cloth .quiet-hero-art{ border-radius:14px;
  -webkit-mask-image:radial-gradient(closest-side at 50% 50%,#000 78%,transparent 100%),linear-gradient(#000,#000); mask-image:radial-gradient(closest-side at 50% 50%,#000 78%,transparent 100%); }
.tq-spot{ position:absolute; display:block; border-radius:12px; transition:background .2s, outline-color .2s; outline:2px dashed transparent; outline-offset:4px; }
.tq-spot::after{ content:attr(data-label); position:absolute; left:50%; bottom:calc(100% + 10px); transform:translate(-50%,6px); padding:.35rem .7rem; border-radius:999px;
  background:var(--accent-text); color:#fcfaf4; font:600 .8rem/1.2 var(--sans); white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; }
.tq-spot:hover, .tq-spot:focus-visible{ outline-color:var(--accent-text); background:rgba(168,65,43,.07); }
.tq-spot:hover::after{ opacity:1; transform:translate(-50%,0); }
.tq-spot-heart{ left:20%; top:19%; width:24%; height:31%; }
.tq-spot-flower{ left:48.5%; top:7%; width:32%; height:46%; border-radius:50%; }
.tq-spot-knit{ left:18%; top:54%; width:39%; height:32%; }
.tq-thread{ position:absolute; left:0; right:0; bottom:-2.2rem; width:100%; height:5rem; z-index:0; pointer-events:none; overflow:visible; }
.tq-thread path{ fill:none; stroke:var(--accent-text); stroke-width:3; stroke-linecap:round; stroke-dasharray:14 12; opacity:.55; vector-effect:non-scaling-stroke; }

/* ---- the three crafts: stitched samples ---- */
.quiet-crafts{ gap:clamp(12px,2vw,26px); padding-block:44px 54px; }
.quiet-crafts a{ position:relative; flex-direction:column; gap:.9rem; padding:1.6rem 1rem 1.3rem; min-height:0; text-align:center; border-radius:10px;
  background:color-mix(in srgb,var(--surface) 80%,transparent); outline:1.8px dashed color-mix(in srgb,var(--text) 30%,transparent); outline-offset:-9px;
  transition:transform .3s cubic-bezier(.2,.9,.3,1), outline-color .2s, background .2s; }
.quiet-crafts a:hover{ transform:translateY(-6px) rotate(-.6deg); outline-color:var(--accent-text); background:var(--surface); }
.tq-motif{ width:6.4rem; height:5.6rem; overflow:visible; }
.tq-motif g{ fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-width:3.2; }
.mo-x{ stroke:#a8412b; } .mo-f{ stroke:#c46a55; stroke-width:2.2; } .mo-k{ stroke:#7c8a5e; stroke-width:3.4; }
.mo-f path:last-child{ stroke:#7c8a5e; }
@media (prefers-reduced-motion:no-preference){
  .tq-motif g path{ stroke-dasharray:60; stroke-dashoffset:60; animation:tq-sew 1.4s ease forwards; }
  .quiet-crafts a:nth-child(2) .tq-motif g path{ animation-delay:.25s; } .quiet-crafts a:nth-child(3) .tq-motif g path{ animation-delay:.5s; }
  .tq-thread path{ animation:tq-run 30s linear infinite; }
  .tq-hero h1::after{ animation:tq-run 30s linear infinite; }
  @keyframes tq-sew{ to{ stroke-dashoffset:0; } }
  @keyframes tq-run{ to{ stroke-dashoffset:-520; } }
}
.quiet-crafts a .tq-cn{ font-family:var(--serif); font-size:clamp(20px,1.8vw,26px); }

/* ---- what it does: a chart key ---- */
.quiet-features{ border-top:0; padding-block:14px 56px; }
.quiet-features h2{ font-family:var(--serif); font-size:clamp(1.7rem,3vw,2.4rem); font-weight:500; color:var(--text); margin-bottom:1.6rem; }
.quiet-features ul{ gap:14px; }
.quiet-features li{ position:relative; padding:1.5rem 1.3rem 1.3rem; border-radius:10px; background:color-mix(in srgb,var(--surface) 78%,transparent);
  outline:1.6px dashed color-mix(in srgb,var(--text) 26%,transparent); outline-offset:-8px; }
.tq-sym{ width:2.3rem; height:2.3rem; padding:.45rem; margin-bottom:.9rem; border-radius:6px; background:var(--surface); box-shadow:0 0 0 1.5px color-mix(in srgb,var(--text) 40%,transparent);
  fill:none; stroke:var(--accent-text); stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
.quiet-features li:nth-child(2) .tq-sym{ stroke:#3e5c6e; } .quiet-features li:nth-child(3) .tq-sym{ stroke:#7c8a5e; } .quiet-features li:nth-child(4) .tq-sym{ stroke:#a8412b; }
.quiet-features li:nth-child(1) .tq-sym{ fill:#a8412b22; }
.quiet-account{ border-top:1.6px dashed color-mix(in srgb,var(--text) 26%,transparent); }

@media (max-width:860px){
  .tq-hero{ grid-template-columns:1fr; }
  .tq-cloth{ justify-self:center; transform:none; max-width:32rem; }
  .tq-thread{ display:none; }
  .quiet-crafts a{ flex-direction:row; justify-content:flex-start; gap:1.1rem; text-align:left; padding:.9rem 1.2rem; }
  .tq-motif{ width:3.4rem; height:3rem; flex:none; }
}



/* ============================================================================
   Round 3 (owner feedback 2026-09-29): Tondo's four features are no longer a row of boxes. They are a
   PATTERN KEY, the legend printed beside every cross-stitch chart: a big symbol, its name and what it
   means, one row each on chart paper, with the section title in the left margin. Pure CSS; the DOM
   and the text-unit order are unchanged.
   ============================================================================ */
@media (min-width:860px){
  .quiet-features{ display:grid; grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr); column-gap:clamp(2rem,6vw,5rem); align-items:start; padding-block:clamp(2.5rem,5vw,4rem); }
  .quiet-features h2{ grid-column:1; grid-row:1; position:sticky; top:2rem; font-family:var(--serif); font-size:clamp(1.8rem,3.2vw,2.8rem); font-weight:500; color:var(--text); line-height:1.05; }
  .quiet-features ul{ grid-column:2; grid-row:1 / span 2; display:block; border-radius:10px; padding:0 clamp(1rem,2.4vw,2rem);
    background-color:color-mix(in srgb,var(--surface) 90%,#fff);
    background-image:linear-gradient(color-mix(in srgb,var(--accent-text) 16%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--accent-text) 16%,transparent) 1px,transparent 1px);
    background-size:20px 20px; border:1px solid var(--line); box-shadow:0 18px 30px -24px rgba(60,40,20,.35); }
  .quiet-features li{ display:grid; grid-template-columns:4.4rem minmax(0,1fr); column-gap:1.4rem; align-items:center; padding:1.6rem 0; border:0; outline:0; box-shadow:none; background:none; border-radius:0; }
  .quiet-features li::before, .quiet-features li::after{ display:none; }
  .quiet-features li + li{ border-top:2px dotted color-mix(in srgb,var(--accent-text) 45%,transparent); }
  .quiet-features li .tq-sym{ grid-row:1 / span 2; width:4.4rem; height:4.4rem; padding:1rem; border-radius:6px; background:var(--bg); border:2px solid var(--text); stroke-width:2.2; }
  .quiet-features h3{ margin:0; font-size:1.35rem; }
  .quiet-features li p{ margin:.3rem 0 0; max-width:34rem; }
  .quiet-features .quiet-text-link{ grid-column:1; grid-row:2; align-self:end; }
}
