
/* Layout concept: full-screen welcome dashboard (symbol tiles + skin picker) over a one-page studio site.
   Skins swap every colour token; the page sets its own look, so it does not follow the viewer's light/dark switch. */
:root {
  --bg: #070f22; --bg-2: #0a1530; --surface: #0f1c3d; --surface-2: #142650; --line: rgba(160, 190, 255, 0.16);
  --ink: #e9efff; --muted: #9db0d8; --accent: #4da3ff; --accent-2: #7c5cff; --accent-ink: #04122b;
  --glow-a: #2b6cff; --glow-b: #7c5cff; --glow-c: #19c3ff;
  --f-display: 'Instrument Serif', 'Times New Roman', serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 18px; --r-lg: 28px; --nav-h: 68px;
  color-scheme: dark;
}
:root[data-skin="light-blue"] {
  --bg: #f1f7ff; --bg-2: #e6f0fd; --surface: #ffffff; --surface-2: #eaf3ff; --line: rgba(14, 60, 130, 0.16);
  --ink: #0b2545; --muted: #4a6488; --accent: #1766d6; --accent-2: #0aa5c9; --accent-ink: #ffffff;
  --glow-a: #7db8ff; --glow-b: #9fe3f5; --glow-c: #b7c8ff; color-scheme: light;
}
:root[data-skin="purple"] {
  --bg: #130a26; --bg-2: #1a0f33; --surface: #221443; --surface-2: #2c1a56; --line: rgba(205, 170, 255, 0.18);
  --ink: #f3ecff; --muted: #b9a5df; --accent: #b184ff; --accent-2: #ff5fb7; --accent-ink: #1b0b36;
  --glow-a: #8b4dff; --glow-b: #ff4fae; --glow-c: #5a3bff;
}
:root[data-skin="aurora"] {
  --bg: #040a14; --bg-2: #071526; --surface: #0b1d33; --surface-2: #10294a; --line: rgba(120, 255, 220, 0.16);
  --ink: #e8fbf6; --muted: #8fb8b0; --accent: #3df5c0; --accent-2: #8a6bff; --accent-ink: #03150f;
  --glow-a: #19e6a8; --glow-b: #7a5cff; --glow-c: #2ab6ff;
}
:root[data-skin="sunset"] {
  --bg: #1a0d1f; --bg-2: #24122b; --surface: #2e1737; --surface-2: #3b1c45; --line: rgba(255, 190, 150, 0.18);
  --ink: #fff1e8; --muted: #cfa6b0; --accent: #ff9a4d; --accent-2: #ff4d8d; --accent-ink: #2a0f12;
  --glow-a: #ff7a3d; --glow-b: #ff3d86; --glow-c: #ffc24d;
}
:root[data-skin="emerald"] {
  --bg: #06140f; --bg-2: #0a1f17; --surface: #0f2b20; --surface-2: #153a2b; --line: rgba(150, 240, 200, 0.16);
  --ink: #e9fbf3; --muted: #94bfae; --accent: #34d399; --accent-2: #e9c46a; --accent-ink: #04180f;
  --glow-a: #10b981; --glow-b: #d9b44a; --glow-c: #22d3ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; transition: background 0.5s ease, color 0.5s ease; overflow-x: hidden; }
body.s-lock { overflow: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.02; text-wrap: balance; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s-in { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.s-ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
#glow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; filter: blur(22px) saturate(1.2); opacity: 0.9; }
#site, #welcome { position: relative; z-index: 1; }

/* Buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.s-btn:hover { transform: translateY(-2px); }
.s-btn--pri { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--accent-ink); box-shadow: 0 10px 30px -8px var(--accent); }
.s-btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.s-btn--ghost:hover { border-color: var(--accent); }
.s-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* Nav */
.s-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid var(--line); }
.s-nav .s-in { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.s-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.s-brand .s-ico { width: 34px; height: 34px; color: var(--accent); }
.s-brand b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1; white-space: nowrap; }
.s-brand small { display: block; font: 500 10px var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.s-menu { display: flex; gap: 4px; }
.s-menu a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.s-menu a:hover { color: var(--ink); background: var(--surface); }
.s-nav-tools { display: flex; align-items: center; gap: 8px; position: relative; }
.s-icon-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.s-icon-btn:hover { border-color: var(--accent); }
.s-dots { display: inline-flex; }
.s-dots i { width: 14px; height: 14px; border-radius: 50%; margin-left: -4px; border: 2px solid var(--surface); }
.s-dots i:first-child { margin-left: 0; }
.s-pop { position: absolute; right: 0; top: calc(100% + 12px); width: 320px; max-width: calc(100vw - 32px); padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.s-pop h3 { font-size: 22px; margin-bottom: 4px; }
.s-burger { display: none; }

/* Skin picker */
.s-skins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.s-skin { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); text-align: left; font-size: 13px; font-weight: 600; transition: transform 0.2s ease, border-color 0.2s ease; }
.s-skin:hover { transform: translateY(-2px); }
.s-skin[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.s-skin span.s-sw { display: block; height: 38px; border-radius: 9px; }
.s-skin[aria-pressed="true"]::after { content: ""; position: absolute; right: 12px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--accent); }

/* Hero */
.s-hero { padding-block: clamp(40px, 8vw, 110px) clamp(48px, 7vw, 90px); overflow-x: clip; }
.s-hero .s-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.s-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.s-hero h1 { margin-top: 18px; font-size: clamp(52px, 8.4vw, 124px); }
.s-hero h1 em { font-style: italic; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-hero p.s-lead { max-width: 520px; margin-top: 22px; font-size: 19px; color: var(--muted); }
.s-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.s-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.s-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 13px; font-weight: 500; }
.s-chip .s-ico { width: 15px; height: 15px; color: var(--accent); }
.s-frame { position: relative; transform-style: preserve-3d; transition: transform 0.25s ease-out; }
.s-frame .s-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); }
.s-frame .s-main svg { display: block; width: 100%; height: 100%; }
.s-frame .s-tag { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(5, 10, 24, 0.55); backdrop-filter: blur(10px); color: #fff; font: 500 11px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.s-frame .s-float { position: absolute; width: 38%; aspect-ratio: 1; right: -4%; top: -5%; border-radius: 22px; overflow: hidden; border: 4px solid var(--bg); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); transform: translateZ(40px) rotate(5deg); }
.s-frame .s-float svg { display: block; width: 100%; height: 100%; }

/* Sections */
.s-sec { padding-block: clamp(56px, 8vw, 104px); }
.s-sec.s-alt { background: color-mix(in srgb, var(--bg-2) 80%, transparent); border-block: 1px solid var(--line); }
.s-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 36px; }
.s-head h2 { font-size: clamp(38px, 5.4vw, 72px); margin-top: 10px; }
.s-head p { max-width: 460px; color: var(--muted); }

/* Gallery */
.s-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.s-filters button { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 500; font-size: 14px; transition: all 0.2s; }
.s-filters button:hover { border-color: var(--accent); }
.s-filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.s-grid { column-count: 3; column-gap: 18px; }
.s-shot { position: relative; display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); break-inside: avoid; text-align: left; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.s-shot svg { display: block; width: 100%; height: 100%; transition: transform 0.7s ease; }
.s-shot:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px var(--accent); }
.s-shot:hover svg { transform: scale(1.05); }
.s-shot .s-cap { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 2px; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(3, 8, 20, 0.82)); color: #fff; opacity: 0; transform: translateY(8px); transition: all 0.3s ease; }
.s-shot:hover .s-cap, .s-shot:focus-visible .s-cap { opacity: 1; transform: none; }
.s-shot .s-cap b { font: 400 24px/1.05 var(--f-display); }
.s-shot .s-cap span { font: 500 11px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.s-note { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Lightbox */
.s-lb { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 8px; padding: max(16px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: rgba(2, 6, 16, 0.92); backdrop-filter: blur(14px); color: #fff; }
.s-lb-stage { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-height: 100%; }
.s-lb-img { width: 100%; max-height: 72vh; border-radius: 16px; overflow: hidden; display: flex; justify-content: center; }
.s-lb-img svg { display: block; max-height: 72vh; width: auto; max-width: 100%; border-radius: 16px; }
.s-lb-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.s-lb-meta h3 { font-size: clamp(28px, 4vw, 40px); }
.s-lb-meta .s-mono { color: rgba(255, 255, 255, 0.7); }
.s-lb-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff; }
.s-lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
.s-lb-close { position: absolute; right: max(14px, env(safe-area-inset-right, 0px)); top: max(14px, env(safe-area-inset-top, 0px)); z-index: 2; }

/* Services */
.s-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.s-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform 0.25s ease, border-color 0.25s ease; }
.s-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.s-card .s-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.s-card .s-ic .s-ico { width: 26px; height: 26px; }
.s-card h3 { font-size: 30px; }
.s-card p { color: var(--muted); font-size: 15px; flex: 1; }
.s-card button { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 15px; }
.s-card button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Process */
.s-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.s-step { position: relative; padding: 28px 24px 0 0; }
.s-step::before { counter-increment: s; content: counter(s); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; border: 1.5px solid var(--accent); font: 500 15px var(--f-mono); color: var(--accent); background: var(--bg); position: relative; z-index: 1; }
.s-step::after { content: ""; position: absolute; left: 44px; right: 0; top: 50px; height: 1.5px; background: linear-gradient(90deg, var(--accent), var(--line)); }
.s-step:last-child::after { display: none; }
.s-step h3 { font-size: 28px; }
.s-step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* About */
.s-about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.s-about .s-pic { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.s-about .s-pic svg { display: block; width: 100%; height: 100%; }
.s-about h2 { font-size: clamp(38px, 5vw, 64px); margin: 10px 0 18px; }
.s-about p { color: var(--muted); font-size: 18px; max-width: 560px; }
.s-about p + p { margin-top: 14px; }
.s-sig { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.s-sig b { font: italic 400 32px var(--f-display); color: var(--accent); }

/* Forms */
.s-two { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.s-panel { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.s-panel h3 { font-size: 34px; margin-bottom: 6px; }
.s-panel > p { color: var(--muted); margin-bottom: 20px; }
.s-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.s-field.s-full { grid-column: 1 / -1; }
.s-field label, .s-field legend { font: 500 12px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0; }
.s-field input, .s-field select, .s-field textarea { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s; }
.s-field textarea { min-height: 130px; resize: vertical; }
.s-field input:focus, .s-field select:focus, .s-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.s-field .s-err { min-height: 18px; font-size: 13px; color: #ff7b8a; }
:root[data-skin="light-blue"] .s-field .s-err { color: #c0243a; }
.s-field.s-bad input, .s-field.s-bad select, .s-field.s-bad textarea { border-color: #ff7b8a; }
.s-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.s-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.s-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; grid-column: 1 / -1; }
.s-status { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 15px; }
.s-status b { display: block; font: 400 24px var(--f-display); margin-bottom: 2px; }
.s-status pre { margin: 10px 0 0; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font: 400 13px/1.5 var(--f-mono); white-space: pre-wrap; word-break: break-word; }
.s-info { display: flex; flex-direction: column; gap: 14px; }
.s-info li { display: flex; gap: 14px; align-items: flex-start; list-style: none; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.s-info ul { margin: 0; padding: 0; display: contents; }
.s-info .s-ico { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.s-info b { display: block; }
.s-info span { color: var(--muted); font-size: 14px; }
.s-copy { margin-left: auto; align-self: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 12px; font-weight: 600; }
.s-copy:hover { border-color: var(--accent); }

/* Comments */
.s-stars { position: relative; display: flex; gap: 4px; }
.s-stars input { position: absolute; opacity: 0; pointer-events: none; }
.s-stars label { cursor: pointer; font: inherit; letter-spacing: 0; text-transform: none; color: var(--line); transition: color 0.15s, transform 0.15s; }
.s-stars label .s-ico { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.s-stars label:hover { transform: scale(1.12); }
.s-stars:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.s-clist { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.s-cm { padding: 18px 20px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.s-cm-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.s-cm-top b { font-weight: 700; }
.s-cm-top .s-st { display: inline-flex; color: var(--accent); }
.s-cm-top .s-st .s-ico { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.s-cm-top .s-mono { margin-left: auto; }
.s-cm p { margin-top: 8px; color: var(--ink); overflow-wrap: anywhere; }
.s-cm .s-del { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; }
.s-empty { padding: 22px; border-radius: var(--r); border: 1px dashed var(--line); color: var(--muted); text-align: center; }

/* Footer */
.s-foot { padding-block: 44px 56px; border-top: 1px solid var(--line); }
.s-foot .s-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.s-foot p { color: var(--muted); font-size: 14px; }
.s-foot .s-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.s-foot .s-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.s-foot .s-links a:hover { color: var(--accent); }

/* Welcome dashboard */
#welcome { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: color-mix(in srgb, var(--bg) 93%, transparent); backdrop-filter: blur(18px); transition: opacity 0.5s ease, visibility 0.5s; }
#welcome[hidden] { display: none !important; }
#welcome.s-out { opacity: 0; visibility: hidden; }
.s-wl { min-height: 100%; display: flex; flex-direction: column; padding-block: max(20px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-bottom, 0px)); }
.s-wl-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px 0; }
.s-wl-top .s-brand { margin: 0; }
.s-wl-main { flex: 1; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(24px, 5vw, 56px); }
.s-wl-hello .s-mono { display: block; margin-bottom: 14px; }
.s-wl-hello h1 { font-size: clamp(46px, 6.6vw, 96px); }
.s-wl-hello h1 em { font-style: italic; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-wl-hello p { max-width: 470px; margin-top: 18px; font-size: 18px; color: var(--muted); }
.s-aperture { width: clamp(90px, 14vw, 150px); height: auto; margin-bottom: 18px; color: var(--accent); filter: drop-shadow(0 0 24px color-mix(in srgb, var(--accent) 60%, transparent)); }
.s-aperture .s-blades { transform-origin: 50px 50px; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.s-wl-skins { margin-top: 26px; padding: 18px; border-radius: var(--r); background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--line); max-width: 470px; }
.s-wl-skins .s-skins { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.s-wl-skins .s-skin { padding: 6px; font-size: 11px; }
.s-wl-skins .s-skin span.s-sw { height: 30px; }
.s-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.s-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 148px; padding: 18px; border-radius: 22px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 78%, transparent); text-align: left; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.s-tile:hover { transform: translateY(-6px); border-color: var(--accent); background: var(--surface); }
.s-tile .s-ico { width: 34px; height: 34px; color: var(--accent); }
.s-tile b { display: block; font: 400 24px/1.05 var(--f-display); }
.s-tile span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.s-tile.s-wide { grid-column: span 2; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 24%, var(--surface)), color-mix(in srgb, var(--accent-2) 24%, var(--surface))); }
.s-widget { display: flex; flex-direction: column; justify-content: space-between; min-height: 148px; padding: 18px; border-radius: 22px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 78%, transparent); }
.s-widget .s-time { font: 400 54px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.s-wl-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.s-wl-bottom .s-cta-row { margin: 0; }
.s-hint { font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 1040px) {
  .s-cards, .s-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-step { padding-bottom: 20px; } .s-step::after { display: none; }
  .s-grid { column-count: 2; }
}
@media (max-width: 900px) {
  .s-hero .s-in, .s-about, .s-two, .s-wl-main { grid-template-columns: minmax(0, 1fr); }
  .s-menu { display: none; }
  .s-burger { display: inline-flex; }
  .s-menu.s-open { display: flex; position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; padding: 12px max(16px, env(safe-area-inset-left, 0px)); background: var(--bg); border-bottom: 1px solid var(--line); }
  .s-frame { max-width: 460px; }
  .s-wl-skins .s-skins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .s-cards, .s-steps, .s-fields { grid-template-columns: minmax(0, 1fr); }
  .s-grid { column-count: 1; }
  .s-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-tile.s-wide { grid-column: span 2; }
  .s-brand small { display: none; }
  .s-lb { grid-template-columns: minmax(0, 1fr); }
  .s-lb-nav { display: none; }
  .s-icon-btn .s-lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

:root, :root[data-skin] {
  --ink-soft: var(--muted); --link: var(--accent); --surface-hover: var(--surface-2); --footer-bg: var(--bg-2); --footer-ink: var(--ink);
  --f-head: var(--f-display); --radius-btn: 999px; --radius-card: var(--r); --body-bg: var(--bg); --bg-deep: var(--bg-2);
  --c3: var(--glow-c); --c4: var(--accent-2);
}
[hidden] { display: none !important; }

/* ---------- WordPress additions ---------- */
#welcome { display: none; }
html.s-pending #welcome { display: block; }
html.s-pending body { overflow: hidden; }
body.admin-bar .s-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .s-nav { top: 46px; } }
.s-svc-btn { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 15px; }
.s-notice { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: 16px; }
.s-notice--err { border-color: #ff7b8a; background: color-mix(in srgb, #ff7b8a 14%, transparent); }
.s-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.s-shot img.s-shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-shot { aspect-ratio: 4 / 5; }
.s-shot:nth-child(3n+2) { aspect-ratio: 1; }
.s-shot:nth-child(3n) { aspect-ratio: 3 / 2; }
.s-ph { background: linear-gradient(160deg, var(--accent-2), var(--accent)); }
.s-ph:nth-child(2n) { background: linear-gradient(160deg, var(--glow-a), var(--glow-b)); }
.s-ph:nth-child(3n) { background: linear-gradient(160deg, var(--glow-b), var(--glow-c)); }
.s-hero-ph { background: linear-gradient(160deg, var(--glow-b), var(--glow-a) 55%, var(--glow-c)); }
.s-main img.s-img-fill, .s-hero-img, .s-float img, .s-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-lb-img img { display: block; max-height: 72vh; width: auto; max-width: 100%; border-radius: 16px; }
.s-lb-link { color: rgba(255,255,255,.8); font-size: 14px; }
.s-comment-form .comment-form-comment, .s-comment-form p { margin: 0 0 14px; }
.s-comment-form label { display: block; margin-bottom: 6px; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.s-comment-form input[type=text], .s-comment-form input[type=email], .s-comment-form textarea { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.s-comment-form textarea { min-height: 130px; }
.s-comment-form .comment-notes, .s-comment-form .logged-in-as { color: var(--muted); font-size: 14px; }
.s-comment-form .comment-form-cookies-consent { display: none; }
.s-comment-form .submit { min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font-weight: 700; }
.s-rate { display: flex; gap: 4px; margin: 0 0 14px; border: 0; padding: 0; }
.s-clist { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.s-clist .children { list-style: none; margin: 12px 0 0 18px; padding: 0; }
.s-cm-awaiting { color: var(--muted); font-size: 13px; }

/* ---------- Inner pages (archive, posts, pages, search) ---------- */
body { font-family: var(--f-body); }
.site-main .page-head, .site-main .entry__head { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--accent-ink); border-radius: 28px; padding: clamp(28px, 5vw, 56px); margin-top: 28px; }
.page-head__title, .entry__title { font-family: var(--f-display); font-weight: 400; color: inherit; }
.page-head__lead, .entry__meta, .breadcrumbs, .breadcrumbs a, .entry__meta a { color: inherit; }
.card { background: var(--surface); border-color: var(--line); color: var(--ink); }
.card__excerpt, .card__meta { color: var(--muted); }
.card__cat { background: var(--accent); color: var(--accent-ink); }
.entry__content, .entry__content p { color: var(--ink); }
.entry__content > p:first-of-type { color: var(--muted); }
.related { background: color-mix(in srgb, var(--bg-2) 80%, transparent); }
.comments, .entry__cta { color: var(--ink); background: var(--surface); }
.entry__cta { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.entry__cta .btn { background: var(--bg); color: var(--ink); }
.btn--grad { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.pagination .page-numbers, .tags a, .searchform__input { color: var(--ink); background: var(--surface); }
.site-main { position: relative; z-index: 1; }
