/* FADY UNLOCKER — independent business website concepts (shared base).
   System fonts only; no remote assets. Each concept adds its own stylesheet
   (brier.css, green.css) that sets the tokens below and its own layout. */
:root {
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --display: var(--sans);
  --max: 1200px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --radius: 14px;
  --bg: #fff; --surface: #fff; --ink: #111; --muted: #555; --accent: #222; --accent-ink: #fff;
  --soft: #eee; --line: rgba(0, 0, 0, .15); --focus: #b4532a;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
p, ul, ol, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 14px; background: #fff; color: #111; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Concept disclosure (banner + footer) ---------- */
.demo-banner { position: relative; z-index: 5; background: #111312; color: #f4f2ec; font-size: 14px; line-height: 1.45; border-bottom: 3px solid var(--focus); }
.demo-banner .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; padding-block: 11px; }
.demo-banner strong { font-weight: 700; }
.demo-banner nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.demo-banner a, .demo-foot a { color: #fff; }
.demo-banner :focus-visible, .demo-foot :focus-visible { outline-color: #ffb27a; }
.demo-foot { background: #111312; color: #d9d6cd; font-size: 14.5px; padding-block: 40px 48px; }
.demo-foot .wrap { display: grid; gap: 12px; }
.demo-foot .disclaimer { color: #fff; font-weight: 700; font-size: 16px; }
.demo-foot .links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }

/* Labels for proposed copy and illustrative assumptions */
.example { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px dashed currentColor; border-radius: 999px; font: 600 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.example::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.example-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.kicker { font: 600 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 650 16px/1.1 var(--sans); cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: transparent; color: var(--accent); }
.btn-quiet { background: transparent; color: var(--accent); }
.btn-quiet:hover { background: var(--accent); color: var(--accent-ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color .18s, color .18s, transform .18s; } .btn:active { transform: translateY(1px); } }

/* ---------- Concept toolbar (designer notes, motion) ---------- */
.concept-tools { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #111312; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); font-size: 14px; }
.concept-tools button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-weight: 650; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.concept-tools button:hover { background: rgba(255, 255, 255, .12); }
.concept-tools button[aria-pressed="true"] { background: #fff; color: #111; }
.concept-tools :focus-visible { outline-color: #ffb27a; }
.concept-tools .dot { width: 8px; height: 8px; border-radius: 50%; background: #ffb27a; }
@media (max-width: 520px) { .concept-tools { left: 12px; right: 12px; justify-content: center; } .concept-tools button { flex: 1; justify-content: center; padding: 0 10px; } }

/* Designer notes: business reasoning, shown only on request */
.dnote { display: none; position: relative; margin: 18px 0; padding: 14px 16px 14px 48px; border-radius: 12px; background: #fff6c9; color: #2a2410; border: 1px solid #e3cf6c; font-size: 14.5px; line-height: 1.5; box-shadow: 0 6px 18px rgba(60, 50, 0, .12); max-width: 640px; text-align: left; }
.dnote b { display: block; font: 700 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.dnote::before { content: attr(data-n); position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: #2a2410; color: #fff6c9; font: 700 12px/24px var(--mono); text-align: center; }
.notes-on .dnote { display: block; }
@media (prefers-reduced-motion: no-preference) { .notes-on .dnote { animation: note-in .35s ease-out both; } }
@keyframes note-in { from { opacity: 0; transform: translateY(6px) rotate(-.6deg); } }

/* Global motion switch: drop animations so every element rests in its final state */
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; }
.motion-off { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Tabs ---------- */
[role="tab"] { cursor: pointer; }
[role="tabpanel"]:focus-visible { outline-offset: 6px; }

/* ---------- Simulated request planner ---------- */
.quote-panel h3:focus { outline: none; }
.preview-flag { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: #111312; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.4; }
.preview-flag::before { content: "!"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #ffb27a; color: #111; font: 800 13px/22px var(--mono); text-align: center; }
.planner { display: grid; gap: 22px; }
.planner fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.planner legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 16px; }
.planner legend small { font-weight: 500; color: var(--muted); font-size: 13.5px; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 600; }
.chip input:hover + span { border-color: var(--accent); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:checked + span::before { content: "✓"; margin-right: 7px; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.plan-meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.plan-meter i { display: block; height: 100%; width: calc(var(--done, 0) * 100%); background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .plan-meter i { transition: width .35s ease; } }
.ticket dl { display: grid; gap: 0; }
.ticket dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ticket dt { color: var(--muted); font-size: 14px; }
.ticket dd { font-weight: 700; text-align: right; font-size: 15px; }
.ticket dd:not(.filled) { color: var(--muted); font-weight: 500; font-style: italic; }
.ticket .ticket-done { display: none; }
.complete .ticket .ticket-done { display: block; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.quote-actions small { flex-basis: 100%; color: var(--muted); font-size: 13.5px; }

/* ---------- Owner / studio band (shared) ---------- */
.studio-band { background: #111312; color: #f4f2ec; padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(255, 255, 255, .08); }
.studio-band .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.studio-band .kicker { color: #ffb27a; }
.studio-band h2 { font: 700 clamp(28px, 3.6vw, 42px)/1.08 var(--sans); letter-spacing: -.02em; margin-top: 10px; }
.studio-band p { color: #cfcabe; margin-top: 14px; max-width: 56ch; }
.studio-band ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.studio-band li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.studio-band li::before { content: "→"; color: #ffb27a; }
.studio-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.studio-band .btn { --accent: #f4f2ec; --accent-ink: #111312; }
.studio-band a:not(.btn) { color: #fff; }
.studio-band :focus-visible { outline-color: #ffb27a; }
@media (max-width: 820px) { .studio-band .wrap { grid-template-columns: 1fr; } }
