/* SHIN Zürich — one stylesheet for the whole site.
   Direction "Season & Sea" (approved 2026-09-07), monochrome since 2026-09-08 (the owner's minimum look): near-black,
   one typeface, Jost — light for headings, regular for text (2026-09-08) — the 心 mark as the only ornament. Three tones of text and nothing else:
   three tones stepping down: section titles --text (251), headings --text1 (226), everything else --text2/--text3 (196); the
   current season and a hovered link light up to --text. One grey for every line. No colour, no boxes, no filled buttons:
   a button is a word with a hairline under it, like a link.
   Mobile-first; every path in the pages is relative so the site serves from a host root or a preview path. */

:root {
  --bg: #000000;                         /* pure black, the photograph's own black, so the picture has no edge */
  --bg2: #000000;                        /* the bands, the form and the home page's footer: black like the page since 2026-11-13 (Qing: "make bg full black"); it was #161616. The name stays for the rules that use it */
  --line: #3d3d3d;                       /* one grey for every line: hairlines, frames, rings */
  --line2: #3d3d3d;                      /* same tone — kept as a name for the older rules */
  --text: #fbf9f5;                       /* section titles: 251 */
  --text1: #e2ddd5;                      /* headings, subsection titles, the lit season: 226 */
  --text2: #c4beb4;                      /* sentences, nav, footer, form values: 196 — 11.6:1 on the black */
  --text3: #c4beb4;                      /* captions, table and form labels: the sentence tone — their place already says what they are */
  --text4: #c4beb4;                      /* same tone — kept as a name for the older rules */
  --text5: #4a4640;
  --sans: 'Jost', 'Noto Sans SC', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Noto Sans SC: the home page loads it for its nine Chinese characters only (the link in index.html); every other character it is asked for falls through */
  --pad: 20px;
  --measure: 780px;                      /* the reading width of text and tables: about 80 characters at 19px (the owner found full-width lines busy, 2026-09-08) */
  /* the type scale — the only text sizes on the site (phone value here, desktop value at 900px below) */
  --fs-caption: 13px;                    /* uppercase, tracked: nav, buttons, links, small labels */
  --fs-body: 17px;                       /* every sentence: running text, tables, footer, form fields, notes */
  --fs-label: clamp(26px, 2.4vw, 34px);  /* the section title (VISION, MENU …): the largest line of the block */
  --fs-h2: clamp(20px, 1.7vw, 24px);     /* the heading under the title: one step above the body */
}
@media (min-width: 900px) { :root { --pad: 48px; --fs-caption: 15px; --fs-body: 19px; } }
@media (min-width: 1280px) { :root { --pad: 72px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* an element marked hidden stays hidden whatever its class says (the second step of the reservation) */
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; }
/* a page shorter than the screen still ends with the footer at the bottom edge: the column stretches, the main grows */
body { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > :last-child { flex: 1 0 auto; } /* and the last section stretches with it, so its ground reaches the footer */
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; color: var(--text1); } /* regular like the sentences: size and tone carry the rank, not a thin stroke */

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.label { font-size: var(--fs-caption); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text4); }
.label.gold { color: var(--text); font-size: var(--fs-label); font-weight: 300; letter-spacing: 0.18em; } /* the section title in the bright tone: the eye steps down from it, never up */
.label.gold.sub { font-size: var(--fs-h2); color: var(--text1); font-weight: 400; text-transform: none; letter-spacing: -0.01em; line-height: 1.1; } /* a subsection's label (the duck, the pop-up under the menu): the same line as the heading beneath it — size, colour, weight */
.muted { color: var(--text3); }
.rule { height: 1px; background: var(--line); }

