/* Sites blocks. deal.py writes colours and fonts between the deal markers; every block reads tokens only.
   Blocks (skills/blocks.html shows each one filled in): nav, heroes (.hero-place .hero-statement .hero-split
   .hero-word .hero-field) and sections (.rows .facts .pair .band .quote .gallery .visit), then the footer.
   Neighbouring sections never use the same block. */
/* deal:start */
:root {
  --bg: #dedad3; --surface: #d3cec6; --ink: #0a0a0a; --muted: #5c5852; --accent: #256f82; --accent-ink: #ffffff;
  --font-display: 'Manrope', Georgia, serif; --font-body: 'Manrope', system-ui, sans-serif; --display-weight: 600; --tracking: -0.035em;
  --radius: 0;
}
/* deal:end */
/* blocks:start (fixed: lint checks this part is unchanged; site rules go under the site marker at the end) */
:root {
  --wrap: 76rem; --gutter: clamp(20px, 5vw, 80px); --nav-h: 64px;
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); --t-lead: clamp(1.1rem, 1rem + 0.5vw, 1.45rem);
  --t-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); --t-h2: clamp(2rem, 1.4rem + 2.6vw, 3.75rem);
  --t-h1: clamp(2.6rem, 1.4rem + 5.6vw, 7rem); --t-giant: clamp(3.6rem, 1rem + 13vw, 15rem);
  --space-section: clamp(4rem, 2.5rem + 6vw, 9rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.6 var(--font-body); }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking); line-height: 1; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: var(--t-h1); max-width: 15ch; }
