/* After hours — services by Greg Glias, in the GG Studio system (the look of gglias.github.io):
   a near-black Figma canvas with a dot grid and an ember glow, panels as frames, Figma blue for "selected".
   Dark is home; light is the same system on paper. Bricolage Grotesque / Inter / Geist Mono. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,200..800&family=Geist+Mono:wght@400;500&family=Inter:opsz,wght@14..32,400..600&display=swap");

:root {
  --bg: #09090a;
  --bg-2: #0e0e10;
  --card: #121214;
  --card-2: #18181b;
  --modal: #1f1f23;
  --line: rgb(255 255 255 / 0.07);
  --line-2: rgb(255 255 255 / 0.13);
  --dot: rgb(255 255 255 / 0.075);
  --text: #f3f3f1;
  --text-2: #d0d0d5;
  --muted: #9b9ba1;
  --faint: #56565c;
  --accent: #ff5b1f;
  --accent-deep: #c4210b;
  --on-accent: #ffffff;
  --select: #0d99ff;
  --select-ink: #0d99ff;
  --on-select: #ffffff;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --fill: rgb(255 255 255 / 0.05);
  --fill-2: rgb(255 255 255 / 0.1);
  --shadow-c: rgb(0 0 0 / 0.9);
  --glow-op: 1;
  --paper: #efefec;               /* the desk drawing and the sample sit on paper in both themes */

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius-xl: 22px; --radius-panel: 20px; --radius-bar: 16px; --radius-l: 14px;
  --radius-m: 10px; --radius-s: 8px; --radius-xs: 6px; --radius-badge: 4px; --radius-pill: 999px;
  --shadow-highlight: inset 0 1px 0 rgb(255 255 255 / 0.05);
  --shadow-accent: 0 8px 22px -10px #ff5b1f;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 3vw, 24px);
  --lamp-pal: ember;
}
:root[data-theme="light"] {
  --bg: #efefec;
  --bg-2: #e7e7e3;
  --card: #fbfbfa;
  --card-2: #ffffff;
  --modal: #ffffff;
  --line: rgb(0 0 0 / 0.07);
  --line-2: rgb(0 0 0 / 0.13);
  --dot: rgb(0 0 0 / 0.075);
  --text: #16161a;
  --text-2: #3f3f46;
  --muted: #6b6b72;
  --faint: #a3a3aa;
  --select-ink: #0a5fb4;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --fill: rgb(0 0 0 / 0.05);
  --fill-2: rgb(0 0 0 / 0.1);
  --shadow-c: rgb(20 20 30 / 0.22);
  --glow-op: 0.28;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  color: var(--text); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
  background: radial-gradient(circle, var(--dot) 1.1px, transparent 1.4px) 0 0 / 28px 28px, var(--bg);
}
/* the ember glow, behind everything */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: var(--glow-op); }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.glow::before { width: 70vmax; height: 70vmax; left: -28vmax; bottom: -36vmax; background: radial-gradient(circle, rgb(255 91 31 / 0.42), transparent 62%); }
.glow::after { width: 50vmax; height: 50vmax; right: -18vmax; top: -22vmax; background: radial-gradient(circle, rgb(196 33 11 / 0.34), transparent 62%); }

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--select); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--select); color: #fff; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5.1rem); font-weight: 350; letter-spacing: -0.038em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); }
h3 { font-size: 1.6rem; line-height: 1; }
.muted { color: var(--muted); }
.tiny { font: 400 11px/1.4 var(--font-mono); color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* every panel */
.surface {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015)), var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-highlight);
}

/* eyebrow: mono with the ember dot */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 400 12px/1 var(--font-mono); letter-spacing: 0.02em; color: var(--muted); }
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius-m); background: var(--fill); color: var(--text);
  font: 600 13px/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--fill-2); }
.btn:active { transform: scale(.98); }
.btn-primary { border-color: transparent; background: var(--accent); color: #16161a; box-shadow: var(--shadow-accent); font-size: 14px; }
.btn-primary:hover { background: #ff6d36; }
.btn-sm { min-height: 32px; padding: 7px 12px; font-size: 12.5px; }
.btn[aria-pressed="true"] { border-color: var(--select); background: rgb(13 153 255 / 0.14); }

/* ---------- top bar ---------- */
.site-header { position: sticky; top: 0; z-index: 30; padding: 12px var(--gutter) 0; }
.topbar {
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; height: 60px; padding: 0 10px 0 16px;
  display: flex; align-items: center; gap: 16px; border-radius: var(--radius-bar);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015)), color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow-highlight);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font: 600 16px/1 var(--font-display); letter-spacing: -0.02em; }