/* ── header ─────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } /* no line under the header */
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand-row { display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.top .brand { font-size: var(--fs-caption); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text2); }   /* the first nav item is the word Home, in the nav's own type (2026-09-11); the heart stays the hero's and the footer's */
.mark-heart { width: 24px; height: 24px; opacity: 0.8; } /* the heart is one item of the row, not a highlighted logo: a little taller than the capitals (28px stood out, 20px hid) and in their grey, 0.8 of white being the 196 tone */
.mark { height: 11px; width: auto; } /* the SHIN wordmark at the footer text's size: its letters (0.81 of the image height) equal the capitals of the 13/15px caption */
@media (min-width: 900px) { .mark { height: 13px; } .brand { gap: 12px; } }
/* the header shows the nav from 900px, and nothing but the menu button on phones */
@media (max-width: 899px) { .top .brand { display: none; } }
.nav { display: none; align-items: center; gap: 36px; font-size: var(--fs-caption); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text2); }
.nav a.on { color: var(--text); border-bottom: 1px solid var(--text); padding-bottom: 4px; }
@media (min-width: 900px) { .nav { display: flex; } }
.top-right { display: flex; align-items: center; gap: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: transparent; border: 1px solid var(--line2); border-radius: 0; color: var(--text2); font: inherit; font-size: var(--fs-caption); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: border-color 0.2s, color 0.2s; } /* a button is a boxed word: the frame grey of the fields, no fill */
.btn:hover { color: var(--text); border-color: var(--text); }
.link { display: inline-block; align-self: flex-start; font-size: var(--fs-caption); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text2); border-bottom: 1px solid var(--line2); padding-bottom: 6px; }
.link:hover { border-color: var(--text); }
.body a, .fact .v a { border-bottom: 1px solid var(--line2); } /* a link inside a sentence: the sentence's own type with a hairline */
.body a:hover, .fact .v a:hover { border-color: var(--text); }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; align-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.burger span { display: block; width: 22px; height: 1px; background: var(--text2); }
@media (min-width: 900px) { .burger, .top-right { display: none; } .top .wrap { justify-content: center; gap: 36px; } } /* on desktop the phone menu leaves the row and Home (the home link) and the nav stand as one group in the middle, the heart as its first word */
.menu-sheet { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.menu-sheet.open { display: block; }
.menu-sheet a { display: block; padding: 18px var(--pad); font-size: var(--fs-caption); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text2); border-bottom: 1px solid var(--line); }

/* ── hero ─────────────────────────────────────────────── */
/* the hero is the brand alone on every width: the 心 with the Michelin badge beneath, centred on the black ground,
   filling the first screen under the header; the photograph closes the page above the footer (.cover) (2026-09-08) */
.hero { min-height: calc(100svh - 73px); background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 48px 0; }
.hero .wrap { display: flex; justify-content: center; }
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 44px; }
.hero-heart { width: 76vw; max-width: 400px; height: auto; }
.hero-badge { height: 64px; width: auto; opacity: 0.9; } /* the 2026 badge has four lines (flower, MICHELIN, GUIDE, year) in the height the 2025 badge had with three (Qing, 2026-11-13: smaller) */
@media (min-width: 900px) { .hero-brand { gap: 56px; } .hero-heart { width: 30vw; max-width: 460px; } .hero-badge { height: 80px; } }
.cover img { display: block; width: 100%; height: 64vw; object-fit: cover; object-position: 55% 45%; }
@media (min-width: 900px) { .cover img { height: 72vh; max-height: 780px; } }