h2 { font-size: var(--t-h2); max-width: 18ch; }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { margin: 0; max-width: 60ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.lead { font-size: var(--t-lead); line-height: 1.45; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 1.5rem; }
.stack > .btn-line, .stack > .btn { margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .8rem 1.5rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-line { display: inline-flex; align-items: center; padding-inline: 0; min-height: 44px; border-bottom: 2px solid currentColor; border-radius: 0; }
/* nav: logo, a few links on wide screens, the action */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.nav .wrap { display: flex; align-items: center; gap: 2rem; height: var(--nav-h); }
.logo { font: var(--display-weight) 1.35rem/1 var(--font-display); letter-spacing: var(--tracking); text-decoration: none; margin-right: auto; }
.nav-links { display: none; gap: 1.75rem; }
.nav-links a { text-decoration: none; }
.nav .btn { min-height: 44px; padding: .55rem 1.1rem; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ''; width: 22px; height: 14px; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); display: grid; gap: .25rem; min-width: 14rem; padding: .75rem; background: var(--bg); box-shadow: 0 12px 40px rgb(0 0 0 / 18%); border-radius: var(--radius); }
.menu nav a { padding: .75rem; text-decoration: none; font-weight: 600; }
/* heroes: one screen under the nav; nothing laid over a photograph to make words readable */
.hero { min-height: calc(100svh - var(--nav-h)); display: grid; }
.hero-text { display: grid; gap: 1.5rem; align-content: end; padding-block: 2.5rem 3rem; }
.hero-place { height: calc(100svh - var(--nav-h)); min-height: 34rem; grid-template-rows: minmax(0, 1fr) auto; }
.hero-place > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.hero-statement h1 { font-size: clamp(3rem, 0.8rem + 7.4vw, 9.5rem); max-width: 14ch; line-height: .94; }
.hero-split > img { width: 100%; height: 48svh; object-fit: cover; }
.hero-word .hero-text, .hero-statement .hero-text { align-content: center; }
.hero-word, .hero-statement { min-height: min(100svh - var(--nav-h), 40rem); }
.hero-word .name { font-size: clamp(3.6rem, 0.5rem + 15.5vw, 19rem); line-height: .82; max-width: none; letter-spacing: -0.045em; }
.hero-field { background: var(--accent); color: var(--accent-ink); }
.hero-field .btn-primary { background: var(--accent-ink); color: var(--accent); }
/* sections */
.section { padding-block: var(--space-section); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; padding: 1.25rem 1.25rem; background: var(--surface); }
.rows .name { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); }
.rows .price { font-weight: 600; white-space: nowrap; }
.rows .detail { grid-column: 1 / -1; color: var(--muted); }
.facts { display: grid; gap: 2.5rem 2rem; }
.facts .figure { font: var(--display-weight) var(--t-h1)/0.9 var(--font-display); letter-spacing: var(--tracking); }
.facts p:not(.figure) { margin-top: .75rem; color: var(--muted); }
.pair { display: grid; gap: 2.5rem; align-items: center; }
.pair > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.band { background: var(--accent); color: var(--accent-ink); }
.band .btn-primary { background: var(--accent-ink); color: var(--accent); }
.band .muted { color: color-mix(in srgb, var(--accent-ink) 75%, transparent); }
.quote blockquote { margin: 0; font: var(--display-weight) var(--t-h2)/1.1 var(--font-display); letter-spacing: var(--tracking); max-width: 22ch; text-wrap: balance; }
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; color: var(--muted); }
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scrollbar-width: none; }
.gallery img { flex: 0 0 min(78vw, 26rem); aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: center; }
.visit { display: grid; gap: 2.5rem; }
.visit .address { font: var(--display-weight) var(--t-h2)/1 var(--font-display); letter-spacing: var(--tracking); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .4rem 2rem; margin: 0; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; }
.footer { padding-block: 2.5rem 6rem; color: var(--muted); font-size: .9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
/* phone: the action stays one tap away once the hero's button has scrolled off */
.cta-bar { position: fixed; inset: auto 12px 12px; z-index: 30; transition: translate .2s, opacity .2s; }
.cta-bar.is-hidden { translate: 0 150%; opacity: 0; pointer-events: none; }
@media (min-width: 48rem) {
  :root { --nav-h: 76px; }
  .hero-word, .hero-statement { min-height: calc(100svh - var(--nav-h)); }
  .nav-links { display: flex; }
  .cta-bar { display: none; }
  .hero-text { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 4rem; padding-block: 3.5rem 4rem; }
  .hero-text > :first-child { grid-column: 1 / -1; }
  .hero-text .lead, .hero-text .actions { grid-column: 2; }
  .hero-split { grid-template-columns: 1fr 1fr; }
  .hero-split .hero-text { grid-template-columns: 1fr; width: auto; margin: 0; padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2) 3rem; }
  .hero-split .hero-text .lead, .hero-split .hero-text .actions { grid-column: 1; }
  .hero-split > img { height: 100%; order: 2; }
  .head { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 4rem; }
  .rows { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .pair { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .pair.flip > img { order: -1; }
  .visit { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 4rem; }
  .gallery { display: grid; grid-template-columns: repeat(4, 1fr); width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: 0; overflow: visible; }
  .gallery img { width: 100%; }
}
@media (max-width: 47.99rem) { .nav .btn { display: none; } }
@media (min-width: 48rem) { .menu { display: none; } }
/* effects (one per site, dealt): film grain on the page, a moving strip of words, black-and-white photographs */
.fx-grain::after { content: ''; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.marquee { overflow: hidden; padding-block: 1.25rem; background: var(--surface); }
.marquee > div { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: var(--display-weight) var(--t-h2)/1 var(--font-display); letter-spacing: var(--tracking); white-space: nowrap; padding-right: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.fx-mono img { filter: grayscale(1) contrast(1.08); }
/* motion: the hero settles in, sections rise as they enter (browsers without scroll timelines just show them) */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; } .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero > img { animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  @supports (animation-timeline: view()) { .section > .wrap, .gallery img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; } }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes drift { from { transform: translateY(28px); } }  /* never opacity: content must show in full-page captures, print and previews */
@keyframes settle { from { opacity: 0; transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* blocks:end */
/* site: rules for this site's idea go here */
.band .muted, .quote cite, .rows .price { color: inherit; opacity: 1; }