.brand-mark { width: auto; height: 22px; color: var(--text); flex: none; }
.brand small { font: 400 11px/1 var(--font-mono); letter-spacing: 0; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: var(--radius-m); color: var(--text-2); font: 500 13.5px/1.2 var(--font-body); text-decoration: none; }
.nav a:hover { background: var(--fill); color: var(--text); }
.nav a[aria-current="page"] { background: rgb(13 153 255 / 0.13); color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.status { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--radius-m); background: var(--fill); border: 1px solid var(--line); font: 400 11.5px/1 var(--font-mono); color: var(--text-2); white-space: nowrap; }
.status { position: relative; cursor: default; }
.status-tip { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .status-tip {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: 300px;
    display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--radius-bar);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.03)), var(--modal);
    border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px var(--shadow-c);
    font: 400 12.5px/1.45 var(--font-body); color: var(--text-2); white-space: normal;
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s var(--ease), visibility .15s;
  }
  .status-tip b { font: 600 13px/1.3 var(--font-body); color: var(--text); }
  .status-tip-foot { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); font: 400 11px/1.3 var(--font-mono); color: var(--muted); }
  .status:hover .status-tip, .status:focus-visible .status-tip { opacity: 1; visibility: visible; transform: none; }
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
[data-open="true"] > .status-dot, [data-open="true"] .status-dot { background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(74 222 128 / .55); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* mobile menu: burger + panel under the top bar */
.burger { display: none; place-items: center; align-content: center; gap: 5px; width: 36px; height: 36px; padding: 0; border-radius: var(--radius-m); background: var(--fill); border: 1px solid var(--line); cursor: pointer; }
.burger span { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mnav {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); z-index: 35;
  display: grid; gap: 2px; padding: 8px; border-radius: var(--radius-bar);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.03)), var(--modal);
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px var(--shadow-c);
  opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease);
}
.mnav.is-open { opacity: 1; transform: none; }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 12px; border-radius: var(--radius-m); color: var(--text); text-decoration: none; font: 400 1.5rem/1 var(--font-display); letter-spacing: -0.03em; }
.mnav a:not(.btn):hover, .mnav a[aria-current="page"] { background: var(--fill); }
.mnav a i { font: 400 11px/1 var(--font-mono); font-style: normal; letter-spacing: 0; color: var(--muted); }
.mnav .btn { margin-top: 6px; min-height: 48px; font-size: 15px; }

/* theme switch */
.gg-switch { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 2px; border-radius: var(--radius-m); background: var(--fill); border: 1px solid var(--line); }
.gg-switch button { display: grid; place-items: center; width: 32px; height: 30px; border: 0; border-radius: var(--radius-s); background: transparent; color: var(--muted); cursor: pointer; }
.gg-switch button[aria-pressed="true"] { background: var(--card-2); color: var(--text); box-shadow: 0 1px 2px rgb(0 0 0 / 0.25), inset 0 1px 0 rgb(255 255 255 / 0.06); }
.gg-switch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- masthead: the hero object in a Figma selection frame ---------- */
.hero { padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.masthead { margin-bottom: clamp(36px, 4vw, 56px); }
.mast-top { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 30px; font: 400 12px/1 var(--font-mono); color: var(--muted); }
.mast-status { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.mast-frame { display: table; margin: 0 auto; padding: clamp(6px, 1.4vw, 16px) clamp(10px, 2vw, 24px); }
.mast-title { font: 350 clamp(56px, 10.5vw, 148px)/0.86 var(--font-display); letter-spacing: -0.045em; text-align: center; white-space: nowrap; }
.mast-sub { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.mast-sub span { padding: 7px 13px; border-radius: var(--radius-pill); border: 1px solid var(--line-2); background: var(--fill); font: 400 12px/1 var(--font-mono); color: var(--text-2); }

.gg-frame { position: relative; }
.gg-frame::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--select); pointer-events: none; clip-path: inset(0 100% 0 0); animation: wipe .9s var(--ease) .15s forwards; }
.gg-frame-label { position: absolute; left: 0; bottom: calc(100% + 8px); font: 400 11.5px/1 var(--font-mono); color: var(--select-ink); white-space: nowrap; opacity: 0; animation: rise .5s var(--ease) 1s forwards; }
.gg-handle { position: absolute; width: 9px; height: 9px; background: var(--bg); border: 1.5px solid var(--select); transform: scale(0); animation: pop .3s var(--ease) forwards; }
.gg-handle.tl { left: -4.5px; top: -4.5px; animation-delay: .5s; } .gg-handle.tr { right: -4.5px; top: -4.5px; animation-delay: .6s; }
.gg-handle.br { right: -4.5px; bottom: -4.5px; animation-delay: .7s; } .gg-handle.bl { left: -4.5px; bottom: -4.5px; animation-delay: .8s; }
.gg-size { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); padding: 3px 6px; border-radius: var(--radius-badge); background: var(--select); color: var(--on-select); font: 400 11px/1.3 var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; animation: rise .5s var(--ease) 1.1s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }

/* ---------- hero ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--muted); }
.hero-lead { margin-top: 24px; max-width: 52ch; font-size: clamp(16px, 1.4vw, 18.9px); line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.copy-line { display: flex; align-items: center; gap: 8px; max-width: 420px; margin-top: 16px; padding: 4px 4px 4px 14px; border-radius: var(--radius-m); background: var(--fill); border: 1px solid var(--line); }
.copy-line code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 13px/1 var(--font-mono); color: var(--text-2); }

/* availability: Available / Limited availability / Fully booked (assets/availability.js) */
.avail { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 22px; font: 400 12px/1.2 var(--font-mono); color: var(--muted); }
.avail:empty { display: none; }
.avail b { font: 600 13px/1 var(--font-body); color: var(--text); }
.avail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgb(74 222 128 / 0.16); flex: none; }
.avail[data-state="limited"] .avail-dot { background: var(--warn); box-shadow: 0 0 0 3px rgb(251 191 36 / 0.18); }
.avail[data-state="booked"] .avail-dot { background: var(--bad); box-shadow: 0 0 0 3px rgb(248 113 113 / 0.18); }
.contact .avail { margin-top: 20px; }
.avail-mast { margin: 0; }

/* the desk: transparent, on the canvas */
.studio { display: grid; gap: 4px; }
.studio-figure { position: relative; aspect-ratio: 4 / 3; margin: -4% -3% 0; }
.studio-figure iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.cover-caption { padding: 4px 8px 10px; text-align: center; font-size: 13px; color: var(--muted); }
.cover-caption span { margin-right: 8px; font: 400 11px/1 var(--font-mono); color: var(--select-ink); }
.studio-panel { border-radius: var(--radius-l); padding: 6px 8px 4px; }
.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 8px 4px; }
.studio-word { display: flex; align-items: baseline; gap: 10px; font: 500 22px/1 var(--font-display); letter-spacing: -0.03em; }
.studio[data-open="true"] [data-sign-word] { color: var(--ok); }
.studio .status-dot { display: none; }
.studio-clock { font: 400 11.5px/1 var(--font-mono); letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.studio-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.studio-hours { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 8px 6px; margin-top: 10px; border-top: 1px solid var(--line); font: 400 11px/1.3 var(--font-mono); color: var(--muted); }

/* ---------- sections ---------- */
section { padding: clamp(56px, 7vw, 96px) 0; }
.rule { display: none; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > p { max-width: 46ch; color: var(--muted); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { border-radius: var(--radius-l); padding: 22px; }
.step-num { display: inline-block; font: 400 11.5px/1 var(--font-mono); color: var(--accent); }
.step h3 { margin: 18px 0 10px; font-size: 1.45rem; }
.step p { color: var(--muted); font-size: 15px; }

/* services */
.menu-group + .menu-group { margin-top: 40px; }
.group-title { margin: 0 0 12px; padding: 0 4px; font: 500 10.5px/22px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.svc {
  display: flex; flex-direction: column; border-radius: var(--radius-l); padding: 22px;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .2s;
}
.svc:hover { border-color: var(--select); transform: translateY(-2px); box-shadow: 0 14px 30px -18px var(--shadow-c); }
.svc-top { display: flex; align-items: center; gap: 10px; }
.svc-top .tag { margin-left: auto; }
.svc-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--radius-s); background: var(--fill); border: 1px solid var(--line); color: var(--text); transition: background .2s, border-color .2s, color .2s; }
.svc-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc-ic { background: var(--select); border-color: var(--select); color: #fff; }
.toc-no { font: 400 11.5px/1 var(--font-mono); color: var(--accent); }
.tag { display: inline-block; padding: 4px 7px; border-radius: var(--radius-xs); background: var(--fill); color: var(--text-2); font: 400 11px/1 var(--font-mono); white-space: nowrap; }
.svc h4 { margin: 18px 0 10px; font-size: 1.6rem; line-height: 1; }
.item-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 400 11.5px/1.3 var(--font-mono); color: var(--muted); }
.item-desc { margin-top: 14px; font-size: 15px; color: var(--text-2); }
.item-lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.item-lists strong { font: 400 11.5px/1.2 var(--font-mono); color: var(--muted); }
.item-lists ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.item-lists li { position: relative; padding-left: 16px; color: var(--text-2); line-height: 1.4; }
.item-lists .yes li::before { content: "+"; position: absolute; left: 0; color: var(--ok); font-weight: 600; }
.item-lists .no li { color: var(--muted); }
.item-lists .no li::before { content: "–"; position: absolute; left: 0; color: var(--faint); }
.svc-ask { margin-top: auto; padding-top: 20px; }
.svc-ask .btn::after { content: "→"; transition: transform .2s var(--ease); }
.svc-ask .btn:hover::after { transform: translateX(3px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* contact: prices by email */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px); }
.contact p { margin-top: 16px; max-width: 52ch; color: var(--muted); }
.contact-actions { display: grid; gap: 10px; justify-items: start; }
.contact-actions .copy-line { margin-top: 0; width: 100%; }

/* sample audit */
.sample { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); }
.sample .muted { margin-top: 14px; }
.soon { display: inline-block; margin-top: 18px; padding: 5px 9px; border-radius: var(--radius-xs); background: rgb(13 153 255 / 0.13); color: var(--select-ink); font: 400 11px/1 var(--font-mono); }
.annot { position: relative; display: grid; gap: 10px; padding: 20px; border-radius: var(--radius-l); background: var(--paper); }
.annot-bar { height: 10px; border-radius: 6px; background: #dcdcd7; }
.annot-bar.w60 { width: 60%; } .annot-bar.w80 { width: 80%; } .annot-bar.w40 { width: 40%; }
.annot-btn { width: 120px; height: 28px; border-radius: var(--radius-s); background: #dcdcd7; outline: 1.5px solid var(--select); outline-offset: 4px; }
.annot-pin { position: absolute; display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: var(--radius-badge); background: var(--select); color: #fff; font: 400 11px/1.3 var(--font-mono); white-space: nowrap; }
.annot-pin b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 3px; background: #fff; color: var(--select); font-size: 10px; }

/* prompts */
.prompt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prompt { display: flex; flex-direction: column; border-radius: var(--radius-l); padding: 20px; }
.prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prompt-head .tiny { color: var(--muted); white-space: nowrap; }
.prompt h3 { margin: 16px 0 8px; font-size: 1.45rem; }
.prompt-desc { font-size: 14.5px; color: var(--muted); }
.prompt-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-used { display: inline-flex; align-items: center; gap: 6px; background: rgb(74 222 128 / 0.1); color: var(--text-2); }
.tag-used::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.prompt-why { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-m); background: var(--fill); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.prompt-why span { display: block; margin-bottom: 4px; font: 400 11px/1.2 var(--font-mono); color: var(--muted); }
.prompt-result { margin-top: 12px; border-radius: var(--radius-m); border: 1px solid rgb(13 153 255 / 0.35); background: rgb(13 153 255 / 0.06); }
.prompt-result summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 12px; font: 600 13px/1.2 var(--font-body); color: var(--select-ink); }
.prompt-result summary::-webkit-details-marker { display: none; }
.prompt-result summary::before { content: "+"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: rgb(13 153 255 / 0.16); font: 500 13px/1 var(--font-body); transition: transform .2s var(--ease); }
.prompt-result[open] summary::before { transform: rotate(45deg); }
.prompt-result .tiny { padding: 0 12px; }
.prompt-demo { margin: 0 12px 10px; padding: 9px 11px; border-radius: var(--radius-s); background: var(--fill); border: 1px dashed var(--line-2); font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.prompt-demo::before { content: "Demo"; display: inline-block; margin-right: 8px; padding: 2px 6px; border-radius: var(--radius-badge); background: rgb(251 191 36 / 0.16); color: var(--text); font: 500 10.5px/1.3 var(--font-mono); }
.prompt-fixed { display: flex; gap: 8px; align-items: flex-start; margin: -2px 12px 12px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.prompt-fixed::before { content: "✓"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgb(74 222 128 / 0.16); color: var(--ok); font-size: 11px; font-weight: 700; }
.prompt-result pre { margin: 10px 12px 12px; max-height: 320px; }
.prompt pre {
  margin: 16px 0 0; padding: 14px; max-height: 220px; overflow: auto; border-radius: var(--radius-m); background: var(--bg-2); border: 1px solid var(--line);
  font: 400 12.5px/1.6 var(--font-mono); color: var(--text-2); white-space: pre-wrap; word-break: break-word;
}
.prompt-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; }
.tabs { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 2px; margin-bottom: 20px; border-radius: var(--radius-m); background: var(--fill); border: 1px solid var(--line); }
.tab { min-width: 64px; height: 32px; padding: 0 12px; border: 0; border-radius: var(--radius-s); background: transparent; color: var(--muted); font: 500 13px/1 var(--font-body); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--card-2); color: var(--text); box-shadow: 0 1px 2px rgb(0 0 0 / 0.25), inset 0 1px 0 rgb(255 255 255 / 0.06); }
.made-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.made { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 18px; border-radius: var(--radius-l); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
.made:hover { border-color: var(--select); transform: translateY(-2px); }
.made-art { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--radius-m); background: var(--bg-2); font: 350 56px/1 var(--font-display); letter-spacing: -0.04em; color: var(--faint); }
.made h3, .made p { padding: 0 6px; }
.made h3 { margin-top: 6px; }
.made p { font-size: 14px; color: var(--muted); }
.made .arrow { padding: 0 6px; color: var(--muted); }
.column-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; font: 400 12px/1 var(--font-mono); color: var(--muted); }

/* faq */
.faq { border-radius: var(--radius-xl); padding: 4px 22px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; padding: 20px 40px 20px 0; cursor: pointer; font: 400 1.35rem/1.15 var(--font-display); letter-spacing: -0.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 18px; font: 300 22px/1 var(--font-body); color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 72ch; padding: 0 0 22px; color: var(--muted); }

/* footer */
.site-footer { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.colophon { max-width: 70ch; font-size: 13px; color: var(--muted); }
.colophon > span:first-child { margin-right: 8px; font: 400 11px/1 var(--font-mono); color: var(--accent); }
.colophon a { color: var(--text-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.site-footer nav a { color: var(--text-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 10px 14px; border-radius: var(--radius-bar); background: var(--modal); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px var(--shadow-c);
  font: 500 13px/1 var(--font-body); transition: opacity .2s, transform .2s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .made-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-tools { margin-left: auto; }
  .hero-grid, .contact, .sample { grid-template-columns: minmax(0, 1fr); }
  .studio { max-width: 560px; width: 100%; margin: 0 auto; }
  .steps, .prompt-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .brand small, .status-text-long { display: none; }
  .gg-switch button { width: 44px; height: 44px; }
  .burger { width: 50px; height: 50px; }
  .header-tools .status { display: none; }
  .btn-sm { min-height: 44px; padding: 10px 14px; }
  .mast-top { margin-bottom: 36px; }
  .mast-sub { margin-top: 48px; }
  .svc, .step, .prompt { padding: 18px; }
  .item-lists { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .made-grid { grid-template-columns: minmax(0, 1fr); }
  .faq { padding: 2px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .gg-frame::before { clip-path: none; } .gg-handle { transform: none; } .gg-frame-label, .gg-size { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 901px) { .mnav { display: none !important; } }