/* ── sections ─────────────────────────────────────────── */
.section { padding: 48px 0; }
/* the sections alternate their ground: hero black, vision grey, menu with its subsections black, the photograph, footer grey; the inner pages put their one section on the grey and keep a black footer */
.section.band { background: var(--bg2); }
.section.sub { padding-top: 0; }
#menu { padding-bottom: 48px; } /* a subsection continues its section's ground (the duck and the pop-up under the menu), with air above its title: about three paragraph gaps, half a section's (Qing, 2026-11-13: with the facts open, 28 and 32 px set the subsections too close) */
.after-facts { margin-top: 40px; } /* the closing sentence after a block of facts: clearly more than the 22 px between two facts on a phone, or it reads as the last fact's second paragraph */
@media (min-width: 900px) { #menu { padding-bottom: 64px; } }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; } }
.stack { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) { .stack { gap: 28px; } }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.body { font-size: var(--fs-body); line-height: 1.75; color: var(--text2); }
.panel { position: relative; background: var(--bg2); border: 1px solid var(--line); }
.vision > *, .section > .wrap > .body { max-width: var(--measure); }
/* from 900px the reading column stands centred under the header; the text inside it stays left-aligned */
@media (min-width: 900px) { .vision > *, .section > .wrap > .body, .section-head, .terms, .special { margin-left: auto; margin-right: auto; } }
.vision .label { margin-bottom: 18px; }
.vision .h2 { margin-bottom: 24px; }
.vision .body + .body { margin-top: 18px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; max-width: var(--measure); }
@media (min-width: 900px) { .section-head { margin-bottom: 28px; } }
.section-head .stack { gap: 12px; }
@media (min-width: 900px) { .section-head .stack { gap: 14px; } }
.section-head .link { flex: none; display: none; }
@media (min-width: 900px) { .section-head .link { display: inline; } }

/* the current season is lit inside the sentence itself, in the heading tone — no row of seasons */
.now { color: var(--text1); }
.top .nav a.on { color: var(--text3); border: 0; padding: 0; }

/* the duck and the pop-up share the band: stacked on phones, side by side from 900px */
/* the duck and the pop-up, one under the other within the reading width */
.special { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: var(--measure); } /* the same gap as between the facts and the first subsection */
@media (min-width: 900px) { .special { gap: 64px; } }
.special .text { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 900px) { .special .text { gap: 22px; } }


/* ── reservation page ─────────────────────────────────── */
.label.title { margin-bottom: 40px; max-width: var(--measure); } /* a page title above its block, at the reading column's edge */
@media (min-width: 900px) { .label.title { margin-left: auto; margin-right: auto; } }
.reserve { max-width: var(--measure); margin: 0 auto; } /* the reservation page is one reading column like every other page: the title, the form, and inside it the policies above the tick */
/* one table style for the menu, the etiquette page and the reservation page: label above the sentence, air between the
   items and no lines (the owner found the row lines busy, 2026-09-08) */
.terms { max-width: var(--measure); }
.form .terms > div:first-child { padding-top: 8px; }
/* one table style for the menu, the etiquette page and the reservation page: label above the sentence, hairline rows */
.terms > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 0 0 32px; font-size: var(--fs-body); line-height: 1.6; }
.terms > div:last-child { padding-bottom: 0; }
/* the menu's facts and the etiquette's points: a name and its sentence, always open (the owner, 2026-11-13: the + of
   the fold-outs was not understood, and a click is not simple). On a phone the name stands above its sentence; from
   900px the names have a column of their own. Air between the items and no lines, as in the table above */
.facts { max-width: var(--measure); }
@media (min-width: 900px) { .facts { margin-left: auto; margin-right: auto; } }
.fact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 0 0 22px; font-size: var(--fs-body); line-height: 1.6; }
.fact:last-child { padding-bottom: 0; }
.fact .k { color: var(--text1); }
.fact .v { color: var(--text2); }
@media (min-width: 900px) { .fact { grid-template-columns: 210px minmax(0, 1fr); column-gap: 30px; align-items: baseline; padding-bottom: 16px; } .fact .v { grid-column: 2; } } /* a second paragraph stays in the sentences' column */
.terms .k { color: var(--text4); }
.terms .v { color: var(--text2); }
.form { display: flex; flex-direction: column; gap: 22px; padding: 28px; border: 1px solid var(--line); background: var(--bg2); }
@media (min-width: 900px) { .form { gap: 28px; padding: 48px; } }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label, .field .k { font-size: var(--fs-body); color: var(--text4); } /* the same label style as the tables: body size, sentence case, grey */
.form-note, .received { font-size: var(--fs-body); color: var(--text3); margin: 0; }   /* the platform's answer to a request, in the form's own voice */
.received b { color: var(--text); letter-spacing: .06em; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 1px solid var(--line2); color: var(--text); font: inherit; font-size: var(--fs-body); padding: 0 18px; height: 52px; border-radius: 0; outline: none; -webkit-appearance: none; appearance: none; }
.field textarea { height: 96px; padding: 14px 18px; resize: none; } /* no resize grip: Safari paints its own grip on a white corner once a scrollbar exists, whatever ::-webkit-resizer says; the field grows with the note instead (site.js) */
/* the scrollbar of a long note, always visible when it overflows, in our tone. Browsers with the WebKit pseudo-elements drop
   them as soon as the standard properties are set, so the standard ones are used only where the pseudo-elements do not exist */
