/* Tabletop (after op.al). One photographed table fills the screen behind the page; sections are transparent letters and paper
   sheets lying on it. Black, tiny grotesk links; the end of the page goes dark and the footer wordmark is a dot matrix.
   Everything is scoped to html.th-tabletop. In the editor (html.ed) sections stay plain, solid and fully editable. */
html.th-tabletop {
  --paper: rgba(246, 241, 232, .9);
  --paper-s: #f4efe6;
  --ink2: #14110d;
  --dusk: 0;
  --poster: url(/tpl/tabletop/hero.webp);
  --serif: var(--hf), "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif; /* was var(--hw), ...: --hw is the head font WEIGHT, so every font: shorthand using --sans was invalid and fell back to body size */
  --thcol: clamp(320px, 31vw, 460px); /* the letter column; the table keeps its objects out of it */
}
html.th-tabletop:not(.ed) { background: var(--bg); }
html.th-tabletop:not(.ed) body { background: transparent; color: var(--ink2); }
html.th-tabletop:not(.ed) main { position: relative; z-index: 1; }
html.th-tabletop:not(.ed) .blk,
html.th-tabletop:not(.ed) .blk.bg-dark,
html.th-tabletop:not(.ed) .blk.bg-alt { background: transparent; }

/* ---- the table (fixed behind everything) ---- */
.thtable { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #e9e0d0; }
.thtable .scene { position: absolute; inset: 0; }
.thtable .scene > canvas.rk-gl { opacity: 0; transition: opacity .9s cubic-bezier(.2,.8,.2,1); }
.thtable .scene > canvas.rk-gl.on { opacity: 1; }
.thtable .scene.no-gl { background: var(--poster) center / cover no-repeat; }
.thveil { position: absolute; inset: 0; background: #0a0807; opacity: calc(var(--dusk, 0) * .94); }
html.th-tabletop.ed .thtable { display: none; }

/* ---- bar: a tiny wordmark at the edge, tiny links over the clear column, no chrome; paper fades in under it only once the page has scrolled ---- */
html.th-tabletop:not(.ed) header.top.thnav {
  position: fixed; top: 0; left: 0; right: 0; background: transparent; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink2); transition: color .6s cubic-bezier(.2,.8,.2,1);
}
html.th-tabletop:not(.ed) header.top.thnav.sc { border: 0; box-shadow: none; }
html.th-tabletop:not(.ed) header.top.thnav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -18px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s cubic-bezier(.2,.8,.2,1);
  background: linear-gradient(to bottom, rgba(233, 224, 208, .95) 0, rgba(233, 224, 208, .86) 60%, rgba(233, 224, 208, 0) 100%);
}
html.th-tabletop:not(.ed) header.top.thnav.sc::before, html.th-tabletop:not(.ed) header.top.thnav.open::before { opacity: 1; }
html.th-tabletop.th-dusk:not(.ed) header.top.thnav::before { opacity: 1; background: linear-gradient(to bottom, rgba(10, 8, 7, .95) 0, rgba(10, 8, 7, .86) 60%, rgba(10, 8, 7, 0) 100%); }
html.th-tabletop header.top.thnav .logo { flex: 0 0 auto; overflow: visible; white-space: nowrap; }
html.th-tabletop.th-dusk:not(.ed) header.top.thnav { color: #efe7da; }
html.th-tabletop header.top.thnav .w { min-height: 60px; gap: clamp(14px, 3vw, 40px); }
html.th-tabletop:not(.ed) header.top.thnav .w { max-width: none; padding: 0 22px; height: 56px; min-height: 0; }
html.th-tabletop header.top.thnav a { color: inherit; }
html.th-tabletop header.top.thnav .logo, html.th-tabletop header.top.thnav .brand {
  font: 500 15px/1 var(--serif); letter-spacing: -.01em; text-transform: none;
}
.thlinks { display: flex; gap: clamp(14px, 2.4vw, 32px); margin-left: auto; }
html.th-tabletop:not(.ed) .thlinks { margin: 0 auto; gap: clamp(16px, 2vw, 28px); }
.thlinks a, html.th-tabletop header.top.thnav .nvt, html.th-tabletop header.top.thnav nav a {
  font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .82; white-space: nowrap;
}
.thlinks a:hover, html.th-tabletop header.top.thnav nav a:hover { opacity: 1; }
html.th-tabletop header.top.thnav .btn {
  min-height: 40px; padding: 12px 16px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink2); color: #f4efe6; border: 1px solid var(--ink2); border-radius: 0; box-shadow: none;
}
html.th-tabletop.th-dusk:not(.ed) header.top.thnav .btn { background: #efe7da; color: #14110d; border-color: #efe7da; }
@media (max-width: 760px) { .thlinks { display: none; } }

/* ---- buttons: black, square, tiny type ---- */
html.th-tabletop .btn {
  border-radius: 0; background: var(--ink2); color: #f4efe6; border: 1px solid var(--ink2); box-shadow: none;
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; min-height: 40px; padding: 0 18px;
}
html.th-tabletop .btn:hover { background: #2a231b; }
html.th-tabletop .btn.g { background: transparent; color: var(--ink2); border-color: var(--ink2); }
html.th-tabletop .btn.g:hover { background: var(--ink2); color: #f4efe6; }

/* ---- the letter: hero is the masthead ---- */
html.th-tabletop .thhero { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: clamp(110px, 16vh, 170px) 0 clamp(70px, 10vh, 120px); }
html.th-tabletop .thhero .himg, html.th-tabletop .thhero .gimg { display: none; }
/* the masthead is compact: the letter itself starts on the first screen (the editor keeps the plain full-height hero above) */
html.th-tabletop:not(.ed) .thhero { min-height: 0; display: block; padding: 0; }
html.th-tabletop:not(.ed) .thhero > .w { padding-top: clamp(92px, 20vh, 200px); padding-bottom: 0; }
html.th-tabletop:not(.ed) .thhero .hin { position: relative; text-align: center; max-width: var(--thcol); margin: 0 auto; }
html.th-tabletop:not(.ed) .thhero .hin::before {
  content: ""; position: absolute; inset: -10% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(238, 230, 216, .6), rgba(238, 230, 216, .36) 55%, rgba(238, 230, 216, 0));
}
html.th-tabletop .thhero h1 { font: 500 clamp(2.9rem, 4.6vw, 4.4rem)/.95 var(--serif); letter-spacing: -.03em; color: var(--ink2); text-wrap: balance; }
html.th-tabletop .thhero .hs { font: 400 clamp(.9rem, 1.05vw, .98rem)/1.5 var(--sans); color: #3b342b; max-width: 34em; margin: 12px auto 0; }
html.th-tabletop .thhero .btns { justify-content: center; margin-top: 18px; gap: 8px; }
html.th-tabletop .thhero h1 .w, html.th-tabletop .thhero h1 .wd { display: inline-block; }

.thletter, .thnote { padding: clamp(40px, 8vh, 110px) 0; }
html.th-tabletop:not(.ed) .thletter { padding-top: clamp(30px, 5vh, 56px); }
html.th-tabletop:not(.ed) .thletter .w, html.th-tabletop:not(.ed) .thnote .w { max-width: 610px; position: relative; }
html.th-tabletop:not(.ed) .thletter .w::before, html.th-tabletop:not(.ed) .thnote .w::before {
  content: ""; position: absolute; inset: -9% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(238, 230, 216, .72), rgba(238, 230, 216, .4) 60%, rgba(238, 230, 216, 0));
}
/* the letter is a left-aligned editorial column, as narrow as the masthead above it */
@media (min-width: 760px) {
  html.th-tabletop:not(.ed) .thletter > .w { max-width: var(--thcol); padding-left: 0; padding-right: 0; }
  html.th-tabletop:not(.ed) .thletter .w::before { inset: -6% -14%; background: radial-gradient(closest-side, rgba(238, 230, 216, .55), rgba(238, 230, 216, .3) 60%, rgba(238, 230, 216, 0)); }
}
html.th-tabletop .thletter .lead { font: 400 clamp(1.05rem, 1.35vw, 1.22rem)/1.5 var(--serif); color: var(--ink2); text-align: left; letter-spacing: -.005em; text-wrap: pretty; }
html.th-tabletop .thnote .lead {
  font: 400 clamp(1.18rem, 1.9vw, 1.5rem)/1.6 var(--serif); color: var(--ink2); text-align: center; letter-spacing: -.005em; text-wrap: pretty;
}
html.th-tabletop .thletter .lead::first-line { font-weight: 600; }

/* ---- section heads ---- */
html.th-tabletop:not(.ed) .blk .sh { text-align: center; }
html.th-tabletop .blk .sh .eyebrow, html.th-tabletop .blk .sh small, html.th-tabletop .blk .eb {
  font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--a);
}
html.th-tabletop .blk .sh h2 { font: 500 clamp(2.2rem, 5vw, 4rem)/.98 var(--serif); letter-spacing: -.03em; color: var(--ink2); }
html.th-tabletop .blk .sub { color: #4a4137; }

/* ---- the price ledger: a sheet of paper on the table ---- */
.thobj .menuwrap, .thhours .hrs, .thcontact form.card {
  background: var(--paper); border: 0; border-radius: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -18px rgba(40, 24, 8, .45), 0 2px 5px rgba(40, 24, 8, .18);
}
.thobj .w, .thhours .w, .thcontact .w { max-width: 760px; }
.thobj .menuwrap { padding: clamp(26px, 5vw, 56px) clamp(20px, 5vw, 60px); transform: rotate(-.35deg); }
.thobj .mrow b { font: 500 clamp(1.1rem, 1.7vw, 1.35rem)/1.2 var(--serif); }
.thobj .mrow i { border-bottom: 1px dotted rgba(20, 17, 13, .45); }
.thobj .mrow span { font: 600 15px/1 var(--sans); color: var(--a); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.thobj ul.menu li p { font: 400 14px/1.55 var(--sans); color: #5b5247; }

/* ---- the photographs: linen squares, objects as cutouts ---- */
.thprints .w { max-width: 1100px; }
html.th-tabletop:not(.ed) .thprints .gal { gap: clamp(10px, 2vw, 22px); }
html.th-tabletop:not(.ed) .thprints .gal button {
  background: #e4dac8 url(/tpl/tabletop/detail.webp) center / 140% auto; border-radius: 0; box-shadow: 0 14px 30px -16px rgba(40, 24, 8, .5), 0 1px 3px rgba(40, 24, 8, .25);
  padding: 8%; transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
html.th-tabletop:not(.ed) .thprints .gal button:nth-child(3n + 1) { transform: rotate(-.9deg); }
html.th-tabletop:not(.ed) .thprints .gal button:nth-child(3n + 2) { transform: rotate(.7deg); }
html.th-tabletop:not(.ed) .thprints .gal button:hover { transform: rotate(0) scale(1.03); }
html.th-tabletop:not(.ed) .thprints .gal img { object-fit: contain; width: 100%; height: 100%; filter: drop-shadow(0 8px 8px rgba(40, 24, 8, .35)); }

/* ---- notes left on the table ---- */
.thnotes .w { max-width: 1020px; }
.thnotes .revs figure.card {
  background: var(--paper); border: 0; border-radius: 0; box-shadow: 0 16px 30px -16px rgba(40, 24, 8, .5), 0 1px 3px rgba(40, 24, 8, .22);
}
.thnotes .revs figure.card:nth-child(3n + 1) { rotate: -1.4deg; }
.thnotes .revs figure.card:nth-child(3n + 2) { rotate: .9deg; margin-top: 18px; }
.thnotes .revs figure.card:nth-child(3n) { rotate: -.5deg; }
.thnotes blockquote { font: 400 1.12rem/1.55 var(--serif); font-style: italic; color: var(--ink2); }
.thnotes .stars { color: var(--a); }
.thnotes figcaption { font: 500 13px/1.3 var(--sans); }
.thnotes figcaption .av { background: var(--ink2); color: #f4efe6; border-radius: 0; }
.thnotes figcaption small { color: #6b6156; }

.thhours .hrs { max-width: 480px; margin-inline: auto; padding: 14px 26px; }
.thhours .hrs li { font: 400 15px/1 var(--sans); }
.thhours .hrs li.today { background: transparent; color: var(--a); font-weight: 700; }

/* ---- location: a paper map until asked ---- */
.thmap {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; min-height: 240px; width: 100%; border: 0;
  background: #f1ebde; box-shadow: 0 18px 40px -18px rgba(40, 24, 8, .45), 0 2px 5px rgba(40, 24, 8, .18); overflow: hidden;
}
.thmap .thgrid { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(20, 17, 13, .16); stroke-width: 6; }
.thmap .thgrid .hv { stroke: rgba(168, 67, 31, .35); stroke-width: 9; }
.thmap .thpin { position: absolute; left: 45%; top: 31%; width: 18px; height: 18px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 6px rgba(168, 67, 31, .22); }
.thmap .thmapgo { position: relative; }
iframe.map.thlive { width: 100%; aspect-ratio: 16 / 7; min-height: 280px; border: 0; border-radius: 0; box-shadow: 0 18px 40px -18px rgba(40, 24, 8, .45); }
.thloc .addr { text-align: center; font: 400 15px/1.5 var(--sans); color: #3b342b; }
.thloc .btns { justify-content: center; }

.thcontact form.card { padding: clamp(22px, 4vw, 44px); }
.thcontact label { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #4a4137; }
.thcontact input, .thcontact textarea, .thcontact select { border-radius: 0; background: rgba(255, 255, 255, .6); border: 1px solid rgba(20, 17, 13, .3); font: 400 16px/1.4 var(--sans); }
.thcontact input:focus, .thcontact textarea:focus { outline: 2px solid var(--a); outline-offset: 1px; }

/* ---- dusk: the end of the page, in the dark ---- */
.thsign { min-height: 78vh; min-height: 78svh; display: grid; align-items: center; text-align: center; }
html.th-tabletop .thsign .lead {
  font: 400 clamp(2.6rem, 8vw, 6.5rem)/.98 var(--serif); letter-spacing: -.035em; color: #efe7da; text-align: center; text-wrap: balance;
}
html.th-tabletop .thsign .lead br + * , html.th-tabletop .thsign .lead p + p { color: #e9a07c; font-style: italic; }
html.th-tabletop:not(.ed) .thsign .w { max-width: 920px; }
html.th-tabletop:not(.ed) .thsign .w::before { display: none; }

/* ---- footer: solid black, tiny links, a dot matrix wordmark ---- */
html.th-tabletop:not(.ed) .blk.thfoot { background: #0a0807; color: #b9ae9f; padding-top: clamp(50px, 8vw, 100px); }
.thfoot a { color: #d9cfc0; text-decoration: none; }
.thfoot a:hover { color: #fff; }
.thfoot .fn { font: 500 15px/1 var(--serif); color: #efe7da; }
.thfoot h3 { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8f8576; }
.thfoot p, .thfoot li { font: 400 13px/1.7 var(--sans); }
.thfoot .fbot { border-top: 1px solid rgba(239, 231, 218, .14); font: 400 11px/1.4 var(--sans); color: #8f8576; }
.thfoot .fgiant { color: #efe7da; font-family: var(--serif); }
html.th-tabletop:not(.th-dusk) .mq { color: #1d1812; }
html.th-dots .thfoot .fgiant { display: none; }
.thdots { display: block; width: 100%; height: auto; margin: clamp(24px, 4vw, 54px) 0 0; }

/* ---- phone: its own composition. The heap sits above the sheets; text is a little lower ---- */
@media (max-width: 759px) {
  html.th-tabletop .thhero { align-items: end; padding: 0 0 clamp(60px, 11vh, 100px); min-height: 100svh; }
  html.th-tabletop .thhero h1 { font-size: clamp(2.7rem, 14.5vw, 4rem); }
  html.th-tabletop:not(.ed) .thhero .hin::before { inset: -8% -14%; }
  html.th-tabletop .thhero .btns { flex-direction: column; align-items: stretch; }
  /* live: the heap of objects fills the top of the first screen, the masthead and the letter sit on the clear linen below it */
  html.th-tabletop:not(.ed) .thhero > .w { padding-top: clamp(290px, 45svh, 400px); }
  html.th-tabletop:not(.ed) .thhero .btns { flex-direction: row; align-items: center; justify-content: center; margin-top: 16px; }
  html.th-tabletop:not(.ed) .thhero .btn { min-height: 44px; padding: 0 16px; }
  html.th-tabletop .blk { padding-left: 0; padding-right: 0; }
  html.th-tabletop .blk > .w, html.th-tabletop .blk > .hs2 { padding-left: 14px; padding-right: 14px; }
  .thobj .menuwrap { transform: none; padding: 22px 16px; }
  .thnotes .revs figure.card { rotate: 0deg !important; margin-top: 0 !important; }
  .thletter .lead, .thnote .lead { font-size: 1.2rem; }
  html.th-tabletop .thletter .lead { font-size: 1.08rem; }
  html.th-tabletop:not(.ed) .thletter { padding-top: 26px; }
  .thmap { aspect-ratio: 4 / 3; }
}

html.th-tabletop.ed [data-f], html.th-tabletop.ed [data-f] * { text-transform: none !important; }

/* ---- round 2: heads get a soft glow, wide gallery in two rows of five (the bar's paper veil is the ::before near the top) ---- */
/* the head is a centred block as wide as its own text (the eyebrow is a flex row in the shared sheet, so it needs justify-content),
   and the glow hugs that block instead of the whole column, so the label never ends up on an object beside the title */
html.th-tabletop:not(.ed) .blk .sh { position: relative; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
html.th-tabletop:not(.ed) .blk .sh .eyebrow { justify-content: center; }
html.th-tabletop:not(.ed) .blk .sh .eyebrow::before, html.th-tabletop:not(.ed) .blk .sh .eyebrow::after { display: none; }
html.th-tabletop:not(.ed) .blk .sh .sub { margin-left: auto; margin-right: auto; }
html.th-tabletop:not(.ed) .blk .sh::before {
  content: ""; position: absolute; inset: -30% -9% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(238, 230, 216, .7) 40%, rgba(238, 230, 216, .34) 72%, rgba(238, 230, 216, 0));
}
@media (min-width: 980px) { html.th-tabletop:not(.ed) .thprints .gal { grid-template-columns: repeat(5, 1fr); } .thprints .w { max-width: 1180px; } }

/* guard: the stock "Open now" pill, solid so it reads on every backdrop */
html.th-tabletop .pill.open{background:#dff3c4;color:#1d4a0b}

/* guard: small accent type and showcase numbers are one step deeper, so they read over the grain of the table photograph */
html.th-tabletop:not(.th-dusk) .blk .sh .eyebrow, html.th-tabletop:not(.th-dusk) .blk .sh small, html.th-tabletop:not(.th-dusk) .blk .eb { color: color-mix(in srgb, var(--a) 62%, #1a0d05); }
html.th-tabletop .sc .scr .n { background: var(--paper); color: #2e2820; padding: .22em .6em; border-radius: 99px; }

/* guard: showcase sub-labels sit over the dot field and hover previews; a paper plate and a deeper ink keep them readable */
html.th-tabletop .sc .scr .t small { background: var(--paper); color: #473f34; padding: .1em .5em; border-radius: 4px; }
/* muted ink: sticky letters and FAQ answers sit straight on the table photo, so the stock grey-brown measured 3.8-4.2:1 */
html.th-tabletop { --mut: #433b31; }
@media(prefers-reduced-motion:reduce){html.th-tabletop *,html.th-tabletop *::before,html.th-tabletop *::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important}}

/* accent and dark sections lie on the light table too: dark ink until dusk, so their text is readable (axe 1.26:1 before) */
html.th-tabletop:not(.ed):not(.th-dusk) .blk:is(.bg-accent,.bg-dark):not(.thsign):not(.thfoot){--fg:var(--ink2);--mut:#4a4237;color:var(--ink2)}
/* eyebrow placed straight in .w (stats, sticky): same darkened accent as the section heads (axe 2.9:1 with the raw accent) */
html.th-tabletop:not(.th-dusk) .blk:not(.bg-accent,.bg-image) .w > .eyebrow { color: color-mix(in srgb, var(--a) 62%, #1a0d05); }

/* ===== round 3 (2026-11-30): finished footer, ghost bar button at dusk, solid paper, bigger masthead, numbered heads, taped sheets ===== */
/* R1 the cream block in the dark bar becomes a hairline ghost button; it fills only on hover */
html.th-tabletop.th-dusk:not(.ed) header.top.thnav .btn { background: transparent; color: #efe7da; border-color: rgba(239, 231, 218, .55); }
html.th-tabletop.th-dusk:not(.ed) header.top.thnav .btn:hover { background: #efe7da; color: #14110d; border-color: #efe7da; }
html.th-tabletop.th-dusk:not(.ed) header.top.thnav .logo { color: #efe7da; }
/* R2 sheets of paper are opaque: they stay warm paper on the light table and over the dark veil (no grey-pink mud) */
.thobj .menuwrap, .thhours .hrs, .thcontact form.card, .thnotes .revs figure.card { background: var(--paper-s); }
.thcontact form.card { box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 30px 60px -24px rgba(0, 0, 0, .55), 0 2px 6px rgba(40, 24, 8, .25); }
.thcontact form.card::before, .thobj .menuwrap::before {
  content: ""; position: absolute; left: 50%; top: -13px; width: 88px; height: 26px; translate: -50% 0; rotate: -2deg; pointer-events: none;
  background: rgba(214, 188, 140, .62); box-shadow: 0 1px 2px rgba(40, 24, 8, .2); mix-blend-mode: multiply;
}
.thcontact form.card, .thobj .menuwrap { position: relative; }
.thnotes .revs figure.card { position: relative; }
.thnotes .revs figure.card::after {
  content: ""; position: absolute; left: 50%; top: -11px; width: 64px; height: 22px; translate: -50% 0; rotate: 3deg; pointer-events: none;
  background: rgba(214, 188, 140, .55); box-shadow: 0 1px 2px rgba(40, 24, 8, .18); mix-blend-mode: multiply;
}
.thnotes .revs figure.card:nth-child(2n)::after { rotate: -4deg; width: 54px; }
.thobj .menuwrap { border-top: 0; }
.thobj .mrow { align-items: baseline; }
.thobj ul.menu li { padding-top: 16px; padding-bottom: 16px; }
/* R3 masthead: a real scale jump, a serif italic standfirst, a hairline rule */
html.th-tabletop .thhero h1 { font-size: clamp(3.4rem, 6.6vw, 6.2rem); line-height: .9; letter-spacing: -.04em; }
html.th-tabletop:not(.ed) .thmain .hin { max-width: min(var(--thcol), 520px); }
html.th-tabletop .thhero .hs { font: italic 400 clamp(1.05rem, 1.25vw, 1.2rem)/1.45 var(--serif); color: #2e2820; letter-spacing: -.005em; margin-top: 18px; text-wrap: balance; }
html.th-tabletop:not(.ed) .thmain .hin::after { content: ""; display: block; width: 56px; height: 1px; background: var(--ink2); opacity: .55; margin: 26px auto 0; }
html.th-tabletop .thhero .btns { margin-top: 22px; }
@media (min-width: 760px) { html.th-tabletop:not(.ed) .thletter > .w { padding-top: 4px; } }
html.th-tabletop .thletter .lead::first-line { font-style: italic; font-weight: 500; letter-spacing: .005em; }
/* section heads: running numbers in the eyebrow, a thin rule under each title */
html.th-tabletop:not(.ed) main { counter-reset: thsec; }
html.th-tabletop:not(.ed) .blk .sh .eyebrow { counter-increment: thsec; letter-spacing: .2em; }
html.th-tabletop:not(.ed) .blk .sh .eyebrow::before { display: inline; content: "0" counter(thsec) "\00a0\00a0/\00a0\00a0"; width: auto; height: auto; background: none; border: 0; margin: 0; position: static; transform: none; opacity: .7; font-variant-numeric: tabular-nums; }
html.th-tabletop:not(.ed) .blk .sh h2::after { content: ""; display: block; width: 44px; height: 1px; background: var(--ink2); opacity: .5; margin: 18px auto 0; }
html.th-tabletop:not(.ed) .blk .sh .sub { margin-top: 14px; }
/* gallery tiles carry a plate number */
html.th-tabletop:not(.ed) .thprints .gal { counter-reset: thpl; }
html.th-tabletop:not(.ed) .thprints .gal button { counter-increment: thpl; position: relative; }
html.th-tabletop:not(.ed) .thprints .gal button::after {
  content: "No. " counter(thpl, decimal-leading-zero); position: absolute; left: 10px; bottom: 8px; font: 600 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #3b342b; opacity: .8;
}
/* dusk: the sign-off gets a small mark above it */
html.th-tabletop:not(.ed) .thsign .lead::before { content: ""; display: block; width: 1px; height: 64px; background: linear-gradient(to bottom, rgba(239, 231, 218, 0), rgba(239, 231, 218, .6)); margin: 0 auto clamp(24px, 4vw, 44px); }
/* R1 footer: a composed dark page: seam fade in, brand + contact in a grid, brighter wordmark, even bottom line */
html.th-tabletop:not(.ed) .blk.thfoot { position: relative; padding: clamp(64px, 9vw, 120px) 0 0; border-top: 0; background: #0a0807; }
html.th-tabletop:not(.ed) .blk.thfoot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 120px; pointer-events: none; background: linear-gradient(to bottom, rgba(10, 8, 7, 0), #0a0807); }
html.th-tabletop:not(.ed) .thfoot > .w { max-width: 1180px; }
.thfoot .fgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: 0; }
.thfoot .fn { font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.05 var(--serif); letter-spacing: -.025em; margin: 0 0 14px; }
.thfoot .fgrid > div:first-child p:not(.fn) { font: italic 400 1.08rem/1.5 var(--serif); color: #c9bdad; max-width: 30ch; }
.thfoot h3 { color: #a79c8c; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(239, 231, 218, .14); }
.thfoot .fgrid p, .thfoot .fgrid li { font: 400 15px/1.5 var(--sans); }
.thfoot .fgrid p a { color: #efe7da; text-decoration: underline; text-decoration-color: rgba(239, 231, 218, .0); text-underline-offset: 5px; transition: text-decoration-color .3s, color .2s; }
.thfoot .fgrid p a:hover { color: #fff; text-decoration-color: rgba(255, 255, 255, .85); }
.thfoot .fbot { align-items: center; margin-top: 14px; padding: 18px 0 24px; color: #9a8f80; }
.thfoot .fbot a { color: #efe7da; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(239, 231, 218, .5); }
.thdots { margin-top: clamp(20px, 2.4vw, 30px); }
@media (max-width: 759px) {
  .thfoot .fgrid { grid-template-columns: 1fr; gap: 28px; }
  html.th-tabletop:not(.ed) header.top.thnav .btn { min-height: 44px; }
}

/* 2026-11-30 phone: the header veil is fuller so headings passing under it do not ghost through */
@media (max-width: 640px) { html.th-tabletop:not(.ed):not(.th-dusk) header.top.thnav::before { bottom: -26px; background: linear-gradient(to bottom, rgba(233, 224, 208, 1) 0, rgba(233, 224, 208, .97) 72%, rgba(233, 224, 208, 0) 100%); } }
