/* =====================================================================================================
   designs.css: structure for site/designs/ (the overview index.html and each alternative design,
   b.html / c.html). Copy the folder's files into site/designs/. Identity (colours, fonts) comes from the
   tokens each page sets in its own <style>; this file is layout only.
   Never call these pages "sketches": they are "alternative designs" (DEMO.md, 2026-10-07).
   ===================================================================================================== */

:where(:root) {
  --ad-bg: #F4F4F2; --ad-fg: #17191C; --ad-muted: #575C63; --ad-line: #D5D6D2;
  --ad-accent: #17191C; --ad-on-accent: #FFFFFF;
  --ad-strip-bg: #17191C; --ad-strip-fg: #FFFFFF;       /* the slim "Alternative design B" strip */
  --ad-foot-bg: #17191C; --ad-foot-fg: #C9CBCE;
  --ad-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ad-display: var(--ad-font);
  --ad-gut: clamp(16px, 4.5vw, 56px);
  --ad-max: 1200px;
  --ad-radius: 999px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ad-bg); color: var(--ad-fg); font: 400 17px/1.55 var(--ad-font); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--ad-display); line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ad-accent); outline-offset: 3px; }
.ad-in { max-width: calc(var(--ad-max) + 2 * var(--ad-gut)); margin: 0 auto; padding-inline: var(--ad-gut); }

/* ---------- the strip: which design this is, and the way back. Not fixed (only the call bar is). ---------- */
.ad-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px;
  padding: 2px var(--ad-gut); background: var(--ad-strip-bg); color: var(--ad-strip-fg); font-size: 13.5px; line-height: 1.3; }
.ad-strip-name { padding: 6px 0; }
.ad-strip-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.ad-strip a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 3px; }

/* ---------- the design's own top bar: logo · nav (laptop) · map, Call, Menu (Menu always rightmost) ---------- */
.ad-top { position: relative; z-index: 5; display: flex; align-items: center; gap: 12px 28px; padding: 10px var(--ad-gut); }
.ad-logo { margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; font: 700 1.25rem/1.1 var(--ad-display); text-decoration: none; }
.ad-nav { display: none; gap: 22px; }
.ad-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.ad-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ad-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.ad-map, .ad-call, .ad-menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border-radius: var(--ad-radius);
  font: 700 .95rem/1 var(--ad-font); text-decoration: none; cursor: pointer; }
.ad-map { width: 44px; border: 1.5px solid currentColor; color: inherit; }
.ad-map svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ad-call { padding: 0 16px; background: var(--ad-accent); color: var(--ad-on-accent); }
.ad-call svg { width: 14px; height: 14px; fill: currentColor; }
.ad-menu { position: relative; }
.ad-menu-btn { min-width: 44px; padding: 0 12px; border: 1.5px solid currentColor; background: transparent; color: inherit; }
.ad-menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ad-menu-word { display: none; }
@media (min-width: 380px) { .ad-menu-word { display: inline; } }
.ad-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; background: var(--ad-bg); color: var(--ad-fg);
  border: 1px solid var(--ad-line); border-radius: 12px; box-shadow: 0 18px 36px -16px rgba(0,0,0,.45); }
.ad-menu-panel[hidden] { display: none; }
.ad-menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.ad-menu-panel a:hover { background: var(--ad-line); }
@media (max-width: 400px) { .ad-top { gap: 8px; } .ad-call { padding: 0 13px; } }
@media (min-width: 900px) { .ad-nav { display: flex; } .ad-menu { display: none; } }

/* ---------- full hero, one proper section, short footer (each design restyles these freely) ---------- */
.ad-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(86svh, 780px); overflow: hidden; }
.ad-hero-media { position: absolute; inset: 0; z-index: -1; }
.ad-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--ad-hero-pos, 50% 60%); }
.ad-hero-in { padding: 48px var(--ad-gut) 44px; max-width: 760px; }
.ad-hero h1 { font-size: clamp(2.2rem, 7vw, 4.6rem); }
.ad-hero-tag { margin-top: 14px; max-width: 38ch; font-size: 1.05rem; }
.ad-hero-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ad-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: var(--ad-radius);
  font-weight: 700; text-decoration: none; border: 2px solid var(--ad-accent); }
.ad-btn-go { background: var(--ad-accent); color: var(--ad-on-accent); }
.ad-btn-line { background: transparent; color: inherit; border-color: currentColor; }
@media (max-width: 599px) { .ad-hero-acts .ad-btn { flex: 1 1 auto; padding: 0 14px; } }
@media (min-width: 900px) { .ad-hero { align-items: center; } }

.ad-section { padding: clamp(44px, 7vw, 88px) 0; }
.ad-section h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); }
.ad-section-lede { margin-top: 10px; max-width: 56ch; color: var(--ad-muted); }

.ad-foot { padding: 34px 0 22px; background: var(--ad-foot-bg); color: var(--ad-foot-fg); font-size: 15px; }
.ad-foot-name { font: 700 1.25rem/1.2 var(--ad-display); color: #fff; margin-bottom: 8px; }
.ad-foot p { margin: 4px 0; }
.ad-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 3px; }
.ad-foot-small { margin-top: 16px !important; font-size: 12.5px; opacity: .8; }

/* ---------- overview (site/designs/index.html) ---------- */
.ds-head { padding: 6px var(--ad-gut); max-width: calc(var(--ad-max) + 2 * var(--ad-gut)); margin: 0 auto; }
.ds-back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
.ds-intro { padding-block: 8px 30px; }
.ds-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-muted); margin-bottom: 8px; }
.ds-intro h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); max-width: 20ch; }
.ds-intro h1 + p { margin-top: 12px; max-width: 58ch; color: var(--ad-muted); }
.ov { display: grid; gap: 30px; padding-bottom: 48px; }
.ov-card { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--ad-line); min-width: 0; }
.ov-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.ov-card > p { color: var(--ad-muted); max-width: 60ch; }
.ov-tag { display: inline-block; margin-left: 8px; padding: 4px 8px; vertical-align: middle; background: var(--ad-accent); color: var(--ad-on-accent);
  font: 700 12px/1.2 var(--ad-font); letter-spacing: .08em; text-transform: uppercase; }
.ov-tag.ov-alt { background: transparent; color: var(--ad-fg); box-shadow: inset 0 0 0 1px currentColor; }
.ov-shots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 12px; align-items: end; }
.ov-shots figure { margin: 0; min-width: 0; }
.ov-shots a { display: block; border: 1px solid var(--ad-line); background: #fff; }
.ov-shots img { width: 100%; }
.ov-shots figcaption { padding: 5px 2px 0; font-size: 12px; color: var(--ad-muted); }
.ov-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.ov-go { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
.ds-foot { padding: 18px var(--ad-gut); background: var(--ad-foot-bg); color: var(--ad-foot-fg); font-size: 12.5px; }
@media (max-width: 560px) { .ov-shots { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
@media (min-width: 900px) { .ov { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } .ov-card.ov-main { grid-column: 1 / -1; } .ov-main .ov-shots { max-width: calc(50% - 20px); } }