.field textarea::-webkit-scrollbar { width: 10px; }
.field textarea::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 5px; border: 2px solid var(--bg2); } /* frame grey at rest */
.field textarea:focus::-webkit-scrollbar-thumb { background: var(--text); } /* bright with the frame when focused */
.field textarea::-webkit-scrollbar-track { background: transparent; }
@supports not selector(::-webkit-scrollbar) { .field textarea { scrollbar-color: var(--line2) transparent; scrollbar-width: thin; } .field textarea:focus { scrollbar-color: var(--text) transparent; } }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); } /* a focused field: the frame in the bright tone, like the chosen seating */
.field input::placeholder, .field textarea::placeholder { color: var(--text5); }
.field input::-webkit-contacts-auto-fill-button, .field input::-webkit-credentials-auto-fill-button { background-color: var(--text3); } /* Safari's autofill mark in our tone instead of black on black */
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23bdb7ad' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.seat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seat label { display: flex; align-items: center; justify-content: center; height: 52px; border: 1px solid var(--line2); color: var(--text2); font-size: var(--fs-body); cursor: pointer; letter-spacing: 0; text-transform: none; }
.seat input { position: absolute; opacity: 0; width: 0; height: 0; }
.seat input:checked + label { border-color: var(--text); color: var(--text); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-body); line-height: 1.5; color: var(--text2); }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 2px 0 0; flex: none; border: 1px solid var(--line2); background: transparent; border-radius: 0; cursor: pointer; }
.check input:checked { background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23000000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--text); }
.form .btn { align-self: flex-start; max-width: 100%; white-space: normal; text-align: center; } /* "Pay CHF 300.00 and reserve" is longer than a phone's form: the words wrap inside the frame instead of running out of it */
@media (max-width: 480px) { .form .btn { align-self: stretch; } } /* on a phone the form's buttons take its width */

/* ── footer ───────────────────────────────────────────── */
.foot { padding: 32px 0 28px; }
.foot.band { background: var(--bg2); } /* the home page's footer under the photograph: the bands' ground, black since 2026-11-13 */
@media (min-width: 900px) { .foot { padding: 40px 0 32px; } }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.foot .brand { display: inline-flex; vertical-align: -4px; }
.foot .mark-heart { width: 22px; height: 22px; }
/* from 900px the four blocks are sized to their content and spread between the two content edges, equal space between neighbours */
@media (min-width: 900px) { .foot .wrap { grid-template-columns: repeat(4, auto); justify-content: space-between; column-gap: 40px; } }
.foot .col { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-caption); line-height: 1.6; color: var(--text2); }
.foot .col .label { margin-bottom: 2px; }
.social { display: inline-flex; gap: 16px; align-items: center; vertical-align: bottom; height: 1.6em; } /* the two glyphs on the first line of their block, the © line beneath; their viewBoxes are cropped so the first glyph's edge is the column's edge */
.social a { display: inline-flex; color: var(--text3); }
.social svg { height: 17px; width: auto; display: block; }
.social a:hover { color: var(--text); }

/* scroll-reveal (Apple-style rise from below) — La Famiglia's rule, EmicTechCH/lafamiglia-website 8dda921 app/static/style.css;
   site.js adds .reveal to each target, so nothing is hidden without JavaScript or with reduced motion */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1),
              transform .8s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }
