/* Shared style controls and chooser. New layouts own their class namespaces. */
:root { --style-bar-height: 56px; scrollbar-gutter:stable; }
:root.style-chooser-open { overflow:hidden; }
:root.style-chooser-open body { position:fixed;top:var(--chooser-scroll-top);left:0;right:0;overflow:hidden; }
:root[data-appearance="dark"] { --paper:#14191f; --surface:#1e252d; --ink:#f3f2e9; --muted:#b7c0cc; --blue:#91b2ff; --line:#39424c; }
:root[data-appearance="dark"] .button.primary { background:#86aaff; color:#101724; }
:root[data-appearance="dark"] .sdk-visual,:root[data-appearance="dark"] .sdk-app,:root[data-appearance="dark"] .sdk-core { background:#22312b; color:#e4efe4; }
:root[data-appearance="dark"] .story-visual,:root[data-appearance="dark"] .story-node { background:#322b25; color:#eadac8; }
:root[data-appearance="dark"] .route-visual { background:#202b34; color:#dae8f6; }
:root[data-appearance="dark"] .contact-section { background:#11171e; }
:root[data-appearance="dark"] .status.production { background:#163a2c; color:#c0f1d1; border-color:#39644e; }
:root[data-appearance="dark"] .contact-dialog,:root[data-appearance="dark"] .contact-dialog input { color:var(--ink); background:var(--surface); border-color:var(--line); }
:root[data-appearance="dark"] .contact-dialog button:not(.primary) { color:var(--ink); background:var(--paper); }
:root[data-appearance="dark"] .warehouse-visual { background:#204ba8; }
.style-controls { position:sticky; top:0; z-index:35; min-height:var(--style-bar-height); background:var(--paper); color:var(--ink); border-bottom:1px solid var(--line); }
.style-controls-inner { width:min(1280px,calc(100% - 40px)); margin:auto; min-height:var(--style-bar-height); display:flex; align-items:center; justify-content:space-between; gap:16px; }
.style-control-actions { display:flex; align-items:center; gap:7px; }
.style-controls button { display:inline-flex; align-items:center; gap:8px; min-height:38px; padding:7px 12px; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--ink); font:600 12px/1.2 system-ui,sans-serif; }
.style-controls .current-style-name { font:600 11px/1.2 system-ui,sans-serif; color:var(--muted); }
.style-controls .style-label { font:10px/1.2 var(--mono); color:var(--muted); margin-right:10px; }
.style-controls .secret-entry { justify-content:center; min-width:44px; min-height:44px; padding:6px 9px; border:0; background:transparent; }
.style-controls .secret-entry:hover { background:var(--surface); }
.style-controls .palette-icon { display:inline-grid; grid-template-columns:repeat(2,5px); gap:2px; }
.palette-icon i { width:5px; height:5px; background:currentColor; border-radius:1px; }
.site-header { top:var(--style-bar-height); }
section[id],main[id] { scroll-margin-top:160px; }
.style-dialog { width:min(1140px,calc(100% - 32px)); height:min(900px,calc(100dvh - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:0; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); box-shadow:0 24px 100px #00102f66; overflow:hidden; overscroll-behavior:contain; font-family:system-ui,sans-serif; }
/* Keep the action rows outside the scrollable choices and preview. */
.style-dialog[open] { display:grid;grid-template-rows:auto minmax(0,1fr) auto; }
.style-dialog::backdrop { background:#23313d66; backdrop-filter:blur(6px); }
:root[data-appearance="dark"] .style-dialog::backdrop { background:#02070dd1; }
.style-dialog-header { padding:25px 28px 20px; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); }
.style-dialog h2 { font-size:28px; letter-spacing:-.045em; line-height:1.2; margin-bottom:7px; }
.style-dialog-header p { max-width:650px; font-size:13px; color:var(--muted); }
.style-dialog button { font:inherit; }
.style-dialog [data-style-close] { width:34px; height:34px; border:1px solid var(--line); border-radius:50%; flex-shrink:0; display:grid; place-items:center; padding:0; line-height:1; color:var(--ink); background:var(--paper); }
.style-dialog-body { min-height:0;overflow:auto;overscroll-behavior:contain;display:grid; grid-template-columns:390px minmax(0,1fr); gap:24px; padding:24px 28px; }
.style-choices { display:grid; grid-template-columns:1fr 1fr; gap:10px; align-content:start; }
.style-choice { min-width:0; text-align:left; padding:9px; border:1px solid var(--line); border-radius:10px; background:var(--paper); color:var(--ink); }
.style-choice[aria-pressed="true"] { outline:2px solid var(--blue); outline-offset:-1px; background:var(--surface); }
.style-choice-name { display:block; font-size:12px; font-weight:700; line-height:1.3; margin-top:9px; }
.style-choice-description { display:block; font-size:10px; color:var(--muted); line-height:1.4; margin-top:5px; }
.style-thumbnail { display:block; height:76px; position:relative; overflow:hidden; border-radius:5px; border:1px solid #8883; background:#f4f3ef; }
.style-thumbnail i { position:absolute; display:block; }
.thumb-modern i:nth-child(1) { width:30%;height:34%;left:10%;top:18%;background:#171b20; }
.thumb-modern i:nth-child(2) { width:35%;height:6%;right:10%;top:24%;background:#8d96a7;box-shadow:0 12px #8d96a7,0 24px #2455d6; }
.thumb-modern i:nth-child(3) { width:80%;height:17%;left:10%;bottom:10%;background:#e0e3df; }
.thumb-nostalgia { background-color:#1a0754; background-image:radial-gradient(#fff 1px,transparent 1px); background-size:13px 15px; }
.thumb-nostalgia i:first-child { background:#fff800;width:70%;height:13%;left:15%;top:12%;box-shadow:0 4px #fe04bd; }
.thumb-nostalgia i:nth-child(2) { left:7%;top:40%;height:50%;width:23%;background:#ff56ce;border:3px ridge #ccc; }
.thumb-nostalgia i:nth-child(3) { right:7%;top:40%;height:50%;width:56%;background:#32ffd3;border:3px ridge #ccc; }
.thumb-aero { background:#6ccdff url('/assets/themes/aero-sky.jpg') center/cover; }
.thumb-aero i:first-child { left:10%;top:15%;width:55%;height:70%;background:#ffffff90;border:1px solid white;border-radius:9px; }
.thumb-aero i:nth-child(2) { right:8%;top:28%;width:32%;aspect-ratio:1;background:radial-gradient(at 40% 10%,white,#21bbe2 55%,#0559ab);border-radius:50%; }
.thumb-scandi { background:#f4e9d6 url('/assets/themes/scandi-living.jpg') center/cover; }
.thumb-scandi i:first-child { right:0;top:0;width:34%;height:100%;background:#ffe656; }
.thumb-scandi i:nth-child(2) { right:6%;top:30%;width:22%;height:15%;background:#123b89;box-shadow:0 19px #123b89; }
.thumb-p { background:#e6dbff; }
.thumb-p::before { content:'P P P P\A P P P P';white-space:pre;position:absolute;left:12%;top:13%;font:bold 21px/1.35 monospace;color:#482098; }
.thumb-p i:first-child { width:40%;height:9%;right:7%;bottom:13%;background:#653bbb; }
.thumb-pdf { background:#e2e5e9; }
.thumb-pdf i:first-child { top:7%;left:29%;width:40%;height:86%;background:white;box-shadow:1px 2px 3px #0003; }
.thumb-pdf i:nth-child(2) { top:24%;left:37%;width:24%;height:4%;background:#222;box-shadow:0 9px #b5b5b5,0 16px #b5b5b5,0 23px #b5b5b5,0 30px #b5b5b5; }
.style-preview-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:8px; }
.style-preview-heading h3 { font-size:14px; letter-spacing:normal; }
.style-preview-heading button { border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);padding:6px 10px;font-size:11px;white-space:nowrap;min-height:34px; }
.style-preview-description { font-size:12px;color:var(--muted);margin-bottom:12px; }
.style-preview-panel { border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#f4f3ef; }
.preview-browser-bar { display:flex;gap:5px;padding:10px;background:#eaedf0;border-bottom:1px solid #cad1d6; }
.preview-browser-bar i { width:6px;height:6px;border-radius:50%;background:#b5bdc8; }
.style-preview-panel[data-appearance="dark"] .preview-browser-bar { background:#212b38;border-color:#415064; }
.style-preview-viewport { position:relative; }
.style-preview-panel iframe { display:block;width:100%;height:425px;border:0; }
.style-preview-notice { position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center;background:var(--surface);color:var(--ink);font-size:13px; }
.style-preview-notice[hidden] { display:none; }
.style-preview-panel[data-state="loading"] .style-preview-notice { background:color-mix(in srgb,var(--surface) 88%,transparent); }
.style-preview-notice button { border:1px solid var(--line);border-radius:6px;min-height:38px;padding:8px 16px;background:var(--paper);color:var(--ink); }
.style-dialog-footer button:disabled { opacity:.5;cursor:wait; }
.style-dialog-footer { padding:17px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px; }
.style-dialog-footer p { font-size:11px;color:var(--muted); }
.style-dialog-footer button { border:0;background:var(--blue);color:#fff;border-radius:7px;font-size:13px;font-weight:600;padding:12px 22px;min-height:44px;white-space:nowrap; }
:root[data-appearance="dark"] .style-dialog-footer button { color:#101724; }
.style-status { position:absolute;width:1px;height:1px;min-height:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.style-preview-mode,.style-preview-mode body { overscroll-behavior:none; }
.style-preview-mode .style-controls { display:none; }
.style-preview-mode .site-header { top:0; }
.style-preview-mode .container { width:calc(100% - 40px); }
.style-preview-mode .hero { padding-block:36px; }
.style-preview-mode .hero h1 { font-size:70px; }
.style-preview-mode section[id] { scroll-margin-top:0; }
/* Shared factual sections used by the independently composed layouts. */
.alt-header { display:flex; justify-content:space-between;align-items:center;gap:28px;padding:25px max(24px,calc((100vw - 1240px)/2)); }
.alt-header nav { display:flex;gap:24px;flex-wrap:wrap;font-size:13px; }
.alt-brand { font-size:20px;font-weight:750;white-space:nowrap; }
.alt-section { padding:64px 0; }
.alt-section-heading { margin-bottom:30px; }
.alt-section-heading > span { font-size:12px;font-weight:600;display:block;margin-bottom:13px; }
.alt-section-heading p { margin-top:18px;max-width:640px; }
.alt-project p { margin-top:16px; }
.alt-project-meta { display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:18px; }
.alt-project h3 { font-size:25px; }
.alt-tags { list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin-top:20px;font-size:11px; }
.alt-tags li { border:1px solid currentColor;border-radius:3px;padding:3px 7px; }
.alt-action { display:inline-flex;justify-content:center;align-items:center;padding:12px 19px;min-height:44px;font-size:13px;font-weight:700;border:1px solid currentColor;background:transparent;border-radius:3px; }
.alt-timeline { padding:0;list-style:none; }
.alt-timeline li { display:grid;grid-template-columns:1fr 1.4fr;gap:40px;border-top:1px solid currentColor;padding:26px 0; }
.alt-timeline h3 { font-size:21px;margin-block:6px; }.alt-timeline span { font-size:12px; }.alt-timeline strong { font-size:13px; }.alt-timeline p { font-size:14px; }
.alt-about { display:grid;grid-template-columns:1.6fr 1fr;gap:70px;align-items:start; }.alt-about-copy > h2 { margin-bottom:30px; }.alt-about p { margin-bottom:22px; }.alt-about h3 { margin-block:0 20px;font-size:20px; }.alt-about aside { padding:27px;border:1px solid currentColor; }.alt-about dl { font-size:13px; }.alt-about dt { font-weight:700; }.alt-about dd { margin-bottom:12px; }
.alt-skills { display:grid;grid-template-columns:repeat(4,1fr);gap:25px; }.alt-skills h3 { font-size:17px;margin-bottom:17px; }.alt-skills ul { list-style:none;padding:0;font-size:14px; }
.alt-contact > p { max-width:650px;margin-top:20px; }.alt-contact > div { display:flex;gap:14px;flex-wrap:wrap;margin-top:25px; }
.alt-footer { padding:28px 0;display:flex;gap:25px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid currentColor;font-size:11px; }
/* Maximalist Nostalgia: narrow, dense table-like cells and browser-era type. */
:root[data-style="nostalgia"] { --paper:#090628;--surface:#171143;--ink:#ffffdb;--muted:#afffea;--blue:#92caff;--line:#8573b6; background-color:var(--paper);background-image:radial-gradient(#8573b6 1px,transparent 1px);background-size:23px 29px; }
:root[data-style="nostalgia"][data-appearance="light"] { --paper:#c7c2d9;--surface:#fffde6;--ink:#101010;--muted:#343057;--blue:#0000bb;--line:#676078; }
.nostalgia-page { width:min(760px,calc(100% - 16px));margin:8px auto;padding:3px;border:4px ridge #b6a9cc;background:var(--surface);font:14px/1.28 "Times New Roman",Times,serif; }
.nostalgia-page a { color:var(--blue);text-decoration:underline; }
.nostalgia-page a:visited { color:var(--blue); }
.nostalgia-banner { text-align:center;border:2px inset #aa9bcc;padding:5px 5px 0;background-color:#07062a;background-image:radial-gradient(#dfdbff 1px,transparent 1px),radial-gradient(#56fff1 1px,transparent 1px);background-size:23px 29px,43px 49px;background-position:0 0,13px 18px;color:#fff; }
.nostalgia-banner h1 { font:bold 30px/1.08 "Times New Roman",serif;letter-spacing:0;color:#fff000;text-shadow:2px 2px #ff00cc;margin:3px 0 6px; }
.nostalgia-banner p { font:11px/1.25 "Courier New",monospace; }.nostalgia-stars { font:16px/1 monospace;letter-spacing:12px;color:#6effdc; }.nostalgia-homepage { color:#65ffff;margin-bottom:5px; }
.nostalgia-ticker { margin:7px -5px 0;padding:3px;background:#bdfa33;color:#000;overflow:hidden;font:bold 11px/1.25 "Courier New",monospace;border-top:1px solid #888; }.nostalgia-ticker span { display:inline-block;animation:nostalgia-drift 18s linear infinite;white-space:nowrap; }
@keyframes nostalgia-drift { from { transform:translateX(40%); } to { transform:translateX(-65%); } }
.nostalgia-columns { display:grid;grid-template-columns:128px minmax(0,1fr);gap:3px;margin-top:3px; }
.nostalgia-columns > main { min-width:0;border:2px inset #aea0c5;padding:5px; }
.nostalgia-sidebar { padding:5px;border:2px inset #aea0c5;align-self:stretch;background:var(--paper);font-size:12px; }
.nostalgia-page .nostalgia-sidebar h2 { font:bold 13px/1.2 Arial,sans-serif;letter-spacing:0;background:#000080;color:white;text-align:center;padding:3px; }
.nostalgia-sidebar nav { display:grid;gap:0;margin:5px 0;font:14px/1.2 "Times New Roman",serif; }
.nostalgia-sidebar nav a { padding:4px 2px;border-bottom:1px dotted var(--line); }
.nostalgia-sidebar h3 { font:bold 13px/1.2 "Times New Roman",serif;margin:12px 0 4px; }.nostalgia-sidebar ul { padding-left:14px;font-size:12px; }.nostalgia-mini { font:10px/1.4 "Courier New",monospace;margin-top:12px; }
.nostalgia-sticker { display:block;text-align:center;width:88px;margin:12px auto;padding:4px 0;background:#eaff8b;color:#32216c !important;border:3px outset #8bce89;font:11px/1.1 Georgia,serif; }.nostalgia-sticker b { font:8px "Courier New",monospace; }
.nostalgia-welcome { padding:5px;border:1px solid var(--line);position:relative;background:var(--surface); }.nostalgia-welcome h2 { font:bold 21px/1.15 "Times New Roman",serif;letter-spacing:0; }.nostalgia-welcome p { margin:6px 0; }.nostalgia-welcome .alt-action { margin-top:0; }.nostalgia-new { float:right;background:#ff00b7;color:#fff;padding:1px 4px;font:bold 10px/1.2 Arial,sans-serif;animation:nostalgia-new 2s steps(1,end) infinite; }
@keyframes nostalgia-new { 0%,70% { color:#fff;background:#ff00b7; } 71%,100% { color:#ff00b7;background:#fff500; } }
.nostalgia-page .alt-section { padding:10px 0 0; }.nostalgia-page h2 { font:bold 21px/1.1 "Times New Roman",serif;letter-spacing:0; }.nostalgia-page .alt-section > h2,.nostalgia-page .alt-section-heading { background:#000080;color:white;padding:4px;border:2px outset #a7a7d0;margin:0 0 5px; }.nostalgia-page .alt-section-heading h2 { font-size:19px; }.nostalgia-page .alt-section-heading > span { font:10px/1.2 "Courier New",monospace;margin:0 0 2px; }.nostalgia-page .alt-section > p { margin:5px 0; }
.nostalgia-projects { display:grid;grid-template-columns:1fr;gap:2px;margin-top:5px;border:1px solid var(--line);padding:2px; }.nostalgia-projects .alt-project { padding:6px;border:1px solid var(--line);background:var(--surface); }.nostalgia-projects .alt-project:nth-child(even) { background:var(--paper); }.nostalgia-page .alt-project h3 { font:bold 18px/1.15 "Times New Roman",serif;color:var(--blue);letter-spacing:0; }.nostalgia-page .alt-project p { margin-top:5px;font-size:14px; }.nostalgia-page .alt-project-meta { font:10px/1.2 Arial,sans-serif;margin-bottom:5px;gap:5px; }.nostalgia-page .alt-tags { margin-top:6px;font:11px/1.3 "Courier New",monospace;gap:3px 8px; }.nostalgia-page .alt-tags li { border:0;padding:0; }.nostalgia-page .alt-tags li::before { content:"• "; }
.nostalgia-page .case-details { margin-top:7px; }.nostalgia-page .case-details summary { min-height:28px;padding:4px 0;font:bold 13px/1.3 "Times New Roman",serif; }.nostalgia-page .disclosure-mark { font-size:17px; }.nostalgia-page .case-body { color:var(--ink);font-size:13px;padding-top:3px; }.nostalgia-page .case-body dt { margin-top:7px; }.nostalgia-page .case-body dd { margin-top:2px; }.nostalgia-page .supporting-work { margin-top:8px;padding:6px; }.nostalgia-page .supporting-work h4 { font-size:14px; }
.nostalgia-page .alt-timeline li { grid-template-columns:170px minmax(0,1fr);border:1px solid var(--line);gap:7px;padding:6px;margin-top:2px; }.nostalgia-page .alt-timeline h3 { font-size:16px;margin:3px 0; }.nostalgia-page .alt-timeline p { font-size:13px; }.nostalgia-page .alt-timeline span,.nostalgia-page .alt-timeline strong { font-size:11px; }
.nostalgia-page .alt-about { grid-template-columns:1.6fr 1fr;gap:6px;font-size:13px; }.nostalgia-page .alt-about-copy > h2 { margin-bottom:7px;font-size:19px; }.nostalgia-page .alt-about p { margin:0 0 7px; }.nostalgia-page .alt-about aside { padding:5px;background:var(--paper);border:1px solid var(--line); }.nostalgia-page .alt-about h3 { font-size:15px;margin:0 0 5px; }.nostalgia-page .alt-about dl { font-size:12px; }.nostalgia-page .alt-about dd { margin-bottom:5px; }
.nostalgia-page .alt-skills { grid-template-columns:1fr 1fr;gap:3px;font-size:12px; }.nostalgia-page .alt-skills > div { border:1px solid var(--line);padding:5px; }.nostalgia-page .alt-skills h3 { font-size:14px;margin:0 0 3px; }.nostalgia-page .alt-skills ul { font-size:12px; }
.nostalgia-page .alt-action { min-height:28px;padding:3px 7px;background:#d4d0c8;color:#000;border:3px outset #eee;border-radius:0;font:12px/1.2 Arial,sans-serif;text-decoration:underline; }.nostalgia-page a.alt-action:visited { color:#000; }.nostalgia-page .alt-contact > div { gap:4px;margin-top:6px; }.nostalgia-page .alt-contact > p { margin-top:6px; }.nostalgia-badges { display:flex;gap:4px;justify-content:center;flex-wrap:wrap;padding:10px 0; }.nostalgia-badges span { width:88px;min-height:31px;display:grid;place-items:center;background:#000080;color:#fff;border:3px outset #d099cf;font:bold 9px/1.1 "Courier New",monospace;text-align:center; }.nostalgia-badges span:nth-child(2) { background:#800080; }.nostalgia-badges span:nth-child(3) { background:#005d2d; }.nostalgia-page .alt-footer { padding:5px 0;font:10px/1.3 "Times New Roman",serif;gap:6px; }
/* Frutiger Aero: real nature photographs, glossy geometry and translucent surfaces. */
:root[data-style="aero"] { --paper:#dcf4fe;--surface:#f5fcff;--ink:#123759;--muted:#365b75;--blue:#1266ac;--line:#82b9d7; }
:root[data-style="aero"][data-appearance="dark"] { --paper:#071e34;--surface:#0c314f;--ink:#e4faff;--muted:#b2d8e9;--blue:#97dbff;--line:#34668b; }
.aero-page { background:linear-gradient(#caedff,#e5f8f6 70%,#bce8f4); }.aero-page .alt-header { background:linear-gradient(#ffffffed,#d0eeffda);box-shadow:0 1px 6px #28659355;border-bottom:1px solid white;color:#183f65; }
.aero-hero { position:relative;min-height:630px;padding:66px max(30px,calc((100vw - 1180px)/2));background:#87d1ed url('/assets/themes/aero-sky.jpg') center/cover;overflow:hidden;display:flex;align-items:center; }
.aero-hero-glass { position:relative;z-index:2;max-width:650px;background:linear-gradient(135deg,#ffffffb8,#e0f5ff74);border:1px solid #ffffffdd;box-shadow:inset 0 1px white,0 16px 50px #3471a92e;border-radius:26px;padding:38px;backdrop-filter:blur(12px);color:#153d61; }
.aero-pill { display:inline-flex;padding:7px 14px;border:1px solid #fff9;border-radius:40px;background:linear-gradient(#fff9,#e9faff44);box-shadow:inset 0 1px #ffffffe0;color:inherit;font-size:11px;font-weight:650; }
.aero-hero h1 { font-size:clamp(55px,7vw,88px);letter-spacing:-.055em;font-weight:500;margin:24px 0 20px;text-shadow:0 2px white; }.aero-hero h1 span { color:#1169ab; }.aero-hero h2 { font-size:25px;font-weight:500;letter-spacing:-.015em;margin-bottom:19px; }.aero-hero p { max-width:460px;font-size:15px; }.aero-hero-actions { display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-top:26px;font-size:13px; }.aero-page .alt-action { border:1px solid #3d7b95;color:#fff;background:linear-gradient(#58bce8 0%,#178ace 45%,#0571ae 49%,#29a3d6);border-radius:40px;box-shadow:inset 0 1px #ddffff,0 3px 5px #00456122;text-shadow:0 -1px #034575; }
.aero-orbits { position:absolute;right:9%;top:14%;width:330px;height:410px; }.aero-orb { width:260px;height:260px;position:absolute;top:0;right:0;border-radius:50%;background:radial-gradient(ellipse at 40% 18%,#fffffff7 0%,#b9f1ffb5 28%,#24bbdbab 50%,#0876a4cc 77%,#c3fdf4 100%);box-shadow:inset -20px -15px 30px #044f9844,0 18px 35px #27738844;border:1px solid #fff9;font-size:110px;color:#f0ffeeda;display:grid;place-content:center;transform:rotate(-10deg); }
.aero-small-orb { position:absolute;left:0;bottom:36px;width:110px;height:110px;border-radius:50%;background:radial-gradient(at 36% 18%,#fff,#a5ed42 36%,#2ea543 70%,#bff58c);box-shadow:0 8px 17px #36765944;font-size:48px;color:#efffea;display:grid;place-content:center; }.aero-water-orb { position:absolute;right:-30px;bottom:0;width:190px;height:190px;border:4px solid #fff9;background:url('/assets/themes/aero-water.jpg') center/cover;border-radius:50%;box-shadow:inset 0 12px 15px #ffffff77,0 9px 18px #0d788b55; }
.aero-main { max-width:1180px;margin:auto;padding:0 30px;color:var(--ink); }.aero-intro { display:grid;grid-template-columns:1.3fr 1fr;gap:44px;align-items:center;padding-top:60px; }.aero-intro p { font-size:22px;margin-top:24px; }.aero-intro img { width:100%;height:300px;object-fit:cover;object-position:center 55%;border-radius:23px;border:4px solid #fff;box-shadow:0 8px 25px #187b9122; }.aero-projects { display:grid;grid-template-columns:1fr 1fr;gap:22px; }.aero-projects .alt-project { background:linear-gradient(130deg,#ffffffdc,#ffffff77);border:1px solid #fffffffa;border-radius:20px;padding:29px;box-shadow:inset 0 1px #fff,0 8px 15px #36799218; }.aero-page .case-body { color:var(--ink); }.aero-water-band { border:2px solid #fff9;background:linear-gradient(#004a6b66,#004b6477),url('/assets/themes/aero-water.jpg') center/cover;border-radius:20px;padding:32px;color:#fff; }.aero-water-band p { font-size:30px;line-height:1.3;margin-top:20px; }.aero-page .alt-about aside { background:#ffffff70;border-color:#fff;border-radius:20px; }.aero-page .alt-contact { background:#ffffff88;padding:38px;border-radius:24px;margin-bottom:38px; }
:root[data-style="aero"][data-appearance="dark"] .aero-page { background:linear-gradient(#0b385d,#071e34); }
:root[data-style="aero"][data-appearance="dark"] .aero-page .alt-header { background:linear-gradient(#284b66,#143950);color:var(--ink);border-color:#689bbf; }
:root[data-style="aero"][data-appearance="dark"] .aero-hero { background-image:linear-gradient(#0823406b,#08234099),url('/assets/themes/aero-sky.jpg'); }
:root[data-style="aero"][data-appearance="dark"] .aero-hero-glass { background:linear-gradient(135deg,#102f4fdd,#113f5aaa);color:var(--ink);border-color:#a5def488; }
:root[data-style="aero"][data-appearance="dark"] .aero-hero h1 { text-shadow:0 2px #08263c; }:root[data-style="aero"][data-appearance="dark"] .aero-hero h1 span { color:#a0dcff; }
:root[data-style="aero"][data-appearance="dark"] .aero-projects .alt-project,:root[data-style="aero"][data-appearance="dark"] .alt-about aside,:root[data-style="aero"][data-appearance="dark"] .alt-contact { background:linear-gradient(130deg,#164566dd,#0d2e49aa);border-color:#74c0df66;box-shadow:inset 0 1px #b1ebff55; }
/* Scandinavian catalogue: original brand mark, product grid and room spreads. */
:root[data-style="scandi"] { --paper:#fff;--surface:#f5f5f5;--ink:#181818;--muted:#555;--blue:#123d88;--line:#ddd; }
:root[data-style="scandi"][data-appearance="dark"] { --paper:#17191b;--surface:#26292c;--ink:#f5f2e9;--muted:#bec1c4;--blue:#f6d852;--line:#43484d; }
.scandi-page { font-family:Arial,Helvetica,sans-serif; }.scandi-strip { text-align:center;background:#0c2e64;color:white;font-size:11px;padding:8px; }.scandi-page .alt-header { padding-block:22px;max-width:1340px;margin:auto;padding-inline:28px;border-bottom:1px solid var(--line); }.scandi-page .alt-brand { font-weight:900;letter-spacing:-.04em;color:#123d88;background:#ffe35b;padding:7px 13px;line-height:1.1;font-size:26px; }.scandi-hero { display:grid;grid-template-columns:1.5fr 1fr;min-height:520px;max-width:1340px;margin:30px auto 0;padding:0 28px;gap:0; }.scandi-hero-photo { position:relative;min-height:520px; }.scandi-hero-photo img { position:absolute;width:100%;height:100%;object-fit:cover; }.scandi-photo-label { position:absolute;bottom:22px;left:22px;color:#fff;font-weight:700;font-size:20px;text-shadow:0 1px 6px #000b; }.scandi-hero-copy { background:#ffdf57;color:#202022;padding:38px 35px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center; }.scandi-tag { display:inline-block;font-size:11px;font-weight:700;margin-bottom:16px; }.scandi-hero h1 { font-size:42px;letter-spacing:-.05em;line-height:1.05; }.scandi-hero h2 { font-size:49px;letter-spacing:-.04em;line-height:1.05;margin:20px 0; }.scandi-hero p { font-size:14px;margin-bottom:23px; }.scandi-page .alt-action { border:0;background:#181818;color:#fff;border-radius:30px;font-size:12px;min-height:46px;padding:13px 24px; }.scandi-hero small { display:block;font-size:10px;line-height:1.5;margin-top:21px; }.scandi-main { max-width:1284px;margin:auto;padding:0 28px; }.scandi-category-row { display:flex;gap:28px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:25px;font-size:12px;font-weight:700; }.scandi-page h2 { font-size:38px;letter-spacing:-.025em; }.scandi-page .alt-section-heading { margin:35px 0 28px; }.scandi-projects { display:grid;grid-template-columns:repeat(4,1fr);gap:22px; }.scandi-product { min-width:0; }.scandi-product-photo { position:relative;background:var(--surface);aspect-ratio:4/5;overflow:hidden; }.scandi-product-photo img { width:100%;height:100%;object-fit:cover; }.scandi-product-number { position:absolute;bottom:14px;left:13px;background:#ffdf57;color:#171717;font-weight:800;font-size:16px;padding:5px 12px; }.scandi-product-copy { padding:21px 0; }.scandi-product h3 { font-size:22px;line-height:1.15;letter-spacing:-.025em; }.scandi-product p { font-size:12px;margin-top:16px; }.scandi-product .alt-project-meta { flex-direction:column;gap:4px;margin-bottom:12px;font-size:10px; }.scandi-product .alt-project-meta span:last-child { font-weight:700; }.scandi-product .alt-tags { font-size:9px;gap:4px; }.scandi-product .case-details summary { font-size:12px; }.scandi-editorial { display:grid;grid-template-columns:1fr 1fr;background:var(--surface);margin:20px 0; }.scandi-editorial > div:first-child { height:480px; }.scandi-editorial img { height:100%;width:100%;object-fit:cover;object-position:center 65%; }.scandi-editorial > div+div { align-self:center;padding:40px; }.scandi-editorial p { font-size:14px;margin:25px 0; }.scandi-joke { font-size:11px !important;color:var(--muted); }.scandi-page .alt-about aside { background:var(--surface);border:0; }.scandi-page .alt-timeline li { border-color:var(--line); }.scandi-page .alt-contact { padding:45px;background:var(--surface);margin-bottom:30px; }.scandi-page .case-body { color:var(--muted); }.scandi-page .supporting-work { padding:12px; }.scandi-page .supporting-work h4 { font-size:12px; }
:root[data-style="scandi"][data-appearance="dark"] .scandi-hero-copy { background:#544720;color:var(--ink); }
:root[data-style="scandi"][data-appearance="dark"] .scandi-page .alt-action { background:#f5eecd;color:#1b1b18; }
/* P keeps source word lengths and punctuation. The video is its only readable copy. */
:root[data-style="p"] { --paper:#eee7ff;--surface:#f7f3ff;--ink:#38157e;--muted:#613d91;--blue:#643bbb;--line:#c3acde; }
:root[data-style="p"][data-appearance="dark"] { --paper:#140b25;--surface:#221039;--ink:#eadaff;--muted:#bea3e2;--blue:#c5a5ff;--line:#624e79; }
.p-page { max-width:1120px;margin:auto;padding:0 30px;font-family:ui-monospace,monospace;overflow-wrap:anywhere; }.p-page .p-video { display:flex;justify-content:center;gap:10px;position:sticky;top:var(--style-bar-height);z-index:15;margin-top:20px;padding:14px;background:var(--ink);color:var(--paper);border-radius:6px;font-family:system-ui,sans-serif;font-size:14px;font-weight:700; }.p-hero { padding:65px 0; }.p-hero h1 { font-size:clamp(45px,8vw,84px);margin:25px 0;letter-spacing:.025em; }.p-hero h2 { font-size:25px;max-width:700px;line-height:1.5;letter-spacing:0; }.p-hero p { max-width:650px;margin:20px 0; }.p-page h2 { font-size:29px;letter-spacing:0; }.p-projects { display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:35px; }.p-projects .alt-project { padding:25px;border:2px solid var(--line);background:var(--surface); }.p-page .case-body { color:var(--muted); }
/* The actual PDF layout intentionally has only its one document action. */
.pdf-page { min-height:calc(100dvh - var(--style-bar-height));display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;gap:25px; }
.pdf-download { display:flex;align-items:center;gap:20px;padding:24px 30px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 6px 24px #0000000a;font-size:16px;font-weight:650;max-width:100%; }.pdf-download svg { width:37px;height:43px;flex-shrink:0; }.pdf-download:hover { border-color:var(--blue); }.pdf-preview { max-width:360px;width:100%;box-shadow:0 4px 16px #0002; }.pdf-preview img { width:100%;height:auto; }.style-preview-mode .pdf-page { min-height:auto;justify-content:flex-start;padding:25px; }.style-preview-mode .pdf-download { padding:15px;gap:10px;font-size:12px; }
@media (max-width:1000px) {
  .style-dialog-body { grid-template-columns:340px minmax(0,1fr);gap:16px;padding:20px; }.style-dialog-header { padding:20px; }.style-dialog-footer { padding:16px 20px; }.style-choice-description { font-size:9px; }.aero-orbits { right:0;opacity:.75; }.aero-hero-glass { max-width:60%; }.scandi-projects { grid-template-columns:repeat(2,1fr); }.alt-header nav { gap:15px; }.scandi-hero-copy { padding:30px; }.scandi-hero h2 { font-size:40px; }
}
@media (max-width:760px) {
  :root { --style-bar-height:56px; }.style-controls-inner { width:calc(100% - 24px);gap:8px; }.style-label,.current-style-name { display:none !important; }.style-controls-inner > div:first-child { display:none; }.style-control-actions { width:100%;justify-content:space-between; }.style-controls button { min-height:42px;font-size:11px;padding:8px 10px; }
  .style-dialog { width:calc(100% - 20px);height:min(900px,calc(100dvh - 20px));max-height:calc(100dvh - 20px);border-radius:12px; }.style-dialog h2 { font-size:23px; }.style-dialog-header { padding:18px; }.style-dialog-header p { font-size:11px; }.style-dialog-body { grid-template-columns:1fr;padding:16px;gap:20px; }.style-choices { grid-template-columns:repeat(3,1fr);gap:8px; }.style-choice { padding:6px; }.style-thumbnail { height:58px; }.style-choice-name { font-size:10px;min-height:27px; }.style-choice-description { display:none; }.style-preview-panel iframe { height:340px; }.style-dialog-footer { background:var(--surface);padding:13px 16px; }.style-dialog-footer p { max-width:170px;font-size:10px; }.style-dialog-footer button { font-size:12px;padding:10px 16px; }.style-preview-description { font-size:11px; }.style-preview-heading h3 { font-size:12px; }
  .alt-header { flex-direction:column;align-items:flex-start;gap:12px;padding:20px; }.alt-header nav { gap:20px;font-size:12px; }.alt-section { padding:40px 0; }.alt-about { grid-template-columns:1fr;gap:25px; }.alt-skills { grid-template-columns:1fr 1fr;gap:27px; }.alt-timeline li { grid-template-columns:1fr;gap:15px; }.alt-contact h2 { font-size:30px; }.alt-footer { font-size:10px;gap:16px; }
  .nostalgia-page { width:calc(100% - 12px);margin:6px auto;padding:2px; }.nostalgia-columns { grid-template-columns:1fr;gap:3px; }.nostalgia-sidebar { padding:4px; }.nostalgia-sidebar nav { display:flex;flex-wrap:wrap;gap:3px;margin:3px 0 0; }.nostalgia-sidebar nav a { padding:4px; }.nostalgia-sidebar .nostalgia-sticker,.nostalgia-sidebar h3,.nostalgia-sidebar ul,.nostalgia-mini { display:none; }.nostalgia-sidebar h2 { font-size:11px; }.nostalgia-banner h1 { font-size:27px; }.nostalgia-page .alt-timeline li { grid-template-columns:1fr;gap:4px; }.nostalgia-page .alt-about { grid-template-columns:1fr;gap:6px; }
  .aero-hero { padding:30px 20px 100px;min-height:560px;align-items:flex-start; }.aero-hero-glass { max-width:100%;padding:25px; }.aero-hero h1 { font-size:61px; }.aero-hero h2 { font-size:21px; }.aero-hero p { font-size:14px; }.aero-orbits { top:auto;bottom:-60px;right:-10px;width:200px;height:230px;opacity:.8; }.aero-orb { width:145px;height:145px;font-size:65px; }.aero-small-orb { width:70px;height:70px;font-size:30px;bottom:40px; }.aero-water-orb { width:100px;height:100px;right:20px; }.aero-main { padding:0 20px; }.aero-intro { grid-template-columns:1fr;gap:25px;padding-top:35px; }.aero-intro p { font-size:18px; }.aero-intro img { height:210px; }.aero-projects { grid-template-columns:1fr; }.aero-page .alt-contact { padding:25px; }.aero-water-band p { font-size:26px; }
  .scandi-page .alt-header { padding:18px 20px; }.scandi-hero { grid-template-columns:1fr;padding:0 20px;margin-top:20px; }.scandi-hero-photo { min-height:280px; }.scandi-hero-copy { padding:30px; }.scandi-hero h1 { font-size:40px; }.scandi-hero h2 { font-size:45px; }.scandi-main { padding:0 20px; }.scandi-category-row { flex-wrap:wrap;justify-content:flex-start;gap:12px 20px;font-size:11px; }.scandi-page h2 { font-size:31px; }.scandi-projects { gap:15px; }.scandi-product h3 { font-size:19px; }.scandi-product .alt-project-meta { font-size:9px; }.scandi-product p { font-size:11px; }.scandi-product .alt-tags { font-size:8px; }.scandi-product-photo { aspect-ratio:3/4; }.scandi-editorial { grid-template-columns:1fr; }.scandi-editorial > div:first-child { height:300px; }.scandi-editorial > div+div { padding:25px; }.scandi-page .alt-contact { padding:25px; }
  .p-page { padding:0 20px; }.p-projects { grid-template-columns:1fr; }.p-page .p-video { font-size:12px;text-align:center; }.p-hero { padding:40px 0; }.p-hero h2 { font-size:19px; }.p-page .alt-section { padding:35px 0; }.pdf-download { padding:20px;gap:13px;font-size:14px; }
}
@media (max-width:390px) { .scandi-projects { grid-template-columns:1fr; }.style-dialog-footer p { display:none; }.style-dialog-footer { justify-content:flex-end; }.style-preview-heading { flex-wrap:wrap; }.style-controls button { padding-inline:8px; } }
@media (prefers-reduced-motion:reduce) { .nostalgia-ticker span { animation:none;white-space:normal; }.nostalgia-new { animation:none; }.style-dialog::backdrop { backdrop-filter:none; } }

/* Cyberpunk: urban photography, terminal rails and angular project dossiers. */
.thumb-cyberpunk { background:linear-gradient(115deg,#060e20 30%,#eafd32 31% 34%,#16364f 35% 65%,#ec247d 66% 69%,#071021 70%); }
.thumb-cyberpunk i:first-child { left:9%;top:20%;width:56%;height:12%;background:#eafd32;box-shadow:0 12px #eafd32; }
.thumb-cyberpunk i:nth-child(2) { right:8%;bottom:12%;width:38%;height:25%;background:#62e7ed;border-left:4px solid #f62573; }
:root[data-style="cyberpunk"] { --paper:#ecede2;--surface:#f9fbf1;--ink:#101d2b;--muted:#445666;--blue:#006577;--line:#8da2a6;--cyber-neon:#edff32;--cyber-pink:#de2c73; }
:root[data-style="cyberpunk"][data-appearance="dark"] { --paper:#070c15;--surface:#111b2a;--ink:#f3fcf7;--muted:#b6c8d5;--blue:#78f5f6;--line:#37546d; }
.cyber-page { background:var(--paper);color:var(--ink);font-family:"Arial Narrow",Arial,sans-serif; }
.cyber-page p { line-height:1.65; }
.cyber-access { display:flex;justify-content:space-between;gap:14px;padding:7px 28px;background:var(--cyber-neon);color:#0c1728;font:bold 10px/1.3 var(--mono);letter-spacing:.06em; }
.cyber-page .alt-header { background:#080f1b;color:#edfdf5;border-bottom:1px solid #77f6ed;padding-block:20px; }
.cyber-page .alt-brand { font:800 19px/1.2 var(--mono);color:var(--cyber-neon);letter-spacing:-.03em; }
.cyber-page .alt-header nav { font:11px/1.3 var(--mono);text-transform:uppercase; }
.cyber-page .alt-header nav a { padding:7px 0;border-bottom:2px solid transparent; }
.cyber-page .alt-header nav a:hover { border-color:#ff377d;color:var(--cyber-neon); }
.cyber-hero { position:relative;min-height:690px;overflow:hidden;background:#050b12;color:#f2f9f7;isolation:isolate; }
.cyber-hero-photo { position:absolute;inset:0 0 0 32%;z-index:-2; }
.cyber-hero-photo img { width:100%;height:100%;object-fit:cover;object-position:65% center;filter:saturate(1.22); }
.cyber-hero::before { content:'';position:absolute;inset:0;background:linear-gradient(90deg,#050b12 4%,#050b12ec 38%,#050b1280 68%,#050b1220);z-index:-1; }
.cyber-hero::after { content:'';position:absolute;inset:0;pointer-events:none;opacity:.16;background:repeating-linear-gradient(0deg,transparent 0 3px,#143d4e 3px 4px); }
.cyber-hero-copy { position:relative;padding:65px max(28px,calc((100vw - 1224px)/2));width:min(940px,80%);z-index:1; }
.cyber-eyebrow { color:#7ef0ee;font:700 10px/1.4 var(--mono);letter-spacing:.08em; }
.cyber-hero h1 { font:900 clamp(64px,8.5vw,132px)/.86 "Arial Black",Arial,sans-serif;letter-spacing:-.075em;margin:28px 0 34px;text-shadow:3px 0 #df2171; }
.cyber-hero h1 span { display:block;color:var(--cyber-neon);text-shadow:-3px 0 #1fdddd; }
.cyber-hero h2 { font-size:24px;line-height:1.25;max-width:620px;margin-bottom:23px;letter-spacing:-.025em; }
.cyber-hero-copy > p:last-of-type { max-width:570px;font-size:15px;color:#d4e0e8; }
.cyber-actions { display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:30px;font:12px/1.4 var(--mono); }
.cyber-page .alt-action { background:var(--cyber-neon);color:#0c1422;border:0;border-radius:0;font:700 11px/1.4 var(--mono);padding:14px 22px;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px)); }
.cyber-hero-index { position:absolute;right:25px;top:35px;display:grid;gap:10px;font:9px/1.2 var(--mono);color:#80faff;border-right:2px solid var(--cyber-neon);padding:0 12px 0 0;text-align:right; }
.cyber-photo-label { position:absolute;bottom:20px;right:28px;font:9px/1.3 var(--mono);background:#08111edb;padding:7px 12px;color:#edffeb; }
.cyber-divider { display:flex;justify-content:space-between;gap:20px;padding:15px 28px;background:#142538;color:#73efeb;border-top:3px solid #edff32;border-bottom:1px solid #7aeaf366;font:10px/1.4 var(--mono);letter-spacing:.06em; }
.cyber-main { max-width:1280px;margin:auto;padding:0 28px; }
.cyber-page .alt-section-heading { border-left:5px solid var(--blue);padding-left:20px; }
.cyber-page .alt-section-heading > span { font:10px/1.4 var(--mono);color:var(--blue);letter-spacing:.06em; }
.cyber-page h2 { font-size:42px;line-height:1.05;letter-spacing:-.045em; }
.cyber-page .alt-section-heading p { font-size:14px;color:var(--muted); }
.cyber-projects { display:grid;grid-template-columns:1.15fr 1fr;gap:22px; }
.cyber-project { min-width:0;background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--blue);padding:24px;box-shadow:5px 5px 0 var(--line); }
.cyber-project:nth-child(2n) { border-top-color:var(--cyber-pink); }
.cyber-project-index { display:flex;justify-content:space-between;gap:15px;font:9px/1.4 var(--mono);color:var(--muted);border-bottom:1px dashed var(--line);padding-bottom:13px;margin-bottom:20px; }
.cyber-project .alt-project-meta { font:10px/1.4 var(--mono);color:var(--blue); }
.cyber-project .alt-project-meta > span:first-child { display:none; }
.cyber-project h3 { font-size:31px;line-height:1.1;letter-spacing:-.045em; }
.cyber-project > p { font-size:14px;color:var(--muted); }
.cyber-project .alt-tags { font:10px/1.4 var(--mono); }
.cyber-project .alt-tags li { border-radius:0; }
.cyber-project .project-image { background:#ecf4f3;border:1px solid var(--line); }
.cyber-project .project-image figcaption { color:#253c4f;background:#e3eaea; }
.cyber-project .case-details summary { font:700 12px/1.4 var(--mono);color:var(--blue); }
.cyber-project .case-body { color:var(--muted);font-size:13px; }
.cyber-editorial { display:grid;grid-template-columns:1fr 1.2fr;gap:0;margin:40px 0 12px;background:#111f30;color:#f0f8f6;border:1px solid #617887; }
.cyber-editorial > div:first-child { position:relative;min-height:470px; }
.cyber-editorial img { position:absolute;width:100%;height:100%;object-fit:cover; }
.cyber-editorial > div:first-child > span { position:absolute;bottom:18px;left:18px;right:18px;background:#0b162cd9;padding:8px;font:9px/1.3 var(--mono); }
.cyber-editorial > div+div { padding:50px 40px;align-self:center;border-left:4px solid #ff297b; }
.cyber-editorial h2 { font-size:43px;margin:24px 0; }
.cyber-editorial p:not(.cyber-eyebrow) { font-size:14px;color:#c1d0dc;margin-bottom:24px; }
.cyber-page .alt-timeline li { border-color:var(--line); }
.cyber-page .alt-timeline span { font:11px/1.4 var(--mono);color:var(--blue); }
.cyber-page .alt-timeline p { color:var(--muted); }
.cyber-page .alt-about { gap:50px; }
.cyber-page .alt-about-copy p { font-size:15px;color:var(--muted); }
.cyber-page .alt-about aside { background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--cyber-pink); }
.cyber-page .alt-about aside h3 { font:700 13px/1.4 var(--mono);color:var(--blue); }
.cyber-page .alt-about aside p,.cyber-page .alt-about aside dl { font-size:13px; }
.cyber-page .alt-skills > div { border-top:3px solid var(--blue);padding-top:20px; }
.cyber-page .alt-skills h3 { font:700 13px/1.4 var(--mono); }
.cyber-page .alt-skills ul { font:12px/1.8 var(--mono);color:var(--muted); }
.cyber-page .alt-contact { background:var(--surface);border:1px solid var(--line);border-left:7px solid var(--blue);padding:36px;margin-bottom:40px; }
.cyber-page .alt-contact h2 { max-width:780px; }
.cyber-page .alt-contact p { color:var(--muted);font-size:14px; }
.cyber-page .alt-footer { border-color:var(--line);font:10px/1.4 var(--mono);color:var(--muted); }
.nostalgia-page .project-image { margin:9px 0;background:var(--paper); }.nostalgia-page .project-image img { max-height:200px; }.nostalgia-page .project-image figcaption { padding:5px;font-size:10px; }.scandi-page .project-image figcaption { font-size:9px; }
@media (max-width:760px) {
  .cyber-access { padding:7px 16px;font-size:8px; }.cyber-access > span:last-child { display:none; }
  .cyber-page .alt-header { padding:18px; }.cyber-page .alt-header nav { gap:18px;font-size:10px; }
  .cyber-hero { min-height:680px; }.cyber-hero-photo { inset:0; }.cyber-hero::before { background:linear-gradient(90deg,#050b12ee,#050b12a8 72%,#050b1266); }
  .cyber-hero-copy { width:100%;padding:65px 20px 75px; }.cyber-hero-index { top:15px;right:16px;grid-template-columns:1fr 1fr 1fr;font-size:7px;gap:8px;border-right:0;text-align:left; }
  .cyber-hero h1 { font-size:clamp(50px,17vw,70px); }.cyber-hero h2 { font-size:21px; }.cyber-hero-copy > p:last-of-type { font-size:13px; }.cyber-eyebrow { font-size:8px; }
  .cyber-actions { gap:16px;font-size:10px; }.cyber-photo-label { right:16px;font-size:7px; }.cyber-divider { padding:12px 20px;font-size:8px; }.cyber-divider > span:last-child { display:none; }
  .cyber-main { padding:0 20px; }.cyber-page h2 { font-size:35px; }.cyber-projects { grid-template-columns:1fr;gap:18px; }.cyber-project { padding:20px; }.cyber-project h3 { font-size:28px; }
  .cyber-editorial { grid-template-columns:1fr; }.cyber-editorial > div:first-child { min-height:280px; }.cyber-editorial > div+div { padding:30px 24px; }.cyber-editorial h2 { font-size:34px; }
  .cyber-page .alt-about { gap:25px; }.cyber-page .alt-contact { padding:25px; }
}

.style-controls .project-catalog-link { display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font:600 12px/1.2 system-ui,sans-serif; }.style-controls .project-catalog-link:hover { border-color:var(--blue); }
@media(max-width:600px){.style-controls .project-catalog-link{min-height:42px;font-size:11px;padding:8px}.style-control-actions{gap:4px}.style-controls button{padding-inline:8px}}
@media(max-width:350px){.style-controls [data-style-open]{font-size:0 !important;gap:0;padding:8px 12px}.style-controls [data-style-open] .palette-icon{font-size:initial}.style-controls .project-catalog-link{font-size:10px}.style-controls [data-appearance-toggle]{font-size:10px;padding-inline:7px}}
